Download offline page/Sound Permission/bottom toolbar menu/Edge swipe

expect to add extension like ".mhtml" to the downloaded offiline pages.
"file_name" to "file_name.mhtml"
hope to add "Sound" to "Permission".

hope to change the layout of bottom toolbar menu as follows (like android/src),

"Edge Swipe" is hard to trigger. While android/src works well. Hope to fix.
https://user-images.githubusercontent.com/98005346/150073747-7dfc0064-b761-4f46-875f-ab44abf5acf0.mp4
Thank you！

After testing, the browser's edge swipe function conflicts with the system's full-screen gesture function. The actual performance is that browser swipes work only on the top half of the screen, while system gestures work on the bottom half. With system gestures off, the browser's edge swiping function works on the full screen.

In addition, edge swipe does not work continuously. Swipe the screen quickly and continuously, the second swipe cannot trigger the function, and a certain interval of time is required between the two returns.

solution：
Shrinks the scope of the browser edge swipe. Some apps use this approach

model: redmi k20 pro, android 10
version: Generation<PHONE_NUMBER>, chrome 98.0.4758.66|475806610


Use latest istio/api

Use latest istio/api repo SHA. Latest version has correct .pb.go files (originally missing that was causing go test to not work and also circle-ci)

Latest version on istio/api also enforced istio/istio to use the BUILD rules from Istio/api/*BUILD files instead of defining a new one in mixer/istio_api.bzl
(Deleted the code from istio_api.bzl)

Make fmt
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@guptasu: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@guptasu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
a35ddfa27e96532400a90625fb28c65f52c69a4b
link
/test istio-presubmit

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


how would I test an event that causes the page to scroll?

I am trying to test for a click event causing a page scroll.  I am trying this, and it is passing when i remove the click simulation.  What am i not doing in the test?
React component
var React = require('react');

module.exports = React.createClass({
	onClick: function(e) {
		e.preventDefault();
		window.scrollTo(0, 0);
	},

	render: function() {
		return (Back to top);
	}
});

Jest Test
global.React = require('react');

var TestUtils = React.addons.TestUtils;
var componentPath = '../React/Components/Footer/BackToTop/BackToTop.jsx';
jest.dontMock(componentPath);

describe("Click Event Handler", function() {
	it("should scroll to top of the page", function() {
		var Component = require(componentPath);
		var domComponent = TestUtils.renderIntoDocument(<Component></Component>);
		var anchorNode = TestUtils.findRenderedDOMComponentWithTag(domComponent, 'a');

		var expectedY = 0;
		var expectedX = 0;

		// scroll the window
		window.scrollTo(5, 1000);

		// click Back to Top
		TestUtils.Simulate.click(anchorNode);

		var actualY = window.pageYOffset;
		var actualX = window.pageXOffset;

		expect(actualX).toBe(expectedX);
		expect(actualY).toBe(expectedY);
	});
});

@lostrouter Did you have any luck with this? I'm trying the same thing. My problem seems to be that window.innerHeight is only 300, so window.scrollTo has no effect.

i didn't get anywhere with this and am falling back to testing in browser.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

You might be able to just directly set window.scrollTop and window.scrollLeft. If that doesn't work, try Object.defineProperty(window, 'scrollTop', {value: 10, writable: true})

You might be able to just directly set window.scrollTop and window.scrollLeft. If that doesn't work, try Object.defineProperty(window, 'scrollTop', {value: 10, writable: true})

I would do it with a container instead of window. That's more testable.

Well, here you have a couple of options...

You can try to inject window ( dependency injection) and then it is really easy to test, just inject a fake window object in your tests, or

you could spy spyOn(window, 'scrollTo') ( not sure if it is like that with that test framework) and you just check that that method was called with the arguments 0, 0

expect(window.scrollTo).toHaveBeenCalledWith(0, 0);

I think the second way is good enough, since you code actually "does not care" about what scrollTo does internally, you just need to test that you are calling that method when the click event happens.
I hope this helps :)


Improvement of text handling game state systems

Spent 4 hours today on an aspect that I didn't expect to be notable. The system to log dialogue text didn't work and is now fixed, added a system to save the current console screen's text so as to switch windows and be able to pick back up right where it left off.

Currently being addressed in character development branch, I expect continued development through other branches.

Added ability to access a pause menu and text log when any text is finished rendering after game start. Fixed model issues and and refactored model and view for better readability. Spent 3 hours on it and brought text management systems to a point I am happy with right now. Can now move onto character code.


feat: get db schema to improve cmd hints

add dbschema store.
Add useAsyncDispatch hook.
refactor store actions.
delete not needed schema data in common.js
Ref #60

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Render Charts - Could not load file or assembly "System.Windows.Forms, Version=<IP_ADDRESS>

Hello,
I am getting Could not load file or assembly "System.Windows.Forms, Version=<IP_ADDRESS> Error when I have charts in my rdlc file. How can I show charts in my rdlc with AspNetCore.Reporting nuget package ?

That is a third party package, so that would be best asked of them.

Thanks for contacting us.
This is not something related to this repository. We recommend using StackOverflow for these types of general questions or raising this concern with the owners of the library/framework you're referring to.


The listener did not execute when WiFi seamlessly reconnected on Android

When one WiFi automatically switches to another and seamlessly switches, NetInfo.addEventListener is not executed

no information needed to troubleshoot
You might search in the issues list though, this is probably reported
If this is important for your use cases, you will likely need to trace through from the native code API calls to system APIs into their responses during the scenario you mention, to see what's going on


Fixed security issue

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rileym1963 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Replace custom include dirs in java/BUILD with src:includes

Problem

java/BUILD uses a custom config so that java/gen/... files can access (for example) java/CHIPJNIError.h by writing #include "CHIPJNIError.h"

Change overview

Simplify to use src:includes as config
Change #include "CHIPJNIError.h" to #include <controller/java/CHIPJNIError.h> and similar
Regenerate

Testing
No functionality change. Ran through Android commissioning and OnOff control.

Restyler seems stuck even after force push.


add token.actions.githubusercontent.com:aud condition

add the recommended condition to the iam role "token.actions.githubusercontent.com:aud": "[sts.amazonaws.com](http://sts.amazonaws.com/)"
see aws documentation

Thanks @martijnvdp – I'm going to make a small amendment to change StringLike to StringEquals since no wildcards are used, and then I'll create a new release later today.


Holographic remoting without local preview

Describe the problem
When Unity app is remoting to Hololens 2, the rendering for HoloLens is also copied and shown in the Unity app. It looks like current MRTK or Unity XR WSA api does not allow the option to disable this preview. It is however possible with lower api like app written in cpp/winrt, documented here: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/platform-capabilities-and-apis/holographic-remoting-create-host#preview-streamed-content-locally.
Describe the solution you'd like
An option to disable local preview when remoting to HoloLens.

@keveleigh I assume this would really be a feature request for Unity/the Unity XR plugins right?

Yeah, this sounds like a feature request for Unity.

@qian256 Is this using in-editor remoting or app remoting?

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Error in android

when i use this libary on Android, it show an error:
"android.widget.imageview cannot be cast to android.view.viewgroup".
but on ios is work fine.
react-native: 0.44.2
react: 16.0.0-alpha.6
react-native-fast-image: 0.0.10
anyone can help me? :(

@tybq93  seems to work fine if you use on
If you are using any other component inside fastImage then it exist .

Yes, there isn't support for children on android. You'll have to use
another technique, like absolute positioning.
On Wed, Jun 14, 2017 at 2:15 AM Rishabh Pandey<EMAIL_ADDRESS>wrote:

@tybq93 https://github.com/tybq93 seems to work fine if you use on
If you are using any other component inside fastImage then it exist .
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DylanVann/react-native-fast-image/issues/7#issuecomment-308330166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABd2T1Ms7XQTq-XMj3lXrCHVOR9qc_LXks5sD3qQgaJpZM4NxFwi
.

See #15 .


Update cue_notes_create.lua

Fixed a bug with DataList and another with FCCategoryDefs (l.399)

Looks good to me.


log: fix appending to logs

Codecov Report

Merging #28 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   57.98%   57.98%
=======================================
  Files          11       11
  Lines        1321     1321
=======================================
  Hits          766      766
  Misses        412      412
  Partials      143      143

Impacted Files
Coverage Δ

pkg/api/log.go
83.01% <0%> (ø)
:arrow_up:

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 d4366d5...d294f9b. Read the comment docs.


Test whether extracted file owner and file permissions are accurate

There is insufficient test data on files with different owners and file permissions. All tests have shown the current Windows user as the file owner and '666' for file permissions. It does not seem possible to override file ownership or file permissions of a file without administrative system access. This may have to be tested on a personal machine

File permissions are accurate
Cannot test 'Owner' and am voting to remove the field entirely as it is OS-dependent and imports a fairly large dependency for Windows

I would like to say the owner field is accurate. I am unable to change file owner with my level of access, but when checking the shared drives, the code correctly surmises the 'S-1-1-1' owner means 'Everyone' rather than returning the current user on the system


Parser options and some other things need updating

https://github.com/gcanti/purescript-prettier/blob/4d89c3eec0cb39216b8d8b25af99b06ba70d68b8/src/Text/Prettier.purs#L65-L701
Mostly reminder to self, unless you want to do this. I just need CSS formatting.
It'd be nice if the formatImpl was also exposed for use

Released


Vyper Contract to mint 7 egg NFTs

Background
https://www.notion.so/volumefi/EPIC-06-24-Paloma-Egg-mint-7ebae048c20b4150ad16e51646001ceb
Done when

[ ] Vyper contract is complete and deployed

notion doc location was updated - no requirement changes


Extraneous driveways

a-b-street renders driveways for many buildings that are only connected by footpaths.

Sheds (building=shed)
Houses with a separately mapped garage in close proximity
Very small buildings (<10 m²)
If the driveway would cross a railway

Example:
https://www.openstreetmap.org/#map=18/48.39266/11.74234

First the purpose of driveways: trips beginning/ending at a building need to start at some position on a street. The driveway is calculated by snapping to the nearest edge of a road and taking a straight line there. The purpose of the rendering is to show that connection explicitly (and in the traffic simulation, so vehicles don't just float in between a building and the road).
You identified many problems with this simple definition. Another is in #191 -- sometimes one building is located behind another and the connection between the building and street is a driveway with curves/corners, or the second building is only accessible by foot through the first building or some other unmapped paths. In other cases, a building is explicitly connected to the street or footway network, like https://www.openstreetmap.org/way/23256528.
I would love to improve this modeling and rendering. It wouldn't be hard to detect problematic cases like a driveway crossing water / rail, or a tiny building. My question is what should we do instead? We still need to pick some position on a street or footpath for trips to start/end, and ideally still communicate it visually.
Many of the problems in your example are caused by the lack of footways being imported: #161. I started https://github.com/a-b-street/abstreet/tree/footways in December to tackle this problem again, but hit lots of problems and haven't worked on it again since


feat: refactor accessibility features to reflect state on host

This PR refactors our interactive elements to have the state and focus on the host element. This allows consumers to create aria references on the and to the host, which was previously not possible.
BREAKING CHANGE: Almost all accessibility-label attributes were removed in favor of just using aria-label.

Chrome + JAWS
Disclaimer: probably many of these comments are just nitpicking
Notation: text included in stars report what the screen reader actually reads
SBB alert - works fine, close button is correctly read
SBB button - works fine, disable button is read as button button inavailable with the first "button" that is the name of the button label (that's acceptable in my opinion). The "icon only" variant is read as button name button (in this case it should read the icon name?)
SBB card - works fine. "Sbb card with badge" variant: the badge is not read by JAWS. Other variants are ok
SBB dialog - opening button ok. Back button is read as unlabeled 0 button and close button is read as unlabeled 2 button. Rest of the dialog works fine. Variants are ok
SBB header action - ok
SBB link - ok
SBB menu action - links and buttons work fine. JAWS reads link details one hundred and 99, probably because there is nothing between the label "details 1" and the amount element, and the reader takes them as a single number (199) - corner case because usually those labels don't end with numbers.
SBB navigation action - ok
SBB navigation section - hamburger menu button is read as unlabeled zero button. With the navigation open, the close button is positioned before the action elements, so it is read before them. The close button is also read as unlabeled zero button, so it needs to be more specific.
SBB navigation - same as navigation section
SBB radio button group - JAWS the read radio buttons one by one, works fine. Disabled radio button are read as value one radio button not checked unavailable one of four, that's good
SBB slider - slider is read as slider left right slider 40 min 0 max 100 where 40 is the current value, and with tab I can change the value, I thinks this work very well.
SBB tag - works fine
SBB teaser hero - ok, the link is correctly read
SBB teaser - JAWS here works perfectly. The focus tab outline need to be visually fixed
SBB time input - JAWS reads HH colon MM at first (input hidden placeholder), then sometimes it doesn't read the value, sometimes it reads twelve o clock. With a label that explain the input meaning, I think this could be understandable by the user.
SBB toggle option - ok

Chrome + NVDA
Disclaimer and notation are the same as Chrome + JAWS :)
SBB alert - tab navigation is ok. Close button is correctly read as close message button. On mouse hover (visually impaired user) the link is correctly read, but the close button is read only as button.
SBB button - Works fine. In the "icon only" variant, should it read the icon name? Because nothing else can be read here. "Disabled" variant: not reading the button, should it read the button even if it's disabled?
SBB card - title  is not read, only the content text is read
SBB dialog - opening the dialog is ok, reading of the title is ok, reading of the content is ok, back and close button are read as blank when you hover them, and are read as button on tab focus, so they need a more specific label. Link, cancel and confirm buttons are ok. All other variants are ok
SBB header action - action and links both work fine
SBB link - links and buttons both work fine
SBB menu action - links and buttons work fine. Same "problem" as JAWS with numbers. Disabled links are not read
SBB navigation action - ok
SBB navigation section - close button is read simply as button without other specifications. Hamburger menu button is ok.Navigation and its elements are ok
SBB navigation - same as navigation section
SBB radio button group - using the tab to navigate the page, it only select the currently checked radio button, then the reader does not read all the radio options but only the one that is selected, so the user could not know that there are multiple options. you can select a different radio button with arrow keys, but I would expect that with the tab you highlight the whole radio button group and have it read completely
SBB slider - it reads slider 30 where 30 is the current value. shouldn't we provide a more understandable name to the slider itself? or do we rely on the label that should be added by the user? Currently the "sbb slider in form field" variant provides a label, NVDA does not read the label but only the slider value. I tried placing a label outside the sbb-form-field and this is read by the screen reader. Disabled or readonly slider aren't read at all.
SBB tag - working fine, but numbers are read as a single one, eg: label 2 123 (where 123 is the amount element) is read label two thousands one hundred and twenty three - corner case because usually those labels don't end with numbers
SBB teaser hero - ok
SBB teaser - NVDA reads it correctly. The focus tab outline need to be visually fixed
SBB time input - NVDA reads HH MM twelve o clock where HH MM is the placeholder of the input field. I did a little research about time reading, and there is no general rule about how it should be spelled; first answer in: https://stackoverflow.com/questions/75322134/nvda-screen-reader-ignores-time-element
SBB toggle option - works fine

Firefox + JAWS
navigation with arrow keys seems to be broken, it seems that only tab navigation works atm

Firefox + NVDA
SBB alert - all is working fine with arrow keys navigation. On mouse hover the close button is read only as button.
SBB button - NVDA just reads the button label and that could be acceptable. The "icon only" variant hasn't a label, so it is just read as button. "Disabled" variant: button is read on hover, but it's not specified that is disabled.
SBB card - with tab navigation it works fine. On hover, only the content text is read (as a link text)
SBB dialog - everything is working fine, except the "back" and "close" button that are read as button on arrow keys navigation, and as blank on mouse over. As chrome they need a more specific label. All other variants are ok
SBB header action - ok
SBB link - ok
SBB menu action - links and buttons work fine. Same "problem" as JAWS with numbers. Disabled links are not read
SBB navigation action - ok
SBB navigation section - Hamburger menu button is ok. Close button is read simply as button without other specifications. Navigation and its elements are ok
SBB navigation - same as navigation section
SBB radio button group - same as chrome + NVDA
SBB slider - same as chrome + NVDA
SBB tag - ok
SBB teaser hero - ok
SBB teaser - same as chrome + NVDA, focus outline has to be fixed
SBB time input - same as chrome + NVDA
SBB toggle option - ok

Codecov Report

Merging #1670 (71b5f5a) into master (ab917b0) will decrease coverage by 2.91%.
The diff coverage is 54.03%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master    #1670      +/-   ##
==========================================
- Coverage   54.85%   51.95%   -2.91%
==========================================
  Files          49      129      +80
  Lines        1659     4585    +2926
  Branches      406     1231     +825
==========================================
+ Hits          910     2382    +1472
- Misses        671     2038    +1367
- Partials       78      165      +87

Impacted Files
Coverage Δ

...ts/sbb-accordion-item/sbb-accordion-item.events.ts
100.00% <ø> (ø)

...mponents/sbb-accordion-item/sbb-accordion-item.tsx
0.00% <0.00%> (-37.21%)
:arrow_down:

src/components/sbb-checkbox/sbb-checkbox.events.ts
0.00% <ø> (ø)

...components/sbb-header-action/sbb-header-action.tsx
83.33% <ø> (ø)

src/components/sbb-header/sbb-header.tsx
27.63% <ø> (ø)

src/components/sbb-icon/sbb-icon-request.ts
70.00% <ø> (ø)

src/components/sbb-icon/sbb-icon-validate.ts
45.16% <ø> (ø)

src/components/sbb-icon/sbb-icon.tsx
92.30% <ø> (ø)

src/components/sbb-image/sbb-image.helper.tsx
0.00% <ø> (-64.52%)
:arrow_down:

src/components/sbb-image/sbb-image.tsx
0.00% <ø> (-62.97%)
:arrow_down:

... and 23 more

... and 106 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Abstract out a lot of the distro specific checks from the Common directory

@sxa Do you mean just removing the lines such as
https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/b107e720cbf20e860c9a5f1e07db582a2e25215f/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks/RedHat.yml#L81
or something else?

I think if it's needed for some reason it's ok in the RedHat.yml for example, but if there are any in the main part of the common role then they shold probably be moved to distro specific files if possible

A good example of why descriptions are necessary then ;-)
Okay, thanks for clarification :+1:

I've had a look, it looks like the only thing that could be put into distributions would be the macOS hostname stuff, however, I sort of assume that this is required for the update /etc/hosts tasks below it.
I am going to remove the unnecessary distro checks that are already in the distro specific files however, just to cleanup.


How to save bag files for T265 camera ???

Hi..
I have been using below code to save bag file for T265 camera, but the recorded bag file don't generate video . Although I am not sure this code work with T265 or not .

rs2::config cfg;
cfg.enable_record_to_file("ab1.bag");
cfg.enable_stream(RS2_STREAM_POSE, RS2_FORMAT_6DOF);
pipe.start(cfg);

Also when i use this :
_> rs2::config cfg;
> cfg.enable_record_to_file("ab1.bag");
> pipe.start(cfg);_

there is a video file with large size, and when I try to play that it gives error : " Failed to create ros reader: Bag unindexed " . I really don't know how to solve this poblem.
Please someone who have knowledge regarding it help me .
Thanks in advance !!!!!

Hi.
Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed.
Thanks

You will have to enable both fisheye streams. That works, promised


Add support for  blocks

In the markdown parser, I'm going to add a support for  blocks.
`enclosed text in a single backtick` will be transformed into HTML ....
I'm going to implement this feature by adding a regular expression that will capture single backtick and content enclosed. Once the regular expression is matched, text gets converted to HTML code ....

Closed by https://github.com/abatomunkuev/static_site_generator/commit/e257533f2b703ebe377ed591810cd29738c605f8


Can't rebuild database?

I am running netbox 2.2.2 and set things up on a VM and can't migrate this to a production database.
I run python3 manage.py migrate and get a blank database, and then pg_dump netbox --column-inserts --data-only > /tmp/x1.sql from my development server.
Importing the data on production causes errors, but no data imports. I'm concerned this app is not portable beyond the original installation?
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(872) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(873) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(874) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(875) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(876) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(877) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(878) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(879) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(880) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"
DETAIL:  Key (id)=(881) already exists.
ERROR:  duplicate key value violates unique constraint "extras_useraction_pkey"

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.


Authentication implementation for Android API

In order to use the API functionality from Android application, an authentication mechanism should be provided.

authentication is provided using spring-android-rest library


NNI.compression.pytorch.speedup.compressor

Describe the issue:
I encountered the problem when using NNI pruning for FPN-ResNet network compression.
input_size = [3, 3, 64, 64]
The error is reported as follows.
Traceback (most recent call last):
File "E:/pythonProject/NNI.py", line 89, in
m_speedup.speedup_model()
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\compressor.py", line 507, in speedup_model
self.infer_modules_masks()
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\compressor.py", line 353, in infer_modules_masks
self.update_direct_sparsity(curnode)
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\compressor.py", line 215, in update_direct_sparsity
func, dummy_input, in_masks, in_constants=in_constants, batch_dim=self.batch_dim)
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\infer_mask.py", line 80, in init
self.output = self.module(*dummy_input)
TypeError: add() received an invalid combination of arguments - got (Tensor), but expected (Tensor input, Tensor other, *, Number alpha, Tensor out)
Sometimes it also reports an error as follows.
Traceback (most recent call last):
File "E:/pythonProject/NNI.py", line 89, in
m_speedup.speedup_model()
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\compressor.py", line 507, in speedup_model
self.infer_modules_masks()
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\compressor.py", line 353, in infer_modules_masks
self.update_direct_sparsity(curnode)
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\compressor.py", line 215, in update_direct_sparsity
func, dummy_input, in_masks, in_constants=in_constants, batch_dim=self.batch_dim)
File "E:\Anaconda\lib\site-packages\nni\compression\pytorch\speedup\infer_mask.py", line 80, in init
self.output = self.module(*dummy_input)
TypeError: mean() received an invalid combination of arguments - got (dim=tuple, keepdim=bool, ), but expected one of:

(Tensor input,  *, torch.dtype dtype)
(Tensor input, tuple of ints dim, bool keepdim, *, torch.dtype dtype, Tensor out)
(Tensor input, tuple of names dim, bool keepdim, *, torch.dtype dtype, Tensor out)

Looking forward to an early reply.
Environment:

NNI version:2.6
Training service (local|remote|pai|aml|etc):
Client OS:
Server OS (for remote mode only):
Python version:3.6
PyTorch/TensorFlow version:
Is conda/virtualenv/venv used?:
Is running in Docker?:

Configuration:

Experiment config (remember to remove secrets!):
Search space:

Log message:

nnimanager.log:
dispatcher.log:
nnictl stdout and stderr:

How to reproduce it?:

I got a similar error that the method self.update_direct_sparsity(curnode) and self._prepare_dummy_input(node) does not work well - fail to get proper "dummy_input"


24 hours functionality

Is it possible to integrate the 24 hours functionality ?
I've read your remark that this could be done easily, but I'm not quite familiar with the CSS stuff that is being used here.
Thx

Sure.  I'll try and update the control accordingly over the holidays.

Eager to see this implemented. Thank you for your work @SteveDunlap13!

Hi Steve! I adore your material time control & look forward to see your 24 hours functionality implementation.

All done; merged to master.


Inconsistency between first() vs last() query methods

Why this feature is required (specific use-cases will be appreciated)?
I'm not sure if this makes sense for everyone but we had inconsistency between databases (dev/staging/prod) containing same datasets (dumps) but yielding different results when using .first() on a query object. I know that both first() and last() methods are directly proxies to knex but I though it may be good to raise a point here.
Example:
➜ DB_DEBUG=true yarn adonis console
yarn run v1.10.1
$ cd packages/api && babel-node $(which adonis) console
mobile.club[development] > o = await Order.find(5200)
mobile.club[development] > (await o.invoices().fetch()).rows.map(x => x.id)
[ 1583, 1582 ]
mobile.club[development] > (await o.invoices().first()).id
{ method: 'first',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings: [ 5200, 1 ],
  __knexQueryUid: '0c4268fb-ee19-49a4-b528-35fa17004142',
  sql: 'select * from "invoices" where "invoices"."order_id" = ? limit ?' }
1583
mobile.club[development] > (await o.invoices().last()).id
{ method: 'first',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings: [ 5200, 1 ],
  __knexQueryUid: 'b5ab5028-42f8-4876-b98b-95e31908bb7f',
  sql: 'select * from "invoices" where "invoices"."order_id" = ? order by "id" desc limit ?' }
1583

I think that first() and last() should be more consistent:

last() already adds order by id desc limit to the query which is expected
first() doesn't do anything to the order (except adding a limit 1) . I would expect it to add order by id limit 1 - This is what most ORMs will do (just tested it on ruby's ActiveRecord https://apidock.com/rails/ActiveRecord/FinderMethods/first)
any() (or similar new method) should probably do what first() do today.

Relevant links
https://www.postgresql.org/docs/9.1/queries-order.html

If sorting is not chosen, the rows will be returned in an unspecified order.
The actual order in that case will depend on the scan and join plan types
and the order on disk, but it must not be relied on. A particular output
ordering can only be guaranteed if the sort step is explicitly chosen.

So this is specifically bound to SQL. Changing DB adapter would probably give different results.
Have you tried any other work arounds?
Always adding .orderBy('id').first() each time I want the first inserted record... (based on its PK)
Are you willing to work on it with little guidance?
yes

@othierry Yes, I agree. When you are calling method which is explicit enough to pull the first record, then you should add order by ${primaryKey} asc.
I am happy to accept a PR for same


[8.x] Adds unprocessable entity helper method

This adds the unprocessable entity helper method assertion.
This is useful in cases where you want to know that the validation fails but don't explicitly need to know which validations.

assertStatus(422) is just way shorter tbh.


Shelley-Byron protocol parameters

Protocol parameters are defined a bit differently in Byron than in Shelly. In Shelley they are defined like the other ledger state is defined, but in Byron the protocol parameters are a key-value map. We should be consistent between the two specs, especially since we are going to be using/referencing the BUPI transition is Shelley as in #390
Additionally, we should make sure that common parameters are named the same thing, such as maxBlockSize and maxHeaderSize from the Byron chain spec, etc.
The parameter that will perhaps be the trickiest to handle is k (or the related slotsPerEpoch). This is handled differently in the two specs.

I made some preliminary notes on what we could change to make the two specs match. It doesn't look that hard.
One of the main questions I have is whether we want to make the number of slots per-epoch variable in Shelley, in which case we'd need to keep track of the history of all the epoch lengths.


Linux: Unable to activate license

Describe the bug
The license is not activated and I can't find a way to retry to add it.
Versions
Ray version (you can see this in "About Ray"): 1.0.8
To Reproduce
Steps to reproduce the behavior:
When the App was launched for the first time, there was a window asking for the license.
I pasted the license there.
Now, at the bottom fn the main Ray window it says I am on the trial mode and on the https://spatie.be/products/ray#purchases
it says the license has not been activated.
When I click on Help -> Manage License ... it redirects me to the Ray website.
Desktop (please complete the following information):

OS: Ubuntu 20.04.1 LTS
Version [e.g. 22]

Solved: After a system reboot, the license window re-appeared and I was able to insert the license.

Solved: After a system reboot, the license window re-appeared and I was able to insert the license.

Hey there.
I have an issue using my license key. I recently had to delete my .config/Ray folder (Ubuntu 22.04) and now I cannot use my license key. It just keep saying the license key is not valid, tho I registered this device.
I'm using Ray 2.7.5 AppImage.
Thanks in advance for the support.


Additional hover effects while loading content rows on data grids with Fluent-Skeleton

🐛 Bug Report
Hello, We have noticed that while using the FluentSkeleton component for data grids, we have additional hover effects while loading the content rows. The rows are already clickable, can be selected and are highlighted as a whole.
💻 Repro or Code Sample
Create a data grid which for instance is being used to retrieve data sets and make use of the FluentSkeleton here for loading content.
Add a delay to see this behavior better while loading.
🤔 Expected Behavior
To us this appears to be a bug, since the mentioned hover effects are only useful in case you have data to work with.
So we believe that these effects should be removed.
😯 Current Behavior
Whilst using the FluentSkeleton component for data grids, the rows are already clickable, can be selected and are highlighted as a whole whilst loading.
💁 Possible Solution
Remove the mentioned hover effects.
🌍 Your Environment

OS: Windows 11, Visual Studio 17.10.4
Browser: Edge Version 127.0.2651.74
.NET: 8.0.303

Hi Natascha,
Please supply us with ready to run example reproduction code. We don't have capacity to craft or compose a reproduction for every issue that gets raised in the repo. We are only a small team and need you to help us to help you.

When we use the FluentDataGrid with the following properties: Loading="true" ShowHover="true", the rendered <LoadingContent/> has a hover effect, which is unexpected, since there is no usable data yet.
The following code can be added to a razor-page to demonstrate this situation:
@page "/counter"

Loading...

@code {
private static readonly IQueryable _gridData = new string[] { "Item 1" }.AsQueryable();
}

Thanks for the quick resolution.


Logitech G PRO X Superlight missing

Is your feature request related to a problem? Please describe.
the Logitech G PRO X Superlight mouse is missing. Can you add that?
Describe the solution you'd like
Add the mouse to the supported ones.

I opened #1122 which should fix this.
I also sent patches adding support for the receiver to the kernel driver.
https://www.spinics.net/lists/linux-input/msg71493.html
https://www.spinics.net/lists/linux-input/msg71495.html
They have not been merged yet, I am not sure in which Linux version this will be fixed. In the meantime, the PR still allows to configure the device via the USB connection, just not the receiver, which needs the kernel changes.
cc @brianegan

I opened #1122 which should fix this.
I also sent patches adding support for the receiver to the kernel driver.
https://www.spinics.net/lists/linux-input/msg71493.html
https://www.spinics.net/lists/linux-input/msg71495.html
They have not been merged yet, I am not sure in which Linux version this will be fixed. In the meantime, the PR still allows to configure the device via the USB connection, just not the receiver, which needs the kernel changes.
cc @brianegan

Is basic functionality for the superlight supported in general however now that #1122 is merged? It seems like the core issue for the kernel is related to using the mouse with the powerplay mat.

My first patch, which fixed support for the Powerplay mat, was merged, my second one, which added support for the new Lightspeed receiver that comes with the G Pro Wireless Superlight, wasn't.
Currently, with #1122:

device connected via USB: can be configured by libratbag
device connected via Powerplay receiver: can be configured by libratbag
device connected via Lightspeed receiver that comes with the device: cannot be configured by libratbag (missing kernel support)

I should fix up the patch that adds support for the new Lightspeed receiver and re-submit, but haven't had that much time.

I compiled the kernel with your patches @FFY00 but unfortunately it's still not showing up in ratbagctl output nor the piper gui. Is there anything additional needed on the ratbag or piper ends to work with the kernel patches?

Having the same issue as @GloriousEggroll. Running libratbag 0.16 and piper 0.6 on 5.15.6-051506-generic and I'm not able to configure this by the Lightspeed receiver. @FFY00 is there a working kernel version for this now?

Any updates to this? Would really appreciate if anyone could get this to work with the receiver. Would be happy to provide any information from the terminal. Thanks in advance!

@FFY00 I just wanted to add to this, I can see the patch for the kernel for 5.11-upstream was added. I'm running kernel 5.15.6 and I can see in the source tree that the changes for kernel are there: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/hid/hid-logitech-dj.c?h=v5.15.6
I guess this was required for the receiver to work at all?
So, if the lightspeed connector patch has been added, then my guess is that libratbag 0.16 should be working with the Lightspeed connector if that's all that was required. However, as @GloriousEggroll pointed out, that it's still not working. Looking at the libratbagd #1122 PR, I can see that it's added a device, but I can't see the Lightspeed connector added here. My lsbusb output for my receiver is as follows:
Bus 001 Device 009: ID 046d:c547 Logitech, Inc. USB Receiver
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc547
  bcdDevice            4.00
  iManufacturer           1 Logitech
  iProduct                2 USB Receiver
  iSerial                 0
  bNumConfigurations      1

Do we simply need to add the the ID into the device files in libratbagd?
[Device]
Name=Logitech G Pro X Wireless Superlight
- DeviceMatch=usb:046d:4093;usb:046d:c094
+ DeviceMatch=usb:046d:4093;usb:046d:c094;usb:046d:c547
LedTypes=logo;battery;dpi;
Driver=hidpp20

I've tried building the HID driver with the attached patch applied to my current kernel version (v5.15.6) from Ubuntu mainline repo (git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack) branch (cod/mainline/v5.15.6). I plopped the built driver files in /lib/modules/5.15.6-051506-generic/kernel/drivers/hid/ and did an update-initramfs -u to rebuild the initramfs image, rebooted and still not working for me with piper.
To be fair, I don't really know what I'm doing, if this is the correct procedure or not. I modified the diff as per @bentiss comment on https://www.spinics.net/lists/linux-input/msg75936.html for this PR.

I've been pinged last week about the G Pro X superlight, and Peter found
that this patch never got into upstream.
AFAICT, compared to upstream the following code change should have the
same effect that what you proposed here:
... [ more or less the diff below ]
Would you mind sending a v2 of the patch updated to the current for-next so we can schedule this for 5.17?
Cheers,
Benjamin

logitech.patch
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 3706c635b..9f36ba221 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -816,6 +816,7 @@
 #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_2		0xc534
 #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1	0xc539
 #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1	0xc53f
+#define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_2 0xc547
 #define USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_POWERPLAY	0xc53a
 #define USB_DEVICE_ID_SPACETRAVELLER	0xc623
 #define USB_DEVICE_ID_SPACENAVIGATOR	0xc626
diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c
index a0017b010..b0667789b 100644
--- a/drivers/hid/hid-logitech-dj.c
+++ b/drivers/hid/hid-logitech-dj.c
@@ -1691,11 +1691,12 @@ static int logi_dj_raw_event(struct hid_device *hdev,
 		}
 		/*
 		* Mouse-only receivers send unnumbered mouse data. The 27 MHz
-		* receiver uses 6 byte packets, the nano receiver 8 bytes.
+		* receiver uses 6 byte packets, the nano receiver 8 bytes and
+		* some gaming ones are using 16 bytes.
 		*/
 		if (djrcv_dev->unnumbered_application == HID_GD_MOUSE &&
-		   size <= 8) {
-			u8 mouse_report[9];
+		   size <= 16) {
+			u8 mouse_report[17];

 			/* Prepend report id */
 			mouse_report[0] = REPORT_TYPE_MOUSE;
@@ -1979,6 +1980,10 @@ static const struct hid_device_id logi_dj_receivers[] = {
 	 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
 		USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_1),
 	.driver_data = recvr_type_gaming_hidpp},
