Back button from external page

I made a "hacker news"-like web application displaying hyperlinks of external resources.
Suppose I am viewing page 3 and then I click a hyperlink, and then I click the browser back button. What I expect is the router will re-evaluate "/pages/3", I saw the console logs "Location: /pages/3" and "[ArticleList] componentDidMount", but "componentWillReceiveProps" is not called, so it still kept fetching data of page 1.
In order to do what I expect, is server rendering the only option?
const history = useBasename(createHashHistory)({
	basename: '/hacker_news'
});

history.listen(location => {
	console.log(`Location: ${location.pathname}`);
});

ReactDOM.render(
	<Router history={ history }>
		<Route path='/' component={MainApp}>
			<IndexRoute component={ArticleList}/>
			<Route path='/pages/:page' component={ArticleList}/>
		</Route>
	</Router>,
	document.getElementById('root')
);

export default class ArticleList extends React.Component {
	constructor(props) {
		super(props);

		this._fetchArticles = this._fetchArticles.bind(this);

		this.state = {
			articles: []
		};
	}

	componentDidMount() {
		console.log(`[ArticleList] componentDidMount`);
		this._fetchArticles(1);
	}

	componentWillReceiveProps(nextProps) {
		const page = this._parsePageNumber(this.props);
		const nextPage = this._parsePageNumber(nextProps);

		console.log(`page: ${page}`);
		console.log(`next page: ${nextPage}`);

		if (page !== nextPage) {
			this._fetchArticles(nextPage);
		}
	}

	...
}

Hi - you should review how React lifecycle hooks are supposed to work. This is not React Router related - componentWillReceiveProps is not expected to fire in that situation. https://facebook.github.io/react/docs/component-specs.html

I just found that I can access the last value (just before going to external resource) in componentDidMount. So when I click the back button, I can fetch the data in componentDidMount with "this.props.params.page".
I think we can state this scenario in https://github.com/rackt/react-router/blob/master/docs/guides/advanced/ComponentLifecycle.md.

It's the exact same as when you're entering the page for the first time.


Implement return statement.

It should probably be left up to a linter to make sure control statements are where they're supposed to be. Honestly think we should do what the stdlib parser does and not have a distinction between statements and expressions, though don't know how we'll handle its edge cases n stuff. Not something to worry about for this PR.
Essentially, tree sitter would parse as much as possible and leave form errors to a different tool (no def/class/etc in def, control statements in right place, etc). Thoughts?

