Fixes animation freezing or not starting properly.

Fixes https://github.com/charleshacks/chCasinoWall/issues/2

Thank you!


Unhandled exception

Issue Description
I get an unhandled exception when logging into the server (Windows).  Error type: builtins.ValueError
Reproduction Steps

Start King Phisher
Login to the server

Environment Details

Host OS: Windows: 10 10.0.15063  Multiprocessor Free
King Phisher Version: 1.9.0
Error Details / Stack Trace

Error Type: builtins.ValueError
Error Details: ValueError('too many values to unpack (expected 2)',)
Error UID: 5eaeb50f-a86c-4ccd-aca8-598e6e436029
RPC Error: N/A (Not a remote RPC error)
King Phisher Version: 1.9.0
Platform Version: Windows: 10 10.0.15063  Multiprocessor Free (Frozen=True)
Python Version: 3.4.4
Gtk Version: 3.14.15
Timezone: America/New_York

Thread Information:
 => MainThread (alive=True daemon=False)

Stack Trace:
Traceback (most recent call last):
  File "C:\king-phisher\king_phisher\client\application.py", line 573, in server_connect
  File "C:\Python34\lib\site-packages\advancedhttpserver.py", line 550, in __call__
  File "C:\Python34\lib\site-packages\advancedhttpserver.py", line 596, in call
  File "C:\Python34\lib\http\client.py", line 1137, in request
  File "C:\Python34\lib\http\client.py", line 1182, in _send_request
  File "C:\Python34\lib\http\client.py", line 1133, in endheaders
  File "C:\Python34\lib\http\client.py", line 963, in _send_output
  File "C:\Python34\lib\http\client.py", line 898, in send
  File "C:\Python34\lib\http\client.py", line 871, in connect
  File "C:\Python34\lib\socket.py", line 516, in create_connection
  File "C:\Python34\lib\socket.py", line 507, in create_connection
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\king-phisher\king_phisher\client\windows\main.py", line 313, in signal_login_dialog_response
  File "C:\king-phisher\king_phisher\client\application.py", line 584, in server_connect
  File "C:\king-phisher\king_phisher\client\gui_utilities.py", line 516, in show_dialog_exc_socket_error
ValueError: too many values to unpack (expected 2)

Thanks for reporting this @krash50. I'm reasonably certain that the issue here is that show_dialog_exc_socket_error is running into trouble formatting the exception for display to the user (you).
We'll get this resolved but in the mean time you'll want to look at the server connection settings as even after the fix has been implemented it will still have trouble connecting. You'll want to make sure that the King Phisher server is up and running on the target server. Check out the FAQ question The King Phisher Client Fails To Connect for some more information.

Thank you.  The software was too much of a pain to configure to run in a Windows environment so I am going back to what I already had setup in Linux.

This issue has now been fixed in the dev branch. To obtain the changes, you can either wait for them to be merged into the master branch (which will likely take a few weeks) or you can obtain them immediately by opting into beta testing.
Fixed in commit 671f946b28df98800d7f13cccf77e91c5e6cbdee.


fix: Race condition in JS object mutation

Description
Fixes race condition in JS Object mutation where evaluation overrides the variables state

Links to Notion, Figma or any other documents that might be relevant to the PR

PR fixes following issue(s)
Fixes #27978

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Bug fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?

[ ] Manual
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] 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
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/build-deploy-preview

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/build-deploy-preview

LGTM @arunvjn


trace_id and request_id should be equal

Description
Right now, to debug a particular request, you have to:

grab the request_id from the response's header
look into the logs and grab the trace id
look into the traces

I think it would be better if request_id == (top-level) trace_id so that we can skip step 2.  This is also how Okta FGA works.
Tasks

Add this to the existing requestid middleware:

// InitializeTraceID will add the trace ID to the context tags so that they can be picked up by other middlewares.
// If trace is not enabled, it will use generate its own ULID as request ID.
func InitializeTraceID(ctx context.Context, traceID trace.TraceID) context.Context {
	if !traceID.IsValid() {
		id := ulid.Make().String()
        grpc_ctxtags.Extract(r.ctx).Set("request-id", id)
	} else {
        grpc_ctxtags.Extract(r.ctx).Set("request-id", traceID.String())
	}
	return ctx
}

Modify the reportable function in the requestid middleware to use ☝

Cleanup the custom code that logs trace_id and request_id:

https://github.com/openfga/openfga/blob/164963facc61241e1378d8fefb6632c700407163/pkg/middleware/logging/logging.go#L131-L138
because, by virtue of putting the request id as a context tag, it should be automatically picked up here:
https://github.com/openfga/openfga/blob/164963facc61241e1378d8fefb6632c700407163/pkg/middleware/logging/logging.go#L57-L59

Following the test introduced in https://github.com/openfga/openfga/pull/926, modify it so that we assert that the request_id field is logged.

This was implemented in v1.5.4.
With tracing: "trace_id": "1e20da43269fe07e3d2ac018c0aad2d1",  "request_id": "1e20da43269fe07e3d2ac018c0aad2d1"
(same values)
Without tracing: "request_id": "38fee7ac-4bfe-4cf6-baa2-8b5ec296b485"
(uuid)


[curl] Update to 7.73.0

What does your PR fix? Regular port update https://github.com/curl/curl/releases/tag/curl-7_73_0

Which triplets are supported/not supported? Have you updated the CI baseline? Should be no changes

Does your PR follow the maintainer guide? Yes

/azp run


evidently 0.1.52.dev2 : ModuleNotFoundError: No module named 'evidently.dashboard.tabs'

After installing evidently in python environment, 'evidently.dashboard' can be imported but 'evidently.dashboard.tabs' gives an ModuleNotFoundError.

That might be some problem with evidently package, any thoughts @emeli-dral ?


DateRangeSelector cannot select "disabled" dates of other months

Going by this example:
https://renderlesskit-react.vercel.app/?path=/story/datepicker-range--controlled-input
When you make a selection that uses dates of the "next month", the selection looks like you can select it:

However because these dates are "disabled" you cannot actually left-click to confirm the selection.
Is there any reason (aside from styling) that dates that are not part of the current month have aria-disabled=true?
This also goes for minmax ranges:
https://renderlesskit-react.vercel.app/?path=/story/calendar-range--min-max-date&args=start:2021-09-10;end:2021-09-17

Yeah, it is a mistake done in the styling part, you cannot click the "disabled" dates.
You can however select the dates in the next month after navigating to the next month in the calendar which are within the min/max range.

Fixed in #326


Extend the db-sync stake pool verifications to all tests where it makes sense

Closed by https://github.com/input-output-hk/cardano-node-tests/pull/759


The insert method is not work until the focus is first captured

me too

how to solve it

richEditor.focusEditor()
This method can help me solve it.


server: let scheduler control the resource limit

Different schedulers may use different limits in the future, so we should let
the scheduler control its resource limit.

PTAL @disksing @overvenus

LGTM, but CI fails.

Please approve @disksing

PTAL @siddontang


[Bug Bash] [Editors] Collapsible Editors need to be able to support Just a Token

AB#15929131

currently already supports this actully


Update logviewer to match logic with the backend

Ref:
https://github.com/biothings/biothings_studio/issues/65
https://github.com/newgene/biothings.api/pull/6

@sengineer0

Let's make "View Logs" above the stage tabs, consistent with other tabs (click "view logs" to show log elements, otherwise, just a button).
"View logs by stage:" --> "View logs by stages:", and need some paddings around the text.

@sengineer0

Let's make "View Logs" above the stage tabs, consistent with other tabs (click "view logs" to show log elements, otherwise, just a button).
"View logs by stage:" --> "View logs by stages:", and need some paddings around the text.

I see, it is quite difficult to do that, as we will change the LogViewer to support multiple tab stages.
anyway, I will give it a try

@sengineer0 looks good overall! Two minor improvements:

remove tabs at the initial view, just show "View Logs" button, consistent with other places

This two "Unavailable" sub-tabs have inconsistent display:

DIFF tab:

SYNC tab:

Probably should add the same msg to the "DIFF" sub-tab

@sengineer0 looks good overall! Two minor improvements:

remove tabs at the initial view, just show "View Logs" button, consistent with other places

This two "Unavailable" sub-tabs have inconsistent display:

DIFF tab:

SYNC tab:

Probably should add the same msg to the "DIFF" sub-tab

It's fixed now.