+	{ /* Logitech lightspeed receiver (0xc547) */
+	 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH,
+		USB_DEVICE_ID_LOGITECH_NANO_RECEIVER_LIGHTSPEED_1_2),
+	.driver_data = recvr_type_gaming_hidpp},

 	{ /* Logitech 27 MHz HID++ 1.0 receiver (0xc513) */
 	 HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER),

So where's the problem exactly? I'm not familiar with either kernels or drivers. If there's something I can do to help, please let me know.

If you're on Fedora I've set up a COPR repo with a dkms kernel module that applies that patch. Can confirm libratbag works for me with a Superlight+Powerplay combo.
https://copr.fedorainfracloud.org/coprs/kylegospo/kmod-hid-logitech-dj-dkms/
Shouldn't be too hard to compile this for other distros until this patch is upstreamed.

@KyleGospo That's pretty sweet, did it work with the receiver that comes with the mouse? I'm not sure how the powerplay works, but I seem to remember it was a wireless charging mat with a receiver built in. I'll give this a burl on Ewbuntu.

@berglh It's worked for me with the dongle it came with since at least Linux 5.15, this patch only deals with the Powerplay mat AFAIK

@KyleGospo Yeah, I'm not sure. I'm running on 5.17.5, libratbag 0.16-1+git1825 and piper 0.6+git485. There might be still something to my receiver not being classified properly, you can see it is being detected on dmesg below.
[    1.873419] usb 7-3: Manufacturer: Logitech
[    1.924854] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb7/7-3/7-3:1.0/0003:046D:C547.0003/input/input2
[    1.924893] hid-generic 0003:046D:C547.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:08:00.3-3/input0
[    1.924966] input: Logitech USB Receiver Keyboard as /devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb7/7-3/7-3:1.1/0003:046D:C547.0004/input/input3
[    1.983358] hid-generic 0003:046D:C547.0004: input,hidraw3: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:08:00.3-3/input1
[    1.983426] hid-generic 0003:046D:C547.0005: hiddev2,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:08:00.3-3/input2

