"Sticky-Alt-Key": Alt-Key is not handled properly when using Alt-Tab task-switcher

Environment
Windows 10 Pro, Windows 10 Feature Experience Pack 321.9601.0.3, Build: 21370.1
Microsoft Windows [Version 10.0.21370.1]
Ubuntu: Release:        20.04
Your WSLg version: [Open 'Apps and Features' and check the version of 'Windows Subsystem for Linux GUI app support', e.g: <IP_ADDRESS>]  ? -> 1.0.19 (?)  (date: 2.5.21)

# Steps to reproduce

Start Ubuntu shell (i did that using Windows Terminal).
Start gedit (or better: install VS Code under Linux)

Switch between applications using Alt-Tab

Take a look at the menu: Alt is activated (just like pressing Alt in the Window - even if you dont intended to do so!)

#  Expected behavior

No "hanging" Alt-Key event when switching to a a Linux GUI App.

# Actual behavior

Feels like: Alt-Key is pressed *constantly* after switching to the Linux GUI App.

Seems to be no problem or nice to have? The issue here is: Try to use VS Code (as Linux GUI App), then switch between VS Code (Linux) and any other Application.  Switch back to VS Code (Linux App), using Alt-Tab. Now use your mouse to position your cursor in the editor.
This acts now just like: Alt-Key pressed: You place multiple cursors now in the editor (not intended).

Workaround: Press ESC after each Alt-Tab Taskswitch to any Linux GUI App. (annoying, somehow)

As i said: Anyhow, GUI support is great work! Looking forward to any next version!

It is working now, and i can't reproduce any longer, so i close this bug, which i reported

I'm having this bug and it's really annoying. I'm using phpstorm and lots of times when i switch back to phpstorm it is virtually holding the alt key, and when I click with my mouse it's creating extra curors because that's what phpstorm does when holding the alt key.
Using WSLg version 1.0.26

I worked well with the laptop for half year now.
But last week, I set up the desktop. I come across this same annoying feature, ALT key is halting after 'alt+tab'
I need help!
Welcome for any comments!
My computer details:
Device name	1-039-11
Processor	AMD Ryzen 9 5900X 12-Core Processor               3.70 GHz
Installed RAM	32.0 GB
Device ID	D3418E8A-2C8C-4EC2-A836-7ABF7E5D9D51
Product ID	00330-71450-76029-AAOEM
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display
Edition	Windows 11 Pro
Version	21H2
Installed on	1/11/2022
OS build	22000.708
Experience	Windows Feature Experience Pack 1000.22000.708.0
WSLg Kernel version: <IP_ADDRESS>
        .-/+oossssoo+/-.               chen@1-039-11
    `:+ssssssssssssssssss+:`           -------------
  -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04 LTS on Windows 10 x86_64
.ossssssssssssssssssdMMMNysssso.       Kernel: <IP_ADDRESS>-microsoft-standard-WSL2

/ssssssssssshdmmNNmmyNMMMMhssssss/      Uptime: 17 hours, 55 mins
+ssssssssshmydMMMMMMMNddddyssssssss+     Packages: 1922 (dpkg)
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Shell: bash 5.1.16
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Adwaita [GTK3]
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Icons: Adwaita [GTK3]
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Terminal: terminator
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   GPU: 1092:00:00.0 Microsoft Corporation Device 008e
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Memory: 2023MiB / 15952MiB
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
+sssssssssdmydMMMMMMMMddddyssssssss+
/ssssssssssshdmNNNNmyNMMMMhssssss/
.ossssssssssssssssssdMMMNysssso.
-+sssssssssssssssssyyyssss+-
:+ssssssssssssssssss+:
.-/+oossssoo+/-.

I have the same problem as well (running spacemacs in gui mode). This issue should be reopened until it is better understood what the cause is.

Mine is fixed. I opened a post in StackExchange and got a simple solution https://superuser.com/a/1724453/1697720
use Microsoft Store install "Windows Subsystem for Linux Preview" to get latest features and get rid of sticky key problems.

I tried that and now there is a new problem (alt+tab out of the window needs to be pressed twice) and the display scaling is messed up. The .wslgconfig options WESTON_RDP_DISABLE_HI_DPI_SCALING and WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTOR no longer work in the preview version leading to fuzzy fonds.

I have the same issue as @rommeswi.

Mine is fixed. I opened a post in StackExchange and got a simple solution https://superuser.com/a/1724453/1697720
use Microsoft Store install "Windows Subsystem for Linux Preview" to get latest features and get rid of sticky key problems.

Had a sticky alt key that was driving me crazy in Emacs. This fixed it for me, thank you!

The correct link is superuser.com/a/1724453/1697720 and this worked for me also. Simply install Windows Subsystem for Linux Preview from the Microsoft Store and restart your Linux instance.
@fflorey please consider reopening this issue until the fix is no longer in preview.

UPDATE: 8/172022
The problem still persists. The only solution for now is upgrading to insider program and updating WSL to preview.
I was particularly frustrated as I use Emacs and there are many M-<> keys I use in my work flow.

I just started using WSL2, and I have the same issue. Using Alt+Tab to get back to GTK Emacs makes Emacs think the Alt key is pressed. Issues such as this one prevent me from embracing WSL2 as a serious solution.

I just started using WSL2, and I have the same issue. Using Alt+Tab to get back to GTK Emacs makes Emacs think the Alt key is pressed. Issues such as this one prevent me from embracing WSL2 as a serious solution.

Seconded.  I'm experiencing this same issue.


Stutter enum type name

autorest.go and typespec-go seem to handle enum stutter differently
tsp:  https://github.com/Azure/azure-rest-api-specs/blob/main/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp#L167

Added option fix-const-stuttering, off by default, to keep compat with autorest.go.


CalcCellValue - don't evalutate correct value with Formula IF with other formula inside

Description

Steps to reproduce the issue:

in cell D142 value 2, in cell D143 value 1, in cell D144 value 1, in cell D145 value 2
in cell E142 define formula =AVERAGE(D142:D145)/5
in cell F142 define formula =IF(E142 > 0,4;"major";"minor")

Describe the results you received:
major
Describe the results you expected:
minor because the value in E142 is 0,3
Output of go version:
go version go1.19.1 windows/amd64

Excelize version or commit ID:
b39626fae9c2aaa648259d412a67b67e7768ad17

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Windows, Excel

Thanks for your issue, I have fixed it. Please upgrade to the master branch code, and this patch will be released in the next version.


Saga keeps running after single action

I've got a single action being called on componentDidMount however the saga is infinitely running, as opposed to being called once.
Am I meant to cancel the saga manually? Or should it only be called once per action?
const fetchData = url => fetch(url).then(res => res.json())

function* fetchAllJobs() {
	while(takeLatest('FETCH_ALL_JOBS')) {
		try {
			const user = yield call(fetchData, 'http://jsonplaceholder.typicode.com/posts');
			yield console.log(user)
		} catch (e) {
			yield console.log(e)
		}
	}
}

I've noticed if I do this instead, it works as expected:

function* fetchAllJobs() {
  yield* takeEvery('FETCH_ALL_JOBS', () => getData('http://jsonplaceholder.typicode.com/posts'))
}

function* getData(url) {
	try {
		const user = yield call(fetchData, url)
		yield console.log(user)
	} catch (e) {
		yield console.log(e)
	}
}

You can't put takeEvery in a while loop. You have to use it with a yield* or yield statement


Support Large Bearer token for SSO authentication

If the user has part of a lot of groups. The bearer token is failed to be set as a cookie because it is crossing its size limit.

Checklist

[ ] Double-checked my configuration.
[ ] Tested using :latest images.
[ ] Used the Emissary executor.

Summary
What happened/what you expected to happen?
What version are you running?
Diagnostics
Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.

# Logs from the workflow controller:
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

# If the workflow's pods have not been created, you can skip the rest of the diagnostics.

# The workflow's pods that are problematic:
kubectl get pod -o yaml -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

# Logs from in your workflow's wait container, something like:
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@alexec @basanthjenuhb  how can we address this issue? Can we split two cookies if the token size is more than 4096?

Cookie is compressed already. Browsers only allow 4k of cookie in total. I.e. you cannot split the cookie.
Work-around - user should remove some groups.
The only solution is to store the JWT in a cache (e.g. Redis key-value store) and the cookie is just the key within that store.

I will change to enhancement.

@alexec can we store in K8s secret object.
it will be just another key in the secret

Bala and I saw today that a commit to sso.go copied the entire claimns into the argo issued JWE. This will >=2x the size of the JWE:
https://github.com/argoproj/argo-workflows/blob/9d66b69f0bca92d7ef0c9aa67e87a2e334797530/server/auth/sso/sso.go#L280
This was added in #6444 by @liafizan .
@liafizan I don't think we need this copy?

@alexec I think we understood this requirement based on this comment. I don't think we need this since it is meant to support edge cases but I think when we have those cases, we can add explicit support for those

I get that. I’m just not sure we need to populate it on this specific line of code. The groups are copied into the Group field.

Yes. Think we can leave it out

@kolorful see my comment on Sep 8. Would you like to submit a PR?

@alexec sure thing, I created https://github.com/argoproj/argo-workflows/pull/10170 and looks like it's failing the same tests that all other PRs are failing.


[BUG] sub-0005 ses-04 missing fractionals run-1

As the title says, this is a missing data issue. sub-0005 ses-04 has been run through fmriprep, and there is raw data in BIDS for mat for ses-04 task-fractionals run-1, but no fmriprep output.

This data is still missing from the fmriprep output folder and does not seem to be available in other repos either.
/dartfs-hpc/rc/lab/C/CANlab/labdata/data/spacetop_data/derivatives/fmriprep/results/fmriprep/sub-0005/ses-04/func