@sengineer0 Another minor thing I noticed, the log file dropdown at SNAPSHOT tab seems not consistent with other tabs. The file path in other tabs usually has build/<build_name>/*.log, but SNAPSHOT log dropdown has only the logfile names.

v.s.

@sengineer0 because studio is based on element UI library, can we just use its tab style from this library?
Like these examples: https://element.eleme.cn/2.3/#/en-US/component/tabs  (Studio uses v2.3.x currently)
The current tab styles looks like just some plain jquery tabs, works just does not look consistent/polished comparing to the rest of the site.

@sengineer0 Another minor thing I noticed, the log file dropdown at SNAPSHOT tab seems not consistent with other tabs. The file path in other tabs usually has build/<build_name>/*.log, but SNAPSHOT log dropdown has only the logfile names.

v.s.

It's fixed.
but it required a change in the biothings.api, I created a PR for it. please have a look: https://github.com/newgene/biothings.api/pull/17

@sengineer0 because studio is based on element UI library, can we just use its tab style from this library?
Like these examples: https://element.eleme.cn/2.3/#/en-US/component/tabs (Studio uses v2.3.x currently)
The current tab styles looks like just some plain jquery tabs, works just does not look consistent/polished comparing to the rest of the site.
For example, this basic tab style seems good enough (also different from the tab style of the main tabs):

let's me check it

@sengineer0 because studio is based on element UI library, can we just use its tab style from this library?
Like these examples: https://element.eleme.cn/2.3/#/en-US/component/tabs (Studio uses v2.3.x currently)
The current tab styles looks like just some plain jquery tabs, works just does not look consistent/polished comparing to the rest of the site.
For example, this basic tab style seems good enough (also different from the tab style of the main tabs):

@newgene  I checked that Biothings Studio doesn't use element UI library anywhere.
The stage logs was created like the tab in top of the Build page.
If you really want to use Element UI, I will try to replace with that library.

semantic-ui-vue is actually a third party package. I tried to use it, but it not easy to port the current stage log to use that package.
Because we are currently use plain semantic-ui, so I think we can simplly change a little bit the stage logs, and it will look like other tabs: for example: action tabs in Source view

=> Source view's tabs

=> After I update the stage logs tabs

FYI. I created a separate issue for the last mono-font request: https://github.com/biothings/biothings_studio/issues/89, (the style changes are applicable for both trackback and logs dialogs)

@newgene

Full screen view of the log dialog by clicking the square icon on the top-right needs to have a scrollbar when the logs displays longer than the screen height (screenshot below)

=> sure I will add it

Can you please verify the log lines retrieved from the /log endpoint will be capped (e.g. 1000 lines max), so that we won't load a super big log file to crash the browser? We should have implemented it on the backend, but let's check to be sure, and maybe add a text like "logs were capped at 1000 lines" to the UI if the log lines hit its max.

=> Currently we let the studio download the log file, and display it to user
If we want to show only a limit lines, there are 2 options:

Option 1: we will handle it on backend, it will be better because, it reduces the download time. but it requires more time to implement.
Option 2: if the download time is not a problem with our users, we can simple let the studio decide how to display the log's content.

Let's change the log font to a mono font, maybe reduce the linespace as well. Just to make it display like from a linux console.
This could be a good option: https://fonts.google.com/specimen/JetBrains+Mono (or you can pick your favorite one for your terminal or IDE)

=> ok I will check it later

Option 1: we will handle it on backend, it will be better because, it reduces the download time. but it requires more time to implement.

@sengineer0 Very likely we already had this feature (like passing a lineno parameter with a default value) in-place when we implemented the log handler, can you please confirm? Agree that we should do it at the backend.

@sengineer0 yeah, I had a look at the code, we did implement a lines parameter here:
https://github.com/biothings/biothings.api/blob/a0d498c818ba47409485c4986b87813a16ec9c8c/biothings/hub/api/handlers/log.py#L86-L103
So just need to make sure studio UI uses this parameter to cap the number of lines, and when the output lines equal to the cap, display a text of "the log lines are likely truncated at max # lines". No need to display it when the lines are less than the cap.
We can start with the line no cap at 1000 for now, can be adjusted if needed.

ok I see that. Let's me try to implement "capped lines" feature.

Full screen view of the log dialog by clicking the square icon on the top-right needs to have a scrollbar when the logs displays longer than the screen height (screenshot below)

Can you please verify the log lines retrieved from the /log endpoint will be capped (e.g. 1000 lines max), so that we won't load a super big log file to crash the browser? We should have implemented it on the backend, but let's check to be sure, and maybe add a text like "logs were capped at 1000 lines" to the UI if the log lines hit its max.

These issues was resolved.
Regarding to the max cap of log lines, I created a PR in biothings.api to change how the BE processes the log, before sends it back to UI.
Please check it too. https://github.com/newgene/biothings.api/pull/18


redpanda: convert NOTES.txt to go

I didn't add the Ci machinery to compare a whole raft of (pretty much identical) NOTES.txt output, just ran it locally.
The _example-commands.tpl script calls into the gotohelm functions now.

https://github.com/redpanda-data/helm-charts/actions/runs/9760792194/job/26940439905?pr=1403#step:5:359
I believe it's the difference of running nix develop -c 'task ci:lint' or nix develop -c 'gofumpt -w .'
task: [ci:lint] gofumpt -w .
task: [ci:lint] git diff --exit-code
diff --git a/charts/redpanda/notes.go b/charts/redpanda/notes.go
index 05d11b2..8099fe9 100644
--- a/charts/redpanda/notes.go
+++ b/charts/redpanda/notes.go
@@ -149,7 +149,6 @@ func Notes(dot *helmette.Dot) []string {
 			``,
 			fmt.Sprintf(`  %s`, RpkACLCreate(dot)),
 		)
-
 	}
 	notes = append(notes,
 		``,
task: Failed to run task "ci:lint": exit status 1

I believe it's the difference of running nix develop -c 'task ci:lint' or nix develop -c 'gofumpt -w .'

Huh... Those should be the same 🤔

I found small problem
2024-07-02T14:09:16.2034506Z >>> helm install redpanda-pfzd2eoqxt charts/redpanda --namespace redpanda-pfzd2eoqxt --wait --values charts/redpanda/ci/96-audit-logging-values.yaml --timeout 600s --set=image.tag=
2024-07-02T14:09:16.3989941Z Error: INSTALLATION FAILED: YAML parse error on redpanda/templates/tests/test-kafka-sasl-status.yaml: error converting YAML to JSON: yaml: line 45: could not find expected ':'

https://github.com/redpanda-data/helm-charts/actions/runs/9762101576/job/26944710395?pr=1403#step:16:6299

It could be reproduced by
helm template charts/redpanda --namespace redpanda-pfzd2eoqxt --values charts/redpanda/ci/96-audit-logging-values.yaml.tpl
Error: YAML parse error on redpanda/templates/tests/test-kafka-sasl-status.yaml: error converting YAML to JSON: yaml: line 45: could not find expected ':'

I'm not sure about the import thing either. It seems to come and go as I run the code generation; I can't fathom why.


README should be updated with required permissions

Environment details

Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
OS type and version:
Java version: 11
logging version(s): 2.3.1

Steps to reproduce

Deploy to Cloud Run
See error: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.google.cloud.logging.LoggingException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: The caller does not have permission

Code example
Call MonitoredResourceUtil.getResource() directly or through using LoggingHandler.addHandler(LOGGER, new LoggingHandler()); for example with java.util.logging.Logger.
private final static Logger LOGGER = Logger.getLogger("HelloWorldApplication");
LoggingHandler.addHandler(LOGGER, new LoggingHandler());
LOGGER.log(new LogRecord(Level.FINEST, "my message!"));

Stack trace
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.google.cloud.logging.LoggingException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: The caller does not have permission
	at com.google.cloud.logging.LoggingImpl.flush(LoggingImpl.java:717)
	at com.google.cloud.logging.LoggingImpl.write(LoggingImpl.java:699)
	at com.google.cloud.logging.LoggingHandler.publish(LoggingHandler.java:237)
	at java.logging/java.util.logging.Logger.log(Unknown Source)
	at com.example.helloworld.HelloworldApplication$HelloworldController.hello(HelloworldApplication.java:59)

The docs need to be updated to mention that the service account of the Google Cloud service (for example Cloud Run) needs to be updated to have role Logs Writer,roles/logging.logWriter.

@averikitsch can you please provide a link to the documentation that is missing the explanation about required permission(s)?

This repo's README does not contain this info.


IPv6 disabled in Python build

From @GoogleCodeExporter on May 31, 2015 11:29
What device(s) are you experiencing the problem on?
HTC Desire HD

What firmware version are you running on the device?
Android 2.2

What steps will reproduce the problem?
1. Create the following Python script:
import socket
print socket.has_ipv6
s = socket.socket(socket.AF_INET6, socket. SOCK_DGRAM)
s.bind(("::1", 9000))
s.recv(1024)

What is the expected output?
True
[Wait for incoming connection]

What do you see instead?
False
Exception: socket.error: getsockaddrarg: bad family

What version of the product are you using? On what operating system?
SL4A r3 + Python 2.6.2

Please provide any additional information below.
Python seems to be compiled without --enable-ipv6. Please enable it in the
build.

Thanks

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 17 Mar 2011 at 3:49
Copied from original issue: damonkohler/android-scripting#531

From @GoogleCodeExporter on May 31, 2015 11:29
Python development has moved to http://code.google.com/p/python-for-android/

Please post this issue there.

Also, you probably aren't using the latest Python build, also on that site.
Please check that problem persists with latest build.

Original comment by rjmatthews62 on 17 Mar 2011 at 10:37


Bring back the facebook social button on blog posts

Is this a bug report?
No. It was just removed.
Have you read the Contributing Guidelines on issues?
Yes
Environment
Docusaurus 1.3.0
Steps to Reproduce
Go to https://docusaurus.io/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus
Expected Behavior
The button would be there.

Actual Behavior
No button.
Reproducible Demo
N/A

Not sure if it was removed with this: https://github.com/facebook/Docusaurus/pull/673, but that seems like something that could be related.

It was still there on #673
It was down after #757
It should be
className="fb-like"

According to https://developers.facebook.com/docs/plugins/like-button/
Instead of
className="fbLike"


(MAINTENANCE) - FAQ - add to the homepage and Vote page

FAQ can be added to homepage above WINNERS OF E-COMMERCE GERMANY AWARDS 2022 and Vote page above the WINNERS OF E-COMMERCE GERMANY AWARDS 2022

i think it should be divided into "submission -related FAQ" and "voting-related FAQ"


Update pubsub to use new topic

Description
This updates pubsub to use the new client.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to
implementation.
Please reference the issue: #36
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Tests pass
[ ] Created/updated tests
[ ] Extended the documentation

Codecov Report

Merging #98 (b7888f6) into main (57efb04) will decrease coverage by 0.12%.
The diff coverage is 21.12%.

@@             Coverage Diff              @@
##               main      #98      +/-   ##
============================================
- Coverage     68.36%   68.24%   -0.13%
- Complexity      448      454       +6
============================================
  Files            59       59
  Lines          1571     1587      +16
============================================
+ Hits           1074     1083       +9
- Misses          497      504       +7

Impacted Files
Coverage Δ

src/index.php
0.00% <0.00%> (ø)

src/lib/Client/DaprClient.php
0.00% <0.00%> (ø)

src/lib/Client/DaprClientBuilder.php
0.00% <ø> (ø)

src/lib/Client/DaprHttpClient.php
0.00% <0.00%> (ø)

src/lib/Client/HttpPubSubTrait.php
0.00% <0.00%> (ø)

src/lib/PubSub/Publish.php
100.00% <ø> (ø)

src/lib/PubSub/Topic.php
84.21% <80.00%> (-15.79%)
:arrow_down:

src/config.php
100.00% <100.00%> (ø)

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 57efb04...b7888f6. Read the comment docs.


Prompt properties 'value' and 'default' value shouldn't share the same term

The word 'value' is being used with different meanings between the two properties side by side. Need to come up with a new name for one of them.
@yochay @vishwacsena @mareekuh @cwhitten

@vishwacsena
I would propose to add the following copy inside the field: <'Enter value to use when max turn count was exceeded >
For 'value' we should display the description text that one gets when clicking (i)

This should be tracked via SDK issue - https://github.com/microsoft/botbuilder-dotnet/issues/2934


Vulnerabilities found for mimir:2.11.0-22.04

Vulnerabilities found for mimir:2.11.0-22.04

ID
Target
Severity
Package

CVE-2024-34156
/usr/bin/metaconvert
HIGH
stdlib

CVE-2024-34156
/usr/bin/mimir
HIGH
stdlib

CVE-2024-34156
/usr/bin/mimirtool
HIGH
stdlib

CVE-2024-34156
/usr/bin/pebble
HIGH
stdlib

CVE-2024-34156
/usr/bin/query-tee
HIGH
stdlib

Details: https://github.com/canonical/oci-factory/actions/runs/11752134798

We're using a new version of the rock (2.13.0) that fixes some of these vulnerabilities; the ones left will be addressed in the issue related to that version.


Doesn't login, cookies not generated and getting trending 0/5?

| INFO | 🥳 TikTokPy initialized. Version: 0.9.2
| INFO | 🔧 Settings successfully loaded
| INFO | 🛑 Cookies not found, anonymous mode
after logging into chromium, nothing happens.

Same issue here.
| INFO | 🛑 Cookies not found, anonymous mode
Any advices?

I have a similar problem.
2023-05-28 14:34:31 | INFO | 🥳 TikTokPy initialized. Version: 0.9.2
2023-05-28 14:34:31 | INFO | 🔧 Settings successfully loaded
2023-05-28 14:34:31 | INFO | ✅ Used cookies of @yyy
2023-05-28 14:35:44 | INFO | 🔑 Logged as @yyy aka yyy
2023-05-28 14:35:45 | INFO | ✋ TikTokPy finished working. Session lasted: a minute
then the error appears
\asyncio\proactor_events.py", line 115, in __del___warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
\asyncio\proactor_events.py", line 79, in __repr__info.append(f'fd={self._sock.fileno()}')
\asyncio\windows_utils.py", line 102, in fileno raise ValueError("I/O operation on closed pipe") ValueError: I/O operation on closed pipe
checking what can be...

I am experiencing the same issue

this might help some
settings.toml:
[default]
BASE_URL = "https://www.tiktok.com/"
HEADLESS = true
LANG = "en"
HOME_DIR = "<current_dir>"
COOKIES = '[{"name": "ms_tokens", "value": "<token>", "url": "https://www.tiktok.com/"}]'
USERNAME = "<username>"

replace:
<current_dir>: with the code dir
<token>: with your ms_token after logging in and inspecting the site
<username>: with your username without @


[bilibili.tv] BiliBili videos giving error while extracting formats

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[ ] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
India
Provide a description that is worded well enough to be understood
The error seems that any formats of the specified video URL is not found and which is itself giving null exception.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -v -F --cookies-from-browser brave 'https://www.bilibili.tv/en/video/2048361032'                                                                 pwsh   69  00:18:12 
[debug] Command-line config: ['-v', '-F', '--cookies-from-browser', 'brave', 'https://www.bilibili.tv/en/video/2048361032']
[debug] User config "C:\Users\SWMOHAN\yt-dlp.conf": ['--config-location', 'C:\\Users\\SWMOHAN\\yt-dlp.conf', '--embed-metadata', '--xattrs', '--netrc', '--merge-output-format', 'mp4', '--progress', '--console-title', '--no-cache-dir', '--no-part', '--continue', '--no-windows-filenames', '--hls-use-mpegts', '--geo-bypass', '--ignore-errors', '--no-warnings', '--ffmpeg-location', 'C:\\SM25216\\YouTubeDL\\ffmpeg-4.4.1\\essentials\\bin', '--postprocessor-args', 'FFmpeg:-v quiet', '--ignore-no-formats-error', '--audio-multistreams', '--compat-options', 'no-live-chat', '--allow-dynamic-mpd']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[21b9413cf] (win_exe)
[debug] Compatibility options: no-live-chat
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.4.1-essentials_build-www.gyan.dev (setts), ffprobe 4.4.1-essentials_build-www.gyan.dev, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[Cookies] Extracting cookies from brave
[debug] Extracting cookies from: "C:\Users\SWMOHAN\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\SWMOHAN\AppData\Local\BraveSoftware\Brave-Browser\User Data\Local State"
[Cookies] Extracted 10 cookies from brave
[debug] cookie version breakdown: {'v10': 10, 'other': 0, 'unencrypted': 0}
[debug] Proxy map: {}
[debug] Loaded 1813 extractors
[BiliIntl] Extracting URL: https://www.bilibili.tv/en/video/2048361032
[BiliIntl]<PHONE_NUMBER>: Downloading webpage
[BiliIntl]<PHONE_NUMBER>: Downloading video formats
ERROR: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1532, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1608, in __extract_info
  File "yt_dlp\extractor\common.py", line 694, in extract
  File "yt_dlp\extractor\bilibili.py", line 1254, in _real_extract
  File "yt_dlp\extractor\bilibili.py", line 918, in _get_formats
TypeError: 'NoneType' object is not subscriptable

[BiliIntl]<PHONE_NUMBER>: Downloading video formats

I am in a different region than OP, but for me the above API call is returning this JSON:
{
  "code": 10015001,
  "message": "版权地区受限",
  "ttl": 1,
  "data": null
}

@shortthirdman could you add --write-pages to your command and inspect the resulting<PHONE_NUMBER>_https_-_api.bilibili.tv_intl_gateway_web_playurlplatform=web_aid=2048361032.dump file to see if its contents are the same? or post it if different?
google translates the message value to "Restrictions on copyright areas"
data is null, so the BiliIntlBaseIE._call_api method is returning None:
    def _call_api(self, endpoint, *args, **kwargs):
        json = self._download_json(self._API_URL + endpoint, *args, **kwargs)
        if json.get('code'):
            if json['code'] in (10004004, 10004005, 10023006):
                self.raise_login_required()
            elif json['code'] == 10004001:
                self.raise_geo_restricted()
            else:
                if json.get('message') and str(json['code']) != json['message']:
                    errmsg = f'{kwargs.get("errnote", "Unable to download JSON metadata")}: {self.IE_NAME} said: {json["message"]}'
                else:
                    errmsg = kwargs.get('errnote', 'Unable to download JSON metadata')
                if kwargs.get('fatal'):
                    raise ExtractorError(errmsg)
                else:
                    self.report_warning(errmsg)
        return json.get('data')

Looks like the error code handling may need to be updated/improved

Hey @bashonly ,
I ran the same command as you have mentioned above, looks like the video is geo-restricted.
yt-dlp -F --xff 'US' --write-pages -v $bl                                                                                [debug] Command-line config: ['-F', '--xff', 'US', '--write-pages', '-v', 'https://www.bilibili.tv/en/video/2049015156'] [debug] User config "C:\Users\SWMOHAN\yt-dlp.conf": ['--config-location', 'C:\\Users\\SWMOHAN\\yt-dlp.conf', '--embed-metadata', '--xattrs', '--netrc', '--merge-output-format', 'mp4', '--progress', '--console-title', '--no-cache-dir', '--no-part', '--continue', '--no-windows-filenames', '--hls-use-mpegts', '--geo-bypass', '--ignore-errors', '--no-warnings', '--ffmpeg-location', 'C:\\SM25216\\YouTubeDL\\ffmpeg-4.4.1\\essentials\\bin', '--postprocessor-args', 'FFmpeg:-v quiet', '--ignore-no-formats-error', '--audio-multistreams', '--compat-options', 'no-live-chat', '--allow-dynamic-mpd'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version<EMAIL_ADDRESS>[21b9413cf] (win_exe) [debug] Compatibility options: no-live-chat [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021) [debug] exe versions: ffmpeg 4.4.1-essentials_build-www.gyan.dev (setts), ffprobe 4.4.1-essentials_build-www.gyan.dev, phantomjs 2.1.1 [debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3 [debug] Proxy map: {} [debug] Loaded 1813 extractors [debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For [BiliIntl] Extracting URL: https://www.bilibili.tv/en/video/2049015156 [BiliIntl]<PHONE_NUMBER>: Downloading webpage [BiliIntl] Saving request to<PHONE_NUMBER>_https_-_www.bilibili.tv_en_video_2049015156.dump [BiliIntl]<PHONE_NUMBER>: Downloading video formats [BiliIntl] Saving request to<PHONE_NUMBER>_https_-_api.bilibili.tv_intl_gateway_web_playurlplatform=web_aid=2049015156.dump ERROR: 'NoneType' object is not subscriptable Traceback (most recent call last):   File "yt_dlp\YoutubeDL.py", line 1532, in wrapper   File "yt_dlp\YoutubeDL.py", line 1608, in __extract_info   File "yt_dlp\extractor\common.py", line 694, in extract   File "yt_dlp\extractor\bilibili.py", line 1254, in _real_extract   File "yt_dlp\extractor\bilibili.py", line 918, in _get_formats TypeError: 'NoneType' object is not subscriptable
And got the same response from the API:
{"code":10015001,"message":"版权地区受限","ttl":1,"data":null}

@bashonly @pukkandan Any workaround fix for the command to work fine. Note: I am not using any kind of VPN as of now.

@shortthirdman
what about this?

I've checked that all provided URLs are playable in a browser with the same IP and same login details

@shortthirdman what about this?

I've checked that all provided URLs are playable in a browser with the same IP and same login details

My bad, I have checked it by mistake, must be a typo.

My bad, I have checked it by mistake, must be a typo.
Any workaround fix for the command to work fine

--xff doesn't seem to have any effect, so no, there is no workaround other than using a VPN or proxy.
As I mentioned in my first comment though, this error should be caught and the extractor should raise for geo-restriction

Closing out the issue as this is user-location related and has nothing to do with application.

diff --git a/yt_dlp/extractor/bilibili.py b/yt_dlp/extractor/bilibili.py
index 3163df8ab..a446bae4b 100644
--- a/yt_dlp/extractor/bilibili.py
+++ b/yt_dlp/extractor/bilibili.py
@@ -1859,7 +1859,7 @@ def _call_api(self, endpoint, *args, **kwargs):
         if json.get('code'):
             if json['code'] in (10004004, 10004005, 10023006):
                 self.raise_login_required()
-            elif json['code'] == 10004001:
+            elif json['code'] in (10004001, 10015001):
                 self.raise_geo_restricted()
             else:
                 if json.get('message') and str(json['code']) != json['message']:

maybe?


Ability to just use actions

Hey There,
very nice lib!
Is there a possibility to just get a certain action?
Thanks & br,
Sebi

Not sure if understood but you can split your actions in differen files and then access then by
GlobalActions.subcat.youraction().
But as long as i know the only way to import that is still importing all actions in your globalAction object


There is a contradiction in two sentences of this page

[Enter feedback here]
In the "NotNull Constraints" paragraph of this page, there is two sentences that seems like contradict each other.
At line 4 it says:
The compiler generates a warning if you add the notnull constraint in a nullable oblivious context.
At line 8 it says:
If the code is compiled in a nullable oblivious context, the compiler doesn't generate any warnings or errors.
I believe line 4 should be corrected to : The compiler "doesn't" generates "any" warning if you add the notnull constraint in a nullable oblivious context.

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

ID: 5712215d-b167-d9cb-bd51-80df0e300d50
Version Independent ID: 22b2c77c-2721-9384-3863-046e391ea4b1
Content: Constraints on type parameters - C# Programming Guide
Content Source: docs/csharp/programming-guide/generics/constraints-on-type-parameters.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

I've tried using "notnull" constraint in both #nullable enable and #nullable disable, and the compiler accepts the existence of "notnull" in both cases without a warning or error.
Based on that, I think a better phrasing, if my understanding is correct, would be:

The compiler doesn't generates a warning or an error if you add the notnull constraint in either a #nullable enable context or a #nullable disable context.

I'd also improve the other sentence that reads:

Unlike other constraints, when a type argument violates the notnull constraint, the compiler generates a warning when that code is compiled in a nullable enable context. If the code is compiled in a nullable oblivious context, the compiler doesn't generate any warnings or errors.

to be something like the following, that explains what is different than other constraints:

Unlike other constraints, when a type argument violates the notnull constraint, the compiler generates a warning (not an error like other constraints) when that code is compiled in a nullable enable context. If the code is compiled in a nullable oblivious context, the compiler doesn't generate any warnings or errors.

Thanks for writing this @roxanadhz That section is not written as clearly as it should be.
I think this article needs a table that explains the following for each attribute:

How each attribute is interpreted on a method declaration in a nullable enabled context.
How each attribute is interpreted on a method declaration in a nullable disabled context.
How each attribute is interpreted on a call to a method in a nullable enabled context.
How each attribute is interpreted on a call to a method in a nullable disabled context.


Enable, behind a parameter, pre-emptive scaling

Context
In some scenarios we like to scale up pre-emptively, to always have a spare agent available no matter what. This ensures we are never waiting on an agent to boot (2-3minutes) while the site is down and we're trying to push through a fix.
Changes
Create two new alarms, enabled behind a parameter, that scale up if there is less than one idle agent or down if there is more than n where n is the number of Agents Per Instance.
We also disable the normal alarms if this flag is set.

I wonder if we could change the auto-scale parameters to be something like MinimumAgentsAvailable and then just have the one parameter?

I'm going to close this until we loop back on autoscaling metrics.


Flag Crafting - initial

The code structure works, but functions doing stuff on raw pixel data are wrong. Flags created out of base patterns and composed emblems are (so far) utterly wrong and in junk territory.
Since Imagemagick tutorials are spread across various googecache boards (none of google matches work), here enter the tests which I have yet to write, in order to reverse engineer required incantations so magick does desired work.

p.s. Needless to say, code is chock full of debugs, all of which are irrelevant as they deal with code flow and not magick++ operation which is the main issue.


Ability to export

Is your feature request related to a problem? Please describe.
Unable to export data to pdf
Describe the solution you'd like
I'd like to be able to export the data in the table. There are a lot of libs like https://www.npmjs.com/package/jspdf that can simplify this
Describe alternatives you've considered
Currently have to manage this myself and have to make a separate table using jspdf and it would be nice if it was already integrated
Additional context

Personally, I prefer to use the excellent ReactPDF by Diego Muracciole - make sure to check that one out 😉
This is, however, totally out of scope for Mantine DataTable, which - among other things - aims to be a lightweight, dependency-free data table solution tor Mantine applications.
Some users would obviously want to export to PDF, some to Excel, some to CSV, and it would not be possible to accommodate all possible usage scenarios.
I do understand why you'd ideally want a universal silver-bullet solution, but this is definitely something that you'll have to manage yourself 😛
Food for thought: what if you'd need special formatting for the PDF (such as page numbers, headers, footers, etc.)?


Mention Contact is not detect-> Image Included

Hi.
Please see the screenshots below. The hastag/s are all working but the mentioned contact is not

BTW this is loaded from a tableview cell.
Thanks for any help 💃

Hashtags are being used as a real hashtags in Twitter or anywhere else. But the mention with double @ is not a mention. You need to use custom pattern if this is the way you mention someone!
Or if this is a fault of user, either let it be like if I don’t use mention correctly Twotter won’t change its rules for me or remove every @ followd by another @ before you display it on your app.
Either, that is not how use mention. This is @olivinesguerra


Update DaCe to latest version

Description
Recent commits to DaCe fix parsing issues present across pace and its submodules.
How Has This Been Tested?
Tested using currently implemented tests in NDSL tests directory
Tested update to NDSL effect on pace, pyFV3, and pySHiELD
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
[x] New check tests, if applicable, are included

Did you all Translate test in pyFV3 & pySHiELD under orchestration and on GPU?


Auto close open file

Previous to this last update 3/1/2017 - I used to be able to have a file open in split editor
I would run a batch file that would delete the file and recreate it and in the split window it would just update.. now it closes the split and the file. I looked though settings and did not see anything pertaining to closing a deleted file.
There a setting to keep this open I missed?
Thanks,

VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:33:15.706Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

code-runner
formulahendry
0.6.12

AWK
luggage66
0.0.2

csharp
ms-vscode
1.6.2

Steps to Reproduce:

Open file
Add to split
Delete file that was just opened.

This is as designed, we close files that get deleted. If you are deleting the file and then creating it again, I suggest to just change the file contents instead.
The thing that changed in 1.10 is that we now also do this for files which are "out of workspace", that is either you work in an empty workspace and open files or you opened a file from outside a workspace. No matter what, this behaviour is now consistent with how we do it for files inside a workspace.
There is another issue that asks for keeping a file open even if it has been deleted on disk. I suggest you add your vote there.

https://github.com/Microsoft/vscode/issues/11642

With todays insider build (get it from http://code.visualstudio.com/Download#insiders) there is a new setting workbench.editor.closeOnFileDelete that will keep editors open when set to false provided that the file has been deleted outside of Code. This might help in this case here, please let me know.


CPU 100%

Pressure test environment: 4 cores 16G  centos7
Start the publish and subscribe emqtt_bench on the other two machines.
pt 1:
./emqtt_bench pub -c 5000 -I 10 -t bench/%i -q 0 -s 256 -h x.x.x.x
./emqtt_bench sub -c 5000 -i 10 -t bench/%i -q 0 -h x.x.x.x

pt 2:
./emqtt_bench pub -c 1000 -I 10 -t bench/%i -q 0 -s 256 -h x.x.x.x
./emqtt_bench sub -c 1000 -i 10 -t bench/%i -q 0 -h x.x.x.x

cpu time usage graph：

memory allocation graph on 1000 clients:

memory allocation graph on 5000 clients:

inuse_space file on 1000 clients:
pprof.mocomqtt.alloc_objects.alloc_space.inuse_objects.inuse_space.001.pb.gz
samples.cpu file on 1000 clients:
pprof.mocomqtt.samples.cpu.001.pb.gz

Emqx is also cpu 100% .


[Issue-3094] Update chainlist

Related issue: #3094

🚀 Deployed on https://pr-3141--sw-web-runner.netlify.app


Can't connect on iOS but android works just fine

Hello all, I need some help.  I posted on stackoverflow first, but I got no help.
I've built an application that works great on android emulator.  No issues.  But when I run it in iOS, either emulator or device I keep getting the message that DDP has disconnected.  Any idea why it would connect on android but not iOS?
Initializing <RCTBatchedBridge: 0x7fd7facd8c80> (parent: <RCTBridge: 0x7fd7facd8490>, executor: RCTJSCExecutor)
2017-02-23 13:49:50.010 [warn][tid:main][RCTEventEmitter.m:54] Sending `websocketFailed` with no listeners registered.

Ok the issue was I needed to connect to wss instead of ws protocol
Meteor.connect('wss://app.mysite.com/websocket');

fixed it.


where is demo.py?

usage: demo.py [-h] [--cuda] [--model MODEL] [--image IMAGE] [--scale SCALE]
PyTorch LapSRN Demo

I forgot to update the name of the script, thanks for pointing out.


is your library supporting  and working well all of Browser now like IE or safari ? thanks

I'm using this currently in my React App and it instantly breaks my app on IE 11. Are there pollyfills missing that could be causing this?

Yes, It works well in all modern browsers, however you need some polyfills to run in IE


feat: create browser context and page per test

What do you think about this major breaking change?
Pros:

Ensures isolation between tests and therefore guards against subtle inter-dependencies between tests making everything flaky over time.

Cons:

Breaking change. Existing test suites which rely on a single page will break.
Large test suites that used to do a lot of small tests will be slower, because they have to create page multiple times. With context per test, the better strategy would be to include multiple checks  into a single test, when they are related to a single scenario.

We can also add a helper for new context (encapsulating context options), or expose context options, to allow users to manually reuse page between tests if they really need to:
let context;
let page;

beforeAll(async () => {
  // exposing newContext
  context = await global.newContext();
  // or exposing contextOptions
  context = await global.browser.newContext(global.contextOptions);
  page = await context.newPage();
});

afterAll(async () => {
  await context.close();
});

Note: I am not sure this is a best way to integrate "context per test" with jest ecosystem, any advice is appreciated.

great idea, I really like the way how you want to encapsulate the context sessions per it() statement. But I would make it configurable, because maybe most of the users want to have at least a shared page instance between a describe() statement (or file I guess, thats how we are currently handling it) to just login to a page a single time at the top.
So maybe we could add encapsulationMode or something like that to the jest-plawright.config.js to set it either to it or file so that the user can decide in the end.
What do you think about that approach?
Or maybe I'm totally wrong and each it() statement should be 100% independed and contain a own login in the end, not sure what the best practises for that are.

This is an interesting idea. I want to dig into the initial assumption a bit though - that interdependencies within a spec file cause flakiness over time. In my experience what makes tests flaky is not having enough knowledge about the state of your app under test and what reliably signifies a "ready" state.
If we move in this direction, we'll be encouraging people to write very large test blocks, since often a particular test does require a substantial amount of state built up before running any assertions, and using a single test block loses the granularity in logging that smaller blocks give you. Granted, there may be another way to achieve this granularity, but I think end-to-end tests are kind of a different animal from unit tests and I wonder if making each test block truly independent is really necessary.
If you think I'm way off base feel free to say so. :)

Overall, we feel pretty strongly about tests being isolated and each one creating a new browser context. This allows parallelization without side effects to significantly speed up test runs, reduces flakiness and helps with tooling (e.g. re-running tests, dashboards, predictable isolation to reproduce/debug failures, etc.). We hope that existing users of Playwright will share the same mindset 😄
Let me address some of the concerns separately:

to just login to a page a single time at the top

A possible solution is to login once in beforeAll(), save cookies from the browser context, and restore them in each test as a first line or in beforeEach(). If there is something else missing, we are happy to help!

I want to dig into the initial assumption a bit though - that interdependencies within a spec file cause flakiness over time

Basically, if one of the earlier tests fails or introduces some flakiness, later tests are mostly useless. Most likely, they won't pass either, or even if they do it might not indicate that application actually works as intended.

using a single test block loses the granularity in logging that smaller blocks give you

That's an interesting point. We'd like to help with this if possible. Mind sharing an example when you stumble upon one? My assumption is that logs after the first failure are mostly noise - it is somewhat similar to C++ compiler errors where only the first one is definitely an error, and the rest depends on your luck.

since often a particular test does require a substantial amount of state built up before running any assertions

The typical solution is to extract helpers like addItemAndShowDetails(page, item). Page object model is a quite popular technique in this area.

not having enough knowledge about the state of your app under test and what reliably signifies a "ready" state

This is indeed a big issue, which we are actively looking at. Please share your experience and scenarios so that we can help. I think it is an issue in any test setup though 😄

Closed since we (including @dgozman) will come up in a few weeks with a better solution to handle that by a reworked version.


Tooltip size larger than the message when skip to the bottom line

Describe the bug
Tooltip size larger than the message when skip to the bottom line.
To Reproduce
Steps to reproduce the behavior:

Create a BlTooltip, add BlIcon and message inside it
Message will be 'Mağazanız için seçtiğiniz tema, bundan sonraki gönderileriniz için kullanılmaya başlayacaktır'
Hover the icon
There will be an empty space right of the tooltip

Expected behavior
Tooltip should handle the empty space because it is working for shorter messages
Screenshots

Hello,
I see there is a CSS issue here with max-width value of the tooltip. I reproduced it here: https://codepen.io/muratcorlu/pen/KKBKXpd
I couldn't see a fix quickly but if this is a static text adding a
 after sonraki helps to achieve expected result.

Our other tooltips are larger than we expect so actually we need to give max-width from outer style, if it possible may you add this attribute.

Do you want to set a fixed max-width per tooltip? I think we need to check for a generic solution to this.

1-

2-

First picture what we want in our design and second picture how tooltip shown when we add so we think that if we give max-width as style it can fit our design. Adding  's all of the messages maybe fix this but we take this messages from db so we need to parse it and add that  's  all the time. Max-width solution can solve our problem quicker and cleaner than the other approach.

@buseselvi What do you think about this from a design perspective? Do you see a requirement for setting a smaller width for tooltips with multiline texts as examples above? Maybe we can consider giving an opportunity to set a max-width for the tooltip by also ensuring that it's not bigger than the viewport width internally.
Technically speaking:
--max-width: var(--bl-tooltip-max-width, 424px); /* Read variable otherwise 424px */
max-width: min(--max-width, 100vw); /* use smaller of set value or viewport width */