It worked OOTB with the included dongle, but if it synced with the Powerplay mat it was a headache to fix.

@KyleGospo So you could talk to it via ratbagctl and configure it with piper OOTB with the receiver in the box?
Let me clear things up, I can use the mouse just fine, but I can't configure any of the DPI settings unless I plug the mouse into the USB port directly.  Interestingly, I have the old Logitech G Pro Wireless, and the Superlight doesn't seem to work with it's dongle, but I didn't look in-depth into how the mouse is paired to a particular dongle - this might be a workaround if I can figure that out.  The old mouse had a DPI profile button I could cycle through, but this new one doesn't, it's a hassle to plug it in each time I want to adjust the DPI (which is pretty frequently).  Powerplay mat could be an option I guess.


OCPBUGS-27242: fix or ignore snyk errors for ocp storage repos

Ignore these errors, release-tools is not part of the component that runs in production, and these reported issues do not grant the caller any extra permissions. If you can read it with release-tools then you already have access to read it without release-tools.
 ✗ [Medium] Path Traversal
   ID: af243e66-4149-4c0d-af0b-0e4bbadad3ba
   Path: release-tools/filter-junit.go, line 98
   Info: Unsanitized input from a CLI argument flows into os.ReadFile, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to read arbitrary files.
 ✗ [Medium] Path Traversal
   ID: d630bedb-d091-432a-96d6-6f41c7b121f7
   Path: release-tools/filter-junit.go, line 145
   Info: Unsanitized input from a CLI argument flows into os.WriteFile, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to write arbitrary files.
 ✗ [Medium] Path Traversal
   ID: 50bd95de-2932-4823-9a67-b266150f9b15
   Path: release-tools/boilerplate/boilerplate.py, line 59
   Info: Unsanitized input from a command line argument flows into open, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to read arbitrary files.
 ✗ [Medium] Path Traversal
   ID: 740c0431-90ee-452b-b869-cbf48ac2a285
   Path: release-tools/boilerplate/boilerplate.py, line 150
   Info: Unsanitized input from a command line argument flows into os.walk, where it is used as a path. This may result in a Path Traversal vulnerability and allow an attacker to read arbitrary files.