(I don't have any experience in writting a parser / grammar but) I think it's better to go with the approach of "parse as much as you can be sure of", rather than possibly overestimating
it is MUCH more annoying to see syntax highlighting be wrong, than inprecise

I think this parser could accept weird forms that are invalid to the compiler, at least now since anything is better than nothing.
Then when it starts to be usable as syntax highlighter we could improve it until it start to be useful as a syntax checker.

BTW what you meant by your comment was: reject returnat top level, right?
I think we could do this later, I can file a bug about it if this PR gets accepted as is.

Yes, return / next / break are only allowed in certain contexts (not top-level, only inside methods and blocks) and are implemented (essentially) the same from the parsers perspective

for sure this return rule must be improved, hehere, but one step at a time.
return return return

return return return
1
return return return
source_file [0, 0] - [1, 0]
  return [0, 0] - [0, 13]
    identifier [0, 7] - [0, 13]
  return [0, 14] - [0, 20]


Add application error ui page

Needs paging
Needs columns (description, # times occurred, first occurred, last occurred, actions)
Row actions (view details, resolve)
Global actions (resolve all, refresh)
Add ability to filter between resolved and unresolved


NOSTEM must be before SORTABLE in TextField

It is not possible to combine sortable:true and nostem:true in Schema.TextField constructor.
I switched position of NOSTEM and SORTABLE to follow redis ft.create schema documentation.

 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.julien boulet seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update build-artifacts.sh script path in docs

This commit (https://github.com/twitter/heron/commit/df0dd74691e0c7d6065e30cdaf08dca5dbb5579f#diff-643e35b727561d59e7aa6a70c3b9cb98) reorganized some of the docker build scripts but the documentation was not updated to reflect the move.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@kramasamy I updated the list by doing an ls on the output directory.


Desktop notifications not working (Windows 7)

I tried the prebuilt versions, both 32bit, 64bit on 4 machines and the desktop notifications does not work.
Did i miss some information? Do i need to setup anything for it to work?
Server is running v2.0 mattermost. Desktop notifications work for chrome browser.
Is there any info I can provide to help debug this?

Generally, you don't have to do anything in setup. Desktop notification should work as default.
The issue happens with Mattermost v2.0. I had not tested yet.
Maybe this issue is caused by src/browser/webview/mattermost.js.

I see. Previously I was running 1.4 mattermost but it had the "would not auto scroll" on new message bug. 2.0 mattermost has it solved. Too bad the desktop notification is now broken. Funny thing is it works on Chrome.
When you said it might be related to mattermost.js, do you know of any temp fix for it?

Please comment out this overriding part, then build the app.
As side effect, the window will not get focus when you click a notification in Win10 and OS X.

Sorry, I forgot importtant point. Desktop notification will not work in Windows 7 and 8. On Windows 7, Electron can't use Desktop notification, so I overrided to use ballon. However, in this case, the overriding doesn't work correctly.


Dark Mode on macOS

On macOS, if dark mode is enabled on the system, many widgets take on a different colour if their colour is set to default. Specifying all colours is not straight forward either, as not all colours can be specified. For instance, the caret (text cursor) colour changes to white in dark mode, making it invisible when the text box colour is set to white.
The best solution is likely to change colours depending on the system, using the wxSystemAppearance class.

It seems dark mode has been expanded to affect all widgets with WxWidgets 3.1. This means the whole app can now dynamically change colour. The appearance of the app is now just a design question.


fix: created_by_name var in kubernetes-views-namespaces

Pull Request
Required Fields
:mag_right: What kind of change is it?

fix

:dart: What has been changed and why do we need it?

Removed the container label selector from the created_by_name variable.

Optional Fields
:heavy_check_mark: Which issue(s) this PR fixes?

fixes https://github.com/dotdc/grafana-dashboards-kubernetes/issues/116

:tada: This issue has been resolved in version 2.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add arm64 atomics fix script

Add install command to Makefile, which consolidates following:
yarn install
poetry install
ape compile

and conditionally fixes atomics problem on arm64 chips.

@istankovic to follow up your concern raised on chat:

could you please take a look at https://github.com/python-poetry/poetry/issues/2138#issuecomment-858479917 ?

I think it sucks to use a fixed url with fixed version of the package.
In my solution, "the correct" version of package will be reinstalled, the one which poetry figured out after resolving dependencies puzzle. To achieve that, after poetry install is done, the code checks for atomics version installed, and reinstalls the same version from binary.

@istankovic Also stuff like this:
torch = [
   {markers = "sys_platform == 'linux'", url = "https://download.pytorch.org/whl/cpu/torch-1.8.1%2Bcpu-cp38-cp38-linux_x86_64.whl"},
   {markers = "sys_platform == 'darwin'", url = "https://download.pytorch.org/whl/cpu/torch-1.8.1-cp38-none-macosx_10_9_x86_64.whl"}
]

makes it possible to pin a version for a platform not for architecture. No need to patch for darwin users with Intel.

I think it sucks to use a fixed url with fixed version of the package.

Yeah, I completely agree. Poetry still doesn't have a nice answer for this....

Could you please squash the commits so that we end up with one commit changing only the Makefile, and another for the docs?


Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes.

Bicep or Terraform?
Terraform
Module Classification?
Resource Module
Module Name
avm-res-network-connection
Module Details
AVM Resource Module for Virtual Network Gateway Connection
Do you want to be the owner of this module?
No
Module Owner's GitHub Username (handle)
No response
(Optional) Secondary Module Owner's GitHub Username (handle)
No response

Please assign this module to jchancellor-ms.  @prjelesi

Hi @jchancellor-ms
Thanks for requesting/proposing to be an AVM module owner!
We just want to confirm you agree to the below pages that define what module ownership means:

Team Definitions & RACI
Shared Specification (Bicep & Terraform)
Module Support

Any questions or clarifications needed, let us know!
If you agree, please just reply to this issue with the exact sentence below (as this helps with our automation 👍):
"I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER"
Thanks,
The AVM Core Team
#RR

I confirm

@jchancellor-ms
Thanks for confirming that you wish to own this AVM module and understand the related requirements and responsibilities!
Before starting development, please ensure ALL the following requirements are met.
Please use the following values explicitly as provided in the module index page:

For your module:

ModuleName - for naming your module
TelemetryIdPrefix - for your module's telemetry

For your module's repository:

Repo name and folder path are defined in RepoURL
Create GitHub teams for module owners and contributors and grant them permissions as outlined here.
Grant permissions for the AVM core team and PG teams on your GitHub repo as described here.

Check if this module exists in the other IaC language. If so, collaborate with the other owner for consistency. 👍
You can now start the development of this module! ✅ Happy coding! 🎉
Please respond to this comment and request a review from the AVM core team once your module is ready to be published! Please include a link pointing to your PR, once available. 🙏
Any further questions or clarifications needed, let us know!
Thanks,
The AVM Core Team


Youtube video keeps playing in background after closing fullscreen "modal" view

Seems to be related to the following issue: https://code.google.com/p/gdata-issues/issues/detail?id=4697
Fixed locally by forcing https protocol for Youtube's "loadAPI"
g_ugFunctions.loadJs("https://www.youtube.com/player_api", false);
Of course now the problem is that if you're loading the gallery in a site via http, it cannot communicate with the https youtube embed - meaning that you cannot do a 'seek' to keep playing video from last position, it plays from the beginning again. Lesser of two evils imo.
Am willing to submit a pull request if necessary. But posting this here in case someone else experiences the same issue.

Oh, thanks. Ill look at it later
On Wednesday, June 8, 2016, Barry Roodt<EMAIL_ADDRESS>wrote:

Seems to be related to the following issue:
https://code.google.com/p/gdata-issues/issues/detail?id=4697
Fixed locally by forcing https protocol for Youtube's "loadAPI"
g_ugFunctions.loadJs("https://www.youtube.com/player_api", false);
Of course now the problem is that if you're loading the gallery in a site
via http, it cannot communicate with the https youtube embed - meaning that
you cannot do a 'seek' to keep playing video from last position, it plays
from the beginning again. Lesser of two evils imo.
Am willing to submit a pull request if necessary. But posting this here in
case someone else experiences the same issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vvvmax/unitegallery/issues/81, or mute the thread
https://github.com/notifications/unsubscribe/AC_K_vuWsfBmCs-UfcCebAPTCCRVbNi1ks5qJtDfgaJpZM4IxBDt
.

Thanks, made that change, will be released in the next version update.
On Sun, Jun 12, 2016 at 9:22 PM, maxim vendrov<EMAIL_ADDRESS>wrote:

Oh, thanks. Ill look at it later
On Wednesday, June 8, 2016, Barry Roodt<EMAIL_ADDRESS>wrote:

Seems to be related to the following issue:
https://code.google.com/p/gdata-issues/issues/detail?id=4697
Fixed locally by forcing https protocol for Youtube's "loadAPI"
g_ugFunctions.loadJs("https://www.youtube.com/player_api", false);
Of course now the problem is that if you're loading the gallery in a site
via http, it cannot communicate with the https youtube embed - meaning that
you cannot do a 'seek' to keep playing video from last position, it plays
from the beginning again. Lesser of two evils imo.
Am willing to submit a pull request if necessary. But posting this here
in case someone else experiences the same issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vvvmax/unitegallery/issues/81, or mute the thread
https://github.com/notifications/unsubscribe/AC_K_vuWsfBmCs-UfcCebAPTCCRVbNi1ks5qJtDfgaJpZM4IxBDt
.


Feature: Support Hotkey

This pull request adds hotkey functionality.
When you register hotkeys in Settings, you can access several features of the Chatbot UI via keyboard shortcuts.
Currently, the following hotkeys are supported

New Conversation
Focus Chat Input
Delete Conversation
Toggle Chat Bar
Toggle Prompt Bar

Closes the following Issues
closes #348

Great work ❤

Would be great to get this integrated!

too bad the repo is abandoned


jellyfin-mpv-shim: 1.7.1 -> 1.9.0, enable desktop mode

Motivation for this change
Update to latest upstream release. Also enabled the desktop version of the MPV shim.
Supersedes #108989.
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"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)

/nix/store/isfmqkbdw0fgwfac6sjbfx80cpd5gc1q-jellyfin-mpv-shim-1.7.1	  477168640
/nix/store/ha5gj38pyhqzhm83yh69p5rsg9q0427y-jellyfin-mpv-shim-1.9.0	  963830032

[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@SuperSandro2000 now using substituteInPlace, copyDesktopItems and qt5.wrapQtAppsHook

There was a new release today (https://github.com/jellyfin/jellyfin-desktop/releases/tag/v1.9.0) and the MPV Shim is now a official Jellyfin project.

Updated to latest release https://github.com/jellyfin/jellyfin-desktop/releases/tag/v1.10.0

And another release https://github.com/jellyfin/jellyfin-desktop/releases/tag/v1.10.1


Fixed disabled User-Interaction Bug 🐞

When selecting to upload media from either Camera, Photo-Library or Document-Picker and the user presses cancel to get back to the SourceTableViewController the userInteraction is still disabled as the completionHandler is not being called to re-enable the userInteraction. The completionHandler will only be called when uploading a media item which enables the userInteraction again.
By updating the completionHandler closure signature from ([NetworkJSONResponse]) -> Void) to ([NetworkJSONResponse]?) -> Void) and invoke them with completionHandler(nil) when the filePickedCompletionHandler will return false to re-enable the userInteraction.

Hey @pappApproved,
you are completely right I didn't see that the uploadFromDocumentPicker and uploadFromImagePicker functions are declared as public which would force the users to update their code.
To avoid this I think the only way to do so is to add a cancelHandler to the function signature which is optional with nil as default value.
func uploadFromImagePicker( ...
    completionHandler: @escaping ([NetworkJSONResponse]) -> Void,
    cancelHandler: (() -> Void)? = nil) -> CancellableRequest
```swift

Developers which are using those functions do not have to update their code and the `SourceTableViewController` could make use of the `cancelHandler` to re-enable the user interactions.

But I thinks this isn't a good way of defining an API. IMHO the preferred way of handling this kind of problem would be to use a Result Enum Pattern.

```swift
enum Result<Value> {
    case success(Value)
    case failure(Error)
}

completionHandler: @escaping (Result<[NetworkJSONResponse]>) -> Void) -> CancellableRequest
```swift

This again would change the function signature and will force the users to update their code and handle the Result Enum (if success or failure)

By the way would it be even better to map the NetworkJSONResponse in some form of a Codable FilestackResponse struct so developers don't need to map the Response theirself?
completionHandler: @escaping (Result<[FilestackResponse]>) -> Void) -> CancellableRequest

Or is this not possible because the JSON Response is slightly different based on the API Endpoint?
As of now I couldn't find a complete/detailed Filestack Entity/Model Description only some sample responses https://www.filestack.com/docs/api/file/


Rebot should not ignore SKIP status when merging results

In RF version 4.1 a feature was introduced where rebot will ignore the SKIP status when merging results: #3818
In my opinion this is not how it should work. This reduces the value that the SKIP status brings and makes it seem like a lesser status than PASS/FAIL. Whenever a test is skipped, it is a premeditated action, which means that you should want the status to show as skipped in the test results. It should mean that the test was started, but was (intentionally) not performed.
I think there should be a command line option to not ignore skipped tests.
My scenario is that I have web application with hundreds of links to different tools which can be configured on/off for each environment. Each link has a test case and when I run these tests I want the non-configured links to SKIP instead of FAIL. My robot doesn't have access to these configurations except through the UI, which means I can't exclude them from the test run altogether.
If a test fails on its first run, I rerun the failed tests and merge the results. Usually about 90% of test failures on the first run are timeouts which are caused by slowness of the system after deployment, which means they are false failures. If one of the skipped tests fails on it's first run the test is incorrectly shown as failed in the merged test report.

I have experienced the same issue. If skipped tests fails on it's first run the test is shown as failed in the test report.

I just encountered this behavior and it's very bewildering. I'm testing different environments with complex Suite Setups which occasionally fail and is automatically reran and the results merged. If the setup failed in the previous run all tests are failed so the tests I set as skip end up as fails in the final log. This seems like a bug.


Doesn't load skin from nick

When using a nickname it won't always load the skin from the new nickname and just uses steve.

Replacing the avatar_api from avatar_api = "https://mc-heads.net/head/${player_name}/right" to avatar_api = "https://mc-heads.net/head/${player_uuid}/right"should fix the issue


0.7.3 Issues

Quick look round, looks ok, are preferences in settings, supposed to work? The app crashes when i select it.

We have a fix coming for the crash, were you able to get v0.7.3 from the store?

And whatever you do, don't try to press TAB in the app because a fix is on the way for the Tab Focus bug also.

@yaichenbaum no i cloned it from the source file

Thanks for letting me know, there was an issue with the pipeline that caused it to not upload the release so v0.7.3 isn't actually in the store yet.

Thanks for letting me know, there was an issue with the pipeline that caused it to not upload the release so v0.7.3 isn't actually in the store yet.

i cloned 0.7.4 and preferences works ok now.

@Crocodile73 Great! Make sure to open issues if you have any other issues or feedback.


Question about COCO14 segmentation performence

Excuse me, I still find the performence of coco is only 33.64, could you help me with some details? I run the config file pspnet_scalenet101_40kx32_coco.py with val_mini.txt split using 4 gpus. The detailed report is as below:
20220203_085809.log

My setting about batch size is 2img32gpus. You need to extend the iteration and reduce lr in linear policy, if your batch size is small (24).

Thank you for your help, I will try it again, and could you find that few classes in the report have 0 mIoU, 1, 80, 89, etc. Its wierd. Do you get the same result?

You may firstly change the batch size and get similar results. Few or no classes are 0 mIoU.

Thank you for your help, I will try it again, and could you find that few classes in the report have 0 mIoU, 1, 80, 89, etc. Its wierd. Do you get the same result?

Same question. Do you figure it out?

Yes, I meet it too. But I didn't analyze the reason. You can check the existence/number/quality of these labels in pseudo-mask.

Yes, I meet it too. But I didn't analyze the reason. You can check the existence/number/quality of these labels in pseudo-mask.

I have download the pseudo-mask you provided. And I visualize it. However, it don't high light the "person" class. Therefore, I just evaluate the performance of the "coco_scalenet.pth" on coco2017(download from baiduyun). And the log file is as follow.(ps: I know you do this work on coco2014, but I just evaluate it on coco2017, sorry).
test_out_release.log

Yes, I meet it too. But I didn't analyze the reason. You can check the existence/number/quality of these labels in pseudo-mask.

I would appreciate it if you can check your own log file and share it with me.


Whitelist metrics for MCG addon

Whitelist metrics for MCG addon in order to federate them to telemeter.
Signed-off-by: Pranshu Srivastava<EMAIL_ADDRESS>

Refer: https://github.com/openshift/cluster-monitoring-operator/pull/1721


cannot access the WSO2 DAS Console

##When i access DAS Console,.i input this address https://<IoTS_HOST>:9445/portal, <IoTS_HOST> is   my  host ip.Then  some thins happened which redireact to https://localhost:9443/samlsso.  I do not knwon what is wrong with my iot.
Iot version is 3.0.0

Since IOT 3.0.0 is configured to have SSO by default, for the quick start-up, we have configured the SSO parameters to work with 'localhost', To make it work with the ip address, we need to make the configurations mentioned in [1]. In this we have missed to include the details on configuring "/portal". I have created an issue to track this[2]. To make this portal to work with ip, please configure the following attributes in
{IOT_HOME}/analytics/repository/deployment/server/jaggeryapps/portal/configs/designer.json
 "identityProviderURL": "https://<IoTS_HOST>:9443/samlsso",
 "acs": "https://<IoTS_HOST>:9445/portal/acs",

under authentication/methods/sso/attributes (Here IoTs_HOST is your ip address). This should solve the above issue. In addition to that when configuring the ip address, in order to access the portal without issues, we need to add the certificate for that ip address, please refer [3] for configuring certificate for that ip address. Please note that in [3], it mentions about a configuration file named "portal.json", in IOT 3.0.0, it is the same 'designer.json' which is mentioned above.
[1] https://docs.wso2.com/display/IoTS300/Configuring+WSO2+IoT+Server+with+the+IP
[2] https://github.com/wso2/product-iots/issues/438
[3] https://docs.wso2.com/display/DS200/Troubleshooting+Guide
Thanks.

#438

It is a bug in old version


Update adding-a-view.md

Spelling mistake

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

@loneil  thanks


Warp not able to find its own function

I have a @wp.func that is part of a larger call history.  However, the part that it is failing at is:
@wp.func
def calc__force(rr_i: wp.vec3,
                     ri: float,
                     vv_i: wp.vec3,
                     pn_rr: wp.array(dtype=wp.vec3),
                     pn_vv: wp.array(dtype=wp.vec3),
                     pn_r: wp.array(dtype=float),
                     ):
    force = wp.zeros_like(rr_i)

Resulting in:
(The top part of the error, with warp being properly initialized)
Warp initialized:
   Version: 0.3.1
   CUDA device: NVIDIA RTX A4500
   Kernel cache: C:\Users\local user\AppData\Local\NVIDIA Corporation\warp\Cache\0.3.1
Error: Could not find function wp.zeros_like as a built-in or user-defined function. Note that user functions must be annotated with a @wp.func decorator to be called from a kernel. while transforming node <class '_ast.Call'> in func: calc_agent_force at line: 11 col: 12:
        force = wp.zeros_like(rr_i)

and then the same function is being mentioned at the bottom of the error
....\lib\site-packages\warp\codegen.py", line 1054, in eval
    raise RuntimeError(f"Could not find function {'.'.join(path)} as a built-in or user-defined function. Note that user functions must be annotated with a @wp.func decorator to be called from a kernel.")
RuntimeError: Could not find function wp.zeros_like as a built-in or user-defined function. Note that user functions must be annotated with a @wp.func decorator to be called from a kernel.

Based on the docs, this should be working.  However, I assume there is something else wrong, somewhere, and this error is being incorrectly displayed.

Hi Mat, yeah, wp.zeros_like() is not supposed to be called from kernels as it's only used for array construction and we can't allocate arrays inside kernels.
The message is just saying it can't find that function, or at least it's not a wp.func annotated function, which is accurate. There is nothing really special about zeros_like since it's just a Python function, I'd rather not put special cases in the error reporting to distinguish it - but let me know if you have a suggestion for how this can be improved.
You can just use regular wp.vec3 type construction to create zero-initialized built-in types.


post article failed

"handleAPIPostCreate.AddArticle: multiple write errors: [{write errors: [{E11000 duplicate key error collection: eiblog.article index: slug_1 dup key: { : \"linux-crontab\" }}]}, {<nil>}]"

Are you repetition same slug article?

maybe not.
just write in admin console.
looks like some thing wrong with auto save and post new.

l'll check it in detail later.

Hi, razeen, has the problem been confirmed?

It happened again， but i haven't check it。
I'll debug it tonight。
oh， i run out my poor English！

Some background page logic needs to be optimized, such as draft box articles should jump to the article list after publication, delete draft adjustment draft list, and so on. I'll take a look at it later.

just fixed.
Accidentally pushed to the main line ==.
@deepzz0


what can i do possibly  to fix this or is it possible to directly clone un run it on virtual environment

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:

spleeter -> python[version='>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

This means your conda's python version is too new, and it wants you to downgrade to python 3.7. running conda install python=3.7.7 should work!

I tried this and there are still many conflicts.  Just tried to install via pip and that errors out at trying to uninstall llvmlite since this is used by diskutil.  Is there a way to build this.  I even cloned the dir and tried to follow the directions but this is no requirements.txt file.  Is there a docker image somewhere I can just download to try?  I am using MacOS 10.15.6

yes, there is a docker image linked in the repo
On Tue, Aug 18, 2020 at 2:44 PM darrenwinslow<EMAIL_ADDRESS>wrote:

I tried this and there are still many conflicts. Just tried to install via
pip and that errors out at trying to uninstall llvmlite since this is used
by diskutil. Is there a way to build this. I even cloned the dir and tried
to follow the directions but this is no requirements.txt file. Is there a
docker image somewhere I can just download to try? I am using MacOS 10.15.6
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/deezer/spleeter/issues/471#issuecomment-675649358,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4KARYOLVAECKKGZAI5IADSBLDYVANCNFSM4P7254BA
.

--
Andre Popovitch
989 627 4376


Relate trophy titles and user titles

I'm trying to gather some basic player statistics from gamelist/v2/users/$accountId/titles and trophy/v1/users/$accountId/trophyTitles. Unfortunately, conceptId appears only in the first request, and the best field to find a game by its name from the second one trophyTitleName, which slightly differs from the original game title in lots of cases.
Is there any known api to establish this relationship?

Answering my own question, just in case might be useful for someone. I found this.-
https://m.np.playstation.com/api/trophy/v1/users/{userId}|me/titles/trophyTitles?npTitleIds={ids}

Which returns objects that include npTitleId and npCommunicationId. This npCommunicationId can later be used in trophyGroups methods.

Answering my own question, just in case might be useful for someone. I found this.-
https://m.np.playstation.com/api/trophy/v1/users/{userId}|me/titles/trophyTitles?npTitleIds={ids}

Which returns objects that include npTitleId and npCommunicationId. This npCommunicationId can later be used in trophyGroups methods.

what is the input for the end part - {ids} as  would love to hit this endpoint

Hey, if you're looking for something like this, hit me up. games.directory does a lot of mapping between titles and games.
Let me know your use-case and I can provide an API endpoint.

@pradella sorry about that. If you want to, please let me know what didn't work so I can fix it :D
As for the npCommunicationId to titleId, it really depends on the use case and what data you've got available. This is a ruby script that I use:
require 'json'

class String
  def levenshtein_distance(other)
    m, n = self.length, other.length
    return m if n == 0
    return n if m == 0
    d = Array.new(m+1) {Array.new(n+1)}

    (0..m).each {|i| d[i][0] = i}
    (0..n).each {|j| d[0][j] = j}
    (1..n).each do |j|
      (1..m).each do |i|
        d[i][j] = if self[i-1] == other[j-1]
                    d[i-1][j-1]
                  else
                    [d[i-1][j]+1, d[i][j-1]+1, d[i-1][j-1]+1].min
                  end
      end
    end
    d[m][n]
  end
end

def parse_list(content)
  content.split("\n").map do |line|
    id, name = line.split(': ', 2)
    [id.strip, name.strip]
  end
end

def normalize_name(name)
  name.downcase.gsub(/[^a-z0-9]+/, '')
end

def calculate_accuracy(distance, max_length)
  1 - (distance.to_f / max_length)
end

def find_best_match(entry, list)
  normalized_entry = normalize_name(entry[1])
  best_match = list.max_by do |item|
    normalized_item = normalize_name(item[1])
    accuracy = calculate_accuracy(
      normalized_entry.levenshtein_distance(normalized_item),
      [normalized_entry.length, normalized_item.length].max
    )
    accuracy
  end

  accuracy = calculate_accuracy(
    normalized_entry.levenshtein_distance(normalize_name(best_match[1])),
    [normalized_entry.length, normalize_name(best_match[1]).length].max
  )

  [best_match, accuracy]
end

def check(entry, list)
  best_match, accuracy = find_best_match(entry, list)

  {
    entry: entry[0],
    match: best_match[0],
    accuracy: accuracy,
    labels: [entry[1], best_match[1]]
  }
end

def cross_reference(list1, list2)
  result = {}

  list1.each do |entry|
    match = check(entry, list2)

    # You may want to adjust this threshold
    if match[:accuracy] >= 0.7
      key = normalize_name(entry[1])
      result[key] ||= []
      result[key] << match
    end
  end

  result.map { |k, v| { k => v } }
end

# Function to read file content
def read_file(filename)
  File.read(filename)
rescue Errno::ENOENT
  puts "File #{filename} not found."
  exit
end

# Main execution
if ARGV.length == 2
  # Cross-reference two lists
  games_content = read_file(ARGV[0])
  titles_content = read_file(ARGV[1])

  games = parse_list(games_content)
  titles = parse_list(titles_content)

  result = cross_reference(games, titles)
elsif ARGV.length == 3 && ARGV[0] == 'check'
  # Check a single entry against a list
  entry_content = read_file(ARGV[1])
  list_content = read_file(ARGV[2])

  entry = parse_list(entry_content).first
  list = parse_list(list_content)

  result = check(entry, list)
else
  puts "Usage: ruby script.rb [games_file] [titles_file]"
  puts "   or: ruby script.rb check [entry_file] [list_file]"
  exit
end

# Output the result as JSON
puts JSON.pretty_generate(result)

And then these are the files I would give it.
games =>
PPSA01923_00: Fortnite
CUSA01433_00: Rocket League®
CUSA15495_00: Surviving the Aftermath
PPSA01463_00: Borderlands 3
CUSA08025_00: Borderlands 3

titles =>
NPWR21035_00: Borderlands® 3
NPWR28289_00: XDefiant
NPWR28312_00: Crime Boss: Rockay City
NPWR29727_00: The Outer Worlds: Spacer's Choice Edition

The gist of it is that it tried to match them by name. If no match is found, it will use the levenshtein algorithm to find the closes match, otherwise it will return nothing.
playDuration is not available for PS3 games. This data was exposed when PS5 was released and AFAIK, there was no tracking of this kind for PS3 titles.
media, what sort of media are you looking for?
https://splash.games.directory/ has probably more than what you need. It doesn't currently allow you to retrieve via some sort of API, but it's something I can add quickly.
If you want to do it yourself though, you will need to query the concept API. I don't think this repo has any documentation (not really looked into it tbh).
These are the endpoints I personally use in my projects. They use the same authentication method as the app.
https://m.np.playstation.net/api/catalog/v2/concepts/fetch?country=GB&language=en&age=999&limit=1000&offset=1
https://m.np.playstation.net/api/catalog/v2/concepts/10000470
https://m.np.playstation.net/api/catalog/v2/titles/CUSA18182_00/?country=GB&language=en&age=999

Wow, thanks for sharing those additional endpoints @pacMakaveli !
You're right; PS3 playDuration does not exist (I completely forgot it).
Indeed I could find npCommunicationId from titleId; but not the opposite (titleId from npCommunicationId).
For example: trophy/v1/users/${accountId}/trophyTitles brings all games (including PS3, but only npCommunicationId, no titleId. And to fetch media Im using this one gamelist/v2/users/${accountId}/titles/${titleId}
I'm guessing you have previously mapped all those npCommunicationId with titleId based on the history scan your app made?

@pradella correct. My database spans 9 years of constantly syncing the API and more importantly, users. One easy way to map these is to scan someone that you know has completed/owns lots of games. Hakoom, Ikemenzi etc.. (https://psnprofiles.com/dav1d_123) you can get their account ids from the search endpoint.
Again, if there's a way I can provide this data to you via games.directory's API, please let me know. I'd be more than happy as one of my goals with this is to provide little snippets of APIs for these kind of use cases. (obviously free, just in case it's not clear)

@pacMakaveli Hi! Sorry to quickly hijack this thread, I would love to get in contact with you about possibly using your api for a pet project of mine and my gamer groups. I think I tried a while ago to send a message on the webpage but it never went through. What's the best wway to get in touch?

vlad [at] games [dot] directory

@pradella correct. My database spans 9 years of constantly syncing the API and more importantly, users. One easy way to map these is to scan someone that you know has completed/owns lots of games. Hakoom, Ikemenzi etc.. (https://psnprofiles.com/dav1d_123) you can get their account ids from the search endpoint.
Again, if there's a way I can provide this data to you via games.directory's API, please let me know. I'd be more than happy as one of my goals with this is to provide little snippets of APIs for these kind of use cases. (obviously free, just in case it's not clear)

Such an inspiration you are, thanks bro @pacMakaveli

Also, feel free to join https://discord.gg/k4QRsfmA . It'll be easier to communicate and plan ahead.


Update US19JanTaxR1.md

added

Docs Build status updates of commit 9f13f00:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/US19JanTaxR1.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


modify the  parameters of face_encodings function

make the  parameters more reasonable

This change wouldn't actually do anything as far as I know. The results should be identical with either model. Let me know if you actually see a difference in face encodings based on the model.


Responsive landing cliv3

Changes were in the main.css. Added a media query.

Hey @cmade  You need to make the PR from Development branch, not the main branch, otherwise you are missing on the latest changes, especially for the files we decided to ignore.


added visual studio 2017 rc icon

this icon is required for the new vcredist2017 package

@matbech can I make a suggestion about this PR...
As per the packaging guidelines on this repo:
https://github.com/chocolatey/chocolatey-coreteampackages/wiki/Contributing-guidelines#115-provide-icon
Can I ask that you change the name of the icon to match the name of the package itself, i.e. vcredist2017

@gep13 done. Thanks.


Generated form with datetime doesn't produce valid field

Checklist

[x ] Upgrade Jets: Are you using the latest version of Jets? This allows Jets to fix issues fast. There's a jets upgrade command that makes this a simple task. There's also an Upgrading Guide: http://rubyonjets.com/docs/upgrading/
[x ] Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.rubyonjets.com
[x ] Code sample: Have you put together a code sample to reproduce the issue and make it available?  Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.

My Environment

Software
Version

Operating System
MacOS

Jets
1.9.18

Ruby
2.6.3

Expected Behaviour
Generating a resource with a datetime should generate a form with the appropriate datetime field.
Current Behavior
Jets generates a form with datetime_select_tag resulting in a action view undefined method error.
ActionView::Template::Error: undefined method `datetime_select_tag' for #<#<Class:0x00007ff4faac6038>:0x00007ff4fd951c40>
Did you mean?  datetime_select
               datetime_field_tag

Step-by-step reproduction instructions
Generate a resource with a datetime:
jets g resource MyResource my_time:datetime
Visit localhost:8888/my_resources/new
Solution Suggestion
Update the generator to produce datetime_field_tag. I initially tried to use datetime_select but this didn't save to the DB.

Done #318 Released in v2.0.0 🎉


RSMQ-Worker does not work with latest rsmq

Seems to work if you set your dependency to the same version as the package ("rsmq": "0.7.x"), but if you instantiate the latest version and pass it in it doesn't work

I made a fork and update rsmq deps ... check https://www.npmjs.com/package/rsmq-worker-ls. Currently testing in my project.
Let me know in case of issues.

I made a fork and update rsmq deps ... check https://www.npmjs.com/package/rsmq-worker-ls. Currently testing in my project.
Let me know in case of issues.


[Action]: Org Metadata from Organizations of User Grants

Actions currently allow to access the user's resourceowner org metadata. However it's not possible to get the metadata of other organizations, such as from organizations of user grants / authorizations.
Acceptance criteria

[ ] An admin can read the org metadata of every org the user is granted to in actions executed in the Complement Token and Complement SAML Response flows

@peintnermax @stebenz can you please have a look at it if the information is enough and add an estimation until Thursday.


id_x_hand_mais  used as sensor name in both left and right MAIS

It seems that id_x_hand_mais is used as a ID (and hence a sensor name returned by [getEncoderArrayName](https://www.yarp.it/latest/classyarp_1_1dev_1_1IEncoderArrays.html#af223aea775badaf4053f19d711061ab6 method) for both left and right mais. This is problematic as it creates problems if one inserted both left and right mais in the same MultipleAnalogSensorRemapper.
See for example:

https://github.com/robotology/robots-configuration/blob/3e8fba8477fcf6ea9bba07add2956ada126d2684/iCubPrague01/hardware/MAIS/right_arm-eb29-j12_15-mais.xml#L33
https://github.com/robotology/robots-configuration/blob/3e8fba8477fcf6ea9bba07add2956ada126d2684/iCubPrague01/hardware/MAIS/left_arm-eb26-j12_15-mais.xml#L33

To fix the issue, taking as an example FT sensors (see https://github.com/robotology/robots-configuration/blob/3e8fba8477fcf6ea9bba07add2956ada126d2684/iCubGenova10/hardware/FT/left_arm-eb1-j0_3-strain.xml#L33) we could change the mais ID to l_hand_mais and r_hand_mais.

Good point.
I'll deal with that.


Send zookeeper logs to standard out

Redirecting zookeeper output to stdout to make it easier to monitor with standard docker tools.

@mannytoledo Could this be optional and have the linking be done as a conditional if an environment variable is passed into the container?

@brandongalbraith Is there a use case where a user wouldn't want zookeeper logs accessible from the running container?
I originally though of making it optional but figured the app this container wraps should be accessible via docker logs.

@mannytoledo Not sure about a use case where you wouldn't want logs; I'm thinking about people already using this in production who are expecting a certain behavior (logs not send to stdout).

@brandongalbraith Fair enough, expect an update on this soon.

Thanks @mannytoledo!

I went ahead and made that optional @brandongalbraith @mbabineau
Let me know what you guys think.

@mannytoledo :+1:

Thanks @mannytoledo for this PR.
Someone has an idea how to set logrotate to zk logs?
Im using this repo and my zookeeper.out log is now a huge file and I dont know how to set logrotate for that.

@panda87
See http://www.jamescoyle.net/cheat-sheets/676-logrotate-cheat-sheet on how to logrotate zookeeper.out. A suggestion would be:
/opt/zookeeper/zookeeper.out {
  daily
  rotate 7
  compress
  copytruncate
  missingok
}

placed in a file such as /etc/logrotate.d/zookeeper. This would rotate logs daily, compress rotated logs, and keep seven days of log history. It also prevents errors if the log doesn't exist.

Thanks @brandongalbraith. I will add that to my docker container

@panda87 You'd set that up on your host running the docker container, not
within the docker container.
On Monday, May 2, 2016, panda87<EMAIL_ADDRESS>wrote:

Thanks @brandongalbraith https://github.com/brandongalbraith. I will
add that to my docker container
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/mbabineau/docker-zk-exhibitor/pull/14#issuecomment-216166276

This is the best practice? because the json file log is located in the /var/lib/docker dir


build dist app.js

package.json & webpack.config.js need to build app.js
json-to-go.test.js need to be sure that jsonToGo work fine
i did minimal changes to optimize, that matter

app.js is something new. Let's just keep things the same, but remove the parts of highlight.js that we don't need.

app.js is something new, yes, app.js is build of other needest file
you can build app.js yourself with
rm -rf ./dist
npm install -D
npm run build

Sorry, but this works fine without npm as-is. I'll close this unless we can find a way to slim it down without, ironically, adding heavy dependencies.

I only transform already added html-direct dependencies to npm-direct dependencies, without any new dependencies, as for me webpack-npm is right way
I will try solve other issues in this project, and maybe you'll change your mind

I just like to keep things simple. This project doesn't need all the fancy tooling. It's just a few JS files (some minified) that a static HTML page uses.


StaticLLMPipeline: Optimize V-tensors layout

@TolyaTalamanov put some tickets here idk

@TolyaTalamanov maybe you can retarget branch to master? and add label port to LTS

@TolyaTalamanov maybe you can retarget branch to master? and add label port to LTS

Hello! It is done here: https://github.com/openvinotoolkit/openvino.genai/pull/1232


Initial CTS for external semaphore and memory extensions

Initial CTS for external semaphore and memory extensions

Thanks Kevin for the comments. More comments inline, but some of these sound like P1 and will probably start looking at addressing these after fixing immediate build and CI issues and addressing more specific comments affecting functionality and gaps wrt spec conformance.

A very quick first pass on this. It's great to see tests starting to appear but we have a lot of work on our hands to integrate this into the CTS. A few overall questions/comments:
* You should use object wrappers and RAII instead of flags, totos, etc. Much easier to reason about and maintain.

[nikhiljnv] Will look into this.

* Have you considered using existing Vulkan bindings (e.g. https://github.com/KhronosGroup/Vulkan-Hpp) rather than rolling your own?

[nikhiljnv] Will review and see if the same can be reused.

* Any reason Vulkan error codes are not checked at all?

[nikhiljnv] No particular reason. This should be P0 after immediate build issues.

* Please avoid the use of malloc/free and prefer `std::string`, `std::vector`, etc

[nikhiljnv] Sure. This is kind of P0 after immediate build issues to avoid rework in future.

* Consider introducing/using device query wrappers from https://github.com/KhronosGroup/OpenCL-CTS/blob/master/test_common/harness/deviceInfo.h rather than copy/pasting code.

[nikhiljnv] Agreed. P0 after immediate build issues to avoid rework in future.

From our perspective, PR is now good to merge


Can dotnet monitor expose mulitple dotnet processes' metrics?

Background and Motivation
Currently, one dotnet monitor can only expose one dotnet process metrics. Although in container world, it is usual to have only one process in a container, our process is running on a machine right now and we have no plan to migrate to container shortly. If we want to get multiple processes metrics, we have to deploy multiple dotnet monitors in a machine.
Can dotnet monitor expose multiple dotnet processes' metrics so that one dotnet monitor can monitor all dotnet processes in a machine?

Proposed Feature
current dotnet monitor metrics format is below
systemruntime_cpu_usage_ratio 0<PHONE_NUMBER>059
systemruntime_cpu_usage_ratio 0<PHONE_NUMBER>049
systemruntime_cpu_usage_ratio 0<PHONE_NUMBER>048

sugget adding the process_id and process label to the metrics, e.g.
systemruntime_cpu_usage_ratio{process_id="1234", process="TestProcess1"} 0<PHONE_NUMBER>059
systemruntime_cpu_usage_ratio{process_id="1234", process="TestProcess1"} 0<PHONE_NUMBER>049
systemruntime_cpu_usage_ratio{process_id="1234", process="TestProcess1"} 0<PHONE_NUMBER>048

systemruntime_cpu_usage_ratio{process_id="4321", process="TestProcess2"} 0<PHONE_NUMBER>059
systemruntime_cpu_usage_ratio{process_id="4321", process="TestProcess2"} 0<PHONE_NUMBER>049
systemruntime_cpu_usage_ratio{process_id="4321", process="TestProcess2"} 0<PHONE_NUMBER>048

In this way, dotnet-monitor can expose multiple metrics that Prometheus can understand.

Usage Examples
One dotnet-monitor can monitor multiple dotnet processes metrics when processes are running on a machine.

As implied, we'd likely do this via labels, which has been request in #430


Unnecessary flake8 Logger Configuration

In tests/__init__.py  there is the following;
from logging import getLogger

# Disable flake8 logger as it can be rather verbose
getLogger("flake8").propagate = False

Is this necessary since we're using ruff instead?

Indeed it isn't! Fancy submitting a PR?


No documentation for new_tip='once'

I can't find any documentation on docs.opentrons.com for new_tip='once' -- is it not supported?

Pipette.transfer docstring needs to be updated to reflect string values for new_tip (once /  never / always) instead of numerical.

still true in https://docs.opentrons.com/api.html#module-opentrons.instruments


Reduction functions unintentionally accept NumPy arrays

>>> cupy.sum(numpy.ones((3, 2), 'f'))
6.0

This code should fail.
I think this is the same problem as #147. It has been resolved (#151) by fixing elementwise functions, but it missed reduction functions.

Related discussion: #1206

CuPy will accept NumPy arrays.


recorder example updated

Coverage decreased (-0.03%) to 93.05% when pulling 0b248553047f3ad7d706611a4d250bb209ba3977 on dev into 7241c0b1c601c1c8558c344d3f4501ff7257baf9 on master.


How to  save file to specific directory

Moving over from https://github.com/electron/electron/issues/7065 /cc @disc9562

Electron version: 1.3.4

Operating system: Windows 8.1
I am using spectron to test my app. I am opening dialog in my app like this:
  ipc.on('open-directory-dialog', (event, arg) => {

  let returnValue = function(directory) {

  if (typeof directory !== 'string') {

    directory = directory[0]
  }
  event.returnValue = directory
    }
    let options = {
      properties: [
       'openDirectory'
     ]
   }
    if (process.platform !== 'darwin') {
       dialog.showOpenDialog(options, (directory) => {
         if (directory) {
           returnValue(directory)
        }
  })
  return
    }
  returnValue(dialog.showOpenDialog(BrowserWindow.fromWebContents(event.sender), options))

And I want to auto select directory in test. I am using preload to do that. But it will make my app crash.
//preload
if (process.env.RUNNING_IN_SPECTRON) {
      dialog.showOpenDialog = (opts, cb) => {
        if (opts.title === 'open-directory-dialog') {
          cb(['C:/Users/user/Desktop/']);
          }
       };
   }

Any ideas?

But it will make my app crash.

@disc9562 can you include details about the crash? Is is crashing only on Windows or all platforms?

For what's its worth I recently made a module that handles mocking Electron features like this.
Check out electron-test-utils
In particular the dialogue docs

Also your code appears to not use the syntax your mock expects.
returnValue(dialog.showOpenDialog(BrowserWindow.fromWebContents(event.sender), options))

When running in your mocked function you will be attempting to call the options object as a function.  This is because you are treating the second argument as cb when in fact you are expecting the synchronous version of the API and you should simply return your path array.

@kevinsawicki I had found why my app will crash. Because if (opts.title === 'open-directory-dialog') this code is wrong .Is opts.title  mean dialog title?

@MarshallOfSound I tried to use your module but can't work in spectron. Can it work for e2e test? I know what you mean. But I still can't return my path array. I had try opts.returnValue still can't work.

@disc9562 I have a PoC for adding electron-test-utils bindings to Spectron, but until that I'll just fix your mocking function 👍
//preload
const paths = ['C:/Users/user/Desktop/'];

if (process.env.RUNNING_IN_SPECTRON) {
   dialog.showOpenDialog = (targetWindow, opts) => {
     if (opts.title === 'open-directory-dialog') {
       cb(paths);
       return paths;
     }
  };
}

@MarshallOfSound Wow it can work. Thank you very much, but why I declare const variable then it can work?

It isn't the const that makes it work.  The old code was trying to call undefined as a function and all sorts of other dodgy things.
This is just correct code 👍
Closing this out as the original question / issue has been resolved 👍


Prevent multiple initialization

Apparently, it's easy to get things wrong and call timeago() multiple times on the same element. It would be great if the init function would in this case not set a new interval without clearing the old one, e.g. if you'd replace
if ($s.refreshMillis > 0) {
    this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
}

with
if ($s.refreshMillis > 0 && this._timeagoInterval == null) {
    this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis);
}

+1

+1


Documentation: Update OKD telemetry info

https://docs.okd.io/latest/support/remote_health_monitoring/about-remote-health-monitoring.html
Red Hat telemtry only kicks in for clusters with valid pull secrets. Thus OKD clusters can "opt out" of this feature.

This is already covered though - https://docs.okd.io/latest/support/remote_health_monitoring/opting-out-of-remote-health-reporting.html


feat: Tag pruner action (SOFIE-1140)

Jira: https://nrknyemedier.atlassian.net/browse/SOFIE-1140
Create a generic action that can be used to prune tags from GitHub repositories based on age with an optional Regex filter.
Once merged the repo will need tagging with a suitable tag E.G. v1 or tag-pruner-v1 so that the action can be called in other repos: nrkno/sofie-github-workflows/.github/actions/tag-pruner@v1
An example workflow to delete tags older than 30 days that runs weekly could be:
on:
  schedule:
    - cron: '0 0 * * 0'
name: Tidy up repo tags
jobs:
  prune:
    name: Prune tags
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: nrkno/sofie-github-workflows/.github/actions/tag-pruner@v1
        with:
          older-than: 30
          ignore: v[0-9]+\.[0-9]+\.[0-9]+.*

Have you tested using this action in another repo?

Yes, I built this in one repo and called it from another, seemed to work!


Revert "Store user login attempts with authtrail "

Reverts studentinsights/studentinsights#1897.
Deploying this brought down the site with the following error message:
app/jobs/auth_trail/geocode_job.rb:2:in `<module:AuthTrail>': uninitialized constant AuthTrail::ApplicationJob (NameError)

Backing out the parts of the revert that touch the /db directory, since messing with those migrations could get us into an ugly place. Based on the error message above I'm very confident the database migrations are not the source of the bug.

selfie


Problem loading pytorch model

After quantizing pytorch model model with neural-compressor and following the deployment doc, I'm unable to load the model.
compile throws the following error:
TypeError: Got unsupported ScalarType BFloat16
Is there anything I may be missing? or compile doesn't support quantized models?

Hi @attafosu, Neural Engine supports pure INT8 quantization, please set excluded_precisions = ["bf16"] in Config when doing quantization.

Yes, like he, xin said, you could give Neural Engine a pure INT8 quantization,
Then during compile process,
Neural Engine will do optimize to generate INT8/BF16 mix precision graph to do inference.
You still could get performance gain from INT8/BF16 mix precision


Bug on statistics

Total number of episodes is always 1 episodes smaller than the website. For instance i have 252 episodes and the app shows that i have only 251 episodes

Those are data returned by SickRage.
I'll have to check there how to fix this.

I am working on fixing this in SickRage. I'll let you know when it's done and released.

I think there is another problem that could be related to this one. The app statistics shows that I have one wanted episode, then when I check the episodes status management page on sickrage, I see no episodes checked as wanted. Hope this can help you

The fix was merged in SickRage. It will be available in the next version.

The fix was released today. Let me know if it works for you or if you still have some differences between the web part and the mobile part.

This is perfect ! Really good work you do

Thanks for the feedback.
Glad you like it.


Switch StartOffsetNewest/Latest to enum

https://phabricator.dropboxer.net/D316054

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


addHaxeLibrary()

What is your question?
How does addHaxeLibrary work?
(For anyone wondering why I'm asking so many questions about this its because I wanna know as much as I can about addHaxeLibrary() and runHaxeCode() and I cant find any other sources of info...)

addHaxeLibrary adds a library variable into the interperter
runHaxeCode runs string as a hscript
example
-- adds a text into the gameHud
addHaxeLibrary("Alphabet") -- even tho alphabet is already default, im putting this here for example
runHaxeCode([[
var text = new Alphabet(0, 0, "Example Text", true);
text.screenCenter();
text.cameras = [game.camHUD];
game.add(text);
]])


HM-CC-TC not supported fully?

Wonderful piece of software!  I have a problem with the above Thermostat where only channel 1 is recognised as a WEATHER channel so yes I can see the Humidity and Temp in Homekit but cannot be used as a thermostat.  Device file looks like the following so is there anything I can do to get this working?
Seems like we need a new channel service based on this one:
https://github.com/thkl/homebridge-homematic/blob/master/ChannelServices/HomeMaticHomeKitThermostatService.js
Device Section for Thermostat:
"id": 1461,
"name": "HM-CC-TC IEQ0106500",
"address": "IEQ0106500",
"type": "HM-CC-TC",
"channels": [
{
"id": 1481,
"name": "HM-CC-TC IEQ0106500:1",
"intf": 1010,
"address": "IEQ0106500:1",
"type": "WEATHER",
"access": 255
},
{
"id": 1484,
"name": "HM-CC-TC IEQ0106500:2",
"intf": 1010,
"address": "IEQ0106500:2",
"type": "CLIMATECONTROL_REGULATOR",
"access": 255
},
{
"id": 1489,
"name": "HM-CC-TC IEQ0106500:3",
"intf": 1010,
"address": "IEQ0106500:3",
"type": "WINDOW_SWITCH_RECEIVER",
"access": 255
}
]
},

ok, i've added the device to the thermostat service. it will be available for the next version

I did a quick test and it looks good.  Many thanks for the quick turnaround.

i cannot believe that anybody is still using these old thermostats but here we are 😎


Support for TOTP Software Token MFA

Can we get support in the UI for TOTP? Polling my users, they say they prefer that to SMS based MFA. Sometimes it takes several minutes for an SMS message to arrive and TOTP is immediate. I recently turned it on for my main AWS account and I like it too.
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html
Can you bug the Cloudformation people to add TOTP as a creation option for a user pool? Or maybe it is there and missing from the docs.  The support for it is already in Cognito.

implemented in #407


Exporting measurements from a segmented image

Thank you for your work on this excellent software.
Please forgive my ignorance here but is there a way to export a set of measurements from the segmented images? Our interest is mainly in obtaining geodesic diameter and cell density. I've not been able to find anything in the docs other than the output of files to be read by ImageJ or similar to calculate these kinds of things. It would be useful to know if I've missed something obvious here.
Many thanks in advance.

Thanks for your interest! Cellpose does not have the functionality to output the measurements you mention. While the purpose of cellpose is strictly for instance segmentation, you can string together other libraries to complete the task you have in mind after using cellpose to compute the image segmentation. For example, you can use the API to calculate masks and then use something like scikit-image or cv2 to get your measurements of interest. An example of using the API can be found here: https://cellpose.readthedocs.io/en/latest/notebook.html.
Alternatively, you can output your segmented image masks and do further processing in ImageJ like you mentioned.


How to set Cache-Control header in request via getDocument method ?

I am wondering if there is a way of setting Cache-Control': 'max-age=1000' via getDocument method.   Thanks much in advance.

There's a httpHeaders parameter on getDocument, please refer to https://github.com/mozilla/pdf.js/blob/3ff872b7968c299f1c4743193056b4eabfe29489/src/display/api.js#L123.
That parameter is then used in https://github.com/mozilla/pdf.js/blob/3ff872b7968c299f1c4743193056b4eabfe29489/src/core/network.js#L112-L118.
Closing as answered.

Could you please tell me how to add http-headers in the getDocument? I'm a little bit confused and don't know how to do it. Thank you very much.

The following code works for me.
// Loaded via <script> tag, create shortcut to access PDF.js exports.
var pdfjsLib = window["pdfjs-dist/build/pdf"];

// The workerSrc property shall be specified.
pdfjsLib.GlobalWorkerOptions.workerSrc =
      "//mozilla.github.io/pdf.js/build/pdf.worker.js";

// Asynchronous download of PDF
var loadingTask = pdfjsLib.getDocument({
    url: <external pdf link>,
    httpHeaders: {
      "Cache-Control": <cache control content>,
    },
});

The following code works for me.
// Loaded via <script> tag, create shortcut to access PDF.js exports.
var pdfjsLib = window["pdfjs-dist/build/pdf"];

// The workerSrc property shall be specified.
pdfjsLib.GlobalWorkerOptions.workerSrc =
      "//mozilla.github.io/pdf.js/build/pdf.worker.js";

// Asynchronous download of PDF
var loadingTask = pdfjsLib.getDocument({
    url: <external pdf link>,
    httpHeaders: {
      "Cache-Control": <cache control content>,
    },
});


:Clap install-binary don't work on Windows (continues #529)

At least on Windows updating binary by compiling leads to the same problem as #529.
Something else must lock the file. Solution from #529 also applies here but file still can not be overwritten.
warning: unused import: `Path`
 --> crates\upgrade\src\download.rs:4:17
  |
4 | use std::path::{Path, PathBuf};
  |                 ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: 1 warning emitted

    Finished release [optimized] target(s) in 2.69s
   Compiling pyo3 v0.12.0
   Compiling fuzzymatch-rs v0.1.0 (C:\Users\jstocker9330\vimfiles\bundle\vim-clap\pythonx\clap\fuzzymatch-rs)
    Finished release [optimized] target(s) in 15.81s
Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.
        0 Datei(en) kopiert.

If cargo exists in your system, :Clap install-binary! will always recompile the binary. You just do not run :Clap install-binary when you are using vim then. Always compile the binary from the terminal. I don't use Windows, can't help more.


Add streaming API

This adds a streaming API to git_diff to avoid loading entire diffs into memory. git_diff was already built with streaming internally (thanks for that) so it was pretty straightforward to add the API.
We use this in diff.hex.pm to reduce the memory usage of some requests from 1400MB to 130MB https://github.com/hexpm/diff/pull/46.
I realize there are quite a few changes in this PR so let me know if you want to split things up or drop anything.

Nope, they are all great. Glad you found it easy to add the streaming.
That memory usage though...what the heck sort of diffs are causing that?

New version 0.6.2 has been pushed to HEX and all old versions have been retired.

Thank you!
No need to retire unless there are package breaking bugs or security issues imo.


Allow to clear scancards even when only one card exists

Currently we can just clear if there are at least two

bla bla critical

@M123-dev : Related to https://github.com/openfoodfacts/smooth-app/issues/1295

Yeah same topic


response from like: [object Object]

...
info:    response from like: [object Object]
...
Is it OK? I think it should be more informative? No?
How can I check who was liked?

It would be nice if there will be an information about username whos photo I liked and photo ID or smth.

@apaticmusic I have the same with the log on like.
For checking which posts were liked I use the IG App.
Go to your profile -> Menu Top right -> Settings ->Account -> Posts You've liked.
I completely agree that it would be great to see the liked Posts somewhere. Maybe the URLs in the log file?

the same for me:

info: response from like: [object Object]

but actually no post has been liked.

i think that these posts are ads ... i need to figure out a way to filter them out :)


[Epic] 2.12 EthCC workshop

As per dicussion during the EthCC workshop planning breakout session at the Athens offiste, these are the agreed upon tasks to complete for the EthCC workshop:

[ ] Decide testnet name
[ ] #823
[x] #749
[ ] #781
[ ] #782
[ ] #783
[ ] #784
[x] #785
[ ] #822
[ ] #786
[ ] #787
[x] https://github.com/codex-storage/infra-codex/issues/167

17/6/24 meeting, action points

[ ] ben to receive wifi router, and run local pre-check to confirm that all equipment is working and nodes can reach each other on the local network (ie dht works)
[ ] ben to update QR codes in slides, and wifi credentials/ssid
[ ] ben to install bootstrap, storage node on his NUC
[ ] tomasz to run codex storage node(s) with prover enabled
[ ] try to open their ports for next week's meeting / dry run
[ ] eric to do codex formal announcement for test workshop on the 25th

NOTE:

public testnet geth will be used, no need to run one locally
internet connection via 5G dongle/modem

@emizzle, I've finished/closed all my tasks.
We should consider to close this epic and all sub tasks if they are stale.

Recording here: https://drive.google.com/file/d/1U1MLmQGRztw4tboD5RRWMA2xemMnBSsl/view


Could not resolve net.sf.proguard:proguard-base:6.0.3.

编译失败，这个异常无法修复？
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':flutter_inappwebview'.

Could not resolve all files for configuration ':flutter_inappwebview:classpath'.
Could not resolve net.sf.proguard:proguard-base:6.0.3.
Required by:
project :flutter_inappwebview > com.android.tools.build:gradle:4.1.0 > net.sf.proguard:proguard-gradle:6.0.3
Could not resolve net.sf.proguard:proguard-base:6.0.3.
Could not parse POM https://repo.maven.apache.org/maven2/net/sf/proguard/proguard-base/6.0.3/proguard-base-6.0.3.pom
ǰ���в����������ݡ�
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':flutter_inappwebview' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':flutter_inappwebview' of type org.gradle.api.Project.

怎么修复这个异常？

Could not resolve net.sf.proguard:proguard-base:6.0.3. ， Could not parse POM ，网络问题


Editor not working

Only the image is showing up in the activity, the photo editor buttons arent showing up

@hz01 Is it possible to share screenshots and following details?

Used as dependency?
What is default theme?

closing due to no acitivty


Preload fonts

This PR adds the fonts preloading to every page of the dvc.org. The key aim here is to get rid of font fallback problem can be seen on each website reload (or FOUT):

This PR changes it to this:

It improves CLS (cumulative layout shift metric) which implies UX improvements. There is a downside of this approach though - every new page added requires a run of yarn preload-fonts (even a new blog post) to grab the fonts required for it. Another option is to manually add all fonts that are used in the application in <link rel="preload" />, but this brings the possibility of unused on the page but still required to download fonts which potentially can make the page download less fact.

Can't gatsby-preload-fonts just be included in yarn build?
And does this affect yarn develop?
Thanks

@iAdramelk @rogermparent I remember we had a discussion about this and made a decision not do font preload?
I guess the major reason was "time-to-render" - if font is not loaded you still can start reading, otherwise you see a blank page longer
did we have any other concerns?

Can't gatsby-preload-fonts just be included in yarn build?

I haven't run it yet, but I would assume the preload-fonts script takes an abnormally long time because it crawls the whole site to generate font preload data- that, and there isn't really any other reason for it to be separate despite the wide criteria where it must be re-run.
The ideal solution may be to keep the scripts separate in dev, but always run before deploy.

@iAdramelk @rogermparent I remember we had a discussion about this and made a decision not do font preload?

I don't remember personally, either I forgot or this discussion happened before I was working on this project.

Can't gatsby-preload-fonts just be included in yarn build?

Not, unfortunately. It requires a running development server to crawl all the web pages that are in the app.

And does this affect yarn develop

Not at all. If you are interested if these fonts are preloaded on development - sure they are.

I guess the major reason was "time-to-render" - if the font is not loaded you still can start reading, otherwise you see a blank page longer

@ivan this might be an issue only on the initial load with cold caches. They are well-optimized in terms of size and requests are made in parallel, so it is equivalent of downloading ~30kb. When fonts are cached it is worth a non-blocking roundtrip to receive 304 from the server and grab them from the local memory (almost free). Benefits in terms of UX improvements are much higher for the target users (I assume the most of them are using PC with a stable connection).

I would assume the preload-fonts script takes an abnormally long time because it crawls the whole site to generate font preload data

@rogermparent and you would be absolutely right, unfortunately. It takes ~250 sec on my PC to crawl all pages. Again, the alternative solution might be to just use manually-added <link rel="preload" /> with all fonts from the single font-face defined in the app.

The ideal solution may be to keep the scripts separate in dev, but always run before deploy.

Great idea!

@shcheklein this might be an issue only on the initial load with cold caches

for me it's every time I open the page in the new tab

The ideal solution may be to keep the scripts separate in dev, but always run before deploy.

is it implemented in this PR?

Guys, I'm closing this for now. Too much stuff in other places and it's not a priority. Let's get back to this discussion when we have bit more time.

@shcheklein sorry for the late answer.
There are different strategies for font preload. What we discussed in the past was inlining font file inside css as base64 string. This would fully remove font blinking, but would significantly increase css file size and block page until css is fully parsed as result so we decide not doing it.
@mvshmakov did the different thing here - he added script that automatically appends <link rel="preload"> with the font file address to the  of each page that uses it. It didn't prevent font blinking because there is still separate request, but it should have reduced time before font is loaded – this way font should start loading earlier.

@mvshmakov so, if we don't have a concern with content being delayed and we have a benefit of blinking taking less time, what else prevents this PR from being merged? Concern with It takes ~250 sec on my PC to crawl all pages. ? Is it easy to resolve?
@iAdramelk thanks!

@mvshmakov my 2 cents. If I remember correctly only custom font that is used on site right now is BrandonGrotesque in a few variations and at least some of its variations are used on every page. Even if some variations are not used on some page it make sense to preload them anyway. So I'd replace this plugin with list of manually added ` tags.
It can cause problems in the future if you add new fonts for some pages that are only used on these pages, but it can be addressed then in a few different ways. For now it should be good enough.

Folks, sorry for the late response, there is much stuff going on indeed.

what else prevents this PR from being merged? Concern with It takes ~250 sec on my PC to crawl all pages. ? Is it easy to resolve?

@shcheklein This is the only one, but as @iAdramelk stated, the whole issue might be worth a few lines with manual <link rel="preload" /> which would sometimes load stuff we don't really need on the page. Using this, no need for crawling the pages is required at all, so this "preventing from merge" issue would not be a thing.
Let me test this thing locally and with high possibility, I'll push it here.

hey, @mvshmakov , ping :)


Revisiting table names on influx

It seems that these are created based on the measurement unit instead the entity_id:
name: °C
---------
_key                            domain    entity_id
°C,domain=sensor,entity_id=temperatura_exterior        sensor    temperatura_exterior
°C,domain=sensor,entity_id=sensacion_termica_exterior    sensor    sensacion_termica_exterior

so instead of doing a SELECT FROM temeperatura_exterior, I must do a
SELECT FROM "°C" WHERE entity_id=temperatura_exterior
THANKS A LOT!

Do you have any technical reason why it would be better to organize by entity_id instead of unit of measurement?
I do not consider it an issue that a query has to be written one way or another.

Yup. When using percentage or °C symbols, graphana breaks.
El sáb., feb. 13, 2016 0:28, Paulus Schoutsen<EMAIL_ADDRESS>escribió:

Do you have any technical reason why it would be better to organize by
entity_id instead of unit of measurement?
I do not consider it an issue that a query has to be written one way or
another.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1228#issuecomment-183579751
.

What do you mean with breaks, Graphana cannot handle a % sign?

It seems not, nor a degrees symbol. Let me conduct more tests tomorrow and
ill get back to you.
El sáb., feb. 13, 2016 0:43, Paulus Schoutsen<EMAIL_ADDRESS>escribió:

What do you mean with breaks, Graphana cannot handle a % sign?
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1228#issuecomment-183580725
.

It seems that after rebuilding grafana the problem was solved. Thanks a lot, sorry for the problems!


Port MDUI bean def fixes to 5.3 branch

Porting commit 6d4b11ff615e20e2661a7dfd374433520956651a to 5.3.x branch, so I can use the saml mdui.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@rrenomeron thank you! I'd like for this to be included in the coming 5.3.x patch release. Do you think you could fix the build here before Monday?

Same fix required in 6.0.x : https://github.com/apereo/cas/blob/6.0.x/support/cas-server-support-saml-mdui/src/main/java/org/apereo/cas/support/saml/mdui/config/SamlMetadataUIWebflowConfiguration.java#L67?

Yes. Quite likely, this can also be ported forward with another pull request.

Will submit PR for the 6.0 branch shortly, certainly by Monday.

Thank you; no rush there. We have a couple of weeks before the set release date...and thanks again for taking care of this.


Method to get already selected dates

It would be useful method to get selected range. But in which format is open question..

Hello @deni1s 😄
Sorry for getting back very late.
Get current selected date has been implemented on v0.3!
Thanks a lot for your feedback 😄


vstest TRX file not being uploaded

since upgrading vstest we are no longer getting the test results uploaded.   We see this in the logs
Results File: C:\r5eBldAgent\_work\2\s\TestResults\loadbuild_R5EBUILDAGENT01 2017-03-24 15_11_46.trx
Vstest failed with error. Check logs for failures. There might be failed tests.
Error: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe failed with return code: 1
Unable to process logging event:##vso[results.publish type=VSTest;mergeResults=false;platform=any cpu;config=release;publishRunAttachments=true;resultFiles=C:\r5eBldAgent\_work\2\s\TestResults\loadbuild_R5EBUILDAGENT01 2017-03-24 15_11_46.trx;]
Vstest exited with return code: 1.

Whats thw version build agent you are using?

PS C:\r5eBldAgent> .\agent\VsoAgent.exe /Version
1.95.3
on premise TFS 2105 Update 3

sorry for more questions.
Are you on TFS on prem 2015 update 3 or you are using vsts?
What version of vstest task are you using? version 1 or version 2?

on premise TFS 2105 Update 3
2.0.19

in that case how did you get vstest 2.0.19. did you upload it? vstest works only with agent version 2.

@acesiddhu - the task should demand 2.x agent in the task.json.  Does it do that?

@bryanmacfarlane it doesn't do that as this was shipped in update 1 where only agent version 2 is supported. is that correct?

we were having alot of issues with the 1.x version not looking thru sub-directories to find nuget'ed test adapters.   version 2.x appears to do this much better.
We upgraded using https://github.com/Microsoft/vsts-tasks/issues/3768

Is it possible to leave the 2.x task installed (1.x is installed as well), and make the "demands" use the 1.x task?  forgive my syntax and nouns, these vNext tasks and agent internal bits are new to me.

@amccool not sure if this can be done in tfs 2015 update 3. Feature to choose a select major version of task was introduced in tfs 2017 update 1. @bryanmacfarlane any suggestions here?
@amccool you can also continue to use vstest v2 task and to publish results you can use publish teet results task and choose vstest option in that. But I am not sure if there can be any other issues if you continue to use version 2 vstest

We added the "Publish Test Results" task with VStest format, and **/*.trx and that is working fine.


naming convention & right side for sender left for receiver option

While Chatting I faced an issue of remembering username which was in some bizarre format so i want to add a feature of asking the user to set a username whenever they start or someone starts chat from URL.
**like just suppose chatting in a group of up to 10 will be really messy for a common mind like remembering who said what **
I want to add a better layout like the left side for receiver messages and the right side fo the sender this will help users a lot I thought.
if both this will help you or only one kindly let me know, I want to contribute.
if you have any special case or suggestion to implement these functions you can suggest me .

IMHO, the problem with this approach is that because the chat is full screen, it may be difficult to read messages on a widescreen. Also if you have more than two users, all other users will be on the same side. I see two ways to solve this:

Limit the width of chat part and center the content (doesn't solve the more than 2 users problem)
Adopt an approach similar to Riot or Slack and repeat the sender only at each change of speaker (or after a certain period of time) as proposed in issue #125 .

The second approach seems to me to leave more freedom and more room for messages.
What do you think ?
On the other hand, for the username problem, there is already a way to change nickname using the "/nick" command. It's not necessarily intuitive so proposing something simpler might be a good idea. It would also be useful to save the nickname in the localstorage for example so you don't have to set it each time.


Signals missing from TOC for QgisInterface

URL
https://qgis.org/pyqgis/master/gui/QgisInterface.html
On what type of device(s) did you see this bug?
Desktop
On which browser(s) are you seeing the problem?
Firefox
Other Browser
No response
Summary
The signals list is missing from the QgisInterface class python API documentation.
This appears to happen in older versions of the documentation as well, see below for 3.34, the detailed information starts right after the list of methods.

The signals themselves still appear with detailed information, and can still be accessed via anchors, for example https://qgis.org/pyqgis/master/gui/QgisInterface.html#qgis.gui.QgisInterface.currentLayerChanged still leads to the signal details.
The same issue happens on QgsMapCanvas, and I cannot remember if spotted in other pages as well, but I can confirm that the lists appeared in the master and 3.34 pages last week.

Can you move this request to the relevant repo please? https://github.com/qgis/pyqgis-api-docs-builder
Seems you already have a ticket there for it.
https://github.com/qgis/pyqgis-api-docs-builder/issues/147
Thanks!


feat: update terraform-github-repository-webhooks dependency

Update the dependency in order to get anonymous access, provided via https://github.com/cloudposse/terraform-github-repository-webhooks/pull/15.

/codefresh run test

@maximmi can we get this in?

/codefresh run test

@maximmi is Codefresh configured or build just stuck?

@mihaiplesa I will check

@maximmi it seems broken on all Cloud Posse repos


[0.29.x] Get Cython 0.29.x to build on Python 3.13

Mainly just backports of existing fixes.
Supercedes https://github.com/cython/cython/pull/6084 (because it includes it)

Thanks.
According to the remaining failures, we also need 5640a0ec8, 6add7fe37, 5346cae42, fd9644342, fd9644342, and probably others, and mustn't forget any related later fix-ups.
I'm afraid we might be opening a tank full of worms here.

I'm afraid we might be opening a tank full of worms here.

Yes. Me too.
Some of those you listed are "only" for warnings, so could be ignored. But there's more than I was giving it credit for.

Is there a specific reason why you are trying to make 0.29.x work in Py3.13, or is it just "because it might work"?
I understand that it might be nice for some users if we could get it to work there, but it's not free of risk. 0.29.x is really in a "try hard not to break anyone's code" state. My guess is that many of its users don't care about Py3.13 at this stage because they are stuck with an old (or very old) Python version. Certainly not all of them. But really, anyone who wants to make good use of Py3.13 should really be using Cython 3.1 instead. There can't be that many projects out there that still need to work with the long range of Python versions that even Cython 3.0.x supports.
I would expect most projects that want to support Py3.13 to have dropped support for at least Py3.5 by now, if not 3.7. 0.29.x barely works with the remaining newer range, without making use of any of the new features that they added.

I'll close this as "more effort than I thought..."


MSA Column attention's softmax axis is wrong

https://github.com/facebookresearch/esm/blob/5680ba75c6792694d4e12d77f01f1a0c9ee482c8/esm/axial_attention.py#L205-L225
If I understand the einsm correctly, the attn_weights is of shape [head_size, seq_len, batch_size, msa_row_size, msa_row_size] or [H, C, B, R, R].
If above is true, shouldn't we take the softmax at 'C' axis? i.e.
attn_probs = attn_weights.softmax(1)

Thank you!

Shape of attn_weights: Correct.
The softmax is correct in the implementation in normal self-attention goes over length of the sequence, in this case over the rows. See how it gets summed away in L222 -- that's the dimension you want to have normalized to sum to 1.

Hi Tom, thank you so much for your quick response. Sorry that my original title was a bit misleading. I was initially a bit confused about the axis mismatch between padding_mask, attn_weights, and softmax.
If I understand the data preprocessing correctly, we pad sequences to a max_length. Therefore, the padding_mask will be TRUE at those 'C' (seq_len) dimension, which is dim=1. And in L216, we replace those padded positions in attn_weights with -10000. So I thought we should also take the softmax at dim=1. But thank you for pointing out that the einsum in L222 is summing over the rows; that's why we take softmax(-1).
Thank you!

yw! And thanks for looking into the details here!


feature request: automatically scan all files when running detect-secrets-hook

Ticket which resulted from the conversation here.
Basically, if you want to integrate detect-secrets with husky or something like that you will likely need some command which runs your entire repository against your current baseline file.
Right now that can be done using the detect-secrets-hook command, but you have to manually specify which files to scan. I think, instead of this opt-in process, it would make more sense as an opt-out feature (where users specify which files that dont want scanned). Or at the very least, have an --all-files tag which accomplishes the same.
Current:
detect-secrets-hook -v --baseline= ".secrets.baseline" ./**/**

Note that you have to use glob to find files (./**/**) but if your directory structure is subject to change, you will likely not want this hard-coded path.
Ideally:
detect-secrets-hook -v --baseline= ".secrets.baseline" --all-files

Thanks, let me know if you have any thoughts :)

The hook is like that on purpose, because it was made for the pre-commit framework.
Can we change this to adding the baseline option to regular detect-secrets?

Yeah that could work too. Any way to run a single command that scans the entire repo and runs a diff with the baseline, force failing a commit if found

Just an update.
You can get around this by running a delta scan (rather than the whole repo):
  "husky": {
    "hooks": {
      "pre-commit": "detect-secrets-hook --baseline .secrets.baseline $(git diff --cached --name-only)"
    }
  }

So this feature is probably not as urgent as I thought it was. I'll leave it up to you to decide whether you want to close this or keep it open. Thanks :)

This will be added to the README. Closing as done.


Drag action gets incorrect item object type in ItemsControl collection

Describe the bug
When using ItemsControl with variety of item underlying types, the drag behaves incorrectly. The item type is evaluated incorrectly, thus drag won't work.
To Reproduce
Steps to reproduce the behavior:
Make ItemsSource element with binding to collection allowing different class types in that collection
Add those different class type items to the collection
Expected behavior
Drag action gets underlying collection type accordingly

The issue seems at ItemsControlExtensions.cs and its
public static Type GetItemContainerType(this ItemsControl itemsControl, out bool isItemContainer, DependencyObject child) method
when item type is not  identified correctly
I did a small workaround without larger method change:
Added new method to find appropriate item index by any item in VisualTree and changed slightly a process handling ItemsSource object.
ItemsControlExtensions.zip

@I4-PJ Can you maybe provide a full sample for this as repo on GitHub?

See attached a simple project. When added red and green items, drag works incorrectly.
WpfApp1.zip

I want to know if this problem has been solved and what is the solution, thank you!

The Type obtained by this line of code is incorrect, in his case (WpfApp1.zip).


[4.0] [Substitution map] Hack: look at inherited conformances in lookupConformance

This hack is papering over a bug elsewhere that is adding the wrong
conformances to a substitution map, but it fixes rdar://problem/31815540.

@swift-ci please test

@swiftix and @slavapestov , I'm looking at you two to let me revert this hack :)

It's quite intentional that this is only going to the 4.0 branch, so it gets dropped when we re-branch

The actual fix is coming ;-)

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 41f4ec6c0e4d76eae6e344ce3eab3cb4793a5084
Test requested by - @DougGregor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 41f4ec6c0e4d76eae6e344ce3eab3cb4793a5084
Test requested by - @DougGregor


Categorising products according to sections

Catalouging products as per the different sections/pages we have on the website to make it easier for the user to navigate and only see what they opened. No unnecessary listing.
Will remove any product from the section not related to it.
Catalogue products section wise.
Enhance UX and overall mapping.
Kindly assign me this under GSSOC.

Tomorrow is the last day so if possible try to raise your PR before 7pm so that you can get your points

Tomorrow is the last day so if possible try to raise your PR before 7pm so that you can get your points

Will do!


Switch testing to RHEL-8.10 and RHEL-9.4 nightly

This should get merged after we don't need to do any testing on 9.3 and 8.9 which would probably be after they're GA.

Rebased to prevent OCI private key leaking. Apologies :(

@jrusz There's no RPM build job in this PR. How to make  this PR run gitlab jobs? Thanks.

@jrusz There's no RPM build job in this PR. How to run gitlab job in this PR? Thanks!

I've already added rpmbuild jobs in a previous PR. This is just adding the new runners to the test runs. I've rebased this PR which will re-run it.

@jrusz All RHEL 8.10 and 9.4 tests are green!

@jrusz All Edge tests(RHEL 9.4 and 8.10 included) are passed.


Using a usb-connected scanner?

Hi!
I'm curious to see if there's been any testing using a usb-connected or bluetooth connected scanner to read barcodes?

@lj222kj No, that is out of scope of this plugin.

I am also looking for a usb-connected scanner Cordova plugin.  I found this one:  https://github.com/mribbons/cordova-plugin-cipherlab-rs30
but I was hoping to find a more generic one.
The scanner acts like a keyboard for the most part and I am able to capture input via a form input field.  However, for my use case I would like to avoid using a form input box to capture the input.