Source data has both events.tsv and functional data.

However, functional data only has 5 volumes.
Behavioral data has full trial data
TODO: further investigate → check whether dup files existed and whether any have been deleted in history


Error : ERROR ! Logged In Console. Please open an issue in Github Repo.

Hi,
I try to use this extension for the first time, but after adding my token this error prompt. I don't see anything in error & warning or debug console.

What can i do ? :)
VS Code version : 0.10.11

Are you sure, you are using the latest version of Extension.?
As i have recently fixed this issue in the last update
#19

My blame... sorry.


File path as input to the generator

Reason/Context
I am implementing AsyncAPI for the project that has huge set of REST APIs and Socket Events. To make things modularised and easy to read I have divided a single documentation into multiple files. Here is a reference to the file structure
/docs
  - asyncapi.yml
  - servers.yml
  /components
      - component1.yml
      - component2.yml
 /schemas
      - schema1.yml
      - schema2.yml

These files are internally referenced so the modules are easy to read and edit.
Now when I try to create models using @asyncapi/modelina it accepts only parsed input. Even if I import a file and parse it to proved to the generated it will mess up the references in the file
Description

What changes have to be introduced?
Let the generateToFiles method of the generator accept the file path as input. And process and parse the file before supplying it to the Renderer.
Will this be a breaking change?
Yes
How could it be implemented/designed?
I propose a new method generateFromFile which will accept file as input and can output models to multiple files.

I propose a new method generateFromFile which will accept file as input and can output models to multiple files.

Makes sense to me 👍
Want to contribute it @nilkanth987 ?

@jonaslagoni , Yes I want to contribute.

Let me know if you need any help 😄

Hmm, yea might not be as easy to implement as first thought 😄 Cause we need to try and preserve the current architecture with processors and generators.
One generator preferably should not know about the input (how to handle it) but just give it to the processor.
Dilemma is, right now processors are interpreting the input entirely on their own, which makes it hard to know if its an url for an AsyncAPI document, or JSON Schema for example.
I think the best cause of action is to add a input processor type called inputType with each input processor as value, that forces the input processor to process the input.
Then the input in these cases are just an url, thats it. Now you should be able to pass generator.generate(url, {processors:{inputType: 'asyncapi'}})
That way all generators already understand this new input and all you have to change is 2 files.
Does that make sense @nilkanth987 ?

@jonaslagoni , Yes. Thanks for the guidance. I will implement it and let you know if I face any issues.


Remove redundant adoption nodeset and update novacells to crc 2.36

This removes the redundant centos-9-rhel-9-2-crc-extracted-2.30-3xl nodeset left over after moving to crc 2.36. It also updates the novacells adoption nodeset to use 2.36 so it is not left behind.
Related: https://issues.redhat.com/browse/OSPRH-8450
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

I set the do not merge label so we can hold until Bogdan has a chance to ack/nack here

/lgtm

check-rdo

check-rdo
* https://logserver.rdoproject.org/53/2053/7a2fa651951753cfcbd599c2662a05be26d42944/github-check/cifmw-pod-zuul-files/968a08a/job-output.txt
* 2024-07-11 09:58:16.082709 | container |   "msg": "gmake: *** [Makefile:93: check_zuul_files] Error 1",
2024-07-11 09:58:16.082709 | container |   "msg": "gmake: *** [Makefile:93: check_zuul_files] Error 1",

/lgtm

@marios care to:

update your PR against main
run make role_molecule
push the udpated content
This will solve the issue raised by the cifmw-pod-zuul-files which ensures no manual edition is done to selected configurations in zuul

make role_molecule

but this seems to generate something completely unrelated to my patch
cifmw-molecule-cifmw_external_dns ? i'll push the update in a sec anyway...

+- job:
+    files:
+    - ^common-requirements.txt
+    - ^test-requirements.txt
+    - ^roles/cifmw_external_dns/(?!meta|README).*
+    - ^ci/playbooks/molecule.*
+    - ^.config/molecule/.*
+    name: cifmw-molecule-cifmw_external_dns
+    parent: cifmw-molecule-noop

/lgtm

recheck


systest: allow multiple poet servers

Description

longevity tests only has 1 poet server. with 50 nodes, TestScheduleBasic will inevitably fail within 5-6 hrs of running.
this makes reproducing bugs time-consuming.
having multiple poet servers should allow longevity test to run longer

with 50 nodes, TestScheduleBasic will inevitably fail within 5-6 hrs of running.
this makes reproducing bugs time-consuming.

why does it fail? that seems like a critical bug in the poet if it can run only for 5-6 hrs

with 50 nodes, TestScheduleBasic will inevitably fail within 5-6 hrs of running.
this makes reproducing bugs time-consuming.

why does it fail? thats a critical bug in the poet if it can run only for 5-6 hrs

it fails with the following log. tho i never checked poet log itself. will file another issue to track this.
L | "ERROR"
M | "failed to build NIPost: builder: poet service is unstable: failed to submit challenge to poet service: perform request: Post \"http://poet:80/v1/submit\": context deadline exceeded"
N | "fe6cb.atxBuilder   "
T | "2022-07-27T19:58:17.199-0400"
module | "atxBuilder"
node_id | "fe6cb573fa586a6535ed26a77dad1ac684549abe78df6dda0ffe240cf9e66a4a"
ts | 2022-07-27T23:58:17.199Z
tsNs |<PHONE_NUMBER>199926835


iOS 7 compatibility

Hello,
You are using one method string from NSURLComponents here introduced in iOS 8.0.
It leads to an unrecognised selector in iOS 7.0.
The matchesURL tries to match an url with a pattern twice, once with a scheme, and once without if the first one does not match.
I can't think of an example where we do need to match an url with its scheme.
I suggest that we only try to match urls without schemes.
If you agree with this, I could submit a PR.

Hi
Shit for the use of something not iOS 7 compatible...
To be honest, I cannot remember why I'm testing twice the url :/

Maybe you're testing twice to make a difference between a universal link and a custom scheme link.
But as we register routes without scheme, I don't know how an url with its scheme could possibly match a registered route.
I'm working with both universal links and custom scheme links and this fix did the trick and both links still work well.


Added flag in absl/container/internal/have_see.h to see if AVX512 is …

Modified absl/container/internal/have_sse.h so that it would set a flag if AVX512 was supported. Modified absl/container/internal/raw_hash_set.h so that if AVX512 is supported it will use AVX512 instructions in a few places increasing the efficiency of the group instructions.

@googlebot I fixed it.

@googlebot I fixed it.

Can you provide some benchmarking results demonstrating this change leads to positive change?

Seems to only be for a a meaningful improvement in a few use cases so I'll close. Thank you for your time.


Missing info about Azure DDoS Protection Basic