from https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/47618/rehearse-47618-pull-ci-openshift-csi-node-driver-registrar-master-security/1745954197615939584
/cc @openshift/storage

/lgtm


Fix React Redux Version

Consider fixing the redux version to 3.6 or updating to 3.7
On a fresh install 3.7 will be installed and that has breaking changes - your template will no longer compile
    ERROR in [at-loader] ./ClientApp/configureStore.ts:21:19
        TS2349: Cannot invoke an expression whose type lacks a call signature. T
ype '{}' has no compatible call signatures.

The redux version is fixed to 3.6.0 on current templates: https://github.com/aspnet/JavaScriptServices/blob/dev/templates/ReactReduxSpa/package.json#L34
Thanks for the advance warning about 3.7.0 though. When we update the pinned version to 3.7.0 we will of course have to fix the compilation error at the same time.

This appears to not be fixed. On starting a new project in .net core 2.0 (just released), redux is pinned to version 3.7.1. I am getting this same compilation error. Is there a fix in order?


Githika modals

https://github.com/openforis/collect-earth-online/issues/581

src/js/home.js
24-39, can we go back to using Promise.all?  The reason we use promise.all is so that the user only gets 1 error message if the process fails instead of up to 3.  .finally should work on Promise.all the same way.
        Promise.all([this.getImagery(), this.getInstitutions(), this.getProjects()])
            .catch(response => {
                console.log(response);
                alert("Error retrieving the collection data. See console for details.");
            })
            .finally(() => this.setState({modalMessage: null}));