This might also improve how we handle even smaller devices. I noticed that this 424px max-width already fails with smaller screens. Check this:

hello, yes we should make the tooltip responsive for small screens. 🥲 can't we give the rule; if max width doesn't fit to screen, tooltip should be smaller (with 16px right and left padding)?
and also tooltip can be smaller from max width, why it is not hugging the content in this example? i didn't understand.

like hugging here

@buseselvi I'm working on fixing the responsivity issue. I noticed that we already have an issue on that #310
For the problem about empty space on the right is a bit more complicated. I spent some time with @fatihhayri on that but couldn't find a proper solution. And this issue is exist on many other tooltip libraries too. If tooltip content reaches our max-width, word wraps to the next line but browser doesn't calculate width again. Here in the example "gonderileriniz" is a long enough word to hit 424px limit and drops to second line by leaving a big empty area there. If anyone find a technical solution to this, please write your suggestion.
In the meantime, we can enable "hyphenation" for tooltip, so some part of that empty space can be usable by soma part of the word. In this example it looks like below:

Not as bad as current situation. But one important thing to remark: Document (or sentence/word) language should be set properly to be able to use this feature.

I noticed another workaround to set content width. Since we accept HTML inside tooltip, you are able to set the width of the content if you want to show it smaller than 424px. Example:
<bl-tooltip>