What happen to the Azure DDoS Protection Basic info. Customers would like to understand what is Built-In compared to what cost $2,900 a month. Only info that I have found is from 2017 (https://azure.microsoft.com/en-us/blog/azure-ddos-protection-for-virtual-networks-generally-available/).
Can we have a section for Azure DDoS Protection Basic Overview?

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

ID: 51177002-b38a-3a94-2696-7bfdb89d2c94
Version Independent ID: 90751729-6d69-314c-4c76-e720f916043e
Content: Azure DDoS Protection Standard Overview
Content Source: articles/ddos-protection/ddos-protection-overview.md
Service: ddos-protection
GitHub Login: @aletheatoh
Microsoft Alias: yitoh

#reassign: @AbdullahBell

Hello @FallenHoot! The overview page is updated with a table listing the differences between the two SKUs. Thanks for the recommendation!

#please-close


%chatchat_channel_prefix% is incorrect when using message prefixes

As the user's channel is never actually updated, the placeholder results in the user's current active channel. This poses issues when using that placeholder in messages to denote their channel

Yeah we're aware. We're currently looking int good solutions for this. We could use some recommendations. At first we just thought we should temp update the channel but that might come with some problems as well


Update readme.md

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

Thanks for the suggestion. I'm unfortunately going to pass on this one. I have a lot of PRs to review, so I'm not able to write a custom response.


[Help me] After upgrade to 1.3.0, the server cannot be connected.

Details
All the settings are remain the same, the only thing I did is using the script to upgrade Hysteria to the 1.3.0 version.
Right after I restart the hysteria after upgrade, the connection never worked.
The server is up and running good anyway.
For all my other server, I stayed in the previous version, and they are working perfectly.
Is there any changes in the config formatting?
Hysteria server information
hysteria version v1.3.0 2022-11-08 04:55:38 385c2d6845b085ae788367be659ff7c752d44804
VPS information
Terminal on MacOS, Hetzner, Finland, 4GB RAM, 2 Cores.
Server config
{
"listen": ":10804",
"protocol": "udp",
"cert": "/etc/letsencrypt/live/xxx.co/fullchain.pem",
"key": "/etc/letsencrypt/live/xxx.co/privkey.pem",
"up_mbps": 500,
"down_mbps": 500,
"obfs": "XXXXXX",
"auth": {
"mode": "passwords",
"config": ["XXXXXX", "XXXXX2", "XXXXXX3"]
},
"alpn": "h2",
"recv_window_conn": 52428800,
"recv_window_client": 209715200,
"resolver": "tls://<IP_ADDRESS>:853"
}
Server logs
Systemctl status:
hysteria-server.service - Hysteria, a feature-packed network utility optimized for networks of poor quality
Loaded: loaded (/lib/systemd/system/hysteria-server.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-11-13 06:43:31 UTC; 3min 20s ago
Docs: https://github.com/HyNetwork/hysteria/wiki
Main PID: 754 (hysteria)
Tasks: 5 (limit: 4556)
Memory: 33.3M
CGroup: /system.slice/hysteria-server.service
└─754 /usr/local/bin/hysteria -c /etc/hysteria/config.json server
Nov 13 06:43:31 systemd[1]: Started Hysteria, a feature-packed network utility optimized for networks of poor quali>
Nov 13 06:43:32 hysteria[754]: 2022-11-13T06:43:32Z [INFO] [config:{Listen::10804 Protocol:udp ACME:{Domains:[] Ema>
Nov 13 06:43:32 hysteria[754]: 2022-11-13T06:43:32Z [INFO] Password authentication enabled
Nov 13 06:43:32 hysteria[754]: 2022-11-13T06:43:32Z [INFO] [addr::10704] Server up and running
Journalctl:
Nov 13 06:42:48 systemd[1]: Stopped Hysteria, a feature-packed network utility optimized for networks of poor quali>
-- Reboot --
Nov 13 06:43:31 systemd[1]: Started Hysteria, a feature-packed network utility optimized for networks of poor quali>
Nov 13 06:43:32 hysteria[754]: 2022-11-13T06:43:32Z [INFO] [config:{Listen::10804 Protocol:udp ACME:{Domains:[] Ema>
Nov 13 06:43:32 hysteria[754]: 2022-11-13T06:43:32Z [INFO] Password authentication enabled
Nov 13 06:43:32 hysteria[754]: 2022-11-13T06:43:32Z [INFO] [addr::10704] Server up and running
Hysteria client information
Shadowrocket
Client config
N/A
Client environment (operating system)
MacOS M1/ iOS
Client logs
N/A

This is strange. 1.3.0 doesn't have any changes that would make it not backward compatible, and I've personally tested it multiple times without problems. Are you saying your 1.3.0 server doesn't work with older clients (but works with 1.3.0 clients), or you are not able to connect either way?

This is strange. 1.3.0 doesn't have any changes that would make it not backward compatible, and I've personally tested it multiple times without problems. Are you saying your 1.3.0 server doesn't work with older clients (but works with 1.3.0 clients), or are you not able to connect either way?

So I am using Shadowrocket on Mac and iOS, I have three servers been implemented Hysteria. I upgrade one server to the 1.3.0 and then, it cannot be connected anymore. However the other two, which are not been upgraded, are perfectly fine.
And I just upgrade the first server from 1.3.0 to 1.3.1, but still, it cannot be connected with Shadowrocket.

Could you please try to downgrade the first server to v1.2.2, and check whether it can be connected or not.

Could you please try to downgrade the first server to v1.2.2, and check whether it can be connected or not.
I installed the server by using the one-click-script you officially provided. Could you please tell me how to do that? I am not good at this. XD

Which script are you using?

Which script are you using?

https://raw.githubusercontent.com/apernet/hysteria/master/install_server.sh

I just realized it has been modified 9 days ago, but I have been using the previous version for half year. Is it possible this the cause of the problem?

I tested the script without the 9-day-ago patch and it works well.
Though it is still recommend to keep your script up-to-dated.

Also, the other tow server are still using 1.2.2 and they are fine.

You can just copy /usr/local/bin/hysteria from other two working server to the first server, and restart hysteria-server.service.

I just realized it has been modified 9 days ago, but I have been using the previous version for half year. Is it possible this the cause of the problem?

I tested the script without the 9-day-ago patch and it works well. Though it is still recommend to keep your script up-to-dated.

Also, the other tow server are still using 1.2.2 and they are fine.

You can just copy /usr/local/bin/hysteria from other two working server to the first server, and restart hysteria-server.service.

Thank you Haruue, I would like to keep them status quo, and wait for a version that actually work for my first server then upgrade them together.

What I mean is maybe it is only a connective problem between you and the first server, such as wrong-configured firewalls or the UDP port you are using being banned by GFW.
Rollback to a "working" version is a good way to rule out such kind of problems.

我也遇见了这个问题。从1.3.0开始到现在1.3.1，服务器status正常，也显示了客户端IP，但是就是连不上，不起作用。

我也遇见了这个问题。从1.3.0开始到现在1.3.1，服务器status正常，也显示了客户端IP，但是就是连不上，不起作用。

@iceyheart
能开一个新的 Issue 重新发一下你遇到的问题吗？ 需要服务端和客户端的配置、 日志、 服务端运行环境（操作系统、 VPS）， 我需要复现了这个问题才能给你们解决。


[WIP] Add CTL infrastructure

I'm not well versed enough in CTL to appropriately review those parts. But the Haskell part looks fine.
I do wonder however, given the size of the additions (compared to the existing subprojects), perhaps we should make a new repo for ply-ctl?

I made ply-ctl.

New PlyTypeName is quite good. It encode Symbol from Tagged. So we get this:
["Ply.Core.Types:AsData#GHC.Num.Integer:Integer",
"Ply.Core.Types:AsData#PlutusLedgerApi.V1.Value:CurrencySymbol",
"Ply.Core.Types:AsData#Data.Tagged:Tagged#GHC.TypeLits:\"BatchToken\"#Plutarch.Extra.AssetClass:AssetClass",
"Ply.Core.Types:AsData#Data.Tagged:Tagged#GHC.TypeLits:\"ActionToken\"#Plutarch.Extra.AssetClass:AssetClass",
"Ply.Core.Types:AsData#Data.Tagged:Tagged#GHC.TypeLits:\"Underlying\"#Plutarch.Extra.ExtendedAssetClass:ExtendedAssetClass",
"Ply.Core.Types:AsData#PlutusLedgerApi.V1.Scripts:ScriptHash",
"Ply.Core.Types:AsData#Data.Tagged:Tagged#GHC.TypeLits:\"MarketParams\"#Plutarch.Extra.AssetClass:AssetClass",
"Ply.Core.Types:AsData#Data.Tagged:Tagged#GHC.TypeLits:\"MarketState\"#Plutarch.Extra.AssetClass:AssetClass"
]

I'll add proper documentation next week once I finish migrating liqwid-offchain to use ply-ctl

Sorry for delay, I was pretty sick last week. This PR is ready to be merged.
github.com/mlabs-haskell/ply-ctl is pretty much ready for production. I've replaced old script exporting system with ply-ctl for agora-offchain, and works quite well.

Changelog and documentations' been updated as well


Prevent double writes of samples to IPFS

Problem
As we compute the NMT tree for columns and rows of shares in an extended data square, we end up adding all the shares into IPFS two times, thus introducing unnecessary overhead, especially for IO. Considering how big blocks may become and how quickly they are generated, the overhead would scale significantly.
Solution
The PR introduces a simple patch in NMTNodeAdder to memoize added leaves not to be added a second time.
EDIT:
It also fixes incorrect use of BatchAdder
EDIT2:
Closes #204

Codecov Report

Merging #271 (c3ce6f4) into master (93c88a1) will decrease coverage by 0.15%.
The diff coverage is 80.41%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
- Coverage   62.27%   62.12%   -0.16%
==========================================
  Files         260      262       +2
  Lines       23218    23359     +141
==========================================
+ Hits        14460    14512      +52
- Misses       7265     7329      +64
- Partials     1493     1518      +25

Impacted Files
Coverage Δ

types/shares.go
100.00% <ø> (+2.19%)
:arrow_up:

types/block.go
77.58% <57.14%> (+0.96%)
:arrow_up:

types/share_merging.go
72.54% <72.54%> (ø)

types/share_splitting.go
97.43% <97.43%> (ø)

types/tx.go
85.18% <100.00%> (ø)

privval/signer_listener_endpoint.go
82.35% <0.00%> (-7.06%)
:arrow_down:

privval/socket_listeners.go
78.72% <0.00%> (-4.26%)
:arrow_down:

blockchain/v0/pool.go
80.60% <0.00%> (-3.81%)
:arrow_down:

privval/secret_connection.go
72.68% <0.00%> (-3.61%)
:arrow_down:

privval/signer_endpoint.go
75.75% <0.00%> (-3.04%)
:arrow_down:

... and 14 more


Update.exe should respect portable flag

In portable installs, we should not ever create registry entries or shortcuts.

Hi, any updates on this issue?

Will be fixed by #244


NoCoin aren't detecting: https://punchsub.net/

New site that's NoCoin  aren't detecting: https://punchsub.net/
Previous site domain was:
punchsub.zlx.com.br
Thanks.

Thanks for reporting, should be blocked now.


hoc components require keys when displayed next to each other

same hoc wrap component put in storybook
warning:Encountered two children with the same key, 1:$. Child keys must be unique; when two children share a key, only the first child will be used.
such as:
const hoc=(WrapComponent)=>({...props})=><WrapComponent {...props} />

const Input=hoc(()=><input type="text" />);

const TextArea=hoc(({children})=><textarea>{children}</textarea>);

storiesOf('XXX', module)
    .add('XXX', withInfo()(() => <div>
        <Input/><TextArea></TextArea>
    </div>))

normal Running environment has not this warning.

I have the same issue. Two different components using the same HOC. Is this related to storybook or react?
Feeling perplexed :/

Current workaround is to give your components different displayNames, like this:
const hoc=(WrapComponent)=>({...props})=><WrapComponent {...props} />
const Input=hoc(()=>);
Input.displayName = 'Input';
const TextArea=hoc(({children})=>{children});
TextArea.displayName = 'TextArea';
storiesOf('XXX', module)
.add('XXX', withInfo()(() =>

))

Thank you.
Removed addon-info and not seeing the error any more. However the workaround dosen't do to for me.
Column.displayName = 'Column';
export default getGridConfig(Column);

Still seeing the error and under info the HOC is displayed.
Instead of seeing:

It should rather be
const GridColumn = getGridConfig(Column);
GridColumn.displayName = 'Column';
export default GridColumn;

There is also in issue regarding displaying HOCs in addon-info: https://github.com/storybooks/storybook/issues/938

By the way, the fix for key waning has landed in 3.2.15


NextJS v13.0 issues

error - TypeError: React__default.default.createContext is not a function
    at eval (webpack-internal:///(sc_server)/./node_modules/react-daisyui/dist/react-daisyui.cjs:5586:60)
    at Object.(sc_server)/./node_modules/react-daisyui/dist/react-daisyui.cjs (C:\Users\bamas\OneDrive\Documents\My Backups\Development\nodejs\thewilsonnet.com\.next\server\app\page.js:1087:1)
    at __webpack_require__ (C:\Users\bamas\OneDrive\Documents\My Backups\Development\nodejs\thewilsonnet.com\.next\server\webpack-runtime.js:33:42)
    at eval (webpack-internal:///(sc_server)/./app/layout.tsx:7:71)
    at Object.(sc_server)/./app/layout.tsx (C:\Users\bamas\OneDrive\Documents\My Backups\Development\nodejs\thewilsonnet.com\.next\server\app\page.js:230:1)
    at __webpack_require__ (C:\Users\bamas\OneDrive\Documents\My Backups\Development\nodejs\thewilsonnet.com\.next\server\webpack-runtime.js:33:42)
    at Object.layout (webpack-internal:///(sc_server)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=C%3A%5CUsers%5Cbamas%5COneDrive%5CDocuments%5CMy%20Backups%5CDevelopment%5Cnodejs%5Cthewilsonnet.com%5Capp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=C%3A%5CUsers%5Cbamas%5COneDrive%5CDocuments%5CMy%20Backups%5CDevelopment%5Cnodejs%5Cthewilsonnet.com&isDev=true&tsconfigPath=tsconfig.json!:22:153)
    at Object.collectGenerateParams (C:\Users\bamas\OneDrive\Documents\My Backups\Development\nodejs\thewilsonnet.com\node_modules\next\dist\build\utils.js:710:110)
    at Object.loadStaticPaths (C:\Users\bamas\OneDrive\Documents\My Backups\Development\nodejs\thewilsonnet.com\node_modules\next\dist\server\dev\static-paths-worker.js:43:50)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  type: 'TypeError',
  page: '/'
}

next.config.js:
/** @type {import('next').NextConfig} */
const nextConfig = {
  experimental: {
    appDir: true,
    transpilePackages: ["react-daisyui"],
  },
};

module.exports = nextConfig;

Resolved here for those who run into this with NextJS 13: https://github.com/vercel/next.js/issues/41929#issuecomment-1292934463

Hey @BWBama85,
Thanks for looking into this and finding a fix with Client Components!
I'll look into merging a permanent solution. Since only the Theme component uses Context, maybe we can refactor, or mark it as client only and recommend a new way to add nesting theming without the useTheme hook.


502 Bad Gateway when calling getRelated in frontend

Description
I get 502 Bad Gateway when calling getRelated() in a controller or blade on frontend. If I call it in a repeater blade (for dynamic select options) it works with no errors.
Controller, blade view (502 Bad Gateway)
$this->service = Service::forSlug($service)->published()->firstOrFail();
$this->doctors = $this->service->getRelated('doctors');
// dd($this->doctors);
// foreach ($this->service->getRelated('doctors') as $doctor) {
//     dd($doctor);
// }

{{-- @dd($service->getRelated('doctors')) --}}
@foreach ($service->getRelated('doctors') as $doctor)
  {{-- @dd($doctor) --}}

    ...

@endforeach

If I uncomment the dd(), @dd() (also in the foreach loop) above it works & returns a collection of the related models or single model within the foreach:

Sample in repeater blade view (works)
foreach (\App\Models\Service::find($service)->getRelated('doctors') as $doctor) {
  $doctorOptions[] = [
    'value' => $doctor->id,
    'label' => $doctor->title
  ];
}

Versions
Twill version: 2.12.4
Laravel version: 9.48.0
PHP version: 8.0

The 502 error is coming from your web server, but there must be an underlying error in your Laravel application for it to happen. Check your Laravel logs.

No error in laravel

The 502 error is coming from your web server, but there must be an underlying error in your Laravel application for it to happen. Check your Laravel logs.

No error in log

What about your web server/php-fpm logs?

Are you still reproducing this issue?


Webview resources not loading in WSL2

This issue is similar to #101093, but only observed in  WSL2. When loading the Git Graph extension, the .css and .js resources are not loaded, throwing a 404 error. When the WSL environment is converted to v1, it works as expected.
My unsubstantiated guess is that it has to do with changes to how WSL presents the filesystem to the host between v1 and v2.
I believe @mjbvz was looking at this previously, hence pinging him here.

Version: 1.47.0-insider (user setup)
Commit: 7923112cdd20575406ec547b55a99c289dd7d7e2
Date: 2020-06-29T05:53:43.438Z
Electron: 8.3.3
Chrome: 80.0.3987.165
Node.js: 12.13.0
V8: 8.0.426.27-electron.0
OS: Windows_NT x64 10.0.19042

Steps to reproduce:

Create a new WSL instance using v1 (e.g. I have Ubuntu 20.04)
Connect with Remote-WSL extension
Install Git Graph extension
Create a test repo, observe Git Graph loads as expected
Convert WSL to v2 with wsl --set-version Ubuntu-20.04 2
Reconnect and observe Git Graph assets not being loaded

Does this issue occur when all extensions are disabled?: No (as it's related to the extension)

The extension has two files, out.min.css and out.min.js that render the UI. As you can see above, out.min.css is empty, and out.min.js is not present at all, while both of them are available in the filesystem. When converted to WSLv1, both are loaded correctly

+1, same issue encountered on my side (I haven't tried with WSL1)

@alexdima I've tracked this down to whether we use http or https while requesting remote resources:
https://github.com/microsoft/vscode/blob/33142d0202d018e0e5bc11304504c84c33c3e8d5/src/vs/platform/webview/electron-main/webviewProtocolProvider.ts#L159
We always tried to use https except tor requests to localhost. However for wsl2, the remote address ends up being something like:

This means we try to make a https request which fails since the server does not support http.
Not sure what the correct way to fix this is. Should IRemoteConnectionData potentially include a scheme?

:+1: http is the protocol always used by VS Code Desktop in all remote scenarios. The responsibility to secure communication if the machine bou

@mjbvz Does this repro with the simple built-in Markdown viewer? If so, feel free to mark it as verified.

Can confirm working on the latest release. Thank you so much!
Version: 1.47.0-insider (user setup)
Commit: 04545fa88043fd10d1f3edefd26be1b8245b516f
Date: 2020-07-02T05:48:37.715Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19042


Flexible payment methods

As a user, i want an online payment method with multiple payment options

Razorpay can be used

Stripe can also be used in a way similar to payment for pickup/drop

Completed with aa0864f4e79e2b36028d3c86d9a2869e0067ba32


the VSC window keeps reloading ceaselessly. no operation can be done.

VSCode Version:
Version: 1.52.1
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:30:02.420Z (5 days ago)
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 17.7.0

OS Version: maOS high sierra 10.13.6

Steps to Reproduce:

just launch the VSC window
it was working fantastic,
but, of nowhere, everything got disturbed
reinstalling does not work.
even after installing, I do not receive fresh settings

Does this issue occur when all extensions are disabled?: Yes/No

the VSC window keeps reloading ceaselessly. no operation can be done

Can you describe that in more details?


Resolution

Hi There,
How to change the resolution of  the image as some sites  have minimum requirement 1400 * 1400  and the payload image resolution of 32*32 can and if I wanna change the File type.

@wowits
$ pixload-png -W 1400 -H 1400 Image.png

The other image formats is coming soon.
P.S. The only problem is the polyglot images. See #7 for more information.


Consider Remix v2 during remix-pwa init run

Weird bugs from not finding config file: what's going on?
https://github.com/remix-pwa/remix-pwa/issues/121

Btw, reduce the try {...} catch (e) {...} scope in the creation suite

I have the same issue on Windows, and figured out url.pathToFileURL() is needed to resolve an absolute path on Windows.
I was about to create PR to fix this, can I?

I have the same issue on Windows, and figured out url.pathToFileURL() is needed to resolve an absolute path on Windows.

process.cwd() should return the correct path for both Unix and Non-Unix systems. Can you please try clearing your npm cache then re-trying? In the issue mentioned above, he was able to get it working in a codespace

Sorry for being vague, I meant module resolution when importing:
https://github.com/remix-pwa/monorepo/blob/e498b6a57c6356786e98168164538a7a4b0dc01d/packages/dev/cli/create.ts#L109
I think it should be
import { fileURLToPath, pathToFileURL } from 'url';
const remixConfig = await import(pathToFileURL(resolve(projectDir, 'remix.config.js')).href).then(m => m.default);

Thanks for the tip, would release a nightly build ASAP

Would create a PR for this soon.


The addon is freezing up dynamic sites like outlook.com

Potentially change the onready() to window.onload()
Also filter out unwanted mutations and html elements.

resolved in #14 and #15


Question: how to extend intelligent file handling with click's type system in a sane way?

Continues from #426 which got locked (why?) so I am submitting a new issue for a follow up question.
@davidism responded with

I still agree with why this is closed, so I don't plan to reopen it. Click's type system is extensible to facilitate any specific needs a project has.

One current issue is that, depending on the system you're on, you might have CRLF instead of CR / LF for line endings (as an example). For click to support this nicely however, it seems like the current suggestion from that issue is to basically:

copy the click.File entirely (or inherit it): https://github.com/pallets/click/blob/5eb46cba463ff3e3894b58f6649c5a13f02a70b1/src/click/types.py#L545
reimplement the entirety of convert in the inherited class, using a reimplemented form of open_stream to handle the different line endings: https://github.com/pallets/click/blob/5eb46cba463ff3e3894b58f6649c5a13f02a70b1/src/click/_compat.py#L367

Is this correct? I'm confused by this, since I need the functionality of click.File, with something else added on top of it, but I don't have an easy way to implement it without ripping out the existing code and just passing through a keyword argument...

As stated in the original closure, it adds complexity for a niche issue in another library that can already be worked around. In this case, the workaround is probably along the lines of "open in binary mode, and wrap with io.TextIOWrapper with whatever behavior you need."

How do I incorporate the intelligent file handling on top of this (e.g. "functionality of click.File") - as I need to be able to have the program work via piping in the input as well as by passing in a file? Relying only on io.TextIOWrapper won't do that alone. What part of click.File do I need to get intelligent file handling?

Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.

The File type can open in binary mode. Subclass it or add a parameter callback or use the command function to wrap the binary file in TextIOWrapper.
I get that you had a specific issue, but the problem is that everyone has a specific issue, so we constantly get old issues resurrected with someone asking maintainers to put in the work for their specific issue. I'm sorry that "process file opened by click.File with csv accounting for newlines in quoted cells" isn't covered elsewhere, but answering questions like this on the issue tracker does not scale with maintainer time.
Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.


[Python Track2] [azure-eventhubs] [5.0.0b2] EventProcessor should support EventPosition

The EventPosition class supports multiple position types (offset, sequence or timestamp) where a consumer starts. It would be great to add support to EventProcessor. Currently it looks like EventProcessor supports offset only i.e. amqp.annotation.x-opt-offset.

Hi Paymaun, do you prefer an EventPosition that accepts multiple position types or key word arguments (**kwargs)  that accept offset, sequence, and enqueued_time separately? Or you're indifferent as long as we have them all. This is just a small survey.

I appreciate you asking my thoughts on this.
I see advantage either way. EventPosition would provide more convenience and kwargs would provide more specificity. I lean a bit more towards EventPosition, due to a concern with too many kwargs (especially overtime) for EventProcessor initialization would become unwieldly. I suppose that could be offset with clear/concise documentation though.
One more advantage to EventPosition is the concept is already being used with EventHubClient's create_consumer method...and overall I'd prefer consistency with patterns.
Thanks again.

This is supported in preview B5.
The option in B6 will be renamed from initial_event_posisiotn to starting_position.


finish opendb logger conversion

There are still a fair number of calls to notice and other functions in dbLogger.h.  Please finish the conversion to the new logger.

@maliberty Is this conversion to logger complete?

What exactly this conversion consists in?
Btw, is it still valid?

So whenever I get a message without a prefix like "[INFO ODB-0227]" that means it's not converted yet, right?

Yes

It means it could also be using logger->report() though

It means it could also be using logger->report() though

That should be limited to true reports but there have been some abuses that should also be fixed.  At least it is better than printf as it goes through the logger.

Found some printf also in def parsing code:
def/def/defiFPC.cpp:              "ERROR (DEFPARS-6030): Invalid direction specified with FPC "
def/def/defiVia.cpp:            "ERROR (DEFPARS-6180): The index number %d specified for the VIA "
def/def/defiNet.cpp:  errMsg << "ERROR (DEFPARS-6084): The index number " << index
def/def/defiNet.cpp:  errMsg << "ERROR (DEFPARS-6085): The index number " << index
def/def/defiNet.cpp:  errMsg << "ERROR (DEFPARS-6086): The index number " << index
def/def/defiNet.cpp:        "ERROR (DEFPARS-6080): An internal error has occurred. The index "
def/def/defiNet.cpp:        "ERROR (DEFPARS-6081): An internal error has occurred. The index "
def/def/defiNet.cpp:        "ERROR (DEFPARS-6082): An internal error has occurred. The index "
def/def/defiNet.cpp:    errMsg << "ERROR (DEFPARS-6083): The index number " << index;
def/def/defiRegion.cpp:  msg << "ERROR (DEFPARS-6130): The index number " << index
def/def/defiRegion.cpp:  msg << "ERROR (DEFPARS-6131): The index number " << index
def/def/defiNonDefault.cpp:  msg << "ERROR (DEFPARS-6090): The index number " << index
def/def/defiNonDefault.cpp:  msg << "ERROR (DEFPARS-6091): The index number " << index
def/def/defrReader.cpp:                "WARNING (DEFPARS-5001): DEF statement found in the def file "
def/def/defiScanchain.cpp:              "ERROR (DEFPARS-6150): The START statement in the SCANCHAINS has "
def/def/defiScanchain.cpp:              "ERROR (DEFPARS-6151): The STOP statment in the SCANCHAINS has "
def/def/defiTimingDisable.cpp:              "ERROR (DEFPARS-6170): The TimingDisable type is invalid. The "
def/def/defiRowTrack.cpp:  msg << "ERROR (DEFPARS-6140): The index number " << index
def/def/defiIOTiming.cpp:              "ERROR (DEFPARS-6060): Invalid value specified for IOTIMING "
def/def/defiIOTiming.cpp:              "ERROR (DEFPARS-6060): Invalid value specified for IOTIMING "
def/def/defiPinProp.cpp:  msg << "ERROR (DEFPARS-6120): The index number " << index
def/def/def_keywords.cpp:              "ERROR (DEFPARS-%d): %s, file %s at line %s\nLast token was "
def/def/def_keywords.cpp:              "ERROR (DEFPARS-%d): %s, file %s at line %s\nLast token was "
def/def/def_keywords.cpp:              "ERROR (DEFPARS-%d): Def parser has encountered an error in file "
def/def/def_keywords.cpp:              "ERROR (DEFPARS-%d): %s, file %s at line %s\nLast token was "
def/def/def_keywords.cpp:              "ERROR (DEFPARS-%d): %s, file %s at line %s\nLast token was "
def/def/def_keywords.cpp:              "ERROR (DEFPARS-%d): Def parser has encountered an error in file "
def/def/def_keywords.cpp:            "ERROR (DEFPARS-%d): %s Error in file %s at line %s, on token "
def/def/def_keywords.cpp:            "INFO (DEFPARS-%d): %s See file %s at line %s.\n",
def/def/def_keywords.cpp:            "INFO (DEFPARS-%d): %s See file %s at line %s.\n",
def/def/def_keywords.cpp:            "INFO (DEFPARS-%d): %s See file %s at line %s\n",
def/def/def_keywords.cpp:            "WARNING(DEFPARS-8500): Unable to open the file defRWarning.log in "
def/def/def_keywords.cpp:                "INFO (DEFPARS-%d): %s See file %s at line %s\n",
def/def/def_keywords.cpp:            "WARNING (DEFPARS-8500): Unable to open the file defRWarning.log "
def/def/def_keywords.cpp:                "INFO (DEFPARS-%d): %s See file %s at line %s\n",
def/def/def_keywords.cpp:            "WARNING (DEFPARS-%d): %s See file %s at line %s.\n",
def/def/def_keywords.cpp:            "WARNING (DEFPARS-%d): %s See file %s at line %s.\n",
def/def/def_keywords.cpp:            "WARNING (DEFPARS-%d): %s See file %s at line %s\n",
def/def/def_keywords.cpp:            "WARNING (DEFPARS-7500): Unable to open the file defRWarning.log "
def/def/def_keywords.cpp:                "WARNING (DEFPARS-%d): %s See file %s at line %s\n",
def/def/def_keywords.cpp:                "WARNING (DEFPARS-%d): %s See file %s at line %s\n",
def/def/defiSlot.cpp:  msg << "ERROR (DEFPARS-6160): The index number " << index
def/def/defiAssertion.cpp:                "ERROR (DEFPARSE-6009): An invalid attribute type has "
def/def/defiAssertion.cpp:        "ERROR (DEFPARS-6201): Unable to process the DEF file. Both WIREDLOGIC "
def/def/defiAssertion.cpp:        "ERROR (DEFPARS-6201): Unable to process the DEF file. Both WIREDLOGIC "
def/def/defiPartition.cpp:              "ERROR (DEFPARS-6100): The value spefified for PARTITION SETUP "
def/def/defiPartition.cpp:              "ERROR (DEFPARS-6101): The value spefified for PARTITION HOLD is "

Should they be converted to?

I don't think those are printf.  The msg is passed to defiError which should allow us to redirect it to the logger in one central place.

Ah indeed. I'll send a PR for that.


Minor typo fixes for cli

-Also fixed one docstring to match others in the file.

Thank you! :)

The typo fix is available in the 2.5.3 release, thanks again

Awesome! I've been messing around with this for the 300 CS:GO Hyperbeast edition... I'll keep an eye on this and keep playing around with it :-)


[BUG] - Multisignatures documentation is outdated

External
Area
Token Locking    Related to Token Locking (Allegra).
Native Tokens    Related to Native Tokens (Mary).
Plutus    Related to Plutus Scripts (Alonzo).
Other   Any other topic (Delegation, Ranking, ...).
Summary
In the Multisignature Docs there is this code:
cardano-cli shelley transaction witness \   --tx-body-file spendScriptTxBody \   --script-file allMultiSigScript \   --testnet-magic 42 \   --out-file scriptWitness
that in the cardano-cli cannot be executed anymore.
checking the command:
`cardano-cli shelley transaction witnessUsage: cardano-cli shelley transaction witness --tx-body-file FILE
--signing-key-file FILE
[--address STRING]
[--mainnet | --testnet-magic NATURAL]
--out-file FILE
Create a transaction witness
Available options:
--tx-body-file FILE      Input filepath of the JSON TxBody.
--signing-key-file FILE  Filepath of the signing key to be used in witness
construction.
--address STRING         Byron address (Base58-encoded).
--mainnet                Use the mainnet magic id.
--testnet-magic NATURAL  Specify a testnet magic id.
--out-file FILE          The output file.
-h,--help                Show this help text`
there is no --script-file anymore
Steps to reproduce
Steps to reproduce the behavior:

Go to documentation
Follow the steps
Run the command
See error

Expected behavior
A clear and concise description of how the multisig should work
System info (please complete the following information):

OS Name: Ubuntu
OS Version 20.04
Node version 1.33.0
CLI version  1.33.0

Closing this. If this is still relevant please reopen.


Use glyphicon-console by default for cmdCode button

I think glyphicon-console is more expressive for the code button than glyphicon-star.
Here's how it looks:

:+1: looks good to me!


feat: implement  $SHLVL and $BASH_SUBSHELL

Implementation of $SHLVL and $BASH_SUBSHELL variables. https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html.
SHLVL

Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells are nested.

BASH_SUBSHELL

Incremented by one within each subshell or subshell environment when the shell begins executing in that environment. The initial value is 0. If BASH_SUBSHELL is unset, it loses its special properties, even if it is subsequently reset.

Im not sure how to test SHLVL, because it requires starting a new shell inside the test.

Thanks for working on closing this gap!
One main question for you: what do you think about the idea of lazily computing the value of these variables? I've been toying with the idea of generalizing the way we implement $RANDOM and having the notion of a "dynamically computed" ShellValue. It would let us insert the variable in the environment at initialization time but not spend energy on computing it, stringifying the result, and storing it. When actually needed for an expansion, we can evaluate it via call out to a Fn of some sort, which may look at the Shell first to generate the correct value. For some other variables like $BASHOPTS (tracked by #233) it also avoids us needing to keep updating the variable when its value would change (i.e., whenever options are updated) and reduce it down to just needing a way to poll the correct result at expansion-time.

Ok, I went back and tried to pull on the idea I mention above ^^^. I still think it's worth pursuing, but I think it's sufficiently complicated not to rush it.
I'll do a proper review of the changes in this PR so we can get them in.


Integrate touptek gstreamer plugin

https://github.com/JohnDMcMaster/gst-plugin-toupcam
This is now usable. Get at least a proof of concept rendering demo and then try to integrate into main software. Full integration will involve:

gst 1.0 upgrade (https://github.com/SiliconAnalysis/pyuscope/issues/9)
python3 upgrade (https://github.com/SiliconAnalysis/pyuscope/issues/1)
Needed in practice: upgrade parameters. TODO: also see if can use pytouptek w/ gsttoupcam plugin (like we do with pyv4l w/ gstv4l right now)

Related issue: https://github.com/SiliconAnalysis/pyuscope/issues/7

https://github.com/SiliconAnalysis/pyuscope/blob/2to3/util/simple_gui.py
Proof of concept:

touptek plugin
gst-1.0
python3

I did a lot of work, but further progress is generally blocked on https://github.com/SiliconAnalysis/pyuscope/issues/11
As a work around I might be able to restart the pipeline during image capture, but at a minimum this would loose live capture. Alternatively I might be able to change pipeline tee later (ex after jpeg encoding) which might eliminate the issue


wrong Twitter handle @F3FinCloud used on the Form3 main GitHub page

Problem:
This is not an F1 issue, but the https://github.com/form3tech-oss issue.
"Twitter" hyperlink in "Thanks for stopping by! partying_face" at "https://github.com/form3tech-oss" is referring to the @F3FinCloud account, which does not exist any longer.

Solution:
Please update the Twitter handle to one of the active ones, for example: @Form3Tech or form3careers

Thank you!
Twitter mention removed: https://github.com/form3tech-oss/.github/pull/10


Adverse event csv

Summary
Adds a template format for AdverseEvents, emphasizing use of adverse events in conjunction with clinical trials. No new behavior or tests, as this is a documentation-only PR. Review the proposed CSV format for:

Column names being appropriate;
Default values proposed being appropriate;
Required fields being appropriate;
And the actual AdverseEvent FHIR R4 spec matching up with the proposed format.

Note: This is currently missing an example sheet in the form of a CSV. I wanted to get feedback on the template format first so I didn't need to make changes in two places.

This looks really good. I just had a few small comments:

This is pretty small, but do you think we should include a categoryCodeDisplayText, adverseEventDisplayText, and seriousnessDisplayText as optional fields to include a display text on those CodeableConcepts?
Not to continue to open this can of worms, but it looks like the subject field on AdverseEvents can be a reference to a few different things. I think we were assuming it was a reference to a patient and using the mrn value. Is that true? Or do we also need a subjectType field?

This looks really good. I just had a few small comments:

This is pretty small, but do you think we should include a categoryCodeDisplayText, adverseEventDisplayText, and seriousnessDisplayText as optional fields to include a display text on those CodeableConcepts?
Not to continue to open this can of worms, but it looks like the subject field on AdverseEvents can be a reference to a few different things. I think we were assuming it was a reference to a patient and using the mrn value. Is that true? Or do we also need a subjectType field?

I don't think that we expose displayText for any other references, so I'm of the opinion that we don't need to expose that at this time.
That's a fair point, but I think for our purposes we can start by assuming (and stipulating in the CSV template file) that the subject must refer to a Patient resource. After talking with Rob this morning, I think this is a safe approach.

I don't think that we expose displayText for any other references, so I'm of the opinion that we don't need to expose that at this time.
That's a fair point, but I think for our purposes we can start by assuming (and stipulating in the CSV template file) that the subject must refer to a Patient resource. After talking with Rob this morning, I think this is a safe approach.

Julian's great catch has been addressed!

Julian's great catch has been addressed!


Please add instructions to the documentation to create the tables for authentication.

Describe the bug
There is no explanation about how to create tables for authentication such as serverpod_user_info.
To Reproduce
Steps to reproduce the behavior:

Add serverpod_auth_server to the server.
Set up as described in the documentation.
Try login
I got PostgreSQLSeverity.error 42P01: relation "serverpod_user_info" does not exist

Serverpod versions

CLI Version: 1.1.0
Library version:  1.1.0

Platform information
macOS 13.3.1

CC: @vlidholt Actually yes. Adding auth tables in the modules may not be appropriate. This can go under authentication part.

We are working on improving the documentation for the modules and hope to have that updated in the next few weeks. You can find instructions for adding a module and its tables here:
https://docs.serverpod.dev/concepts/modules


Testable temporary branch edit change

Important! Do not merge these changes.
The work has been developed off the back of testable-flow-view-connection-menu branch.
If these changes are to be adopted, the work will need to be ported across to a new branch made from main.
Reason for the current 'temporary' build from testable-flow-view-connection-menu branch is because we needed Connection Menu code to be included as this temporary branch will be used in alternative user testing.
Ticket and changes:
https://trello.com/c/RhI6jMKX/2331-branching-screen-quick-edit
From the above ticket:
"Following testing showing some issue, we'd like to test an updated design..."

Closing this temporary PR because it has now been replaced by actual (permanent) work on PR https://github.com/ministryofjustice/fb-editor/pull/1310


interchaintest should have a CONTRIBUTING.md guide

Examples to synthesize:
https://github.com/cosmos/interchain-security/blob/main/CONTRIBUTING.md
https://github.com/cosmos/ibc-go/blob/main/CONTRIBUTING.md
https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md
https://github.com/cosmos/ibc-rs/blob/main/CONTRIBUTING.md
https://github.com/strangelove-ventures/cosmos-operator/blob/main/docs/contributing.md

related to https://github.com/strangelove-ventures/horcrux/issues/199


[Bug] 安装依赖提示kmod-nft-core的依赖找不到

Verify Steps

[X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
[X] Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中，或者我会手动下载并安装 Dev 分支的 OpenClash
[X] Latest 我已经使用最新 Dev 版本测试过，问题依旧存在
[X] Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系，仅相互调用
[X] Definite 这确实是 OpenClash 出现的问题
[X] Contributors 我有能力协助 OpenClash 开发并解决此问题
[X] Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version
v0.46.014-beta
Bug on Environment
Istoreos
OpenWrt Version
iStoreOS 22.03.6<PHONE_NUMBER>
Bug on Platform
Linux-arm64
Describe the Bug
根据v0.46.014-beta 的安装说明，在安装 ipk 文件前，需要安装相关依赖：
#iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
获得报错：
Collected errors:

pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for nftables-json
pkg_hash_fetch_best_installation_candidate: Packages for nftables-json found, but incompatible with the architectures configured
pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for firewall4
pkg_hash_check_unresolved: cannot find dependency kmod-nft-fib for firewall4
pkg_hash_check_unresolved: cannot find dependency kmod-nft-offload for firewall4
pkg_hash_check_unresolved: cannot find dependency kmod-nft-nat for firewall4

To Reproduce
执行
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
命令后，系统提示：
Package coreutils-nohup (9.0-2) installed in root is up to date.
Package bash (5.2.15-1) installed in root is up to date.
Package iptables-zz-legacy (1.8.7-8) installed in root is up to date.
Package dnsmasq-full (2.89-4) installed in root is up to date.
Package curl (8.6.0-1) installed in root is up to date.
Package ca-certificates (20230311-1) installed in root is up to date.
Package ipset (7.15-2) installed in root is up to date.
Package ip-full (5.15.0-4) installed in root is up to date.
Package iptables-mod-tproxy (1.8.7-8) installed in root is up to date.
Package iptables-mod-extra (1.8.7-8) installed in root is up to date.
Package libcap (2.63-1) installed in root is up to date.
Package libcap-bin (2.63-1) installed in root is up to date.
Package ruby (3.0.6-1) installed in root is up to date.
Package ruby-yaml (3.0.6-1) installed in root is up to date.
Package kmod-tun (5.10.201-1) installed in root is up to date.
Package kmod-inet-diag (5.10.201-1) installed in root is up to date.
Package unzip (6.0-8) installed in root is up to date.
Package luci-compat (git-24.057.30647-6659faa) installed in root is up to date.
Package luci (git-23.093.42303-d58cd69) installed in root is up to date.
Package luci-base (git-24.208.65546-18f3914) installed in root is up to date.
Collected errors:

pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for nftables-json
pkg_hash_fetch_best_installation_candidate: Packages for nftables-json found, but incompatible with the architectures configured
pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for firewall4
pkg_hash_check_unresolved: cannot find dependency kmod-nft-fib for firewall4
pkg_hash_check_unresolved: cannot find dependency kmod-nft-offload for firewall4
pkg_hash_check_unresolved: cannot find dependency kmod-nft-nat for firewall4

OpenClash Log
root...
Downloading https://mirrors.cernet.edu.cn/openwrt/releases/22.03.6/packages/aarch64_cortex-a53/packages/ruby-psych_3.0.6-1_aarch64_cortex-a53.ipk
Package kmod-tun (5.10.201-1) installed in root is up to date.
Package kmod-inet-diag (5.10.201-1) installed in root is up to date.
Package unzip (6.0-8) installed in root is up to date.
Package luci-compat (git-24.057.30647-6659faa) installed in root is up to date.
Package luci (git-23.093.42303-d58cd69) installed in root is up to date.
Upgrading luci-base on root from git-24.057.30647-6659faa to git-24.208.65546-18f3914...
Downloading https://mirrors.cernet.edu.cn/openwrt/releases/22.03.6/packages/aarch64_cortex-a53/luci/luci-base_git-24.208.65546-18f3914_aarch64_cortex-a53.ipk
Configuring ip-full.
Configuring curl.
Configuring luci-base.
Configuring libruby3.0.
Configuring ruby.
Configuring libdb47.
Configuring ruby-dbm.
Configuring libcap-bin.
Configuring ruby-digest.
Configuring ruby-enc.
Configuring ruby-pstore.
Configuring ruby-forwardable.
Configuring ruby-stringio.
Configuring ruby-bigdecimal.
Configuring ruby-date.
Configuring ruby-strscan.
Configuring libyaml.
Configuring ruby-psych.
Configuring ruby-yaml.
Configuring coreutils-nohup.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for nftables-json
 * pkg_hash_fetch_best_installation_candidate: Packages for nftables-json found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for firewall4
 * pkg_hash_check_unresolved: cannot find dependency kmod-nft-fib for firewall4
 * pkg_hash_check_unresolved: cannot find dependency kmod-nft-offload for firewall4
 * pkg_hash_check_unresolved: cannot find dependency kmod-nft-nat for firewall4
 * resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.
 * resolve_conffiles: Existing conffile /etc/config/ucitrack is different from the conffile in the new package. The new conffile will be placed at /etc/config/ucitrack-opkg.

OpenClash Config
No response
Expected Behavior
能正常下载依赖，或能正常运行 openClash
Additional Context
No response

kmod缺东西需要编译内核...

大佬，所以你的意思是，我安装的 istoreOS 版本有问题，缺少了东西咯？

大佬，所以你的意思是，我安装的 istoreOS 版本有问题，缺少了东西咯？

最后怎么解决的？我也是istoreOS官方固件，R5S


Add support for OS X

Documents directory is coupled into CoreDataStack and would need to be more flexible to support OS X.

Keeping open until release is cut

Officially added in https://github.com/bignerdranch/CoreDataStack/releases/tag/v1.2.0


disk-usage: handle disk accessibility

This issue respects the following points:

[X] This is a bug, not a question or a setup/configuration issue.
[X] This issue is not already reported on Github (I've searched it).
[X] I use the latest release of the Monitoring Plugins (https://github.com/Linuxfabrik/monitoring-plugins/releases).
[X] I agree to follow Monitoring Plugins's Code of Conduct.

Which variant of the Monitoring Plugins do you use?

[X] .rpm/.deb package from repo.linuxfabrik.ch
[ ] Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
[ ] Compiled for Windows (from download.linuxfabrik.ch)
[X] Source Code from GitHub

Bug description
At the moment any disk which is not accessible throws an ugly error such as:
Traceback (most recent call last):

  File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\disk-usage", line 393, in 'module'

  File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\disk-usage", line 233, in main

  File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\psutil\__init__.py", line 2040, in disk_usage

  File "C:\PROGRA~3\icinga2\usr\lib64
agios\plugins\psutil\_pswindows.py", line 290, in disk_usage

FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\ClusterStorage\\A_001_PURE_BRONZE_SYSCLUHVA21S\\'

Please add some error checking if the disk is not accessible in terms of disk-usage everything is fine so please skip the non accessible disks. Would like the check to be ok with maybe a not accessible message but not what currently happens where the check goes into unknown for all disks with Traceback errors. We get this a lot on windows systems.
Steps to reproduce - Plugin call
'C:\ProgramData\icinga2\usr\lib64\nagios\plugins\disk-usage.exe' '--critical' '96%USED' '--include-pattern' 'C:\ClusterStorage'
Steps to reproduce - Data
Run check on any disk which is present but not accessible.
Environment
Mainly windows servers
Plugin Version
any
Python version
3.12
List of Python modules
No response
Additional Information
No response

I am providing the fixed code which would resolve this issue:
import os
import shutil
import psutil

# Define warning and critical thresholds
WARN_THRESHOLD = 90  # in percentage used
CRIT_THRESHOLD = 450 * 1024 * 1024  # in bytes free (450MB)

# Table formatting
HEADER = (
    "Mountpoint     ! Type ! Size      ! Used     ! Avail    ! Use% ! Accessible\n"
    "---------------+------+-----------+----------+----------+------+-----------"
)

def format_size(bytes_value):
    """Convert bytes to a human-readable format."""
    for unit in ['B', 'KiB', 'MiB', 'GiB', 'TiB']:
        if bytes_value < 1024.0:
            return f"{bytes_value:.1f}{unit}"
        bytes_value /= 1024.0
    return f"{bytes_value:.1f}PiB"

def check_disk_usage():
    """Check disk usage and return formatted output."""
    output_lines = []
    critical_issues = False

    for partition in psutil.disk_partitions(all=False):
        try:
            # Attempt to fetch disk usage
            usage = psutil.disk_usage(partition.mountpoint)
            size = format_size(usage.total)
            used = format_size(usage.used)
            available = format_size(usage.free)
            use_percent = usage.percent

            # Determine the status of the partition
            status = ""
            if usage.free < CRIT_THRESHOLD:
                status = "[CRITICAL]"
                critical_issues = True
            elif usage.percent > WARN_THRESHOLD:
                status = "[WARNING]"

            accessible = "Yes"
            output_lines.append(
                f"{partition.mountpoint:<15} ! {partition.fstype:<4} ! {size:<9} ! {used:<8} ! {available:<8} ! {use_percent:.1f}% {status:<10} ! {accessible:<10}"
            )
        except Exception as e:
            # Mark as inaccessible if an exception occurs
            accessible = "No"
            output_lines.append(
                f"{partition.mountpoint:<15} ! {partition.fstype:<4} ! {'N/A':<9} ! {'N/A':<8} ! {'N/A':<8} ! {'N/A':<5} {'':<10} ! {accessible:<10}"
            )

    return output_lines, critical_issues

def main():
    # Print header
    print(HEADER)

    # Generate the disk usage report
    report_lines, has_critical_issues = check_disk_usage()

    # Print the disk usage report
    for line in report_lines:
        print(line)

    # Print the summary
    if has_critical_issues:
        print("\nThere are critical errors. (warn=90%USED crit=450MFREE)")
    else:
        print("\nAll disks are within acceptable usage limits.")

if __name__ == "__main__":
    main()

Example output:
Mountpoint     ! Type ! Size      ! Used     ! Avail    ! Use% !   Yes
/mnt/data      ! xfs  ! N/A       ! N/A      ! N/A      ! N/A             ! No

There are critical errors. (warn=90%USED crit=450MFREE)


should not process comment scripts?

When I comment some sciprts in index.html:
<!-- build:js({.tmp,client}) app/app.js -->
<script src="app/app.js"></script>

<!-- Mock Code
<script src="components/mock.js"></script>
-->

<!-- endbuild -->

I use useminPrepare to generate the config, and then run the generated tasks. But the concated file will include the commented scripts components/mock.js, this is a bug?
But when I rewite the comment as a line:
<!-- Mock Code <script src="components/mock.js"></script>-->

The commented file will not included in concated file.
My config is:
// Reads HTML for usemin blocks to enable smart builds that automatically
    // concat, minify and revision files. Creates configurations in memory so
    // additional tasks can operate on them
    useminPrepare: {
      html: ['<%= yeoman.app %>/index.html'],
      options: {
        dest: '<%= yeoman.dist %>/public'
      }
    },

    // Performs rewrites based on rev and the useminPrepare configuration
    usemin: {
      html: ['<%= yeoman.dist %>/public/{,*/}*.html'],
      css: ['<%= yeoman.dist %>/public/{,*/}*.css'],
      js: ['<%= yeoman.dist %>/public/{,*/}*.js'],
      options: {
        assetsDirs: [
          '<%= yeoman.dist %>/public',
          '<%= yeoman.dist %>/public/app',
          '<%= yeoman.dist %>/public/assets/images'
        ],
        // This is so we update image references in our ng-templates
        patterns: {
          js: [
            [/(assets\/images\/.*?\.(?:gif|jpeg|jpg|png|webp|svg))/gm, 'Update the JS to reference our revved images']
          ]
        }
      }
    },

I have found the same problem when commenting a JS file like this:
<!-- build:js scripts1.js -->
...
<!-- <script src="libs/angular/angular.js"></script> -->
...
<!-- endbuild -->

The file gets added to the result script even that it is commented.

:+1:

i found it either, it is a big hole
usemin with concat your comment js
so you have to delete it not comment it

Confirmed. This will be hard to fix tho, as we're using regexps to parse our HTML. This would be fixed by https://github.com/yeoman/grunt-usemin/issues/244 (using an actual parser instead of regexps).

@JohnnyFee and others. I will come back to you soon as I'm already working on using an HTML parser.

Work is done in #544 and might be merged into dev branch.


Support fiat on-ramp with Coinbase Pay on mobile app

Describe the task
Support fiat on-ramp with Coinbase Pay on mobile app (both iOS and Android)

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-215-1025-merge-2023-09-15T04-38-44.ipa
Please check:

[ ] An error occurs when buying token with Banxa

[ ] Incorrect token when buy token with Transak

DOCK -> Actual show ETH
BUSD -> Actual show ETH

[ ] Update logo style

[ ] Only show tokens that integrated

Actual: Show tokens that not integrate
Expect: Only show tokens that integrated

[ ] Don't navigate to service page when click on Buy token button with Android device

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-215-1025-merge-2023-09-18T09-55-12.ipa
Device test: IP 11
Validation passed.


study_access attribute:   only request the attribute if it is defined in the model.

affecting all dev sites and feature site since they are eda enabled by default

The attribute bulk_download_url should be optional.


fix: add include to the world parsing error message

tiny change - adding the missing include to an error message

Wait I was mistaken. There is a include in the error message already!


Filter exact taxonomy

Hi,
I would like to know if there is a way, maybe with filtertaxseqdb, to exclude the proteins assigned to a strict taxonomic level, e.g. to exclude the proteins assigned to "Hominidae" while keeping all those above this level e.g. Homo sapiens ones. That can be helpful with the unirefs as the taxonomy of the clusters is assigned at the last common ancestor of its members.
Thanks!

Dear Milot,
thanks a lot for your reply.
In the end I excluded the proteins classified as "Hominidae" from the .mapping file and used the resulting file with createsubdb.
it seems to works fine.
Your solution will be interesting to apply this wo a specific target taxonomy.
Kind regards,
Florian


Install script for Linux doesn't work properly when $PATH includes spaces

Environment
I'm running Ubuntu with WSL.
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Description
Problem
I followed the instruction in https://learn.microsoft.com/ja-jp/azure/developer/dev-tunnels/get-started?tabs=linux to install devtuunel CLI and found the below section of the install script has a problem.
if [[ ":$PATH:" != *":$HOME/bin:"* ]]; then
    if [[ -e ~/.zshrc ]]; then
        echo "export PATH=$PATH:$HOME/bin" >> $HOME/.zshrc
        fileUsed="~/.zshrc"
    elif  [[ -e ~/.bashrc ]]; then
        echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bashrc
        fileUsed="~/.bashrc"
    else
        echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile
        fileUsed="~/.bash_profile"
    fi
fi

This adds a line like export PATH=/home/tsuyoshi_kaneko/.local/bin:/mnt/c/Users/tsuyoshi.kaneko/AppData/Local/Programs/Microsoft VS Code/bin:/home/tsuyoshi_kaneko/bin to a dotfile. It is not properly executed because the value of PATH includes spaces and is not single-quoted.
Solution(my suggestion)
I think the problem can be solved by changing double-quotation of the echo section to single quotation like:
echo 'export PATH=$PATH:$HOME/bin' >> $HOME/.zshrc

or don't extract $PATH and $HOME:
echo "export PATH='$PATH:$HOME/bin'" >> $HOME/.zshrc

Thanks for taking the time to file this issue. Unfortunately, we’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community. Marking this as a known-issue.


python-tools Was Unable to Find the Python Executable

Using Atom Editor on Linux Mint 20.
The python version is 3.6 installed at /usr/bin/python3.
But whenever I installed the python-tools package, it is throwing the above error. A bit of online search suggests it is common, although most of the solutions seem to apply to windows machine. I have already tried setting the path to to python directory inside the package setting, but no luck. Also, my PATH environment variable already contains /usr/bin
So what's the way out?

Same issue here.

Linux Mint 20.1
/usr/bin/python3  -> python3.8
env variable set and works


[Zashi-iOS audit] Issue D: Seed phrase entry could be intercepted by custom keyboards

From @defuse's draft report:

Severity: Medium
When importing a wallet from a seed phrase in Zashi, the user enters their seed phrase into a regular TextEditor field. If the user has a malicious custom keyboard installed, the keyboard could intercept the seed words and steal the user’s funds. Even if the custom keyboard is not malicious, it might inadvertently write seed phrase data somewhere less secure, such as into databases for predictive text or autocorrect.
Instead, a SecureTextEntry should be used. This will prevent any third-party keyboard from accessing the seed phrase.

This seems relatively straightforward to fix: it is essentially just replacing TextEditor with SecureTextEntry here.

This seems relatively straightforward to fix: it is essentially just replacing TextEditor with SecureTextEntry here.

This is actually not a solution. secureTextEntry is not a replacement for TextEditor. It's not a View at all, it's a parameter of UIKit's UITextField. SwiftUI has something called SecureField, it's a View and does a typical password experience, when a user types, no characters are visible, instead there are dots (web browsers use usually *).
The problem is we need Editor experience. TextEditor component is exactly what we need, the area where a user can write several words/sentences on a several lines. iOS 15 is not capable to provide secureTextEntry experience for Editors, there is not replacement for it.

Proposed solution:
We already have a code in place that disables 3rd party keyboards.
func application(
        _ application: UIApplication,
        shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplication.ExtensionPointIdentifier
    ) -> Bool {
        return extensionPointIdentifier != UIApplication.ExtensionPointIdentifier.keyboard
    }

@daira @true-jared is it ok for you that we don't let users to use any 3rd party keyboard in Zashi? It essentially forces them to switch the keyboard to a system one.

@daira @true-jared is it ok for you that we don't let users to use any 3rd party keyboard in Zashi? It essentially forces them to switch the keyboard to a system one.

Yes that is acceptable. It may slightly inconvenience users who want to use a third-party IME to enter text for memo fields, for example, but I think that's an acceptable trade-off to avoid this vulnerability. Any improvement would have to be post-Zashi 1.0.
To close this issue, it's sufficient to manually attempt to use a third-party keyboard (that can be easily distinguished from the built-in one) and check that it's disabled in Zashi when entering the seed phrase for wallet import.

Another thing that would be good to do is to check that dictation does still work. That verifies that we're not introducing an accessibility problem for users who find it difficult to type on the built-in keyboard. (If it doesn't work, open an issue, but this wouldn't be a blocker for 1.0.)

All iOS accessibility features (Dictation, voice over, etc) should work with the system keyboard

@LukasKorba says:

The system keyboard is already forced, no additional code needed. I tested 3rd party keyboards and Zashi automatically works in system keyboard only, not offering an option to switch to some other.


Spinning starts delayed

The loading screen does not start spinning immediately.

I implemented a fix for this issue right away. Could you merge it?
https://github.com/needim/wdtLoading/pull/4


Simplify App Bridge initialization code

WHY are these changes introduced?
Simplify the starter code.
(added bonus: If we ever want to deprecate the forceRedirect option in the future, it will be easier if less code is using it)
WHAT is this pull request doing?
Delete a redundant line of code - No need to pass forceRedirect: true, since true is the default value.

I git myself 😞 , closing this for now


[Errno 104] Connection reset by peer

Steps to reproduce
import speech_recognition as sr
from os import path

AUDIO_FILE = path.join(path.dirname(path.realpath(__file__)), "audio.wav")

with sr.AudioFile(AUDIO_FILE) as source:
    audio = r.record(source)

print(r.recognize_google(audio, language="ja"))

Expected behaviour
It should print the text of the audio
Actual behaviour
Traceback (most recent call last):
  File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib/python3.5/http/client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.5/http/client.py", line 936, in _send_output
    self.send(message_body)
  File "/usr/lib/python3.5/http/client.py", line 908, in send
    self.sock.sendall(data)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/francesco/.local/lib/python3.5/site-packages/speech_recognition/__init__.py", line 762, in recognize_google
    response = urlopen(request, timeout=self.operation_timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 104] Connection reset by peer>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lyrics.py", line 20, in <module>
    print(r.recognize_google(audio, language="ja"))
  File "/home/francesco/.local/lib/python3.5/site-packages/speech_recognition/__init__.py", line 766, in recognize_google
    raise RequestError("recognition connection failed: {}".format(e.reason))
speech_recognition.RequestError: recognition connection failed: [Errno 104] Connection reset by peer

System information
My system is elementary OS 0.4.1 Loki.
My Python version is 3.5.2 . (You can check this by running python -V.)
My Pip version is 8.1.1 . (You can check this by running pip -V.)
My SpeechRecognition library version is 3.7.1 .
My PyAudio library version is 0.2.11 .

Are you connected to the internet, and able to access Google?

Yes, I'm able to connect to internet and I can use Google
On Aug 30, 2017 10:10 AM, "Anthony Zhang"<EMAIL_ADDRESS>wrote:

Are you connected to the internet, and able to access Google?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Uberi/speech_recognition/issues/264#issuecomment-325916183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOUwycT8S6j3ejBcHZ7D903bpqW8tVOBks5sdRjZgaJpZM4PC9cl
.

It appears that your network is dropping the connection - do any of the other APIs work? For example, Wit.ai? Do the example/demo scripts work?

@francescovallone I'm having this error as well actually, can you tell me why you closed this? Were you able to solve it?

I didn't solve it. Actually, I don't work on this project anymore so I closed it. Sorry