112 remove blank line
src/js/review-institution.js
1076, I beleive we are only updating 1 user at a time "Updating user"
1146 This is unused

src/js/home.js
24-39, can we go back to using Promise.all?  The reason we use promise.all is so that the user only gets 1 error message if the process fails instead of up to 3.  .finally should work on Promise.all the same way.
        Promise.all([this.getImagery(), this.getInstitutions(), this.getProjects()])
            .catch(response => {
                console.log(response);
                alert("Error retrieving the collection data. See console for details.");
            })
            .finally(() => this.setState({modalMessage: null}));

112 remove blank line
src/js/review-institution.js
1076, I beleive we are only updating 1 user at a time "Updating user"
1146 This is unused


how I can build transactions.recipients?

why BigchainDbTransactionBuilder.class don`t have the interface about" addRecipients()",
your demo transaction just change the Metadata for by asset owner,
how to make asset from A to B?

like the python driver:
prepared_transfer_tx = bdb.transactions.prepare(
operation='TRANSFER',
asset=transfer_asset,
inputs=transfer_input,
recipients=bob.public_key,  # asset receiver
)

ok I see ,
buildAndSign((EdDSAPublicKey) keys.getPublic(), (EdDSAPrivateKey) keys.getPrivate())
the "build" or "key.public" means "recipients"
is it ?


Merge branch 'master' of https://github.com/TurboWarp/extensions

I don't think "Turkbowarp" is a thing

It looks like TinyPatch intends to be a mod of TurboWarp.
You shouldn't send your branding changes to us (but do consider sending us actual code if you're in the mood)


Error when initializing the QuilController with json [Web]

When trying to run the example given in flutter_quill page on [Web]
  var myJSON = jsonDecode(r'{"insert":"hello\n"}');
   _controller = QuillController(
                  document: Document.fromJson(myJSON),
                  selection: TextSelection.collapsed(offset: 0),
                                );

on Flutter Channel stable, 3.10.1 with flutter_quill: ^7.2.19, I have to change it to
  var myJSON = jsonDecode(r'{"insert":"hello\n"}');
  QuillController _controller = QuillController(
                  document: Document.fromJson(myJSON),
                  selection: TextSelection.collapsed(offset: 0),
                                );

and find
Error: Can't access 'this' in a field initializer to read 'myJSON'.
                                  document: Document.fromJson(myJSON),

I assume you have solved or moved on from this issue. (I am just trying to clear out old issues)
In case it is still a problem, the change you need is:

  var myJSON = jsonDecode(r'[{"insert":"hello\n"}]');

Note the [ ] brackets. Document.fromJson needs a list of json entries.
Can we close this issue?


Desktop: Introduce UI dependency

Part of using navigation on desktop requires NavDecoration, which has a dependency on compose.ui Modifier. This could also be achieved with another two mechanisms:

Removing Modifier as an argument for DecoratedContent
Providing expect/actuals for Modifier

However, since Modifier is such a fundamental part of Compose UI, I thought it may indeed make sense to introduce it as a core dependency. I would be happy for input.
The changes here also adjust runtime.saveable as an implementation dependency since it's not required as an API dependency, this was just a single line change, but I'd be happy to extract it to a new PR if desired.

Superseded by https://github.com/slackhq/circuit/pull/422, but interested in pursuing the navigablecircuitcontent work in a new PR once that's in!


Adding toxicity insult analyser even deploy using gradio

Pull Request for PyVerse 💡
Issue Title : Toxicity Insult Analyser  #257

Info about the related issue (Aim of the project) : The goal of this project is to develop a toxicity insult analyzer that can detect and classify toxic comments efficiently.
Name: Sree Praveen challa
GitHub ID: praveenarjun
Email ID<EMAIL_ADDRESS>Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a WoB 2024 participant it's, WoB Participant) GSSOC ,Hackbefest

Closes: #257
Describe the add-ons or changes you've made 📃
I have added a new feature that implements a toxicity insult analyzer using machine learning models. The feature includes a web interface built with Gradio for easy interaction and deployment.
Type of change ☑
What sort of change have you made:

[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
The feature has been tested with various types of comments to ensure the analyzer correctly identifies and classifies toxic insults. Unit tests have been added to validate the model's accuracy and performance.
Checklist: ☑
My code follows the guidelines of this project.
I have performed a self-review of my own code.
I have commented my code, particularly wherever it was hard to understand.
I have made corresponding changes to the documentation.
My changes generate no new warnings.
I have added things that prove my fix is effective or that my feature works.
Any dependent changes have been merged and published in downstream modules.

pls can u also review this project added data set #214
so you can re run it is working fine and merge it if possible


Mayor update

In an attempt to organise and simplify the code,
redudant data structures have been removed.
As a side effect, endpoints are updated to reflect
session creation and deletion.

Return updated entities
Update README
Clean Current user DTO
Create and delete sessions
Add roles to admin panel
Move update method to model
Parse string to option date as external function
Use endpoint /session to get current user

Update README and Cargo.toml


Vim9: parse error with nested multiline lambda

Describe the bug
To Reproduce
Detailed steps to reproduce the behavior:

vim --clean
Source the script:

vim9script

echo range(3)->mapnew((_, v) => range(v)->mapnew((_, s) => string(s)))

echo range(4)
  ->mapnew((_, v) => {
    return range(v)
      ->mapnew((_, s) => {
        return string(s)
      })
  })

The first nested lambda works, but not the latter one

[[], ['0'], ['0', '1']]
Error detected while compiling /home/lilydjwg/tmpfs/b.vim[10]..function <lambda>24:
第    2 行:
E1171: Missing } after inline function
处理 /home/lilydjwg/tmpfs/b.vim 时发生错误:
第   10 行:
E116: 函式 mapnew((_, v) => { 的引數不正確

Expected behavior
Multiline lambdas should be parsed successfully.
Environment (please complete the following information):

Vim version 8.2.3159
OS: Arch Linux
Terminal: GNOME Terminal

I even get Vim crashes with the following script:
vim9script

def s:func()
  range(10)
    ->mapnew((_, _) => ({
      key: range(10)->mapnew((_, _) => {
        return ' '
      }),
    }))
enddef

defc

(Source multiple times until it crashes.)
#0  0x00007f5857a9001b in kill () at /usr/lib/libc.so.6
#1  0x00005652a87f88d4 in may_core_dump () at os_unix.c:3456
#2  may_core_dump () at os_unix.c:3451
#3  mch_exit (r=1) at os_unix.c:3422
#4  0x00007f5857c32870 in <signal handler called> () at /usr/lib/libpthread.so.0
#5  skipwhite (q=q@entry=0x5652a9688896 <error: Cannot access memory at address 0x5652a9688896>) at charset.c:1469
#6  0x00005652a88d6230 in compile_subscript (ppconst=0x7ffe9a4106f0, end_leader=0x7ffe9a410378, start_leader=<optimized out>, cctx=0x7ffe9a411520, arg=0x7ffe9a410a98)
    at vim9compile.c:4186
#7  compile_expr7 (ppconst=0x5652a9688896, cctx=0x7ffe9a411520, arg=0x7ffe9a411520) at vim9compile.c:4703
#8  compile_expr7t (arg=arg@entry=0x7ffe9a410a98, cctx=cctx@entry=0x7ffe9a411520, ppconst=ppconst@entry=0x7ffe9a4106f0) at vim9compile.c:4760
#9  0x00005652a88d7903 in compile_expr6 (arg=arg@entry=0x7ffe9a410a98, cctx=cctx@entry=0x7ffe9a411520, ppconst=ppconst@entry=0x7ffe9a4106f0) at vim9compile.c:4796
#10 0x00005652a88d7bc8 in compile_expr5 (arg=arg@entry=0x7ffe9a410a98, cctx=cctx@entry=0x7ffe9a411520, ppconst=ppconst@entry=0x7ffe9a4106f0) at vim9compile.c:4875


CORS error after deploying react example

Hello
I've got CORS error on unchanged React example.
The OPTION request doesn't return the correct header.
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
You can see the error just here :
https://d2rt5cvqd8swx1.cloudfront.net/

work in prod stage


Removed debug. Output streams again

The code coverage feature with istanbul resulted in behavior where phantomjs output was no longer streamed to stdout. This makes it hard to know when your long-running tests hang. This PR removes the debug option as an option and makes it a feature. It removes the printing of console.log from index.js when results are posted.

I thought that we made that an option originally because phantom was too noisy?  If it's not too noisy we could make it visible by default though.  If @raynos agrees with you I'm happy for this to be merged as I don't really have time to check it out myself.

lgtm :)


DevDependencies are not removed when running electron-forge make

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
7.2.0
Electron version
28.1.3
Operating system
Windows 11
Last known working Electron Forge version

Expected behavior
According to electron-packager, devDependencies should not be included in the final app.
Actual behavior
They are included in the final app, and it has nothing to do with this issue. It happens even on the hello-world app.
Note: For simplicity, below I didn't set packagerConfig: {asar: true}. However, even if you generate an asar, when you inspect the content of that asar by using asar list app.asar, you see the exact same content like without using it.
Steps to reproduce
Create a main.js file with containing:
const { app, BrowserWindow } = require('electron/main')
const path = require('node:path')

function createWindow () {
    const win = new BrowserWindow({
        width: 800, height: 600, webPreferences: {
            preload: path.join(__dirname, 'preload.js')
        }
    })
    win.loadFile('index.html')
}

app.whenReady().then(() => { createWindow() })

Create a preload.js file with containing:
window.addEventListener('DOMContentLoaded', () => {
    const replaceText = (selector, text) => {
        const element = document.getElementById(selector)
        if (element) element.innerText = text
    }

    for (const type of ['chrome', 'node', 'electron']) {
        replaceText(`${type}-version`, process.versions[type])
    }
})

Create a index.html file containing:
<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>Hello World!</title>
    <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />

Hello World!

    We are using Node.js ,
    Chromium ,
    and Electron .

Create a package.json file containing:
{
  "name": "my-electron-app",
  "version": "1.0.0",
  "description": "Hello World!",
  "main": "main.js",
  "author": "Jane Doe",
  "license": "MIT",
  "scripts": {
    "start": "electron .",
    "build": "electron-forge make"
  },
  "devDependencies": {
    "@electron-forge/cli": "7.2.0",
    "@electron-forge/maker-appx": "^7.2.0",
    "electron": "28.1.3"
  }
}

Create a forge.config.js file containing:
module.exports = {
    rebuildConfig: {},
    makers: [
        {
            name: '@electron-forge/maker-appx',
            config: {
                publisher: 'CN=hey',
                packageDisplayName: 'hey',
                packageName: 'hey'
            }
        },
    ]
};

After running electron-forge make, in the output directory you can see node_modules, even if I didn't declare any dependencies, but only devDependencies:

Additional information
No response

These folders in node_modules are empty? I tried to reproduce this and that's the result I got.

@justgo97 Yes, seems that they are empty. Sorry, I didn't mentioned that

This is working as expected, I think the empty folders are a consequence of how the Galactus module that we use to do the pruning handles @scoped packages, but it does remove all module files despite leaving the empty folder behind.


Implement setData function

Current dependencies on/for this PR:

main

PR #7   👈

This stack of pull requests is managed by Graphite.


Studio Publishing MVP

Non-Stretch Estimate: 41 sp for dev, 5 sp for fixes
Requirements (protected)
Fusion

[ ] Instance configurable sidebar elements https://github.com/BlueBrain/nexus/issues/1693 1sp
[ ] Change collapse sidebar button location https://github.com/BlueBrain/nexus/issues/1692 1sp
[ ] Configurable instance logo, header color, and mention in the footer https://github.com/BlueBrain/nexus/issues/1691 3sp
[ ] middle ware (single client cache) caching to improve performance https://github.com/BlueBrain/nexus/issues/1699 3sp

Studios

[ ] Studio support for ES views https://github.com/BlueBrain/nexus/issues/1169 10 sp
[ ] Markdown support for Studio description https://github.com/BlueBrain/nexus/issues/1735 10 sp

Markdown Display/Viewer 2 sp
Markdown Editor 3 sp
Studio Edit Description
Resource Description Edit Plugin

[ ] User-configurable table (selecting from available columns in ES results) 5 sp

https://github.com/BlueBrain/nexus/issues/1127
https://github.com/BlueBrain/nexus/issues/1029

[ ] Use an ES query from Search results to populate Dashboard https://github.com/BlueBrain/nexus/issues/1737 5 sp

Search

[ ] Select a list of resources from the result listing 3 sp

Export all results (based on search and filters)
"Create Dashboard" > Select Project/Studio/Workspace > Populates Dashboard

Stretch Goals

[ ] Select a list of resources from the result listing

Export selected resources (ID-based)

[ ] never execute a query twice on the backend for public projects
[ ] image plugin https://github.com/BlueBrain/nexus/issues/1696
[ ] video plugin https://github.com/BlueBrain/nexus/issues/1697
[ ] improved metadata plugin (incl. annotations and provenance)
[ ] Studio layout and style re-design
[ ] mobile support https://github.com/BlueBrain/nexus/issues/1698

We did not discuss having proper URLs for these Studios.


fix: logSync ignores log_id when it generates logName field

Adding an ability to wrap all entries logged in LogSync.write with write requests.
This fix is controlled by LogSyncOptions.useWriteRequest parameter which be default is false
Fixes #<1207> 🦕

@losalex since customizing the log name is not supported when printing structured log to stdout, i propose to document the existing logging.logSync() method and explain that the logname will be pushed into the jsonPayload.
In addition to provide an overload for this method that does not accept parameters.
We can mark the current method as deprecated to avoid ambiguity.


operator pulp-operator (1.0.0-beta.2)

Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want to use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description of the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible


Feature request: automatic download last version

Hi,
There have been many versions recently and
I'd like to be able to automatic download last version and launching exe file (if a new version is available)
when I click on check update button

Thanks for you reply

Yes, this makes sense.

Hi,
Could you add proxy settings (host/port) ?
Thanks

Duplicates https://github.com/dbeaver/dbeaver/issues/6558. I close this ticket because #6558 has more detailed description.


Added exception handle that cause crashs the Apps with Capacitor when try to use .disableWebViewOptimizations

@katzer Hi! Please merge this PR.


Mount point is incorrect

I'm having following error from Docker Toolbox when running compose up:
$ docker-compose up
dockertoolbox_deepstack-ai_1 is up-to-date
Creating dockertoolbox_trigger_1 ... error

ERROR: for dockertoolbox_trigger_1 Cannot create container for service trigger:
invalid mount config for type "bind": invalid mount path: 'C:/Program Files/Doc
ker Toolbox/triggers.json' mount path must be absolute

ERROR: for trigger Cannot create container for service trigger: invalid mount c
onfig for type "bind": invalid mount path: 'C:/Program Files/Docker Toolbox/trig
gers.json' mount path must be absolute
ERROR: Encountered errors while bringing up the project.

---yaml---
version: "3.3"
services:
trigger:
volumes:
# Change d:/myfolder/myimages to point to the folder that will have the images
# to analyze. Only change the local path that is before the :/aiinput portion.
# Don't change the :/aiinput part.  For a list of valid timezone values
# see List of tz database time zones - Wikipedia.
# The value to use is in the "TZ database name" column.
- TZ=America/Los_Angeles

ports:
# This port is used by the local web server when annotated images are enabled.
# If you change the port used by the local web server in the settings.json file
# this also has to change to match.
- 4242:4242

# ------------------------------------------------------------------------
# Don't change anything below this line unless you know what you are doing
secrets:
- triggers
- settings
image: danecreekphotography/node-deepstackai-trigger:latest
restart: always
depends_on:
- deepstack-ai

deepstack-ai:
image: deepquestai/deepstack:latest
restart: always
volumes:
- localstorage:/datastore
environment:
- VISION-DETECTION=True

volumes:
localstorage:

secrets:
settings:
# This should point to the location of the settings.json configuration file
file: ./settings.json
triggers:
# This should point to the location of the triggers.json configuration file
file: ./triggers.json

Path to image folder is (where images are stored):
D:\BlueIris\AI Input

Have you tried with the sample files?

Yes

Have you tried the steps in the troubleshooting guide?
Yes
Log entries
See above
Installation details

OS: Win7
Docker setup See above

Additional context

My guess is Docker Toolbox doesn't support the secrets method of pointing to triggers.json and settings.json. Try using a volume mount instead:
version: "3.3"
services:
trigger:
volumes:
# Change d:/myfolder/myimages to point to the folder that will have the images
# to analyze. Only change the local path that is before the :/aiinput portion.
# Don't change the :/aiinput part.  For a list of valid timezone values
# see List of tz database time zones - Wikipedia.
# The value to use is in the "TZ database name" column.
- TZ=America/Los_Angeles

ports:
# This port is used by the local web server when annotated images are enabled.
# If you change the port used by the local web server in the settings.json file
# this also has to change to match.
- 4242:4242

# ------------------------------------------------------------------------
# Don't change anything below this line unless you know what you are doing
image: danecreekphotography/node-deepstackai-trigger:latest
restart: always
depends_on:
- deepstack-ai

deepstack-ai:
image: deepquestai/deepstack:latest
restart: always
volumes:
- localstorage:/datastore
environment:
- VISION-DETECTION=True

volumes:
localstorage:

It worked!)
But the next error appeared:
$ docker-compose up
dockertoolbox_deepstack-ai_1 is up-to-date
dockertoolbox_trigger_1 is up-to-date
Attaching to dockertoolbox_deepstack-ai_1, dockertoolbox_trigger_1
deepstack-ai_1  | /v1/vision/detection
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/vision/addmodel
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/vision/listmodels
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/vision/deletemodel
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/backup
deepstack-ai_1  | ---------------------------------------
deepstack-ai_1  | v1/restore
trigger_1       | 2020-07-14T09:04:44-07:00 [Main] *****************************

trigger_1       | 2020-07-14T09:04:44-07:00 [Main] Starting up version 5.1.1
trigger_1       | 2020-07-14T09:04:44-07:00 [Main] Timezone offset is 420
trigger_1       | 2020-07-14T09:04:44-07:00 [Main] Current time is Tue Jul 14 20
20 09:04:44 GMT-0700 (Pacific Daylight Time)
trigger_1       | 2020-07-14T09:04:44-07:00 [Settings] Unable to read the config
uration file: ENOENT: no such file or directory, open '/run/secrets/settings'.
trigger_1       | 2020-07-14T09:04:44-07:00 [Settings] Unable to read the config
uration file: ENOENT: no such file or directory, open '/config/settings.json'.
trigger_1       | 2020-07-14T09:04:44-07:00 [Main] Unable to find any settings f
ile.

Trigger.json:
{
"$schema": "https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/src/schemas/triggerConfiguration.schema.json",
"triggers": [
{
"name": "Car detector",
"watchPattern": "/AI input/PARKOVKA_SD*.jpg",
"enabled": true,
"threshold": {
"minimum": 10,
"maximum": 90
},
"handlers": {
"webRequest": {
"triggerUris": ["http://localhost:81/admin?trigger&camera=Cat"]
},
"mqtt": {
"topic": "aimotion/triggers/cat"
},
"telegram": {
"chatIds": [1]
}
},
"watchObjects": ["car"]
},
{
"name": "Dog detector",
"watchPattern": "/aiinput/Dog*.jpg",
"enabled": true,
"threshold": {
"minimum": 50,
"maximum": 100
},
"handlers": {
"webRequest": {
"triggerUris": ["http://localhost:81/admin?trigger&camera=Dog&memo={{formattedPredictions}}"]
},
"mqtt": {
"messages": [{ "topic": "aimotion/triggers/dog" }]
},
"pushover": {
"userKeys": ["1"]
},
"telegram": {
"chatIds": [1],
"annotateImage": true
}
},
"watchObjects": ["dog"]
}
]
}

I just guessed at this line based on your prior screenshots:
- c:/program files/docker toolbox:/config
Given the error:
ENOENT: no such file or directory, open '/config/settings.json'
the path I used for the volume mapping isn't correct. You should modify the volume mapping to point to the actual folder where your settings.json and triggers.json file is located.
I highly recommend you create a dedicated folder that is not inside Program Files for this. Make a folder somewhere in your My Documents folder or elsewhere on your c: drive to store these files, then set the point point to that location.

Well, but this path is right actually...hmm
c:/program files/docker toolbox
Okey, should I move everything from the old folder or only these 3 yml and json files?

Just the yaml file and two json files. It's possible that because the folder is program files there are administrator protections in place that prevent it from being mounted properly.

Unfortunately I'm out of ideas for what to suggest. I just tried this locally and what I gave you works and loads correctly using Docker Desktop. The fundamental issue you are facing is the config files are not getting mounted into Docker correctly. Until you can figure out why Docker Toolbox/Docker on your computer can't mount the config files nothing will work.

Well, you were right, running compose up from another place helped)
But again:
$ docker-compose up
deepquest_deepstack-ai_1 is up-to-date
Starting deepquest_trigger_1 ... error
ERROR: for deepquest_trigger_1  Cannot start service trigger: driver failed prog                                              ramming external connectivity on endpoint deepquest_trigger_1 (1d61f9554e06758d2                                              cff3e236ff0e239eb021af84f11d386ecda3da09581b362): Bind for <IP_ADDRESS>:4242 failed:                                               port is already allocated
ERROR: for trigger  Cannot start service trigger: driver failed programming exte                                              rnal connectivity on endpoint deepquest_trigger_1 (1d61f9554e06758d2cff3e236ff0e                                              239eb021af84f11d386ecda3da09581b362): Bind for <IP_ADDRESS>:4242 failed: port is alre                                              ady allocated
Encountered errors while bringing up the project.

That means you have an existing instance of the service running. I don't know how Docker Toolbox can show you running instances but you need to find them and stop them. If you were using Docker Desktop you could bring up the UI and kill off the existing running containers.

Decided to wait for some implementation of this AI into user-friendly commercial products) I lack IT knowledge to get things working now) Anyway, great thanks for support)


sord: 0.16.4 -> unstable-2021-01-12

Motivation for this change
Fix segfault.
Continuation of https://github.com/NixOS/nixpkgs/pull/110538
Getting source from master for now until release version is out.
Also apparently fetchFromGitLab doesn't fetch submodules?
And i'm not sure what should i put as a version if this is a commit from a master branch.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110612 run on x86_64-darwin 1

1 package built:

sord

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110612 run on x86_64-darwin 1

1 package built:

sord

I just checked the NEWS file https://github.com/drobilla/sord/blob/master/NEWS and I think we want to update to 0.16.9 to avoid crashes with gcc10.

I just checked the NEWS file https://github.com/drobilla/sord/blob/master/NEWS and I think we want to update to 0.16.9 to avoid crashes with gcc10.

@SuperSandro2000 Well there's no 0.16.9 release. Looking through logs i see "unstable" near the version there basically means that it is a pre release version, and some additional changes and testing are still to be made.

@SuperSandro2000 Well there's no 0.16.9 release. Looking through logs i see "unstable" near the version there basically means that it is a pre release version, and some additional changes and testing are still to be made.


Annotation service.kubernetes.io/topology-mode not documented / registered

This is a Bug Report

Problem: Some in-project code is using an annotation, service.kubernetes.io/topology-mode. We haven't documented this in https://kubernetes.io/docs/reference/labels-annotations-taints/ (which also means it's not registered).
Proposed Solution:
Document the annotation
Page to Update:
https://kubernetes.io/docs/reference/labels-annotations-taints/

Additional Information:
/sig network
/language en
/kind bug

Relevant to https://github.com/kubernetes/enhancements/issues/2433

/triage accepted

/assign

/close
as resolved by #43390


[bug] trunk serve causes cargo tauri to rebuild which causes trunk serve to rebuild

Describe the bug
If I run cargo tauri dev and trunk serve at the same time, they both watch the same folder for changes, and detect changes to temporary files from the other tool's build, so they both endlessly keep triggering rebuilds.
OTOH If I don't run trunk serve myself, then cargo tauri dev is stuck waiting forever:

Warn Waiting for your frontend dev server to start on http://localhost:1420/...
Warn Waiting for your frontend dev server to start on http://localhost:1420/...
Warn Waiting for your frontend dev server to start on http://localhost:1420/...

Also, when these projects rebuild, they rebuild almost from scratch. I think it's because both end up using the same target/ folder and overwrite each other's build artifacts due to differences in cargo feature flags they use.
Reproduction
npm create tauri-app
# choose cargo and yew
cd the-app
cargo tauri dev

and then run
trunk serve

in another terminal in the same dir.
Expected behavior
Ideally cargo tauri dev should start the server, so that a separate trunk command is not needed.
Platform and versions
Environment
› OS: Mac OS 12.5.1 X64
› Node.js: 18.8.0
› npm: 8.18.0
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-aarch64-apple-darwin
Packages
WARNING: no lock files found, defaulting to npm
› @tauri-apps/cli [NPM]: 1.0.5
› @tauri-apps/api [NPM]: Not installed!
› tauri [RUST]: 1.0.5,
› tauri-build [RUST]: 1.0.4,
› tao [RUST]: 0.12.2,
› wry [RUST]: 0.19.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:1420/
package.json not found
App directory structure
├─ dist
├─ target
├─ public
├─ src-tauri
├─ .vscode
└─ src
Stack trace
No response
Additional context
No response

If I run cargo tauri dev and trunk serve at the same time, they both watch the same folder for changes, and detect changes to temporary files from the other tool's build, so they both endlessly keep triggering rebuilds.

The yew template has .taurignore to stop tauri-cli from retriggering builds whenever yew files change but the CLI version that supports this, is not released yet (you can use the tauri-cli from git for now cargo install --git https://github.com/tauri-apps/tauri --branch dev tauri-cli).
Unfortunately I didn't configure trunk to do the same. I will push an update shortly for this but for the mean time in your Trunk.toml add this:
[watch]
ignore = ["./src-tauri"]

OTOH If I don't run trunk serve myself, then cargo tauri dev is stuck waiting forever:

you shouldn't need to run trunk yourself. cargo tauri dev should start it for you. This probably because beforeDevCommand in tauri.conf.json is not configured correctly so double check that. This was a bug on our end which was fixed in https://github.com/tauri-apps/create-tauri-app/releases/tag/create-tauri-app-v2.1.1

Also, when these projects rebuild, they rebuild almost from scratch. I think it's because both end up using the same target/ folder and overwrite each other's build artifacts due to differences in cargo feature flags they use.

I wasn't able to reproduce this, at least not with trunk configured correctly to ignore src-tauri and .taurignore configured to ignore yew files.


 The empty shapes don't stand out. Please change the coloring so that the the shortages stand out (perhaps a blue to red continuum?).

@qjhart So we had investigated this.  I believe the issue is that we use opacity to currently indicate percent of demand.  We decided this because applying opacity allowed us to see more markers at or around the same location (specially when a marker is next to a large demand). Giving markers opacity always has the draw back of the markers changing color based on the basemap.  The mix of both opacity and color gradient on a verying background (basemap) was confusing.  Due to these constraints, we removed the color gradient and left the demand blue unless unless 0, then black.
Ideas and suggestions are welcome.  Perhaps red if 0, otherwise blue with varying opacity?

What if we stick with using opacity but use red instead to indicate shortage, rather than blue to indicate met demand, and vary opacity to indicate how bad the shortage is? So red at zero percent of demand, less red at higher percentages of demand, and greyed out for 100% of demand.
Also, then the zero demand places could be the hollow shapes with no color inside, just the outline.

Actually, after some further discussion, allowing the user to toggle between the current view (blue, most emphasizes users who get 100% of demand to show met demand) and the view I described above (red, most emphasizes users who get 0% of demand to show shortage) would be ideal. Shortage should be the default view, but if they could switch to show met demand if that's what they were interested in, it would be really great. Is this possible?

That should be possible.  I will work on putting something together.

Wonderful; thanks!

I have pushed a first pass.  You can toggle between the two different rendering styles in the legend, under percent of demand.

This is looking good; thank you. Could we switch it so that render as shortage is default, please?

not a problem. updated.

@brmagnuson, good suggestions.  I think this is a nice addition.

I showed this to the others today; everyone is happy with the new coloring and toggle option.


CR11: Search Window: Search window shall have the ability to load previously saved query variables

Add a load icon
Tools: JQuery

Unable to complete. Not enough time.


Feature Request: Pause between slide transitions

It would be great if we could easily adjust the delay time between each slide transition. I can adjust the speed, but when I slow it down to the speed I would like, the transitions are stacked on top of each other.
A simple :delay prop in milliseconds would probably do it.

Hey @narrative1st, missed this issue notification! I'll flag this as a feature request, seems like it should be pretty simple :~)

I'd love to tackle this as my first issue!
Although can you please clarify if I understood the issue correctly?
After setting the speed to 5000ms I get the following result:

Where transitions are interrupted before they get to finish by any type of navigation on the carousel.
This delay feature would simply delay the execution of a transition by the value defined by the user?

Hey @christopherkade, thanks so much for tackling this one! The way I initially understood the request was to have a full pause between transitions. But now that I've seen your example (which I really thank you for including!) I think I was mistaken.
Maybe @narrative1st would want to weigh in, but to me, this seems like we want to delay the next transition from starting to respect a really slow speed, rather than stacking events like was previously mentioned.
I'd consider the acceptance criteria for this feature to be exactly what you mentioned: This delay feature would simply delay the execution of a transition by the value defined by the user?
Otherwise, since this feature hasn't really been explored or added to the product roadmap - feel free to add any functionality you think is cool!
Let me know if you have any questions or want a hand with anything :~)

Would that feature truly be useful? Why would a user prefer to delay the next transition by Xms instead of delaying it until any previous animations are completely done?
Wouldn't a delay boolean prop doing the latter be of better use?

Yeah I probably could have written that better - I'm suggesting we add a delay following all animations, i.e:
if user clicks on slide with delay set to 1000ms, animation begins but lasts 2000ms. The current functionality makes the delay useless, since it has already finished before the animation ends.
Ideally, we'd let the animation finish and then trigger the delay. Did you have something else in mind? Again, since it's not in the roadmap I'm pretty open to anything here. Since this area hasn't really been explored I feel like there is a ton we can do, so feel free to send your thoughts!

Thanks for looking into this. What I was looking for was to be able to set a length of time in-between each transition. I was looking for slower transitions from one group of slides to the next. With the current implementation, the slower speed looks great - but then it just starts the next animation with no ability to give the viewer time to see the new set of slides.
Let me know if this makes sense.

OMG, finally find the feature is discussed here. Yes, I am using it to show a series of alert messages in a carousel way, the problem from my client's eyes is the message showing there and stay still between animation end and animation start is too short. This is not related to transit speed, it is a simple issue for how long that one slide could stay still, I've been playing and changing the speed prop value, but it doesn't solve my issue, cos the speed prop is not designed for that purpose.

Okay, this is more clear.
Here's an example scenario of my understanding:
The carousel is on autoplay mode with a speed of 1000ms and a delay of 1000ms. It would animate the transition in 1000ms then wait 1000ms and then start the next transition.
This makes much more sense, I'll look into how I could implement it, but if you have any recommendations as to how I should operate in order to deliver something clean and in line with the current code base, please let me know.

It will be really helpful if this feature could be added, since it is also referred from #265 , could one of the developers try to tackle it down? Otherwise, cos the default time that a set of slides viewable to the viewer is just too short and make the library less selected for Carousel/Slides feature.

I think I solved it with:
`
<carousel
:autoplayTimeout=6000