Magazaniz için seçtiginiz tema, bundan sonraki gönderileriniz için kullanilmaya baslayacaktir.

  <bl-button slot="tooltip-trigger" icon="info" label="More Info"></bl-button>
</bl-tooltip>

I think this is better than adding max-width css prop to tooltip component.
In the meantime we can still investigate to avoid this issue in an automatic way.


feat: add Gen Digital implementation

feat: add Gen Digital implementation

@BigBlueHat please review and merge

@sudeshrshetty @PatStLouis's recommendation is correct. You can, however, use urn:uuid: prefixed UUIDs...but these all need to be URIs (of which URNs and DIDs are a subset). did:key is preferred, though.

correct, we recommend did:key to facilitate interop, but you may use any issuer value that is compliant with the specification and is the controller of the verificationMethod used

hi @PatStLouis  @BigBlueHat , thanks for the review.
For this issuers\verifeirs we are using did:web.
PR updated with correct DIDs, please review.
Thanks,
Stas

Hi @PatStLouis can you please check this PR


feat(extension): automatic update

Automatically updates the extension script by appending script fetched from GitHub

Proof the update is working (fetched script & dynamic background image)

Testing script used:
const script = document.createElement("SCRIPT");
script.setAttribute("type", "text/javascript");
script.setAttribute(
  "src",
  "https://comfy-themes.github.io/Spicetify/Comfy/Comfy.js"
);
document.head.appendChild(script);

