"Double requirement given" problem

I got below errors. Currently, I resolved this problem by remove one of them. I am working with the latest code. So I guess the problem is due to my docker image is outdated. But I don't want to download the latest docker image and have a try. Could you tell me how to solve this problem?
First time run paddle, need to install some python dependencies.
Unpacking /usr/local/opt/paddle/share/wheels/paddle-0.8.0b-py2-none-any.whl
Unpacking /usr/local/opt/paddle/share/wheels/paddle-0.8.0b1-py2-none-any.whl
Cleaning up...
Double requirement given: paddle==0.8.0b1 from file:///usr/local/opt/paddle/share/wheels/paddle-0.8.0b1-py2-none-any.whl (already in paddle==0.8.0b from file:///usr/local/opt/paddle/share/wheels/paddle-0.8.0b-py2-none-any.whl, name='paddle')
Storing debug log for failure in /root/.pip/pip.log
pip install wheels failed.
Please use 'sudo paddle' at the first time you use PaddlePaddle
PaddlePaddle will install some python dependencies automatically.

First time run paddle, need to install some python dependencies.
Unpacking /usr/local/opt/paddle/share/wheels/paddle-0.8.0b2-py2-none-any.whl
Unpacking /usr/local/opt/paddle/share/wheels/py_paddle-0.8.0b-cp27-none-linux_x86_64.whl
Unpacking /usr/local/opt/paddle/share/wheels/py_paddle-0.8.0b1-cp27-none-linux_x86_64.whl
Cleaning up...
Double requirement given: py-paddle==0.8.0b1 from file:///usr/local/opt/paddle/share/wheels/py_paddle-0.8.0b1-cp27-none-linux_x86_64.whl (already in py-paddle==0.8.0b from file:///usr/local/opt/paddle/share/wheels/py_paddle-0.8.0b-cp27-none-linux_x86_64.whl, name='py-paddle')
Storing debug log for failure in /root/.pip/pip.log
pip install wheels failed.
Please use 'sudo paddle' at the first time you use PaddlePaddle
PaddlePaddle will install some python dependencies automatically

‘ I am working with the latest code’：请问你是用源码编译develop分支出现上述问题的么

When I ran command paddle version.

@zuowang
Please uninstall Paddle before install a new version.
pip uninstall -u paddle py_paddle
rm -rf /usr/local/bin/paddle /usr/local/opt/paddle

@reyoung sorry, it doesn't work.

@zuowang
And clean your git checkout directory by
git clean -fxd  # note it is danger, please commit your local change before

@reyoung sorry, it doesn't work.