`
At least it works for me.

The autoplayTimeout property @jorgeuos referenced worked for me too. Would be helpful to have this property documented.

@dave-carner it is documented. See https://ssense.github.io/vue-carousel/api/
However, the README in this project is quite misleading. You could help by supplying a PR which would remove the docs from the README and point to the website above.

@koresar Ah, my bad. I was looking at the props table on the REAMDE. Thanks for pointing the way!

Since the autoplayTimeout prop seems to work, would you like me to update the README in order to mention it?
It also seems like mulitple props are missing from this file, I could update it fully by adding every single prop mentioned here.


createGlobalStyle generate the same id and global style is missing.

Environment
System:

OS: macOS 10.15.3
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 56.37 MB / 32.00 GB
Shell: 5.7.1 - /bin/zsh

Binaries:

Node: 10.19.0 - /usr/local/bin/node
Yarn: 1.22.0 - ~/.yarn/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm

npmPackages:

babel-plugin-styled-components: ^1.10.6 => 1.10.6
styled-components: ^4.3.2 => 4.4.1

Reproduction
https://codesandbox.io/s/styled-components-base-9w9x5

const Style1 = createGlobalStyle`
${props => css`
  .test {
    color: #999;
  }
`}
`;

const Style2 = createGlobalStyle`
${props => css`
  .test {
    background: #000;
  }
`}
`;

const App = () => (


Where to get unsupported PlayMemories apps?

Sony used to sell plenty of apps, but they are no longer available for download. Where can one get them?

@nesteruk,
Archive.org has An archive of some Sony PlayMemories Camera Apps and there's some info about how to extract/backup your apps available in a reddit post.

Yep, I found that archive. Sadly it doesn't have what I was looking for,
and it mainly consists of apps that were freely available when the
PlayStore was operational.
On Tue, Jun 11, 2024 at 6:43 AM Dylan Kinnett @.***>
wrote:

@nesteruk https://github.com/nesteruk,
Archive.org has An archive of some Sony PlayMemories Camera Apps
https://archive.org/details/sony-playmemories-camera-apps and there's
some info about how to extract/backup your apps available in a reddit post
https://www.reddit.com/r/SonyAlpha/comments/16pkdvu/how_to_archive_sony_playmemories_camera_apps/
.
—
Reply to this email directly, view it on GitHub
https://github.com/ma1co/OpenMemories-Tweak/issues/487#issuecomment-2159722549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADSQNR2ATI54CWMYHPSF2LZGZW5HAVCNFSM6AAAAABEKWQRD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJZG4ZDENJUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dmitri Nesteruk


feat: migrate to null safety

The purpose of this pull request is to migrate the package to null safety.

Thank you. A new version will be published in a few days.


fix(vue-app): use browser to handle scrolling position on page reload

also for cases when returning to a nuxt site using a back button.

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

When leaving the page, the scrollRestoration is restored to 'auto', as this will instruct the browser to memorize the scroll position. vue-router will not restore the scroll position on page reload and when navigating back from a different page.

It solves the problem that the browser scrolls to the top when reloading a Nuxt page, as seen in Chrome for example with https://blog.lichter.io/.
Steps to reproduce: go to nuxt site, scroll down, press F5, browser will be at top of page and not at original scrolling position as expected.

Resolves #3471
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
(this fixes a browser scrolling issue on full page reload, I assume this can't be tested automatically)
[x] All new and existing tests are passing.

From Alex to Alex: Well done and thanks for the contribution 👏 Greetings to Frankfurt! ☺

This was really needed. Thanks

This fix is available on nuxt 2.5.5


Add crtsh source

This PR aims to fix https://github.com/subfinder/research/issues/17

Note: I chose to implement a byte scanner that looks for the } character as the end of a JSON object. This requires the use of a secondary json buffer.


Make it possible to edit controller components

This is ~half way done but not complete for all existing controller types.

This is complete, closing.