Note:

For the script edit: Unused variable is commented out for easier maintaining:

It has been tested to be working with the change but I will undo it if the variable is said to be useful

For the readme changes: Aren't you supposed to copy CSS file content into user.css instead of the extension js file?

I believe that the lyricsbackground variable is indeed used in the css so once you've reverted the removal this seems like a great thing to merge.

I believe that the lyricsbackground variable is indeed used in the css, once you've reverted the removal this seems like a great feature to merge!
You may want to update your branch to the latest commits first aswell!

Done and done.

Awesome thanks for supporting comfy ❣

Glad to be of service!


Fetch morphologies workflow

I let you merge that, as I'm not sure if you are still working on it!

It's supposed to be finished. I will have to add Nexus support but I will do that later.


Feature configurable scan interval (#29)

This PR fixes #29  by making the scan-interval configurable:

Add scan-interval as data to be entered when adding the integration (default remains 60s, minimum 5s)
Add config-flow migration, updating existing configurations by adding new scan-interval data
Add option-flow, allowing to update the scan-interval w/o re-installing the integration

Notes to @mchwalisz :

I've developed code within the home-assistant dev-container, using it's default formatting. So please excuse the formatting changes 🙈
I've removed some unused imports. Hope the un-related cleanup is okay

Looking forward for your feedback!

New scan-interval option, when installing integration:

Integration offering option flow "configuration":

Options screen:

I don't see the "Configure" Option in the new HA integration overview.

For me i can say, that I can see the config-parameter, and that I am able to enter i.E. "25"
But the build fails due to an unsorted manifest.json (domain, name, rest alphabetical). This has nothing to do with this pull request, but breaks the checks currently. Maybe @LavermanJJ you could also sort this?

@mdopp I'd prefer to have it in a separate PR, however, I'd appreciate feedback from @mchwalisz first, before opening further PRs.


chore(deps): update dependency rxjs-marbles to v5.0.6

This PR contains the following updates:

Package
Type
Update
Change

rxjs-marbles
devDependencies
patch
5.0.4 -> 5.0.6

Release Notes

cartant/rxjs-marbles
v5.0.6
Compare Source
Breaking changes

Use strict equality - toStrictEqual - by default for Jest. (c12ce82)

v5.0.5
Compare Source
Fixes

Revert defaulting Jest to toStrictEqual (c12ce82), as it was a breaking change.
Allow caller-specified configurations to override default and framework-specific configurations. (e4f5930)

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v3.2.2
GitHub release

Your semantic-release bot :package::rocket:


perf(slice): make the IndexOf function thread-safe (#262)

Under this benchmark, sync.RWMutex performs better in terms of both performance and stability compared to sync.Map.

Under this benchmark, sync.RWMutex performs better in terms of both performance and stability compared to sync.Map.

cool, 👍


Seeing error "KeyError: 'blksize'" in TftpClient upload

Hello @9001,
Description
While trying to upload file to tftpclient we are seeing below error:
File "/Users/x/test.py", line 75, in test_func
    tftp_client.upload(file_name, file_path)
  File "/Users/x/env/lib/python3.10/site-packages/partftpy/TftpClient.py", line 129, in upload
    self.context.start()
  File "/Users/x/env/lib/python3.10/site-packages/partftpy/TftpContexts.py", line 372, in start
    self.cycle()
  File "/Users/x/env/lib/python3.10/site-packages/partftpy/TftpContexts.py", line 247, in cycle
    self.state = self.state.handle(recvpkt, raddress, rport)
  File "/Users/x/env/lib/python3.10/site-packages/partftpy/TftpStates.py", line 562, in handle
    self.context.pending_complete = self.sendDAT()
  File "/Users/x/env/lib/python3.10/site-packages/partftpy/TftpStates.py", line 103, in sendDAT
    blksize = self.context.options["blksize"]
KeyError: 'blksize'

Context
Before moving to this partftpy package, we were using tftpy package and with that we didn't see this error.
Analysis
In fact, it seems in your code base you made the change on this line: https://github.com/9001/partftpy/blob/master/partftpy/TftpStates.py#L103 to get the blksize value and but in tftpy package, they were using getBlocksize on this line: https://github.com/msoulier/tftpy/blob/master/tftpy/TftpStates.py#L100 to return the default value if blksize is missing which is defined here: https://github.com/msoulier/tftpy/blob/master/tftpy/TftpContexts.py#L120.
It seems in your code base you updated this code in this commit: https://github.com/9001/partftpy/commit/bef1ea258f215f3d0d9a3eb614f1a372497022c1#diff-315e703babdffcd7bd0095ecae9cab0c4af83bf28d1500f435ef77d12738aad1.
Can you please check this one?
Thank you.

Congratulations on being the second person in the world to use this fork 😁 you're right, I only tested the blksize optimization on the server side, since that's the only code I use hehe
I've closed the issue since I think it's been fixed, but let me know if that's not the case.
Also I added a warning in the readme, just to set the right expectations -- I probably won't be a proper maintainer of tftpy going forward, but I'll probably take patches and fix any low-hanging fruit :>


[Refactor]:  Update submitBlocksToDA for loop

Implementation ideas
REF: https://github.com/rollkit/rollkit/blob/bb27d2745397c94da1b2cb85f9c5a52af508cf34/block/manager.go#L889
I recommend that the for loop in submitBlocksToDA be update to remove the ctx from the loop condition with a select statement for better handling of the backoff sleeps.
Currently
for ctx.Err() == nil && !submittedAllBlocks && attempt < maxSubmitAttempts {
		res := m.dalc.SubmitBlocks(ctx, blocksToSubmit, maxBlobSize, gasPrice)
		switch res.Code {
		case da.StatusSuccess:
			// No sleep
		case da.StatusNotIncludedInBlock, da.StatusAlreadyInMempool:
			// calculate backoff
		case da.StatusTooBig:
			// sleep
		default:
			// sleep
		}
		attempt += 1
	}

This doesn't handle the context in a responsive way and also duplicates the sleep and backoff code.
In stead we should have something like
for !submittedAllBlocks && attempt < maxSubmitAttempts {
		res := m.dalc.SubmitBlocks(ctx, blocksToSubmit, maxBlobSize, gasPrice)
		switch res.Code {
		case da.StatusSuccess:
			...
		case da.StatusNotIncludedInBlock, da.StatusAlreadyInMempool:
			...
		case da.StatusTooBig:
			...
		default:
			...
		}
		if res.Code != da.StatusSuccess {
		        backoff = m.exponentialBackoff(backoff)
		}
		attempt += 1

		select {
		case <-ctx.Done():
		     break or return
		case <-time.After(backoff):
		}
}

Hi @MSevey, could you please review the PR and let me know if it looks good to you? If you have any suggestions or if there's anything you think we should add, I'm open to hearing your feedback. Thanks!

@Teja2045 reviewed and left comments.


Publish workflow state change event to a PubSub topic (e.g. Kafka)

What
To support any use case that need to listen on those state event change in a streaming manner：

Analytics
Logging
Auditing
etc

How
Add activity after state start/decide API activity to publish an event to a configured topic(.e.g Kafka)
Event schema:
{

StateApi: start/decide,
Request: { the full request to invoke the start/decide API, this include context like workflowId/stateExecutionId/etc }
Response: { the full response from the start/decide API }
}

It maybe better to use “workflow.IsReplay()” to execute the publish to save the activities


_config.yml after EDIT and COMMIT PUSH  , web page not update

After I edited and committed the config.yml file, my web page username.github.io not update ,the name and description do not change. I forked your original repo to my repo.

Having the same issue, did you find a solution?

All sites are working , maintainers can close this.


Uncaught TypeError: Object(...) is not a function

l had problem with real time database . lm try to get data from my database in my project using ionic3 , l had successfully pushing data to database without error , but the problem is with Retrieving data . when l run my app l got Uncaught TypeError: Object(...) is not a function  .
my code in home.ts :
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { AngularFireAuth} from 'angularfire2/auth';
import { LoginPage } from '../login/login';
import { AngularFireDatabase,AngularFireList } from 'angularfire2/database';
import { AddPostPage } from '../add-post/add-post';
import { Observable } from 'rxjs';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class HomePage {

  peopleList : Observable<any[]>;

  constructor(public navCtrl: NavController,public fire : AngularFireAuth,public navParams: NavParams,
    db: AngularFireDatabase) {

      this.peopleList = db.list('people');

    const unsubscribe = fire.auth.onAuthStateChanged(user => {
      if (!user) {
        navCtrl.setRoot( LoginPage );
        unsubscribe();
      }
    });

  }

  logout(){

    this.fire.auth.signOut();
  }
  postsPage(){
    this.navCtrl.setRoot(AddPostPage)

  }

}

posting page :
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { AngularFireDatabase,AngularFireList } from 'angularfire2/database';
import { Observable } from 'rxjs';
import { HomePage } from '../home/home';

@IonicPage()
@Component({
  selector: 'page-add-post',
  templateUrl: 'add-post.html',
})

export class AddPostPage {

  peopleList :AngularFireList<any>;

  constructor(public navCtrl: NavController, public navParams: NavParams,
   public db: AngularFireDatabase) {

    this.peopleList = db.list('/people');

  }

  createPost(note){

    this.peopleList.push({
      note : note
    }).then(newPerson =>{
      this.navCtrl.setRoot(HomePage)
    },error=>{console.log(error);});

  }

}

l faced problem only with home.ts .

not sure where that error come from, please provide an example repository can reproduce that error. (and upload your image with error if possible)

@codediodeio you are right . after l updated npm i rxjs-compat  the code working fine . thank you

wow, so exectly 🗡  ✌ v
@aligassan can we close that issue?

Sure, thanks

Sure thank you


Can't Build & Run App through Android Studio

Hello,
First of all, thanks for this great tool you have built.
I've successfully installed and configured fvm. The issue I'm facing is that I can't Build & Run App through Android Studio. But I can Build and Run App through Terminal. I followed the instructions for Android Studio given on official pub.dev documentation.
Thanks again,
Best Regards

@NiceboyWiseboy do you have any logs or information that gets displayed?

Nope

But now I'm facing another issue. I can't add support for building on macOS in existing project using fvm installed SDK.
I've followed the steps as described. Also the macOS shows in the Debug Devices in Android Studio.
Here's the image for the same:

Did you run the confit on flutter side? If so can you see a macOS folder within the project? Not sure if this is an fvm issue..
Make sure you are running the dev channel

yes, I'm running the dev channel.

I guess there was issue with the default Flutter SDK. Android Studio was somehow connecting to the default Flutter SDK even if I removed the path from bash file and path to the Flutter SDK in Android Studio. Removed that completely, and now fvm is working fine.
Thanks for your help and providing this great tool.

I think it needs an android studio restarts to make sure the changes are applied. I will go ahead and add this to the docs


[Bug] When there is a negative number in index, 'mindspore.ops.index_select' should throw an error message

Environment
Hardware Environment(Ascend/GPU/CPU):
device gpu
Software Environment:

MindSpore version (source or binary): v2.2.13
Python version (e.g., Python 3.7.5): 3.8.18
OS platform and distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04

Describe the current behavior
[[7. 8. 9.]]
Describe the expected behavior
IndexError: index out of range in self
Steps to reproduce the issue
import mindspore as mind
import numpy as np

input_tensor = mind.tensor(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]], dtype=np.float32))