@zuowang Maybe you need to remove the package in Paddle/paddle/dis/ path by  rm -rf Paddle/paddle/dist/*.

It works, Thank you!


feature: quiz

Layout is too wide

Doesn't look good on light mode

All buttons are of equal visual importance which is misleading

Mobile layout is too narrow and wrapping is not good

Fix prettier config because multiple files have different code style example: we use single ' in the project

Design of the modal doesn't match design of another modal in the project and it doesn't support theming.
You can infinitely repeat last quiz step.
I thing using modal here is completely pointless because there is no benefit from it (most of the page is empty)

Closed due to inactivity.


remove support to python 3.8 and add support to python 3.12

Codecov Report

Merging #320 (0a8786b) into main (90d0626) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #320   +/-   ##
=======================================
  Coverage   81.08%   81.08%
=======================================
  Files          18       18
  Lines        2500     2500
  Branches      437      437
=======================================
  Hits         2027     2027
  Misses        319      319
  Partials      154      154


Rollup upgrade

Alaska Airlines Pull Request
Summary:
Updates bundle delivery.
Type of change:
Please delete options that are not relevant.

[x] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix(MSPointerEvent): uses PointerEvent instead of MSPointerEvent

Uses PointerEvent instead of MSPointerEvent if supported.  Fixes #753

:+1:

seems like there are now unrelated changes in this PR

@arschmitz I accidentally added some node stuff I was tinkering with here

@arschmitz fixed


YetaWRench Overlay Error

http://pastebin.com/RpGmAsGw
I went to use my yeta wrench after awhile of having not used it. I got the crash above immediate upon putting the wrench into my hotbar.

#3006

Crap. I search for 'overlay' and not yeta wrench. X.X

Should be, just waiting for the build server to actually -build- 421. It's been sat on it's butt for a week now.

I will be waiting as well. DO you have a link to the build server?

http://ci.tterrag.com/job/EnderIO/


clean up branches

@javh @bcorrie @bussec @williamdlees This isn't critical for the release, but we have a lot of dangling branches. I think some of this stuff is aborted work that will never be merged. If you could, please review your branches and delete the old cruft.

or branches that have already been merged with no real expectation that the branch will be used again.

Will do. Give me a couple days?

Is there an easy way to see who the "owner" of a branch is???

If you click on the Branches link from Code, then there is a Yours button.

I deleted the ones I contributed to that seemed safe to delete.  I left the clones-and-trees and clones-and-trees-release branches alive, because we had intended to revisit some of the content in their for the repertoire grouping discussion.

thanks everyone, looking much better


FEATURE: Use import API to be compatible to non-file-storages as well…

I replaced the manual copying of the resource file with a general usage of $storage->importResourceFromContent(...), so that this package can work with the Google Cloud Storage package as well.
Moreover, I added a minimal, empty configuration to avoid an error when having the package installed without a configuration.

Another suggestion could be to keep the old code in place and only resort to the import API when it is not a file system. This way we would have the least change in expected behavior.


Compliments and THANK YOU on Sharing!

Dear Ben & Robert,
I reported so many bugs and asked for many features so I thought it is time to also report a job well done:
In an effort to complete the Classeur manual I turned on document sharing. WOW! Same power as in Google Docs! I did not expected that!
We walked away from Google Docs some time ago. I truly and sorely missed this feature of multiple authors being able to write simultaneously in the same document with multiple cursors. You brought this feature back to our writing team. We are so grateful! And you implementation is beautiful and intuitive too!
THANK YOU!
Hubert

Well, that is very nice to read your words.
Thank you for the attribution! :+1:
~Robert

You are welcome. You guys earned it. I will be rewriting the Classeur manual accordingly to make this feature highly visible. It should greatly help your sales :-)


Stylecop version upgrade

Type of PR

[X] Code changes

Purpose of PR
Update StyleCop version to match with .net sdk version.
According to StyleCop page, we should be using v1.2.0-beta or higher.
This PR is also a precursor to the VSCode IDE features and unit test changes
Does this introduce a breaking change

[ ] YES
[X] NO

Issues Referenced

References https://github.com/retaildevcrews/wcnp/issues/682

Should this new version be included in our other dotnet projects too?

I think so(?). It's recommended according to the StyleCop documentation. We should add a triage item and discuss


Normalize quotes for SPDX licenses

When creating text from the license list XML format, normalize all quotes to straight quotes.

Resolved in recent updates to the LicenseRDFaGenerator


Arrow function used in for-loop not transformed into javascript function

TypeScript Version:  nightly (2.0.0-dev.20160920)
TypeScript Command: tsc --target ES5 test.ts
Code (test.ts)
// This arrow shorthand will be properly transformed
let log = (t) => { console.log(t); };

// The arrow shorthand used in the for-loop won't be properly transformed
let items = [{ name: "A" }, { name: "C" }, { name: "B" }];
for (var item of items.sort((a, b) => a.name.localeCompare(b.name))) {
  console.log(item);
}

becomes
var log = function (t) { console.log(t); };

var items = [{ name: "A" }, { name: "C" }, { name: "B" }];
for (var _i = 0, _a = items.sort((a, b) => a.name.localeCompare(b.name)); _i < _a.length; _i++) {
    var item = _a[_i];
    console.log(item);
}

Expected behavior:
When I target ES5 I don't expect any arrow shorthands to end up in the final JS.
Actual behavior:
You can see that the arrow shorthand after items.sort is still there.

@rbuckton can you take a look


Dont Support 'mipmap-xhdpi' In AndroidStudio 1.2

Dont Support 'mipmap-xhdpi' In AndroidStudio 1.2

me too

me too

+1

希望可以支持 mipmap

I have add mipmap support. Download the plugin from here.

Doesn't support mipmap folder.

@louisyonge Try it.

@Mybrc91 Yeah, your plugin really works! Thanks.

@louisyonge 说汉语就可以。。。

@Mybrc91 老夥計，妳的插件真棒！我敢打賭，整個大陸的上帝網路子民都在為妳歡呼，我向聖母瑪利亞保證。^O^


Autocomplete alternative

When a symbol perfectly matches, then a new input tree gets created where the autocomplete has been applied.
Depending on what the user does next, this new input tree actually gets used, or gets thrown away.
e.g.

user selects different autocomplete option => throw away
user hits escape => throw away
user hits backspace => throw away (?)
user moves caret => use it
user types something more => use it

Not doing this for now


🚀 Feature Request: More durable/predictable development registry for workers

Problem
When running multiple workers locally, the first wrangler process to start becomes the host for the dev registry. All other wrangler processes then register their workers with this "leader" process/registry.
This can lead to some confusing development situations where the order of operations is important. For example, if I shut down or restart that initial wrangler process, the registry is lost and all of my other workers have to be restarted in order to re-create it. I didn't realize this is how it worked until I took a deeper look at the workers sdk source.
Describe the solution
Instead of a transient store, it would be preferable if each wrangler process can register its workers in a registry that is independent of which process is actually running.
I imagine that this might be a file structure on disk. Something like ~/.wrangler/registry. Each process can register its workers there on startup and then clean them up on shutdown. This enables wrangler processes to start and stop at will without worrying about order of execution. It also provides more reliable linking of services during local development.
It might also be useful if the registry could contain pointers to workers running remotely in Cloudflare in order to enable mixed-mode development.
Related to https://github.com/cloudflare/workers-sdk/issues/1182

This has been addressed by the --x-registry flag, which should enable a more stable dev registry for local workers


integrate model helpers (formerly model_tools)

This integrates the https://github.com/brain-score/model-tools repository as a package into the brain-score vision library directly, preserving its commit history.
Since GitHub preserves the history of squashed PRs, I would still squash-merge this PR to avoid adding 131 commits to this repository.

re-trigger jenkins after updating unittests_brainscore.sh:
pip --default-timeout=100 install .

-->
# Install main project
if test -f "pyproject.toml"; then
    pip --default-timeout=100 install -e ".[test]"
else
    pip --default-timeout=100 install .
fi

The remaining jenkins errors are all from metrics which will be handled in another PR.


Small cleaning up + Partial fix for crash when looping through empty Vec

This pull request cleans the Rhai side of the project up a bit.

Removed a second get_children that didn't even work
fixed the get_parent, before it wasn't found by Scripts, presumably because not the correct World was asked for (&ScriptWorld instead of ScriptWorld). Also made it return a Entity if a parent was found, and a i32 of value -1 if not, instead of Option, as that isnt really supported by Rhai.
added an additional check for accessing an entity in the reload_script as the game often crashed there. This adds on #68
Also made a partial fix for #86. As the app no longer crashes, but we still get an error in the console (better documented in the issue itself).

I suggest we move the existing Wrapper example into lua, as it only really shows how to work with Lua.
I'm working on the example for Rhai right now, so we can test the fixes

btw while working with the Wrappers in Rhai, i noticed that i always have to manually implement RhaiCopy, even though it's completely empty.
#[derive(Resource, Reflect, Default, Clone, Debug)]
#[reflect(Resource, RhaiProxyable)]
pub struct MyThing {
    usize: usize,
    string: String,
    array: Vec<usize>,
}

impl RhaiCopy for MyThing {}

Is this wanted or an oversight?

As i'm working on the wrapper example for rhai, i noticed following thing:
When I Reflect on RhaiProxyable, I no longer can access the values of my Struct. seen in: https://github.com/makspll/bevy_mod_scripting/pull/87/commits/c282ada927a822eb88750f5e669df53421ebe543
When I don't use RhaiProxyable, everything works fine. as seen in: https://github.com/makspll/bevy_mod_scripting/pull/87/commits/59ac5629c7559e82619949ee44ef1cace006541f
Am I misunderstanding the need for RhaiProxyable?

So this pull request should be good now, applied all your suggestions. And am looking forward for the wrapper rewrite ;)
closes #86


Add Article for Hello World in Ring

Finished adding the hello world code - #63. Now, I need to write the article! 😄

Added: https://github.com/jrg94/sample-programs/commit/a37c9925c87a8d97d917cc09c0cd2318e962da58


Use logo from R Ladies repository

Maybe update the logo to use one from the official repository?
https://github.com/rladies/branding-materials
Maybe the following SVG?
https://github.com/rladies/branding-materials/blob/main/logo/R-LadiesGlobal_CMYK_offline_LogoWithText.svg

Hi! i figured it out what was going on! we dont need to use to logo from the official repo :D
I documented better on how to use this on the readme file.
thank you!


Update dependencies and fix tests

Pull Request Test Coverage Report for Build 66d1ac2a67d891798092c89addbbfe7272de5775-PR-743

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 97.095%

Totals

Change from base Build 485fc0fb5eddc9f8afb55d4b8a67176c934dbd44:
0.2%

Covered Lines:
1504

Relevant Lines:
1549

💛  - Coveralls


Support inspect sandbox cleanup k8s (with no params) to uninstall all releases

This command ought to uninstall all Helm releases. Historically, we were hesitant to implement this as users may have been in a shared namespace.
Now, we encourage you to set up your cluster with user-specific namespaces, so this is less of a concern.
Might still be worth seeing if there's an easy way in Inspect to add a confirmation prompt/dialog when the user runs this though. The message might tell them "Warning: you're about to uninstall all (123) Helm charts in the current namespace."

There is an easy way! https://inspect.ai-safety-institute.org.uk/interactivity.html#prompts

I would recommend using the click prompt stuff, described a bit here: https://inspect.ai-safety-institute.org.uk/interactivity.html#prompts
Note that you don't need to use it as shown there (with input_screen) you should just use click directly
(input_screen is used when you are running inside an eval)


Is it possible to Reprepare a Dataloader after each Epoch?

Hello Folks,
I'm new here. I'm currently trying to have a non standard training process where after each epoch, the dataset should be updated rather than the model. So basically we need to

re-prepare the dataset by accelerate after each epoch
turn off the model gradient since we don't need them in this setting
But I was not able to find them in the documentation.

For the first item I've tried the trivial way --- call accelerate.prepare again on the dataloader after each epoch but it doesn't work. Would love to hear any inputs. Really appreciate that!

I've done something similar before with no problems.
After each epoch I basically update the dataset, bucket_batch_sampler, dataloader, then accelerate.prepare:
train_dataset = CachedImageDataset(
train_bucket_batch_sampler = BucketBatchSampler(
train_dataloader = torch.utils.data.DataLoader(
train_dataloader = accelerator.prepare(train_dataloader)
of course add the new dataset, proper arguments, and such.
worked fine, no problems at all.
by "turn off model gradient", I assume you mean using with torch.no_grad() or just don't enable model.train()?


Allow consumption through Deno

Ideally you should be to do import * as jampack from "npm:@divriots/jampack@0.22.1";. In my quick test that gave the following:
error: Uncaught (in worker "") (in promise) TypeError: Could not resolve 'npm:@divriots/jampack@0.22.1'.(463/464)
  Caused by:
    Failed resolving package subpath '.' for<EMAIL_ADDRESS>    [ERR_PACKAGE_PATH_NOT_EXPORTED] No "exports" main defined in<EMAIL_ADDRESS>imported from '/Users/juhovepsalainen/Projects/github/gustwindjs/gustwind/plugins/jampack/mod.ts'

If you want to try, you can find the related code at https://github.com/gustwindjs/gustwind/pull/126 . After pulling, run deno task build to see the error. I used Deno 1.38.2 for testing.
Looking at the code, I can see the project is using an older version of Sharp that doesn't support Deno yet. Here's a bit more info on how to get it going: https://github.com/lovell/sharp/issues/3750#issuecomment-1751172728 . The version that worked for me is<EMAIL_ADDRESS>Based on the error, it's possible there's something else to amend as well and I understand if you want to wait for a stable 0.33.0.
On a related note, it would be nice if you could document how to use the API as a JavaScript module although it's quite trivial to figure out anyway.

@oliverpool Nice, thanks. I can confirm it works now. I was able to drop npm from my little project after this. 👍

However for some reason it hangs at the very end, after printing ✔ No issues.
So I have pipe a dummy comment to it: echo "exit when done" | deno run -A --unstable npm:@divriots/jampack ./_site

Ok, I didn't see the hang in my use case.
Maybe you can reduce a small example and open a separate issue to debug as it could be some specific combination.


#90 This makes the  function tail recursive.

This fixes issue #90.
I have tested it on the example given in that issue.

This fix and #95 seem to be addressing the same bug.


Bonnie 820 cql translate exception

Front end support for cql translation error reporting.
JIRA test can be found at: https://jira.mitre.org/browse/BONNIE-831

we don't know when we can incorporate this fix


Windows: misplaced mouse cursor

Hi,
I'm testing the version 0_2_0c on Windows 10.
There is a slight displacement between the actual cursor position and the place where game "thinks" the cursor is. As a result, the elements of the user interface are highlighted when the mouse cursor is not directly above them. A short demonstration of the problem is here: https://imgur.com/a/ZcJKEx6
The problem is getting more noticable in the lower part of the screen and it is related only to the vertical axis. There are no displacements in the horizontal axis.
A simple workaround I've found is to resize the game window and then make it full screen again. I suspected that it could be caused by the fact I'm using dual monitor setup (both in 1920x1080 resolution), but it doesn't to be the cause of the problem. I guess you'll need to check your initial scaling factors.
Regards,
Jakub

I am experiencing the same issue on my laptop with Win 10. My screen resolution is 1920x1080. The workaround fix mentioned by Jakub also solves the issue for me.

Duplicate of #65

Follow the other bug please. But also, where's your taskbar, the top or the bottom?


Fix EXT_RETURN usage for add_key_share()

add_key_share() is a helper function used during key_share extension
construction. It is expected to be a simple boolean success/fail return.
It shouldn't be using the new EXT_RETURN type but it was partially converted
anyway. This changes it back.

Pushed. Thanks.


WRQ-24303: Fix marqueeDecorator and marqueeController to start animation properly when content changed

Enact-DCO-1.0-Signed-off-by: Juwon Jeong<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[x] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
When  is wrapped with MarqueeController to be synchronized and marqueeOn props is 'render' and the content changes, MarqueeDecorator cannot start the marquee animation.
Resolution
MarqueeDecorator.componentDidUpdate() called when content changed.
As children is changed, this.invalidateMetrics(), this.cancelAnimation() are called and forceRestartMarquee variable set to true in componentDidUpdate function,
this.tryStartingAnimation() function is called because forceRestartMarquee is true.
However, In tryStartingAnimation(), it returns without calling startAnimation() function becuase this.timerState is 1(=TimerState.START_PENDING).
this.timerState is set to 1 in MarqueeDecorator.start() function which is called before componentDidUpdate.
So I added retryStartingAnimation flag in MarqueeDecorator.cancelAnimation() to check whether we need to restartAnimation after cancelJob completes.
Additional Considerations
In additional, I think handleComplete in useMarqueeController needs to be fixed too.
When  is wrapped with a MarqueeController, I found that the MarqueeDecorator.start function is constantly being called, even though content is short that doesn't need to be animate.
Links
WRQ-24303
Comments

Since the patch is implemented in cancelJob which is called with setTimeout, I cannot add unit test of it.

Let's add 'restart' function to MarqueeDecorator.js that simply calls 'restartAnimation' for consistent API sets. Looks great except this.

It's fixed :)

Checked codecov results and it looks okay.


Theme customization

List of Changes
Changed theme font, customized color and buttons to make it more similar to IO's UI.
Motivation and Context
As stated above, we need to make our theme similar to IO's to make it so that the user won't notice the switch from IO App to our webview.
How Has This Been Tested?
This has been also tested for mobile interface.

Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

FYI the way you added the fonts is fine, but i think you could just use @fontsource/readex-pro, since is the approach used by mui-italia for Titillium

Well done @AnisLucidi01 , but for now this PR couldn't be merged


How to apply Microsoft starter pack2 on SharePoint 2019? How will it impact?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?

Target SharePoint environment
SharePoint Server 2019 (on-premise)
What browser(s) / client(s) have you tested

[X] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[X] 💥 FireFox
[X] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Issue description
Hi everyone,
Can anyone guild me on how to apply Microsoft starter pack2 on SharePoint 2019? How will it impact?
Thanks in advance

Unfortunately SharePoint Started Kit is not currently supported in on-premises as it's using newer SPFx version than what SP2019 supports. If you have any further questions on the Starter Kit, we recommend adding them to https://github.com/pnp/sp-starter-kit/issues


would a filter-fasta method be appropriate in this plugin?

Improvement Description
It would be useful to replicate the functionality of qiime1's filter_fasta.py — e.g., see this forum post.
Comments
I am not sure whether this would be at home in q2-quality-filter, demux, or some other plugin that has yet to be created (q2-filter-everything-under-the-sun).
Whichever plugin would be appropriate (and perhaps this is an argument for making a new plugin, or for combining with the two demultiplexing plugins into a single fastq/fasta handling plugin), I could imagine other fasta/fastq functions that could accompany this, e.g., trimming, subsampling.
References
filter_fasta.py — e.g., see this forum post

This functionality was implemented for FeatureData[Sequence] in QIIME 2 2017.9: https://forum.qiime2.org/t/qiime-2-2017-9-release-is-now-live/1160


Playbooks fail on RHEL8 - missing package python3-openshift

python3-openshift is not available, anymore?
Try to install from  rhocp-4.8-for-rhel-8-x86_64-rpms:
$ subscription-manager repos --enable rhocp-4.8-for-rhel-8-x86_64-rpms
Repository 'rhocp-4.8-for-rhel-8-x86_64-rpms' is enabled for this system.
$ dnf install python3-openshift
Updating Subscription Management repositories.
Red Hat OpenShift Container Platform 4.8 for RHEL 8 x86_64 (RPMs)                                           230 kB/s | 244 kB     00:01
Error:
 Problem: conflicting requests
  - nothing provides python3-dictdiffer needed by python3-openshift-1:0.12.1-1.el8.noarch
  - nothing provides python3-ruamel-yaml needed by python3-openshift-1:0.12.1-1.el8.noarch
  - nothing provides python3-string_utils needed by python3-openshift-1:0.12.1-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Work-a-round:
dnf install python3-pip.noarch
pip3 install openshift-python

Problem is fixed with the change to ansible execution environment (#207) in devel tree will be merge into Master with #212


All ops and types need to belong to a loaded extension declaration.

This is a tracking issue for the goal that a valid HUGR must only contain ops and types that point to loaded extension declarations.
The current system allows opaque ops (not types) that point to extensions that may not be loaded (their cached signature is used for validation). This is a bit of a nasty backdoor that we probably don't need and should close. This follows from the closing of opaque type argument back doors: #1328.
In the new workflow, validation would always go to the extension pointed to to get the signature. If the signature is cached, it would check the cache matches what the extension reports, this could be turned off in validation config for speed (just accept the cached). The exception is ops that declare "I need a binary function to compute my signature" in which case validation would accept the cached if the binary is not available.
To make this possible but maintain the convenience of defining new ops/types on the fly (e.g. from guppy or tket2), we should add the notion of a hugr "package". This can hold multiple hugrs, and multiple extensions, serialised. The hugrs can point to said extensions, or to extensions that will be loaded separately. The cli tool for example can merge these extensions with whatever it loads before validation. Serialised extensions should be versioned. If extension and version match, the validation tool should ignore the packaged extension (with a warning) and just use the loaded one.
Hugr-py should make it easy to define extensions and package them with hugrs.
Tasks:

[ ] #1357
[ ] #1361
[ ] #1360
[ ] #1228
[ ] #1358
[ ] #1359
[ ] #1374
[ ] #1362
[ ] #1363
[ ] CLI warnings to say extensions expecting custom binary will be ignored (and cache used).

This may also relate to #1335 although that may possibly fit into #1363 ?


Update documentation to include ~id param

I noticed an ~id param is included but is not mentioned in the readme. I'm actually not sure if branch link id is the right way to describe this id. Is that correct? Is this the same thing as the "branch link id" and "branch match id"?

@parshap Thanks for the PR. The full list of parameters you can receive is here. I'm just at the point of redoing a lot of the docs in this repo, so everything will moving around and changing anyway. As far as I'm aware, everything here is currently correct, but some things like this may be incomplete for the moment. If you don't mind, I'll close this and add the wording from the docs site and a link to the full list at that location.

Sounds good! I wasn't aware of the docs site until someone else pointed me to it. A link would definitely be helpful.


Make schedule interval granularity more obvious

This changes the sentence about schedule interval granularity to a warning label to make it more obvious on the page

Link to docs page: https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals
Changed render:


Addition of Compose Multiplatform example project

It would be really helpful if this repository provided an example of Compose Multiplatfrom project as well. FYI, I managed to get the CMP project running fine, but it costed me more than 4hrs. I would love to contribute the boilerplate this repo.
Quick note: I was really confused when initializing the BlueFalcon object on iOS side, because the way it was inject directly into the ViewModel in KMP project. Then, I realised that ContextApplication can be garbage for initializing the iOS implementation. Here is how it looks like
AppModule.ios.kt
actual class AppModule {
    actual val blueFalcon: BlueFalcon
        get() = BlueFalcon(ApplicationContext(), null)
}

AppModule.android.kt
actual class AppModule(
    private val context: Context
) {
    actual val blueFalcon: BlueFalcon
        get() = BlueFalcon(context as ApplicationContext, null)
}

Hi @neelratanguria - i dont have the time to do a compose multiplatform example but welcome any pr's that introduce one.
As for the context, its probably not very clear in the docs. You can pass null, nsbundle or even UIApplication.

I will do it then i guess

Hi @Reedyuk,
I have created a pull request for the discussed example. Please do review it.

Many thanks for your change, i have merged in.


[Bug] Output parsed stats for delta lake tables

Bug
Currently, if delta.checkpoint.writeStatsAsStruct is set to true, the output contains parsed partition values but does not include parsed stats.
I think the code includes just parsed partition values right now but no support for parsed stats is present.
Would it be possible to add stats_parsed?
Motivation
The protocol states:

stats_parsed: The stats can be stored in their original format. This field needs to be written when statistics are available and the table property: delta.checkpoint.writeStatsAsStruct is set to true. When this property is set to false (which is the default), this field should be omitted from the checkpoint.

@sclmn are you saying that when delta.checkpoint.writeStatsAsStruct is true, delta-spark is not writing out the stats_parsed field in the delta checkpoint? That seems like a bug. Thanks for pointing this out!

@prakharjain09 can you take a look?

Hi, I just wanted to check whether you have an update?

I checked this and this seems like a bug.

@scottsand-db, @prakharjain09, @sclmn, do you have any updates on this?

Related: #1719


Clarify what means immutable by design

Problem:
I find this information confusing:
https://github.com/kubernetes/website/blob/9ac44f2f332144d87499b6b610b45b7bba252bad/content/en/docs/concepts/containers/_index.md?plain=1#L34-L37
Containers are designed to be staless and immutable, but it is the responsibility of the users to maintain these properties. The wording "by design" suggests that the container is immutable however it is used.
It is incorrect that you cannot  change the code of a container that is already running. I have seen the anti-pattern of running apt-get update && apt-get install <package> in the containers entrypoint. This makes the container not reproducible, because of the download of a different version of the software every time the container starts, and it proves that the container "by design" is not immutable.
More on this container operations thoughts can be found here:
https://cloud.google.com/architecture/best-practices-for-operating-containers#ensure_that_your_containers_are_stateless_and_immutable
Proposed Solution:
I will propose a PR with the following:
Containers are designed to be stateless and immutable: you should not change the code of a
container that is already running. If you have a containerized application
and want to make changes, the correct process is to build a new image that includes
the change, then recreate the container to start from the updated image.
Page to Update:
https://kubernetes.io/docs/concepts/containers/

/remove-kind bug
I agree: app containers are intended to be immutable, but the container is able to mutate itself and external actors can do that too.

/language en
/triage accepted
/priority backlog


posting a limit order inside the spread

Hi - I tried another experiment based on the simple_two_sided_quote example, where i adjusted the bid-offer spread of the orders I submitted to be 2 ticks wide, with idea to see some fills of my own orders (see the gist below). Then I used the very small data set attached (same as last issue I raised) and noted that at the time of the first trade event (buy @ 970), I have submitted limit orders buy 966 / sell 968. First query is that when I am debugging I don't see my orders in the market depth object on the exchange side (checked the time stamps, don't think this is due to latency). Also I don't see my order getting filled, which i think would be the expected behaviour?
Also note that I added depth clear events to my data set, as the data store I am dealing with just has a snapshot of the book to 10 levels at each time stamp, attached this data set below. I think this the right format? I cross checked with the Binance example.
thanks
Archive.zip
https://gist.github.com/griffiri/fd5600763f80a994febdd5eed99109ed

Regarding the first question, I might not have clearly noted in the document, but HftBacktest is a market data replay-based backtesting system, so your order cannot affect any changes to the replay market data. The crucial assumption here is that your order is small enough not to make any market impact. Therefore, your order is not reflected in the market depth.
For example, consider the following market depth:
ask 2 @ 102
bid 1 @ 100
If you submit a buy order of 1 @ 101, the market depth remains:
ask 2 @ 102
bid 1 @ 100
If you submit a buy order of 1 @ 102, the market depth still remains:
ask 2 @ 102
bid 1 @ 100
Until your order is matched by the opposite best bid or ask or a trade occurs, your order will not be filled.
As for the second question, yes, that's the correct format. However, without an incremental book feed and trade feed, you cannot obtain accurate backtesting results, at least, in short-term timeframes.
If you only have snapshot data, I would recommend coding a simple backtester that fills your order based on the best bid/ask.
This approach would be much faster, and in longer timeframes, you can achieve a decent quality of backtesting result.
Please see https://github.com/nkaz001/algotrading-example/tree/master/crypto-scratch

I see, that makes sense re the market depth.
I think I'm still not sure about this bit
Until your order is matched by the opposite best bid or ask or a trade occurs, your order will not be filled.
Here I'm trying to make sure I understand the latter, where a trade occurs. When I have my sell order in @ 968 and there is a buy trade event which in the my data set was recorded @ 970, would that not fill my order (with the trade event actually happening at the improved price @968)? I'm struggling to understand the circumstances under which the 'local' agent could have a limit order filled by an incoming trade event from the exchange.
Unfortunately the exchange I am working with only provides snapshot order book data and the project we are working on will involve market making on this exchange so I was hoping to be as realistic as possible with the simulation. I'm going to take a look at your other repo . Thanks for the response, much appreciated.

I checked again, the first buy trade @ 970 at<PHONE_NUMBER>392000 seems to happen after the cancellation request and before the new submission.
In that case, that's the best you can do for now, I'm also thinking of providing a tool to convert a series of snapshots to incremental book messages and a queue model that accounts for limited depth to support limited depth-only exchanges. But I'm still not sure if it would make a decent quality of backtesting results in that case.

OK I missed that when i was debugging, let me check again - thanks.
Re the distinction between having a series of snapshots vs. incremental updates, I understand that with incremental updates you would have more granular timestamps but is there some other reason why it would be more accurate? Is it because you can determine your position in the queue more accurately?

FYI - I ran my example with the latency set to 0, and can see fills happening when i placed orders inside the spread.


chore: add golangci.yaml, goreleaser.yaml and Dockerfile

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.325%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
116

Relevant Lines:
154

💛  - Coveralls


fix: Read all chunks when hashing a readable stream

createHash was only reading the first chunk when hashing a readable stream. This breaks etags for longer responses.
On bun the first chunk seems to always be 16384 bytes long, so I added a test there. Could not reproduce on node
The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code

Hi @jpdutoit
Thank you for the PR! Can you write a unit test in ``src/utils/crypto.test.ts`?

Hi @jpdutoit
Thanks for creating the PR!
Your point about "etag" is correct, and the current hono "middleware/etag" behavior is incorrect. I also believe that this PR will fix the "middleware/etag" behavior.
sha1
import { sha1 } from '... /... /utils/crypto'.

I think it is an incorrect result for the name sha1 that the value changes depending on how the chunk is split, even if the same data is passed. I think the same hash value should always be returned for the same data. I think it would be good if the behaviour of the following test would be.
https://github.com/honojs/hono/pull/2918/files#diff-8dde9c6181523f43830fbad5a7e2eeda12b860c5d712ec628e883bd58ad4904aR44-R59
etag
However, since "etag" does not require a strict "sha1 value for data", your method of generating "etag" is suitable in terms of saving memory usage about "etag".
For that reason, I believe it is better to resolve the problem in "middleware/etag" regarding the generation of "etag" when split into multiple chunks.

This is all good comments, haven't had time to revisit this yet...

For fixing the sha1 part, it would be better with a solution that supports true incremental hashing instead of needing to load the whole thing into memory, not sure what portable options there are. Unfortunately subtle.crypto does not support that..

Hi @jpdutoit
Can this pull request be updated?
As you say, incremental hashing would be best. However, crypto.subtle does not support incremental hashing, and even if we implemented it ourselves in TypeScript, the performance would not be that good.
Since we have received a report from another person, it would be good to solve this problem temporarily using the following approach, but what do you think?
https://github.com/honojs/hono/pull/2918

Sorry for the delay, I'm not using Hono at the moment...
But looks like you fixed it in the meantime! So I'll close this PR.


Dates not perfectly recognized

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
I would expect the date in the following task to be recognized by Tasks, as it would by a human:

[ ] Take the garbage out before 📅 2023-03-29.

Ideally, dates would be parsed with something like \d+-\d\d-\d\d, with an additional safety for preventing a non-digit at the end.
Current behaviour
The date in the above task is not recognized in a task block, because of the final period (a final parenthesis also prevents the date from being recognized). This is very inconvenient, as missing due dates, etc. has a big impact.
Steps to reproduce
The example above is not recognized by a block like:
```tasks
not done
happens before in 1 week
…

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
1.1.16
Tasks Plugin Version
2.0.1
Checks

[ ] I have tried it with all other plugins disabled and the error still occurs

Possible solution
The only solution is currently to be very careful and put a space or nothing after a date.

Closing as duplicate of #1505.


Missing audience in trust relationship irsa

Hi,
When creating the IRSA using the module it will not create the needed 'aud' in the trust relationship i.e:
"oidc.eks.<REGION>.amazonaws.com/id/<OIDC-ID>:aud": "sts.amazonaws.com" thus the serviceAccount which is created doesn't work

Thank you for bug report. I will update the irsa module to add 'aud' condition in the trusted relationship with reference to this.


Ion-Title issue inside Ion-Header when setting mode="ios".

Short description of the problem:
According to documents, adding " mode='ios' " attribute to ion-header or ion-toolbar should set the platform style to apply to the component. But doing so is messing up code inside  because it is removing (click) from a div I have inside.
What behavior are you expecting?
setting mode to ios to force header to add ios platform styles instead of 2 lines header. Also to leave elements inside  with (click) and not be removed.
Steps to reproduce:
1.

<ion-header mode="ios">
    <ion-toolbar mode="ios" color="primary">

        <button ion-button mode="ios" (click)="showOptionsPopover($event)">
      <ion-icon name="more"></ion-icon>
    </button>

        <ion-title id="rg-title">

                {{coachTeamName}}
                {{teamScore}}
                -
                {{oppScore}}
                {{oppTeamName}}

                {{periodUI}}
                <ion-icon name="md-time"></ion-icon>
                {{gameClockUI}}

        </ion-title>

    </ion-toolbar>
</ion-header>

*** Browser Render

Which Ionic Version? 1.x or 2.x
2.1.0-beta.1
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v6.2.0

Note - I removed " mode='ios' " and the div#rg-peroidClickContainer was then clickable.

Hello @brandyscarney ,
Any update on this. I add mode="ios" on ion-toolbar and its not working properly. On android it does use single line toolbar when on landscape mode but anything inside doesn't force mode to IOS.
I had to set the button to mode="ios"... and inside  the div inside applies class="toolbar-title-md" when the toolbar mode="ios". Please see image below.

I am still seeing this in the following environment:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.5.0
Xcode version: Xcode 8.3.2 Build version 8E2002


chore: Refactored to pull plugin logic  together

Description
Refactored a bit to centralize the plug-in logic and encapsulate resources knowledge to each resource.
Task Item
#minor
related to #7630
Screenshots
N/A

Coverage decreased (-0.03%) to 54.65% when pulling a6a96db97d4c3ad201fa59a9dc9129b7053f0f83 on gcox/wire-publish-1 into cdf76b6ca95e4abe4148b1928f2a4870d699a25f on main.


Add min pip install

@webb-ben Precommit raises an error since rise/__init__.py: has a shebang but is not marked executable! We don't need the shebang correct?


Match launchSettings variable to sourceName in template.json

Addresses #346
cc @Eilon

It looks like the launchSettings.json did not match the sourceName defined in template.json before.

@seancpeters Updated.
cc FYI @SteveSandersonMS to ensure no inadvertent changes were made to any spa templates

Looks good to me. For testing, I'd recommend trying to create the varios templates with names that would be invalid namespaces / class names, etc. Things like "C.1", "C!", "foo-bar", and see if the generated content builds / has the expected replacements.

After changing the name of the generated csproj, the generated content builds fine. "Vue.1!" is replaced by "Vue.1" Is that expected? I was expecting Vue.1_ in launchSettings
Others like "Angular.!" are replaced by "Angular._" in launchSettings

The reason that "Vue.1!" gets replaced by Vue._1_ is because in C# namespaces, the character immediately following a "." cannot be a digit. So when there is a digit immediately after a ".", we insert a "" before the digit to make the namespace name valid. The "!" is invalid anywhere in a namespace, and all strictly invalid characters also get replaced with "".
"Angular.!" becomes "Angular." because the only transform needed is to replace the invalid "!" with a "".

@Eilon launchSettings were added in 2.1.0-preview1 so can this just be for dev? Don't think we need a patch?


tap_migrations added

Changes to the core

[x] Followed hacking.md.

Preparation for moving casks (see #15603)

I think the only problem is the files needs to be added here.

Thanks!


Add Authenticated Origin Pulls resources

Description of your changes
Adds Authenticated Origin Pulls resources

Fixes #
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Added uptest resources

/test-examples="examples/zone/zone.yaml, examples/authenticatedoriginpulls/authenticatedoriginpulls.yaml, examples/authenticatedoriginpulls/certificate.yaml"


failed while getting Management Service public key

Hi,
I've set up a self-hosted netbird instance. I can access the dashboard as usual, but when I try to connect with a client (linux cli) the daemon only prints this error message:
2024-02-01T17:50:53Z ERRO client/internal/login.go:105: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/plain; charset=utf-8"

I am using authentik as identity provider. What could cause this error?

Ok, turns out I just missed check proto h2 in the backend section of HAProxy:
backend netbird-management
      mode http
      server netbird-management <IP_ADDRESS>:10001 check proto h2


[server-wallet] Configure Wallet class via constructor and adopt knex passing pattern

https://vincit.github.io/objection.js/recipes/multitenancy-using-multiple-databases.html#knex-passing-pattern
Previously, things like .query() worked due to a globally bound knex instance.
Now, we need to do query(knex) where the knex object is instantiated in the Wallet constructor and passed down / threaded where necessary.
The history on this branch involves a detour where I went too far and replaced .query(tx) with .query(knex). As long as tx was already bound to knex, this was unnecessary. Have since rolled that back. The thing that unlocked my confusion in the end was for the various methods to accept a TransactionOrKnex type, which gives fine grained control, e.g. for tests to run a query without using a transaction.
TODO

[x] unit tests passing
[x] e2e test passing
[x] stress test passing
[x] fix "jest did not exit 1 second..." warnings

I am curious about the tradeoffs involved in this approach.
A Model class that is globally bound to a DB connection has these (known) drawbacks:

You cannot have two wallet instances in the same process connected to separate DBs
The DB configuration must be done with environment variables.

I am not even sure if (2) is real. You could instead try globally binding the Model class when the wallet is initializing. (We can enforce that the connection is never changed, once it is globally bound to Model)
Which of these drawbacks are important enough to
A. Ask developers to import a knex object in any file that they interact with the DB
B. (Potentially?) make it easier to introduce deadlock bugs
I'm not sure that (B) is an issue, since tests should catch these bugs by restricting the connection pool to one connection.
(A) seems like more overhead compared to (1).
I realize that the work here has already been done, but I'd like to be clear on exactly what problem we're trying to solve, and make sure this is the best solution.

@andrewgordstewart thanks for the feedback. Perhaps we can discuss this at standup today.

@andrewgordstewart it seems like your first point might actually be:

If the wallet runs in the same process as any other software that uses a global knex configuration, then they must use the same db.

I agree that you could pass the db config in via the constructor, but that seems like it might be misleading and lead to surprising behaviour:
const wallet1 = new Wallet(db1config);
const wallet2 = new Wallet(db2config);
// ooops wallet1 and wallet2 both point at db2...

It almost seems better to stick with the ENV variables if ☝  is the behaviour, as there the expectation is that the db configuration is per process.
I think there are several advantages to genuinely having per-wallet config, including easier wallet-to-wallet testing (the only reason we need to spin up payment/receipt manager servers at the moment is because of this wallet limitation), and generally being a good citizen in other people's code bases.

@andrewgordstewart it seems like your first point might actually be:

If the wallet runs in the same process as any other software that uses a global knex configuration, then they must use the same db.

I agree that you could pass the db config in via the constructor, but that seems like it might be misleading and lead to surprising behaviour:
const wallet1 = new Wallet(db1config);
const wallet2 = new Wallet(db2config);
// ooops wallet1 and wallet2 both point at db2...

Another possible behaviour is

const wallet1 = new Wallet(db1config);
const wallet2 = new Wallet(db2config); // ERROR: trying to bind `Model` to a different connection.

I do not think this alternative is particularly pleasant.

It seems better to stick with the ENV variables if ☝ is the behaviour, as there the expectation is that the db configuration is per process.

I sort of agree, but it depends on the problem we're trying to solve. Is it that the DB is configured via environment variables? Is it that we can only connect to one DB per process?

I think there are several advantages to genuinely having per-wallet config, including easier wallet-to-wallet testing (the only reason we need to spin up payment/receipt manager servers at the moment is because of this wallet limitation), and generally being a good citizen in other people's code bases.

There are other reasons to spin up Payment/Receipt manager servers, such as:

we want to profile just the PaymentManager
we want to benchmark usage that is closer to production usage

generally being a good citizen in other people's code bases.

Could you clarify this point?

I think there are several advantages to genuinely having per-wallet config, including easier wallet-to-wallet testing (the only reason we need to spin up payment/receipt manager servers at the moment is because of this wallet limitation), and generally being a good citizen in other people's code bases.

A further benefit of this approach is the ease in which we can parallelize tests that hit the database.
We have to run most of our tests in serial right now, because they interact with the same database.
We could try running tests within a transaction, but this might be complicated (impossible?), because we use DB transactions to enforce "application" invariants, such as "updateChannel must run sequentially among all wallet instances".
With this change, we could, in principle

have the following databases: server_wallet_test_1, server_wallet_test_2, server_wallet_test_3, server_wallet_test_4
maintain a pool of knex objects attached to these DBs
each test file waits for a knex object, and binds its Wallet instances to that object

allowing us to run 4 test files in parallel without interference
However, I don't know how to share that resource pool across the separate jest workers.


CURLOPT_SSL_VERIFYSTATUS not available on Linux

I want to enable OCSP Stapling, according to CURL I should set CURLOPT_SSL_VERIFYSTATUS.
In XCode the project is building. But on linux I'll get the following error:
/root/project/.build-ubuntu/checkouts/Kitura-net/Sources/KituraNet/ClientRequest.swift:652:38: error: use of unresolved identifier 'CURLOPT_SSL_VERIFYSTATUS'
        curlHelperSetOptInt(handle!, CURLOPT_SSL_VERIFYSTATUS, 1)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
CCurl.CURLOPT_SSL_VERIFYHOST:1:12: note: did you mean 'CURLOPT_SSL_VERIFYHOST'?
public var CURLOPT_SSL_VERIFYHOST: CURLoption { get }
           ^
CCurl.CURLOPT_SSL_VERIFYPEER:1:12: note: did you mean 'CURLOPT_SSL_VERIFYPEER'?
public var CURLOPT_SSL_VERIFYPEER: CURLoption { get }

Here is my Kitura-Net Fork I used to implement this:
https://github.com/geertberkers/Kitura-net/blob/c99aabe49911b24dd3c22d403e25014051694912/Sources/KituraNet/ClientRequest.swift#L652

@geertberkers I tried compiling your code locally and it seems to work for me (Ubuntu 18.04).  The option you are using was introduced in curl 7.41.  Is it possible that you have an older version?
Ubuntu 14.04 shipped curl 7.35, which would be too old,  but 16.04 and 18.04 ship newer versions (7.47 and 7.58 respectively) so your code should compile.
FYI, we did add a feature in the past (unix sockets support) which requires a newer curl than is available in 14.04, which we did via a helper so that the code continues to compile on 14.04 (albeit the feature is not supported): https://github.com/IBM-Swift/CCurl/commit/ef7406e8a8e5a8c151840ac9b7d3f64f24441e22

For reference, this issue was caused by the Dockerfiles vended by the kitura init CLI being based on Ubuntu 14.04.  However, I'm happy to report that these have been updated, and are now based on the official Swift images (Ubuntu 18.04).


can this model detect and recognize text in images containing text

Hello, can this model detect and recognize text in images containing text

I don't think this is possible


[🐞] findLocation in vite-utils.ts crashes the server when the file path has parentheses in the path

Which component is affected?
Qwik Runtime
Describe the bug
Hi guys,
having some trouble with grouped layouts. If some of the components within grouped layout folder errors out findLocation will crash the whole server swallowing the original error.
Reproduction
https://github.com/moxival/qwik-parentheses-issue
Steps to reproduce

npm create qwik@latest

Create a route under (test)/path

For index.tsx you can use

import { component$ } from<EMAIL_ADDRESS>import { routeLoader$ } from<EMAIL_ADDRESS>
export const throwTest = () => {throw new Error('Test')}

export const useTest = routeLoader$(({ status }) => {
  try {
    throwTest();

    return {};
  } catch (error) {
    console.log('in catch', error);
    status(404);
  }
})

export default component$(() => {
  const test = useTest();

  return (
    // We try to force an error here
    test!.value!.error &&
Hello
 || <></>
  )
})

npm start

Go to http://localhost:5174/path/

System Info
System:
    OS: Linux 5.19 Ubuntu 22.10 22.10 (Kinetic Kudu)
    CPU: (4) x64 Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz
    Memory: 9.66 GB / 31.25 GB
    Container: Yes
    Shell: 5.2.2 - /usr/bin/bash
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 9.4.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
  Browsers:
    Chrome: 110.0.5481.177
    Chromium: 110.0.5481.177
  npmPackages:
    @builder.io/qwik: 0.21.0 => 0.21.0
    @builder.io/qwik-city: 0.5.3 => 0.5.3
    undici: 5.20.0 => 5.20.0
    vite: 4.1.4 => 4.1.4

Additional Information
If there is no (test) subfolder then the expected Cannot read properties of undefined (reading 'error') is shown but crashes when the (test) is present in the route path.
I searched for this bug in the issues but could not find anything. Let me know if you need more info.

I think this can be fixed with
qwik/packages/qwik/src/optimizer/src/plugins/vite-utils.ts:46
- const end = line.indexOf(')', start);
+ const end = line.lastIndexOf(')', start);


how to apply permission on custom action?

how to apply permission on custom action? like
import { AccessControlPlus } from 'accesscontrol-plus';
const accessControl = new AccessControlPlus();

// Define Administrator role permissions
const adminRole = accessControl.grant('Administrator');
adminRole.scope('users:get') // get method of users resource
adminRole.scope('users:suspend') // suspend method of users resource

I want to apply permission for suspend action of user resource. (suspend action will update user  isSuspend field to true, so that the user is indirectly terminate)

did you relsove problem ? tks


Requires-builder should accept the option 'all'

When a commit message contains a Requires-builder
directive, check for 'all'. If 'all' is present, then
all available builders should be used.
Signed-off-by: Giuseppe Di Natale<EMAIL_ADDRESS>

Merged as:
1166d7c Requires-builder should accept the option 'all'


⚠ Default LeaderElectionResourceLock to leases

What this PR does / why we need it:
Controller runtime sets by default leader-election-resource-lock to ConfigMapsLeasesResourceLock since v0.7 so consumers can do smooth transitions: https://github.com/kubernetes-sigs/controller-runtime/blob/1730628f118be1128787012c164379e6ac46c75f/pkg/manager/manager.go#L143-L156
Configmap updates to keep the lease alive result in large memory hits for any component that caches/syncs configmaps, particularly the apiserver. Furthermore, it requires additional rbac for controllers. This PR defaults our controller to leases and
should mitigate overwhelming the apiserver in a large management cluster and avoid additional rbac.
Please refer to kubernetes-sigs/cluster-api#5388 and https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/book/src/developer/providers/v1alpha4-to-v1beta1.md#warning-leaderelectionresourcelock-change-warning
/hold
Similar PR in CAPM3: https://github.com/metal3-io/cluster-api-provider-metal3/pull/384

/test-v1b1-integration

/unhold

/test-v1b1-centos-integration

/lgtm

/hold

/unhold


HELP! Cmake error

I am looking for LOPQ made with C++ rather than LOPQ made in Python language.
Then I found Fast-LOPQ.
I'm having a hard time building this using CMake.
Is there a way to solve this?

Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
Configuring done

CMake Error at cmake/ext-protobuf.cmake:175 (add_library):
Cannot find source file:
ext/protobuf/src/google/protobuf/compiler/code_generator.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:18 (include)

CMake Error at cmake/ext-protobuf.cmake:5 (add_library):
Cannot find source file:
ext/protobuf/src/google/protobuf/any_lite.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:18 (include)

CMake Error at cmake/ext-protobuf.cmake:282 (add_executable):
Cannot find source file:
ext/protobuf/src/google/protobuf/compiler/main.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:18 (include)

CMake Error at cmake/ext-protobuf.cmake:175 (add_library):
No SOURCES given to target: libprotoc
Call Stack (most recent call first):
CMakeLists.txt:18 (include)

CMake Error at cmake/ext-protobuf.cmake:5 (add_library):
No SOURCES given to target: libprotobuf
Call Stack (most recent call first):
CMakeLists.txt:18 (include)

CMake Error at cmake/ext-protobuf.cmake:282 (add_executable):
No SOURCES given to target: protoc
Call Stack (most recent call first):
CMakeLists.txt:18 (include)

Hi
First of all, did you pull all submodules of this repo?
Regarding your error message CMake can't find required source files that are part of protobuf library, referenced as submodule.
Next, check if ext/protobuf/src/google/protobuf/compiler/main.cc is accessible.
Best regards,
Denis

Thank you for your answer.
I tried to git clone.

git clone --recursive https://github.com/dmllr/fast-lopq.git

Then I want to build using cmake.

$ mkdir build
$ cd build
$ cmake ..

I succeeded in generating.
then I opened fast-lopq.sln using visual studio 2017 and I tried to rebuild ALL_BUILD file.
But a problem has arisen.

Error	D8004	'/W' requires an argument	libprotobuf
Error	D8004	'/W' requires an argument	libprotoc
Error	D8004	'/W' requires an argument	protoc
Error	MSB6006	"cmd.exe" exited with code 1.   fast-lopq
Error	D8004	'/W' requires an argument	fast-lopq-test

Am I doing the right thing?
Thank you. YongGyu.

Thank you for your answer.
I tried to git clone and update submodules following your answer.

git clone --recursive https://github.com/dmllr/fast-lopq.git
git submodule update --init

Then I want to build using cmake.

$ mkdir build
$ cd
$ build
$ cmake ..

I succeeded in generating.
then I opened fast-lopq.sln using visual studio 2017 and I tried to rebuild ALL_BUILD file.
But a problem has arisen.

Error D8004 '/W' requires an argument libprotobuf
Error D8004 '/W' requires an argument libprotoc
Error D8004 '/W' requires an argument protoc
Error MSB6006 "cmd.exe" exited with code 1. fast-lopq
Error D8004 '/W' requires an argument fast-lopq-test

Am I doing the right thing?
Thank you. YongGyu.

Yes, you're doing it right and the cause for problem is that protobof and protoc libraries are not well-compatible with MSVC toolchain.
/W switch used to set warning level and it requires a level after W.
As a workaround you may try to add
if (WIN32)
  if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--stack,4194304 -fpermissive")
  elseif(MSVC)
    # add options for Visual C/C++ Compiler here
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /F 4194304")
  endif()
endif()

to your cmake file.
I can't test building in Windows environment right now, so please try yourself.
Or (not recommended of course, but if you want to try), you can simply remove '/W' switch from all generated sources.

Thank you for your answer.
I edited my cmake file to following your answer.
############
cmake_minimum_required(VERSION 3.9)
project(fast-lopq)
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") # strip
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
include(GNUInstallDirs)
include("cmake/ext-blaze.cmake")
include("cmake/ext-protobuf.cmake")
#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -W -Wall -Wextra")
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -W -Wall -Wextra")
if (WIN32)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--stack,4194304 -fpermissive")
elseif(MSVC)
# add options for Visual C/C++ Compiler here
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /F 4194304")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /F 4194304")
endif()
endif()
add_subdirectory("fast-lopq")
add_subdirectory("fast-lopq-test")
###########
But I can't rebuild ALL_BUILD file.
More than 200 errors occurred.
Can you help me with detail?

Remove any set(CMAKE_CXX_FLAGS or set them empty.

I tried to use CMakeLists to build.
#######cmake-code#######
cmake_minimum_required(VERSION 3.9)
project(fast-lopq)
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") # strip
#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
include(GNUInstallDirs)
include("cmake/ext-blaze.cmake")
include("cmake/ext-protobuf.cmake")
#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -W -Wall -Wextra")
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -W -Wall -Wextra")
if (WIN32)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--stack,4194304 -fpermissive")
elseif(MSVC)
# add options for Visual C/C++ Compiler here
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /F 4194304")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /F 4194304")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /F 4194304")
endif()
endif()
add_subdirectory("fast-lopq")
add_subdirectory("fast-lopq-test")
########################
I faced the error.
Error MSB6006 "cmd.exe" exited with code 1.
So I saw this link(https://stackoverflow.com/questions/13118947/error-msb6006-cmd-exe-exited-with-code-1).
I've tried the answers. But I can't solve this. That's a different answer from mine.
Can you tell me how to overcome this error?

My suggestion is to avoid of using CMake and build the library from sources using your favorite toolchain.


Why doesn't js_sys::Array::push move the argument?

Summary
I understand that vec::Vec::push moves the argument. How come js_sys::Array::push only needs to borrow the JsValue?
Additional Information
Function signature of js_sys::Array::push
pub fn push(&self, value: &JsValue) -> u32

Function signature of vec::Vec::push
pub fn push(&mut self, value: T)

You can think of JsValue as being similar to Rc or Arc: it's valid to have many owned copies at the same time, and calling clone() on a JsValue is very fast.
So because you're pushing a JavaScript value into the Array, you don't need to worry about ownership, because JavaScript's garbage collector will handle ownership, so a & is good enough.

@Pauan I am not too familiar with JavaScript's memory model. Does treating JsValue as a pointer apply to the actual language of JavaScript itself? For instance, if I have a JavaScript Array of some class call Foo, does that Array contains pointers to Foo, and not the actual memory of Foo itself?

This is sort of our best attempt to map JS semantics onto Rust, but there's going to be a natural mismatch. There are not types in JS or addresses of items, in JS you've just got values and can reference them multiple times from multiple variables. There's approximations to what happens in Rust but there's nothing exactly the same.
The signatures here are our approximation of what push does on an array in JS. An Array can hold a bunch of values but they don't have addresses, it just holds values. They also don't have types, it's just normal JS values in the array.
The ergonomics of wasm-bindgen and Rust are what drives this signature where the way we model JS values in Rust (JsValue) doesn't require ownership on the Rust side to call a JS API, and it can be more efficient for our model in some circumstances. Remember though that everything we do in Rust is an approximation of JS and is geared towards making it easy to interoperate with JS.


Training on the MVSEC dataset

Your work is very meaningful!
After reading paper and codes, I am confused about the contents in Table IV.  Table IV show the results of two baselines and DCEIFlow on the MVSEC dataset. My confusion is how you trained models on MVSEC:

How the training sequence was divided? The 'valid_time_index ' of outdoor_day2 is set to be [4375,7002]. Should I only use them to train?
Which is the Epoch to be set? 200 or 300? And how the other hyperparameters configured?
Can you release the weights of DCEIFlow trained on MVSEC?

I am looking forward to your reply.

Thank you for your interest in our work. I hope I can solve your concerns.

The training data for the model trained with MVSEC are all valid indexs of outdoor_day2, i.e., [1950, 28500].
The experiments in our paper are training 100 epochs on FlyingChairs2 and 200 epochs on MVSEC. The open-source code uses only one GPU, so 200 epoches are needed to train on FlyingChairs2.
Since a longer time has passed, I will try to find it.

I apologize for the unclear expressions in the paper. I think I need to clarify some additional experimental details.
The experiments on the MVSEC dataset only were additionally requested by the reviewers and were not the focus of our paper. Therefore we made a fair comparison with baselines only and not with existing methods in Table 4. In the experiments on MVSEC, we not only used the full outdoor_day2 data, but also add image data augmentation as well as an unsupervised training loss function (cf. ARFlow), in order to achieve acceptable generalization performances. The weights of supervised and unsupervised losses are 1:2.

Thanks for your reply. It is very helpful to me!


Make pages from Pouder's book available on edit page.

This will make data entry much easier.

Done!


move demos out of / and make them compile

Will add this to CI in a separate PR

Added stuff to CI in this PR cc @eatonphil

Should’ve merged as is, committing suggestion dismissed review :(

Ah, no, there weren’t an approving review, so I am not in a position to merge as is, as our benevolent automation requires a green checkmark

@sentientwaffle could you r+?

bors r+
I'm glad you reminded me, I was about to Approve it from muscle memory :stuck_out_tongue:

:facepalm:
bors r+

Probably need to bump the version in the node client's package.json.

Bumped! Now that we have bors, we'd have to fix that though, as it'll become annoying in no time

Yeah, one of the limitations of bors is that you can't have flaky tests :D

let's re-try this while we are sorting .net issues
bors r=sentientwaffle
(bors has build-in support for impersonating someone)

bors r+
Retrying again, atop https://github.com/tigerbeetledb/tigerbeetle/pull/392


Custom JsonConverter is not honored when serializing script parameters.

NEST/Elasticsearch.Net version: 7.9.0
Elasticsearch version: 7.9.1
Description of the problem including expected versus actual behavior:
I have a custom JsonConverter registered to serialize Guid types using the shorter "N" format. To register custom
serializer I followed the guide at https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/custom-serialization.html.
So far my custom converter works fine for document types, but as soon as I start to add complex script parameters which have Guid's inside my custom converter is not used anymore.
Expected behavior
Expected behavior is that a custom JsonConverter is used for document types and script parameters.

Relates: #4971
Closing this issue to consolidate discussion on the existing issue. @prochnowc please feel free to upvote the existing issue and discuss there.


Amendment to Northern Ireland section

ONS pointed out a minor error with the content on White ethnic groups in the Northern Ireland section.

Resolved by: https://github.com/racedisparityaudit/ethnicity-facts-and-figures-publisher/pull/1262


Fix typo in README.md

Paramters -> Parameters

Thanks for your interest in our work and my team members have corrected it by merging it from another pull request and found that this is the same.


Pressure test  return 404 - Ocelot

hello  there
my situation:
Pressure test  by  jemeter  ,80 users ,request 100 seconds,  At first it was normal. but sometimes,I  got many 404
configuration:
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/v1/hear-froms",
"DownstreamScheme": "http",
"UpstreamPathTemplate": "/api/v1/hear-froms",
"UpstreamHttpMethod": [ "Get" ],
"ServiceName": "Lunz.Microservice.WebApp",
"LoadBalancer": "RoundRobin",
"UseServiceDiscovery": true,
"ReRouteIsCaseSensitive": false,
"QoSOptions": {
"ExceptionsAllowedBeforeBreaking": 3,
"DurationOfBreak": 10,
"TimeoutValue": 5000
},
"AuthenticationOptions": {
"AuthenticationProviderKey": "default",
"AllowedScopes": [ "lunz-sharp-template" ]
}
},

Log:
2018-06-29-all.log
Any assistance would be appreciated.

@magnificence-dream thanks for your interest in the project!!
Please could upload your source code for this test project? If you cannot do that then your program.cs / startup.cs and ocelot.json would help.
Also if you could run the tests with some logging turned on (dont log to console) and paste the logs here that would help.
I have not seen this kind of behaviour before.

@TomPallister  thanks very much
here is the source code:
https://github.com/magnificence-dream/apigateway
the configuration is : configuration.Staging.json

@magnificence-dream I will look ASAP! thanks for this 😄

@magnificence-dream this is the next issue I will look at, sorry for the wait.

@magnificence-dream this is a very strange one!!
If you search the log for this message
There were no services in NoLoadBalancer errors found in ResponderMiddleware. Setting error response for request path:/api/v1/hear-froms, request method: GET
These errors will return a 404 so that is probably the source of your problem. This means that Ocelot has identified your ReRoute for /api/v1/hear-froms as not needing as using no loadbalancer and not finding any services. This suggests either your service discovery provider has no services or it has defaulted to not using a service discovery provider. However this should not be possible as you specify use service discovery and the round robin load balancer.
After looking more this code might be causing the issue
public async void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.ConfigureCors();

            app.UseStaticFiles();

            app.UseSwagger();

			app.UseMvc();

			await app.UseOcelot();
        }

It needs to be as the method cannot be async as far as im aware. I would try this and see if it makes a difference because Ocelot probably has not started properly.
 public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.ConfigureCors();

            app.UseStaticFiles();

            app.UseSwagger();

			app.UseMvc();

			app.UseOcelot().Wait();
        }

Thanks @TomPallister for the information
I didn't use load balancing until I released it to the test.
I test again after modify the url to " /api/v1/hf" and then sometimes it's okay(no 404),
unfortunately, sometimes it's not
It's just the one place (modify the UpstreamPathTemplate )to change,is there any special logic for this
Thanks！

@magnificence-dream there is no special logic, you should not get random 404 errors. Please can you send me the logs while the performance tests are running?

@TomPallister  glad to  your reply~
I tested it with another interface. The problem is the same as before.
100 users ,request 100 seconds:

request url:

confifuration.Staging.json:

performance tests result:

the logfile:
https://github.com/magnificence-dream/apigateway
Retest as follows:
mofity the url to "/api/v1/hf/{id}",everything else is the same as "/api/v1/hear-from/{id}"

I tested it five times in a row,and it was all good

if i change it back,it's not good again.

@magnificence-dream very strange I will again ASAP!

@magnificence-dream it looks like Ocelot doesnt think there are any services available hence the 404...the log example is below.
2018-07-13 09:09:57.8836||WARN|Ocelot.LoadBalancer.Middleware.LoadBalancingMiddleware|requestId: 0HLF8B81520JR:00000024, previousRequestId: no previous request id, message: There were no services in NoLoadBalancer
Either there is a bug in Ocelot where it can break under load, your services have de-registered with Consul, there is a problem calling Consul. It might be a problem calling Consul, from your config it looks like you are not using a Consul agent as a sidecar so the performance might not be great.
The first thing I would suggest doing is get Ocelot version 8.0.0 (there might be a problem with 8.0.1) and set pollconsul as your ServiceDiscoveryProvider e.g.
                "ServiceDiscoveryProvider": {
			"Host": "consul.m.lunztech.cn",
			"Port": 80,
                         "Type": "pollconsul"
		},

Then let me know if this makes a difference?

I will close this for now, let me know if you want to reopen it.


Swedish Translations

I'd like to translate the site into Swedish

@HVEVB we've just enabled Swedish on https://crowdin.com/project/opencollective/sv-SE. Languages are usually enabled on the website when they reach ~20% completion. Thank you for contributing!


Feature: Capability to Deploy currently active image using Application Groups

🔖 Feature description
This feature enhances application group's capability to deploy the application's Currently Active image.
🎤 Pitch
Whenever I make generic changes from infra configs point of view or deployment strategy or a change in deployment template or changing the version of deployment template which belongs to all the applications of a certain env then in order to bring those changes into effect I'll need to deploy the applications in bulk.
Here I can not Deploy apps using Application groups as it deploys Latest image only.
Hence this feature request.
✌ Solution
NA
🔄 Alternative
NA
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#6021

Closing as feature capability added with #1428


about input size

I see the model's input reduce by half, SSSR and SISR output's size is origin input size, i think the output size is twice bigger than origin input size.

Hi there, sry for the long time waiting. I have been working on another project so i didn't pay much attention on this repo recent days.
Yes thats basically what DSRL is doing, generating a 2x larger output image than the input. I'm not sure I understand what you are trying to say but i guess that you mean the input should use the original size image and the output should be twice larger than it. Well you can always do this as long as you have the HR ground truth masks: the size of input and output is always relative.

thankyou , i have understand what you said
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2021年7月12日(星期一) 晚上7:56
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Dootmaan/DSRL] about input size (#14)
Hi there, sry for the long time waiting. I have been working on another project so i didn't pay much attention on this repo recent days.
Yes thats basically what DSRL is doing, generating a 2x larger output image than the input. I'm not sure I understand what you are trying to say but i guess that you mean the input should use the original size image and the output should be twice larger than it. Well you can always do this as long as you have the HR ground truth masks: the size of input and output is always relative.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


CFF Subroutinizer

[ ] Add a Subroutinizer to CFF support (in charstring_il.c, or a separate file).
[ ] Assign to otfcc’s -O3

cc. @huntzhan @schriftgestalt

Objective: Extract one subroutine from the existing charstrings or subroutine definitions, which is defined as the most "valuable" common substrings in them. The value is calculated as (length - 2) × ((non-overlapping occurrences) - 1).
A program may be either a charstring or a subroutine. A charstring follows:
any* (rmoveto_operator | hmoveto_operator | vmoveto_operator) ((operand * | progid) operator special*)+ endchar_operator
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

while a subroutine follows
 ((operand * | progid) operator special*)+ return_operator
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

When analyzing a program, you should only analyze the range with wavy underline above, using this pattern:
(operand * | progid) operator special*

as its basic unit.
Your extracted subroutine should follow this pattern either.
Interface: charstring_il extract_subroutine(charstring_il *in, uint32_t cs_length, uint32_t sr_length, uint16_t progid);

cs: The array of input programs. The programs will be modified.
cs_length: the quantity of charstrings in in.
sr_length: The quantity of existing subroutines in in. cs_length + sr_length == the length of in.
progid: The subroutine ID of the subroutines.
return value: The extracted subroutine. If all substrings in in do not have positive value, return NULL. Otherwise, return a new charstring_il containing its content and a return command (IL_TYPE_OPERATOR with i equal to op_return), and replace all its occurrences in in with a call stub (which is a IL_TYPE_PROGID argument and a IL_TYPE_OPERATOR with i = op_callgsubr).

Limitations:

The stack depth used for subroutine invocation is 10. See Appendix B of (Ado1).

cc. @clerkma

@huntzhan @clerkma @schriftgestalt
Found papers about this:

Alberto Apostolico, Stefano Lonardi: Off-Line Compression by Greedy Textual Substitution. Proc. IEEE, vol. 88 no. 11, pp. 1733-1744, Nov. 2000
Alberto Apostolico, Stefano Lonardi: Some Theory and Practice of Greedy Off-Line Textual Substitution. Data Compression Conference 1998:119-128
Alberto Apostolico, Stefano Lonardi: Compression of Biological Sequences by Greedy Off-Line Textual Substitution. Data Compression Conference 2000:143-152

Done.


Add scaler v2 to docs pipeline

See title, need to do this by Aug 14th

Forgot I needed a docs/ prefix


halon_transactions: Remove '-' in custom indexname for log_postdelivery

This is to ensure the same index is used between all log functions if a user specifies a custom index.

Thank you for the fix!


Problems panel not clearing problems from deleted file

VSCode Version: Code 1.10.2 (8076a19fdcab7e1fc1707952d652f0bb6c6db331, 2017-03-08T14:02:52.799Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

gitignore
codezombiech
0.5.0

javadebugger
donjayamanne
0.0.2

python
donjayamanne
0.6.0

output-colorizer
IBM
0.0.11

tabsanity
jedmao
0.0.9

docomment
k--kato
0.0.14

vscode-rust
kalitaalexey
0.3.10

csharp
ms-vscode
1.8.0

PowerShell
ms-vscode
0.10.1

Ruby
rebornix
0.10.4

java
redhat
0.0.13

vscode-icons
robertohuertasm
7.4.0

change-case
wmaurer
1.0.0

The problems panel is still showing problems for a file that has been deleted from disk.

Notice that there's no test.cs in the second picture.
If I click on a problem to open the file I get a file not found error as expected.

Steps to Reproduce:

Create a file with errors in some language that produces problems (I've only tried C#).

Delete the file (through VS Code or Explorer, I've reproduced it with both).

See that the problems reported from that file are still showing in the problems pane.

This sounds like a bug with the C# extension. It doesn't repro with the C++ extension, because we re-publish empty Diagnostics via using vscode.workspace.createFileSystemWatcher with onDidDelete.

I opened https://github.com/OmniSharp/omnisharp-vscode/issues/1344 with the C# extension in case it's on their end.

Thanks for confirming.


Dropdown with tooltip breaks on click, with errors

Operating system: Linux
Browser: Chromium Version 87.0.4280.66
When a dropdown is also given a tooltip, the tooltip works properly on hover. But once you click the dropdown, it breaks: the dropdown refuses to close and the tooltip will not disappear. Errors appear when the cursor hovers in/out:
Uncaught TypeError: Cannot set property 'hover' of undefined
    at o.r._enter (tooltip.js:117)
    at HTMLButtonElement.<anonymous> (tooltip.js:553)
    at HTMLButtonElement.n (event-handler.js:101)
Uncaught TypeError: Cannot set property 'hover' of undefined
    at o.r._leave (tooltip.js:117)
    at HTMLButtonElement.<anonymous> (tooltip.js:554)
    at HTMLButtonElement.n (event-handler.js:101)

https://jsfiddle.net/9q8xn40r/

Both components require the usage of data-bs-toggle, which cannot exist on the same element. You'd need to wrap the element I believe so that the two separate behaviors can function as desired.
/cc @twbs/js-review for confirmation.

Both components require the usage of data-bs-toggle, which cannot exist on the same element. You'd need to wrap the element I believe so that the two separate behaviors can function as desired.
/cc @twbs/js-review for confirmation.

Tooltip can be initialized without data-bs-toggle, it is just a selector for initializing the tooltips.
But the main problem is that Bootstrap does not allow multiple plugins to be used on a single DOM element.
Ref: https://github.com/twbs/bootstrap/issues/32123#issuecomment-731020351
But it can be supported in #32180
/CC @XhmikosR

Tooltip can be initialized without data-bs-toggle, it is just a selector for initializing the tooltips.
But the main problem is that Bootstrap does not allow multiple plugins to be used on a single DOM element.
Ref: https://github.com/twbs/bootstrap/issues/32123#issuecomment-731020351
But it can be supported in #32180
/CC @XhmikosR

I'm unsure if we should allow multiple plugins on the same element. And #32180 as is does not change this AFAICT.
We should close all issues about multiple plugins and create a new one to discuss it for v5.

I'm unsure if we should allow multiple plugins on the same element. And #32180 as is does not change this AFAICT.
We should close all issues about multiple plugins and create a new one to discuss it for v5.

Yes, #32180 does not change the behavior yet. :+1:
But that's why that PR is pending IMO

Yes, #32180 does not change the behavior yet. :+1:
But that's why that PR is pending IMO

I'd rather not change the behavior in that PR. We need to have this in a separate PR with unit tests and further discussion. As long as the change is not a breaking one, we can land it on v5.

I'd rather not change the behavior in that PR. We need to have this in a separate PR with unit tests and further discussion. As long as the change is not a breaking one, we can land it on v5.


Release notes updates for cert-manager v1.16.0-beta.0

Preview:

https://deploy-preview-1565--cert-manager.netlify.app/docs/installation/
https://deploy-preview-1565--cert-manager.netlify.app/docs/releases/release-notes/release-notes-1.16
https://deploy-preview-1565--cert-manager.netlify.app/docs/releases/upgrading/upgrading-1.15-1.16

There's more work to do, but in this PR I've updated the raw release notes,
and started filling out the themes of the release and summarizing the breaking changes.
I'd like to merge this into release-next and continue improving the documentation in follow up PRs
so that content will be available to beta testers who click on the next link in the website version selector.

Would it make sense to add:

https://github.com/cert-manager/cert-manager/pull/7273

The general way to enable it is:
+++ b/apps/charts/cert-manager/values.yaml
@@ -51,3 +51,4 @@ cert-manager:
     kind: ControllerConfiguration
     featureGates:
       ServerSideApply: true
+      UseDomainQualifiedFinalizer: true

Enabling this should resolve warnings in cert-manager-controller pods of the form:

W0910 20:07:22.491920 1 warnings.go:70] metadata.finalizers: "finalizer.acme.cert-manager.io": prefer a domain-qualified finalizer name to avoid accidental conflicts with other finalizer writers


fix fish petting

About the PR
fixes #16092
sloth removed the code to handle faction exceptions in thing
this is also a much cleaner way than how it was done before so yeah
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

fix: The Chief Space Dragon has re-authorized space carp to be friendly to their petters.

i cannot test because some bozo broke defib !!!!!!!


Show auto complete above input field when there is no space downwards

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


Defines Async API primarily with AmplifyTask and Task Adapter for Operations

Issue #, if available:
Description of changes:
Amplify V2 will have an async API and encapsulate Operations as an internal implementation. AmplifyTask will define the public API for Tasks. Operations are given to ChildTask to provide async properties value and inProcess.

adds AmplifyTask
adds ChildTask
revises AsyncChannel and AsyncThrowingChannel to use AsyncStream
adds BufferingSequence to support AsyncStreams
implements Task.sleep(seconds:)
revises Combine support in Operations to work with AmplifyTask
adds RequestIdentifier
integrates RequestIdentifier with AmplifyTask
adds AsyncPassthroughSubject to work with AmplifyTask
adds AsyncExpectation to support testing

Check points: (check or cross out if not relevant)

[ ] Added new tests to cover change, if needed
[ ] Build succeeds with all target using Swift Package Manager
[ ] All unit tests pass
[ ] All integration tests pass
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[ ] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

unit tests failing in the github actions workflow
❌  /Users/runner/work/amplify-ios/amplify-ios/Amplify/Core/Support/ChildTask.swift:15:27: type 'InProcess' does not conform to protocol 'Sendable'

    var inProcessChannel: AsyncChannel<InProcess>? = nil

https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#xcode Xcode 13.2.1

unit tests failing in the github actions workflow
❌  /Users/runner/work/amplify-ios/amplify-ios/Amplify/Core/Support/ChildTask.swift:15:27: type 'InProcess' does not conform to protocol 'Sendable'

    var inProcessChannel: AsyncChannel<InProcess>? = nil

https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#xcode Xcode 13.2.1

https://github.com/aws-amplify/amplify-ios/issues/2155


Bug: [Report 2] Standard Context Menu lag when launched as admin (Menu bar or Tray icon)

Brief description of your issue
https://github.com/winsiderss/systeminformer/issues/1278 -- Re-open -- Was closed without a chance to respond 😢
Video demo of bug:
https://www.youtube.com/watch?v=NkShxsJwrQA
@dmex You mentioned (https://github.com/winsiderss/systeminformer/issues/1278) this is because of Security Software and bcd.dll and registry BCD keys ... I'm afraid I have no idea what this has to do with it. Can you clarify?

What does BCD and bcd.cpp in the code have to do with the standard context menu generation (unless it is involved and I'm not familiar) ?
Windows Defender is entirely disabled from the driver & kernel perspective on one of the PCs.
This can be repro-ed on multiple PCs, VMs, etc when running as an admin regardless of "security software

Steps to reproduce
I'll attach this Debug64 build (unzip, rename .txt to .exe, verify im not trying to pwn you ... which I wouldn't based on how long i've been around here).
SystemInformer.zip

Run elevated
Click on the 'System' menubar item (not View | Tools | Users | or Help which are Unaffected)
Also impacted: Tray icon right clicking.

Does the lag occur to you with this build, or is it truly all my Win10 Machines & VMs when launched elevated ? (I don't have a Win11 VM at the moment to confirm). I don't quite understand how this would not be reproducible for you. This is occuring with the code downloaded as-is compiled in Debug | x64 as-is, with no settings, with no modifications, and attempted both in VS2022 and VS2022 Preview (both which compile fine, but experience this Menu bug).
Can you try backing up and deleting your settings in %AppData%\Process Hacker just to be sure you don't have some setting that is preventing this?
Can others confirm whether or not they are experiencing this when running their builds elevated and trying to left-click 'System' or right click the tray icons? ( @jxy-s   @diversenok    @ionescu007 )
Actual behavior
https://www.youtube.com/watch?v=NkShxsJwrQA
Expected behavior
Function as intended. Not like that ^
Environment
Win10 21H2.
Latest Windows SDK from VS2022 (did not ask for an upgrade, so nothing was changed)

@AltF5 - do not open a new issue just because a previous one was was closed. We consider that spamming. Consider this a warning.
What is stopping you from continuing your discussion on a closed issue? We can always re-open the previously closed one.

@AltF5 - do not open a new issue just because a previous one was was closed. We consider that spamming. Consider this a warning.
What is stopping you from continuing your discussion on a closed issue? We can always re-open the previously closed one.

I didn't know Closed issues could be re-opened and Closed are still considered / viewed.


api.js using gzip instead of brotli

Would be great to see this endpoint using brotli.
https://apis.google.com/js/api.js

Sorry that we did not answer this question in a timely fashion. I am closing this for now, but if you still need help with this question, please reopen.


Permutation and IntegerMapGenotype tests and changes

Coverage increased (+0.8%) to 10.278% when pulling d13ef86c85fb357011875cbe691b2a0a8d6f2461 on FedorSmirnovUdacity:master into 6c309bd6e3c8db53a16b1885cea1aa94f7d0c991 on felixreimann:master.


Cant add one speicific item to atlas??

For some reason atlas hates the texture 9, ive deleted and re made it multiple times yet it still gives me mthis error?

This issue seems to be with Material Combiner and not cats please ask for help here instead: https://github.com/Grim-es/material-combiner-addon


Improving docs for pagination and sort

In response to #599

Hi @david-bc,
Thank you for the PR, seems that the current version is case insensitive.
I've added a test to be sure:
https://github.com/typicode/json-server/blob/f56624eb714cfc7f9023688e144376e6c0cd87a3/test/server/plural.js#L245

Not in the live version:
http://jsonplaceholder.typicode.com/posts?_sort=id&_order=desc
http://jsonplaceholder.typicode.com/posts?_sort=id&_order=DESC
Good luck!

I see 👍 JSONPlaceholder is a little behind, it needs to be updated.

JSONPlaceholder have been updated ;)


Reproduce the DAVIS 2017 using the checkpoint of  DeAOT+Rem provided in the repo

Congratulation！ Wonderful Work!
I hava some question about the result of the paper. In the Table 6, I found the  J mean of DeAOT+Rmem DAVIS can up to 88. However, I using the checkpoint  of  DeAOT+Rem provided in the repo, just get 76.1 in DAVIS. I want to make sure whether the checkpoint of  DeAOT+Rmem running in the DAVIS is the same as that running in the VOST in the paper.

Thank you for your question. The checkpoint in the repo is specific for VOST dataset (trained for 20000 steps on VOST). The checkpoint for DAVIS is not the same as the one in repo.
I will find the checkpoint for DAVIS in a few days and let you know.