index_tensor = mind.tensor([-1])

output_tensor = mind.ops.index_select(input_tensor, axis=-2, index=index_tensor)

print(output_tensor)

#pytorch v2.0.0+cu117
import torch
import numpy as np

input_tensor = torch.tensor(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]))

index_tensor = torch.tensor([-1])

output_tensor = torch.index_select(input_tensor, axis=-2, index=index_tensor)

print(output_tensor)

Special notes for this issue
The index parameter lacks a range check

did you test the case on cpu?
we test the case on gpu, it reports the same info as torch
but the cpu gave [[7,8,9]], we will fix it in the next version

Thanks for your quick response, sorry for wrong information, after verification I found that my code was running on the CPU.


when pressing tab to auto-complete, font colour changes, ... why??

so i'm struggling with some frustrating behaviour i can't find any information on.
if i have some files with a common prefix, then i autocomplete some command on them, like "cat ..." i get my font changing colour:

why?  and how can i change this?
it isn't a colour defined by my terminal, nor is it in my .zshrc or in my particular colour theme
i'm using zgen, so i have this:
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"

# load zgen
source "$HOME/.zgen/zgen.zsh"

# if the init scipt doesn't exist
if ! zgen saved; then
  zgen oh-my-zsh
  zgen oh-my-zsh plugins/sudo
  zgen oh-my-zsh plugins/command-not-found
  # zgen load silky/noon.zsh-theme noon.zsh-theme
  zgen load /home/noon/dev/noon.zsh-theme/noon.zsh-theme

  # generate the init script from plugins above
  zgen save
fi

where the colour scheme is exactly this one: https://github.com/silky/noon.zsh-theme/blob/master/noon-light.zsh-theme
any tips would be really appreciated!

I substituted the last $reset_color in the PROMPT for %f which does basically the same thing and it started working again. I don't know, some weird variable scope issue or something like that.


Widget and custom element bugs on v0.14.4

Visit http://staltz.com/todomvc-cycle/ and put a breakpoint inside the DOMUser's renderEvery, for instance before the diff and patch line. Every time the user toggles a todo item, the whole list of todos will be rerendered (deleted and added), which should definitely not happen since with the custom elements approach, a toggle inside one custom element shouldn't affect others.
Adding this.key = vtree.key into the constructor of the custom element fixes the issue, but introduces others: some elements stop emitting events, random glitches, etc.

I'll just dump some discoveries as "note to self":
Every time a parent vtree$ emits a vtree containing some h('my-customelem', {prop1: 'a'}), the Properties DataFlowNode of my-customelem's implementation will emit 'a' on prop1$. This is a problem because I was assuming virtual-dom does diffing on the Widgets, but it doesn't, it calls widget.update() every time we use h('my-customelem', {prop1: 'a'}). We need to add a way of not emitting consecutive duplicatives into Properties.prop1$, maybe with a distinctUntilChanged() somewhere. For instance, if we use Properties.get('prop1$').distinctUntilChanged() inside a custom element's Model, several of the glitches are fixed. (unfortunately not all).

Idea: make a special version of InputProxy just for custom element properties. (maybe "PropsInputProxy"?). Inside the get(), return theSubject.distinctUntilChanged().

Is widget the right thing to use for custom elements?  We are pre-processing the vtree - can we just drop in the actual vtree from the custom element in its place?  I will need to dig into the code to know if this makes sense at all, but it looks like Widgets in the virtual-dom sense are for elements that need stricter control over their DOM?
(sparse) widget docs for reference.
The distinctUntilChanged seems solid, but custom elements may need to actually emit duplicate events so that seems like it could also cause problems.  If we have to stick with Widgets we might be able to hook into the lifecycle to just skip the first event if it turns out we're an update and not an init.

Actually distinctUntilChanged is completely safe. Because under virtual-dom's diff, a real DOM element's property is only updated if the vtree's property has changed (that's the point in diffing). Just think in HTML: if you make  and then , they should be completely identical as far as the input is concerned. distinctUntilChanged will only be applied on input properties. Output events are still allowed to emit whatever, including consecutive duplicates.

Is widget the right thing to use for custom elements? We are pre-processing the vtree - can we just drop in the actual vtree from the custom element in its place?

We could, but I think using Widgets simplifies the implementation. The custom element needs to have internally an Intent, and Intents require a DOMUser. So custom elements produce DOM elements, not just vtrees. And Widget is the appropriate tool for wrapping anything that produces DOM elements which we want to use in the context of a virtual DOM.

Fixed in v0.15.0


Add badge

Add badge with link to index.scala-lang.org

@AugustNagro Can u please review ? I had problem with autoformatting in my IDE, currently only badge added

LGTM, thanks again @EvgenyAfanasev !


Updating the versions

I updated the java sqs sdk version as well and updated the deprecated methods being used.

Closing due to inactivity.


Margin of safety

Description
I have added the endpoint to calculate margin of safety.
Closes Issue #465
Additional Comment
Please review my PR and provide any feedback if there is any.

@ighoshsubho please review my PR.

Great @roberanegussie, keep contributing like this in Fintech API repo.


Cleanup bstream based on post-merge feedback received on 7390

@codesome left some valuable feedback to #7390 after getting it merged. In this PR I'm addressing the feedback.
We also agreed offline to not address this comment because it's hard to know whether the Fast() version of a function is expected to return an error or not for every single call.

Where is the copyright going then?

"Redistributions of source code must retain the above copyright notice"

Where is the copyright going then?

It was erroneously copied from bstream.go but it doesn't apply to the test file. The test file should just have the standard Prometheus license.

For bstream.go, to respect  Redistributions in binary form must reproduce the above copyright notice, it should be added in the NOTICE file.

The code in bstream_test.go does not copy any code from there, so I don't think it's necessary

for _test, ok but bstream.go sounds like something that should be added to NOTICE for the binary redistribution

Let's fix that in another PR


update cockroachdb to latest and fix truncate

Upgrade cockroachdb to version 19.1.1.  Note that cockroach switched
to calendar versioning in Feb 2019 which means that the old version
check for v1 no longer is correct.
(https://www.cockroachlabs.com/blog/calendar-versioning/)
Fix TruncateAll and simplified it.  Before this patch it was finding no
tables that needed to be truncated and my buffalo tests were failing.
with this patch it is correctly truncating my tables as well as
cascading down the foreign keys

Mind resolving that conflict?

@dcardamo We require PRs to be opened against development branch, so you're not fixing something already fixed in development. :) Can you please reopen your PR against development and resolve conflicts if there are any? Thanks!

Hello, a lot changed since this PR was opened (and I guess some of the stuff was fixed). Please open a new PR if there's still something to fix. :)


Sort by random by default

KB will not be adding this. Implementing it on our end is practically impossible: it would be very slow or require a middle-layer database. Closing.


Make :core unit tests compatible with Spock 2

Update unit tests in :core project to be compatible with Spock 2.
This involves:

removing leftover @Test annotations from test classes converted to Spock that are executed with Spock. Those are ignored with current version of Spock, but become an error in Spock 2.
Fixing unrolled methods that have incorrect #template arguments in their names
Working around the bug with nested assertions: https://github.com/spockframework/spock/issues/1232
Not verifying stub interactions
Fixing field/method name clashes that fail to compile with Spock 2

@rieske I'm wondering how many tests need to be adjusted before we can switch to Spock2?  Also, do we need groovy 3 to use Spock 2?

@donat it is vice versa - In order to upgrade to Groovy 3 we need Spock 2.
I don't yet have the exact number of tests - probing how much things are broken. Does not look too bad though.

Superseded by https://github.com/gradle/gradle/pull/15582


What if the data becomes outdated?

What are you going to do if the data becomes obsolete, are you just going to abandon it so people keep using the data used by your module?

@wouldnt Good question. Currently, this module is not in use enough to warrant any concerns, but in the long run I was thinking of setting up a solution where the .txt file is updated with the list from the bulk list when the official list is updated.
If you have any ideas or would be willing to work on this, I would be happy to accept the PR.

Additionally, the format used in the exit nodes list (locally) is JSON, and not a txt file, which may lead to some conversion issues with something like Github actions. However, since my experience with Github actions is limited, I cannot say for sure.

If you have any ideas or would be willing to work on this, I would be happy to accept the PR.

@joeymalvinni
I have no prior experience with GitHub Actions however I will look into it and see if I can come up with a potential solution, also would this not require pushing a new release to NPM as well? Not fully in the loop of publishing to NPM either so I don't really know.

Also, because the data will probably only be updated every day (at least that's the amount of accuracy the project requires at the moment) by the tor maintainers, we should relieve the Github bot (and Tor servers) by only updating every day. This also reduces the spam commits.


Enhance User Experience with URL Shortening Feedback

I would like to suggest an enhancement to improve the user experience for the URL shortening feature. Currently, after a user shortens a URL, the shortened URL is displayed in a box. However, it can be easy for users to miss this information.
Proposed Solution:
Add an alert box or toast notification that clearly states, "Your shortened URL is: [shortened URL]" to immediately grab the user's attention.
Highlight the box containing the shortened URL to make it stand out, improving user recognition and ensuring the shortened URL is more noticeable.
This change will make the feature more user-friendly and ensure the shortened URL is easily identified by the user.

@samar12-rad please add a toast message that says, "Your URL has been shortened successfully." You can use react-hot-toast, which is already included in this project.

Hi @muruga21,
I’m interested in working on this enhancement to improve the user experience for the URL shortening feature. I believe adding a toast notification and highlighting the shortened URL box will significantly benefit users.
Proposed Approach:
Implement a Toast Notification: I will use react-hot-toast to display a message that says, "Your URL has been shortened successfully," immediately after a user shortens their URL.
Highlight the Shortened URL Box: I will apply CSS styles to highlight the box containing the shortened URL, making it stand out visually to users.
Could I please be assigned to this issue? I look forward to implementing these changes!
Thank you!

@vidhvath28 Hi Vidhvanth, I appreciate your interest in contributing to this project! Since I have assigned this issue to @samar12-rad, let’s wait until this evening to see if it gets resolved. If it’s still open by then, I’ll assign it to you.
Thank you for your understanding!


Calling Queue with no arguments throws error

For slurm, calling q = Queue() or q = Queue(user=None) raises an exception, even though None is the default value of user:
>>> q = cluster.Queue(user=None)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "cluster/queue.py", line 141, in __init__
     self._update()
   File "cluster/queue.py", line 311, in _update
     self.user):
   File "cluster/queue.py", line 641, in slurm_queue_parser
     outqueue.append((sid, sname, suser, spartition, sstate, snodelist,
UnboundLocalError: local variable 'snodelist' referenced before assignment

This should be fixed now.


Temporary release

Not a real pull request.
@gw2princeps, what do you think of doing a single release from this branch? It's just the loading fix and the EoD spec colors without the TS migration work.

So the PR would be this branch and not the other PR? can do for sure, I see merit in fixing this

I assume we want to do the TS migration moving forward, so the other PR is relevant. But if we wanted to have a fixed release out before that project is finished we could release from this branch as e.g. 0.11.11, and then discard it.

right, I'm with you then

Do you just want to get colord names? Right now the icons are missing

no idea what this is or what it does


added multiplier

added thisAnchor = otherAnchor * multiplier. and thisAnchor = otherAnchor * multiplier + constant.

I merged a different PR with a slightly simpler approach:
https://github.com/roberthein/TinyConstraints/pull/24


labeler.yml: doc: use all instead of any

fixup: https://github.com/vim/vim/pull/13506#pullrequestreview-1722013761

thanks!


Scripts

Move scripts to their own directory and add OpenRC script for Gentoo.

Looks like someone else submitted Gentoo scripts and moved scripts around. Use whichever you like.


Set textarea charcount element to a span

Will resolve #431

  The textarea charcount element cannot be a div as the wrapping field element is a p


Add insignia-converted event

This fires a insignia-converted event whenever a tag is converted (as discussed in https://github.com/bevacqua/horsey/issues/3)

By the way the event name in the documentation differs from that in code

Wups! Sorry about that. Getting my insignia and horsey mixed up there!


codis proxy 日志中偶尔报 connection reset by peer

2016/01/18 16:00:04 session.go:77: [INFO] session [0xc20a2d1950] closed: {"ops":39,"lastop":1453104003,"create":1453104002,"remote":"<IP_ADDRESS>:33409"}, error = read tcp4 <IP_ADDRESS>:33409: connection reset by peer
2016/01/18 16:00:04 session.go:77: [INFO] session [0xc20a2d19f0] closed: {"ops":841,"lastop":1453104004,"create":1453104003,"remote":"<IP_ADDRESS>:33412"}, error = read tcp4 <IP_ADDRESS>:33412: connection reset by peer

client端关闭了连接而已，不是报错

谢谢！

client端关闭了连接而已，不是报错

是proxy和server的连接关闭了吧？


Improve string + string error message

The error shown when a user attempts string concatenation using string1 + string2 syntax, our error is a little confusing. Since this is a widespread programming concept, it'd be good to have a special error explaining string interpolation is the fix for the error.
Current state of the error:

Current fix for the error:

Wondering if we should extend the error message to mention which type the operator supports. We do that for mismatched function argument types, for example.

Also, shouldn’t it be string + string? I know that first operand is a string literal but for regular dev it’s just a string so it look just odd where value of string is a type.

Depends on their background. If they're a TypeScript dev, it'll be obvious to them.
Regardless, we shouldn't hide type information in these error messages (the literal string type is a subtype of string), but I think we can improve how the literal type is presented to the user. We could say 'tarunStorage {}' (string) instead of 'tarunStorage {}', for example. This change would apply everywhere where types are visualized (errors, hovers, etc.) If we add the types the operator expects to the error message, those should be string and string.


cannot load such file -- sassc after running rake assets:clobber tmp:cache:clear

After running the assets:clobber command, I encountered a cannot load such file -- sassc error. The issue temporarily resolves when I manually save one of the SCSS files (e.g., by pressing command+s), which triggers a recompile. I’m using Sprockets and Sprockets-Rails for asset management

The issue occurred because my watch commands were running separately from the Rails server. It has been resolved by restarting the watch commands (using ./bin/dev)

The issue occurred because my watch commands were running separately from the Rails server. It has been resolved by restarting the watch commands (using ./bin/dev)


state monad using record as a state

I am observing a strange error when using ExtLib. I am unsure if it is a bug or some sort of limitation, related to universes. In short, I've modified examples/StateGame.v ExtLib example, changing state type from Definition GameState: Type := (prod bool Z) with  Record GameState : Type := mkGameState {on:bool; score:Z}.. This lead to the following error message:
Error:
Unable to satisfy the following constraints:

?State_m : "MonadState GameState (state GameState)"

At first glance MonadState_state instance should satisfy this constraint, but there is universe mismatch.
The full example is enclosed below:
Require Import Coq.ZArith.ZArith_base Coq.Strings.String.
Require Import ExtLib.Data.Monads.StateMonad ExtLib.Structures.Monads.

Section StateGame.

  Import MonadNotation.
  Local Open Scope Z_scope.
  Local Open Scope char_scope.
  Local Open Scope monad_scope.

  Definition GameValue : Type := Z.
  Record GameState : Type := mkGameState {on:bool; score:Z}.

  Variable m : Type -> Type.
  Context {Monad_m: Monad m}.
  Context {State_m: MonadState GameState m}.

  Fixpoint playGame (s: string) {struct s}: m GameValue :=
    match s with
    |  EmptyString =>
       v <- get ;; ret (score v)
    |  String x xs =>
       v <- get ;;
         match x, (on v) with
         | "a", true =>  put {| on := on v ; score := (score v) + 1 |}
         | "b", true => put {| on := on v ; score := (score v) - 1 |}
         | "c", _ =>   put {| on := negb (on v) ; score := score v |}
         |  _, _  =>   put v
         end ;; playGame xs
    end.

  Definition startState: GameState := {| on:=false; score:=0 |}.

End StateGame.

Definition main : GameValue :=
  (@evalState GameState GameValue (playGame (state GameState) "abcaaacbbcabbab") startState).

(* The following should return '2%Z' *)
Compute main.

Interesting. Coq shouldn't care about the record vs the pair, so a universe problem is possible, though I would highly doubt it, you aren't doing anything interesting with universes. Can you print the relevant universes?

This seems to be fixed by making state universe polymorphic.

Is this still an issue?


Enable default metrics observability for pac controller

Changes

This PR adds ConfigMapName to the controller deployment for configuring metrics and a Service to expose the port.
Metrics can be accessed by exposing the Service pipelines-as-code-controller-metrics

Submitter Checklist

[x] ♽ Run make test before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI. (or even better install pre-commit and do pre-commit install in the root of this repo).
[x] ✨ We heavily rely on linters to get our code clean and consistent, please ensure that you have run make lint before submitting a PR. The markdownlint error can get usually fixed by running make fix-markdownlint (make sure it's installed first)
[x] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[x] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[x] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[x] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

/ok-to-test
this sounds good to me, but does that work? i don't really understand how it works

/ok-to-test

this sounds good to me, but does that work? i don't really understand how it works

@chmouel yes It worked for me. I have added the steps in JIRA: https://issues.redhat.com/browse/PLNSRVCE-1356

/ok-to-test

/ok-to-test

/ok-to-test

/lgtm


Add the missing node for idam-app service

The idam-app microservice has been missing and so relationships between
services has been miss-represented.
I could do with a hand double checking my assumptions on what talks to what with regards to idam please.

Also missing cmc-claim-store and legal-rep frontend talking to document management
WIP integration to ccd as well..

can u add those CMC working parts in another PR @timja-kainos ? this thing will take off if we have someone from each team looking after their own domains. I'm half guessing at a lot of stuff and I'm too far removed to be that accurate (as we can see from this PR :P)

Can do @jasonpaige

bonus points for publishing swagger spec ;)


Random Password generator is not working

What happened?

How can we reproduce this bug?
The random password generator is not generating passwords
Desktop Information (Optional)
No response
Urgency (Optional)
High priority

@swapnilsparsh  I would like to work on this issue under GSSoC 2024

@SuhainaFathimaM Can you provide more details because for me it is working.


Update R version and fix install.packages

This updates the base R version (now at 3.3.2), and adds the c() function around the RLIBS variable in install.packages() to accommodate a list of one or more packages.

I added some mkdir and chown lines to the Dockerfile to create the log and bookmarks directory. Let me know if that's not a good way to go about it.
I also added a dev-win.sh with a simpler docker run command that doesn't attempt to mount logs etc locally.  I added a couple of lines to the README explaining.

Sorry, I should have probably broken this up into different PRs - let me know if you'd like me to.


RuntimeError: Internal: Unsupported data type in custom op handler:<PHONE_NUMBER>Node number 1 (EdgeTpuDelegateForCustomOp) failed to prepare.

I converted my darknet model to tflite model using the follwing link. https://github.com/guichristmann/edge-tpu-tiny-yolo
After sucessfully converting the model into tflite, I tried to do inference on the image. During thsi process, I am getting the folwwing error. Please help me fix the issue.
The link to my model and classes can be found in the below link.
https://drive.google.com/drive/folders/181npG1SDJnMBBQOm_gXbL0XguSA4gGsy?usp=sharing

I added 'edgetpu.dll' in the path instead of .so file and hence, I could over come the previous error. Now, I have aniother error. Can you please help me with the same?

Thanks in advance!

have you complied the model by specifying runtime version 13 with -m flag?

@hjonnala I would like to know if I have to install edgetpu_runtime in the new virtual environment created my me? Becasue, when I type the folllwing command, I get the follwing output.

(yolov3-tflite) C:\pycoral_venv\Scripts\coral\pycoral1>python
Python 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 15:37:01) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import tflite_runtime.interpreter as tflite
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'tflite_runtime'

As per the link(https://github.com/guichristmann/edge-tpu-tiny-yolo) followed, this requires me to install tensorflow 1.15.0 and opencv. Hence, I have installed them in the virtual environment. Apart from that, is there anything, I need to install for running inference on edge tpu? Do I have to install edgetpu run time again?

have you complied the model by specifying runtime version 13 with -m flag since you are using runtime 13?

Yes, I did compile it with version 13. Yet same output. :(

You are able to get the output details when using detect_image.py but it is failing while doing post processing since the model output details are different from expected ones. you can reference this script how to do post processing of output details. or you can try same script with tensorflow2.5

You are able to get the output details when using detect_image.py but it is failing while doing post processing

Does this mean that, my model is working fine? Is there a way where I can check the inference of the tflite model first. If it works fine, I think I can try working on edgetpu.tflite model.

When I upgraded tf to 2.5.0, I got the folllowing output. I am not sure why is it loading more than one .dll file.

You can use this script to check whether model is working fine or not for both tflite and edgetpu models.
import numpy as np
import tflite_runtime.interpreter as tflite
import os
# Load TFLite model and allocate tensors.
base_dir = os.path.dirname(os.path.abspath(__file__))
model_name = 'quant_model_edgetpu.tflite'

models = [model_name.replace('_edgetpu.tflite', '.tflite'), model_name]
for model_name in models:
    print(model_name)
    model_path = os.path.join(base_dir, 'models', model_name)
    if '_edgetpu.tflite' in model_name:
        interpreter = tflite.Interpreter(
            model_path=model_path, experimental_delegates=[tflite.load_delegate('libedgetpu.so.1',  {})])
    else:
        interpreter = tflite.Interpreter(model_path=model_path)
    interpreter.allocate_tensors()

    # Get input and output tensors.
    input_details = interpreter.get_input_details()
    output_details = interpreter.get_output_details()

    # Test model on random input data.
    input_shape = input_details[0]['shape']
    input_data = np.array(np.random.random_sample(input_shape), dtype=np.uint8)
    interpreter.set_tensor(input_details[0]['index'], input_data)

    interpreter.invoke()

    # The function `get_tensor()` returns a copy of the tensor data.
    # Use `tensor()` in order to get a pointer to the tensor.
    output_data = interpreter.get_tensor(output_details[0]['index'])
    print(model_path, len(output_data))

@hjonnala Thanks for your reply.
After, I updated to tf 2.5.0, the code works without any error. But, there are no predicitions at all.

Can you give me some tips where I can start debugging this code from?
Or would you suggest me to use detect_image.py script and analyse the output_details?
I have no good knowledge of post procesing. Is there any link which helps me learn how to write post processing?
Thank you so much for your help. :)

are you referring to this script?

you can reach out some folks here https://github.com/google-coral/edgetpu/issues/405 on help with running inference.

There are no predicitions at all. Are you referring to this script?

Yes, this script! :/

Do you have any idea of any software which helps us to visuzalize the output during debugging? I have heard of "Image Watch" which is used with visual studio. Is there any with PyCharm?

3. I have no good knowledge of post procesing. Is there any link which helps me learn how to write post processing?

Do you have any info on these?

When I trying inference with the above mentioned

You can use this script to check whether model is working fine or not for both tflite and edgetpu models.

script.
I am getting the following output.

you might does not have models folder.
replace
model_path = os.path.join(base_dir, 'models', model_name)
with
model_path = os.path.join(base_dir, model_name)

I changed with

model_path = os.path.join(base_dir, model_name).
However, I still have the same issue. I guess the issue is with libedgetpu.so or edgetpu.dll. Do I have to mention the path of edgetpu.dll as I am working with Windows.

please check the value error path and path to tflite is matching or not.. No need to mention the path of edgetpu.dll.

I changed, yet no change in the output :/

please check the value error path

I dint get this.

I can see a mismatch after pycoral1. Please use model_path = r'path to tflie'

Please install numpy==1.21.1

@hjonnala  Thanks :) It worked! :)
I visualized the output_data shape and found it to be (1, 13, 13, 30). How do I visualize the output? Is there a way where I can pass an image and check the output? How can I use this script to visualize the output image?

sorry, we don't have any sample inference scripts to visualize the images for yolov3 models.

Okay thanks. But can you tell me what does this script do then? What does it indicate? Just curious to know what to do with this output.

it is just passing some random input based on input shape and checking the model can produce some inference or not..

@hjonnala I have never written a post processing code. I have searched on google and could not find any useful resource. Could you please help me by acknowledging me how to write post processing code or could you share any useful link where I learn how to write them?
In this script, which is the post processing part? https://github.com/guichristmann/edge-tpu-tiny-yolo/blob/master/inference.py
Thanks in advance! :)

Solution to the problem statement:

The following error could be over come following - google-coral/tflite#37 (comment).
By upgrading tf version.