Errornous simplified SVG

The SVG file was created originally with Inkscape. I wanted to export it using save->simplified XML. Inkscape generated an errornous svg from this file.

(by zsolt-sandor)

(by zsolt-sandor)
This was the original file, multiple problems happens during export...

(by apenner)
could you indicate which OS you are on, and which version of Inkscape?
On Windows 7, Inkscape rev 0.48.5 r10040 I cannot reproduce the problem.
The options I have there are Save As Plain SVG, and Save As Optimized SVG. Both appear to work normally.

(by zsolt-sandor)
Hello,
windows 7, latest inkscape downloaded from the website. I can tell you more
tomorrow.
Zsolti
On Tue, Sep 16, 2014 at 9:10 PM, Alvin Penner  wrote:

could you indicate which OS you are on, and which version of Inkscape?
On Windows 7, Inkscape rev 0.48.5 r10040 I cannot reproduce the problem.
The options I have there are Save As Plain SVG, and Save As Optimized SVG.
Both appear to work normally.
--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1369998
Title:
Errornous simplified SVG
Status in Inkscape: A Vector Drawing Tool:
New
Bug description:
The SVG file was created originally with Inkscape. I wanted to export
it using save->simplified XML. Inkscape generated an errornous svg
from this file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1369998/+subscriptions

(by zsolt-sandor)
Hello,
i could reproduce it on my home computer, too...
Windows 7, Inkscape 0.48.5 r10040

Open the second svg file
File->Save as
Select optimized SVG

Simplifiy colors,
Style to xml
Group collapsing
Enable id stripping
Strip xml prolog
is set
Press ok
Open the newly created svg..
Attached the resoult svg file

(by apenner)

reproduced on Windows 7, Inkscape 0.48.5. The triangle portion of the A letter is misplaced.
not reproduced on Windows XP, recent trunk revision 13549. However the options available in this output have been significantly rearranged and redefined in trunk, so I'm not sure how to duplicate the original settings you were using.

(by zsolt-sandor)
Is there a windows installer available from recent trunk so i can try it
out?
2014.09.16. 23:16 ezt írta ("Alvin Penner" ):

reproduced on Windows 7, Inkscape 0.48.5. The triangle portion of the A
letter is misplaced.
not reproduced on Windows XP, recent trunk revision 13549. However the
options available in this output have been significantly rearranged and
redefined in trunk, so I'm not sure how to duplicate the original settings
you were using.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1369998
Title:
Errornous simplified SVG
Status in Inkscape: A Vector Drawing Tool:
New
Bug description:
The SVG file was created originally with Inkscape. I wanted to export
it using save->simplified XML. Inkscape generated an errornous svg
from this file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1369998/+subscriptions

(by zsolt-sandor)
Also, can you please reproduce the same issue with the svg posted in #2.
This was the bigger file i started to work with, and it has at least 3 different problems:

The inside triangle of A is moved to the right
The arrow has like an additional stroke (if i go to stroke and click to none, it disappears)
The path on the right side also gets wrong

(by zsolt-sandor)
Tried out with Inkscape 0.91pre2, and it seems to work perfectly.
On Wed, Sep 17, 2014 at 6:40 AM, Zsolt Sandor
wrote:

Is there a windows installer available from recent trunk so i can try it
out?
2014.09.16. 23:16 ezt írta ("Alvin Penner" ):

reproduced on Windows 7, Inkscape 0.48.5. The triangle portion of the A

letter is misplaced.

not reproduced on Windows XP, recent trunk revision 13549. However the
options available in this output have been significantly rearranged and
redefined in trunk, so I'm not sure how to duplicate the original settings
you were using.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1369998
Title:
Errornous simplified SVG
Status in Inkscape: A Vector Drawing Tool:
New
Bug description:
The SVG file was created originally with Inkscape. I wanted to export
it using save->simplified XML. Inkscape generated an errornous svg
from this file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1369998/+subscriptions

(by zsolt-sandor)
Just checked with inkscape 0.91pre2
The stroke to the arrow is added, the arrow is wider than original.

(by zsolt-sandor)
This is the result, still wrong...

(by apenner)
for the file ai_sort_date_asc_e.svg, I can confirm that there is a problem with the conversion of the vertical arrow in the drawing.
It looks as if the stroke width of the arrow has been misinterpreted (too large).
The original drawing had the property stroke:none set for this arrow. The simplified output does not use this property. If I manually copy and paste the stroke:none property into the simplified drawing, then the discrepancy seems to be removed.

@Ede123 The problem here seems to be that a path inherits the stroke from the parent group. So if the stroke:none style is removed, it applies the stroke from the group.
Code Before optimization:
<g
   transform="matrix(-0.70710678,0.70710678,-0.70710678,-0.70710678,30.213203,15.807612)"
   id="g2852"
   style="stroke:#646464;stroke-opacity:1;fill:none;fill-opacity:1">
  <path
     style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#646464;fill-opacity:1;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans"
     d="M 8,5 C 7.9215181,11.081868 7.96875,17.167156 7.96875,23.25 7.3765428,22.643883 6.7685006,22.054381 6.15625,21.46875 L 4.75,22.875 c 1.4506302,1.45063 2.9915849,2.991585 4.25,4.25 1.45063,-1.45063 2.991585,-2.991585 4.25,-4.25 L 11.84375,21.46875 C 11.22461,22.047205 10.630276,22.650974 10.03125,23.25 9.9261582,17.169138 10.189975,11.079187 10,5 z"
     transform="matrix(-0.70710678,-0.70710678,0.70710678,-0.70710678,10.186291,32.54163)"
     id="path2854"
     inkscape:connector-curvature="0"
     sodipodi:nodetypes="cccccccccc" />
</g>

After optimization:
<g id="g2852" transform="matrix(-.70711 .70711 -.70711 -.70711 30.213 15.808)" stroke="#646464" fill="none">
 <path id="path2854" style="block-progression:tb;text-transform:none;text-indent:0" d="m8 5c-0.0785 6.082-0.0312 12.167-0.0312 18.25-0.5923-0.606-1.2003-1.196-1.8126-1.781l-1.4062 1.406 4.25 4.25 4.25-4.25-1.406-1.406c-0.619 0.578-1.214 1.182-1.813 1.781-0.1048-6.081 0.159-12.171-0.031-18.25z" color="#000000" transform="matrix(-.70711 -.70711 .70711 -.70711 10.186 32.542)" fill="#646464"/>
</g>

If the stroke attribute on the group is removed, the arrow with id path2854 renders as expected.

Thanks for investigating!
Therefore this is yet another duplicate of #22.


Run CI checks for all PRs

It seems that only PRs against main run CI checks, which is problematic, as working on topic branch disables checks - this is very error prone.

This is not true.


[DOCS] Typo in v11 CHANGELOG.md

The following bullet point in the NPM v11.0.0 release changelog is confusing. I believe it is a typo.
https://github.com/npm/documentation/blob/ade0a0135b4ae9a6f40299159e760e1b3e603611/content/cli/v11/using-npm/changelog.mdx?plain=1#L57

and sorts the entries the created packages differently

Was this intended to read

and sorts the entries and created packages differently

?

I think it should be and sorts the entries of the created package.json differently


Checkout - style should fit rest of the page.

We've agreed to don't start whole checkout flow modification in this sprint, because lack of time. But the styles should be improved to deliver consistent experience across whole store.

[ ] Shipping method
[ ] Summary
[ ] Payment

Checkout steps with styles:


chore: bdd-spring-1573049570 to 0.0.1

chore: Promote bdd-spring-1573049570 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Stable Diffusion XL - M1 mac doesn't work with fp16 on tutorial script - LLVM ERROR: Failed to infer result type(s)

Getting this issue still on trying the basic tutorial for SDXL inference (16GB MacBook Pro M1).
This mostly works (if I strip out the tutorial's recommendation for fp16) - but takes forever (iteration time 66 seconds), and then dies on the 50th iteration due to "MPS backend out of memory":
from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", use_safetensors=True)
pipe = pipe.to("mps")
pipe.enable_attention_slicing()
 prompt = "An astronaut riding a green horse"
 images = pipe(prompt=prompt).images[0]

The recommended call:
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")

results in the error previously mentioned:
loc("varianceEps"("(mpsFileLoc): /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphUtilities.mm":228:0)): error: input types 'tensor<1x77x1xf16>' and 'tensor<1xf32>' are not broadcast compatible
LLVM ERROR: Failed to infer result type(s).
Abort trap: 6

/Users/mike/miniconda3/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Running torch 2.0.1, installed from the requirements.txt as per the README on this repo.
Anything I can do? I've got it working successfully on a 1080 Ti and a T4 (just following tutorial with no modifications), but I'm stuck on the M1.

Same issue here on MacBook Pro M2 Max in a REPL (using pyenv and pyenv-virtualenv):
>>> from diffusers import DiffusionPipeline
>>> import torch
>>> pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
Loading pipeline components...: 100%|█████████████| 7/7 [00:00<00:00,  7.90it/s]
>>> images = pipe(prompt="An astronaut riding a horse").images[0]
loc("varianceEps"("(mpsFileLoc): /AppleInternal/Library/BuildRoots/d9889869-120b-11ee-b796-7a03568b17ac/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphUtilities.mm":228:0)): error: input types 'tensor<1x77x1xf16>' and 'tensor<1xf32>' are not broadcast compatible
LLVM ERROR: Failed to infer result type(s).
zsh: abort      python
/Users/user/.pyenv/versions/3.11.4/lib/python3.11/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

After all of this is printed to the console, the REPL exits completely, and I am returned to the shell.

@mbewley, could you please add to the title of this issue that the problem is with Stable Diffusion XL? I believe that this repository is for several generative models and not just SDXL.

Done - sorry - that's all I've tested it on, not sure about whether it impacts more broadly.

Can confirm also confirm on MacBook Pro M2 Max running in a conda env. Changing torch_dtype=torch.float16 to torch_dtype=torch.float32 fixed the issue for me.

This is remains a problem on M2 MacBooks with PyTorch@latest on MacOS Sonoma. Using the torch.float32 dtype (or the --no-half CLI arg for AUTOMATIC1111 users) works, albeit at a glacial pace.

if you're on Sonoma try
pip install -U torch torchvision torchdata torchaudio
Make sure the version of torch it installs is 2.1.
If you not on Sonoma there a load of fp16 fixes that need applying to torch
I've been running with fp16 has ages, and have a git repo showing how to get it working on a 8Gb M1
https://github.com/Vargol/8GB_M1_Diffusers_Scripts/tree/main/sdxl
@WildDanDan I'd look into other SD apps if I was you Auto1111 and Apple Silicon have never mixed that well
I use InvokeAI when not using  my own Diffusers scripts but there are others.

try the special pipeline:
pipe = StableDiffusionXLPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0")
works for me


--test-categories option doesn't work

Executing the example:  tf --output="fixtures" --test-categories vm/vm_arith/vm_add yields:
INFO:ethereum_test_filling_tool.filler:collected 0 fillers

Apologies, the readme/documentation uses the incorrect format. I believe you have already figured it out from you PR by using . between directories instead of /.


Undo limit on search results for lookups

Describe the feature you'd like
We would like to

expand the number of returned results in lookup queries beyond the first 10
provide pagination for results exceeding display/return limit of 10

Give an example
When searching a name with many entries like "twain, mark" we are only returned 10 results, none of which contain the desired authority. Further pagination is needed.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I left Sinopia and navigated to the service which the lookup is caching in order to find the authority and provide the full LC label for my lookup search in Sinopia. Sinopia's lookup will not return the desired result using the URI or the LC identifier. Alternatively, after visiting id.loc.gov, I could enter my own URI/label and no longer use the lookup service.

@kallimathios Can you please provide precise instructions on how this can be replicated?

Hi @justinlittman - no problem. Please see below for this specific example, and if I can provide more details please let me know.
-In Sinopia Stage, navigate to the template pcc:bf2:Monograph:Work, and create a new description
-Navigate to "Primary Contribution" in the left-hand side menu, or scroll down to "Primary Contribution"
-Under Creator of Work, click on "Add Creator of Work"
-Select optional class of person (optional)
-Click on "Add Agent"
-Enter "twain, mark" into the lookup search field and click search
Thank you!

Thanks. Exactly what I needed.

I believe the pagination issue is due to a known and long-standing bug in QA: https://github.com/LD4P/qa_server/issues/477 (cc @sfolsom).
We can easily change the number of results on a page. What would you like that number to be? (If I recall, it was deliberately set to a low number for display purposes.)

Thank you - I will take a look at the bug and hope to have more info about an ideal number soon!

Thanks for cc'ing me. With the move to data provider API-based QA lookups, I wonder if we need to reconsider how pagination should be handled. We're relying on what data providers include in their responses, and I haven't noticed any counts and rank coming from their native APIs to translate into the QA response.
For APIs that are returning RDF (no order), results are being sorted alphabetically in the JSON that QA is providing. For APIs that return JSON, we're using the relevancy order that they provide in the QA-styled JSON. Is there the possibility that Sinopia could take the results of the search and chunk it up into pages?

@sfolsom If I'm not mistaken, the bug is with cached QA lookups. Does QA pagination work correctly for direct QA lookups?
I'd suggest that pagination is firmly a QA responsibility and should not be handled by a consuming application like Sinopia.


ARROW-11472: [Python][CI] Temporary pin numpy on kartothek integration builds

@github-actions crossbow submit test-conda-python-3.7-kartothek-latest test-conda-python-3.7-kartothek-master

FYI @fjetter

@fjetter is already aware at https://github.com/JDASoftwareGroup/kartothek/issues/396


the deploy script fails on type error

Followed instruction, got bug
brownie run scripts/governance_standard/deploy_and_run.py
Brownie v1.19.0 - Python development framework for Ethereum

New compatible solc version available: 0.8.14
Compiling contracts...
  Solc version: 0.8.14
  Optimizer: Enabled  Runs: 200
  EVM Version: Istanbul
CompilerError: solc returned the following errors:

TypeError: Data locations of parameters have to be the same when overriding non-external functions, but they differ.
  --> /Users/tinytaplife/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.3.2/contracts/governance/Governor.sol:92:5:
   |
92 |     function hashProposal(
   |     ^ (Relevant source part starts here and spans across multiple lines).
Note: Overridden function is here:
  --> /Users/tinytaplife/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.3.2/contracts/governance/IGovernor.sol:91:5:
   |
91 |     function hashProposal(
   |     ^ (Relevant source part starts here and spans across multiple lines).

same here, trying to find the solution

I had the same problem and I used the version<EMAIL_ADDRESS>and it worked for me, try it.

Thanks @fxop0218


Increase parallelization of Esti with Docker builds

No need to unit-test lakeFS to start Esti
Re-use Docker artifacts as much as possible

My attempts to do this did not work, but others did.  CLosing for now.


Hand preference trigger

Resolves #28

Thanks for the advice and accepting the PR.

I'm the one saying thank you 😉


Add some extra fields to cdb_analysis_catalog table

Track user, error_message for failures, and last entity modifying the node.

cc @luisbosque @zenitraM @rafatower
As we don't have upgrade/downgrade paths in this extension, do you know a better way to add columns to an existing table without dropping the table?

Could work - only thing I'm worried about is the NOTICEs we will get on every extension upgrade from now on.

Let me try to fix that :-).

I don't think it can be done much better, so OK.


Support for await and async

The description from MDN:
The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async function or at the top level of a module.
Await is useful for calling and waiting for results from remote services and code readability.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await

Since ECMAScript 4 proposed generators without using a * prefix in function names unlike in ECMAScript Harmony, I suggest, please... maybe do not introduce the async modifier and comply with ECMAScript 4?
Not that it's difficult to parse, but it'd be nice to have a general consensus in the syntax, since ActionScript 3.0 implements most of ECMAScript 4.
ES4 examples:
/* methodThatYields(): Iterator.<Number> */

function methodThatYields(): Number {
    for (var i = 0; i < 10; i++) {
        yield i
    }
}

Example of asynchronous methods as in AS3Parser:
function asynchronousMethod1(): Promise.<Number> (
    Promise.resolve(10)
);
function asynchronousMethod2(): Promise.<Number> {
    return await asynchronousMethod1();
}

I've an implementation of Promise in my repository, as well (based on a polyfill), but I added a simple type parameter, so you may want to look at agera.util instead.


update data

READY FOR REVIEW
Summary

Updating the data set for Endowed Positions pages
School of Earth, Energy and Environmental Sciences => Stanford Doerr School of Sustainability

Review By September 1, 2022
Criticality 9

This needs to be pushed on (and not before) Thursday, Sept 1, 2022 to align with the launch of the new sustainability school.

Review Tasks
Setup tasks and/or behavior to test

From any Endowed Positions sub-page make sure the dropdown can go to Stanford Doerr School of Sustainability and that there is data on the page.

Front End Validation

[ ] Is the markup using the appropriate semantic tags and passes HTML validation?
[ ] Cross-browser testing has been performed?
[ ] Automated accessibility scans performed?
[ ] Manual accessibility tests performed?
[ ] Design is approved by @ user?

Backend / Functional Validation
Code

[ ] Are the naming conventions following our standards?
[ ] Does the code have sufficient inline comments?
[ ] Is there anything in this code that would be hidden or hard to discover through the UI?
[ ] Are there any code smells?
[ ] Are tests provided? eg (unit, behat, or codeception)

Code security

[ ] Are all forms properly sanitized?
[ ] Any obvious security flaws or new areas for attack?

General

[ ] Is there anything included in this PR that is not related to the problem it is trying to solve?
[ ] Is the approach to the problem appropriate?

Affected Projects or Products

Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

JIRA ticket(s)
Other PRs
Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
Anyone who should be notified? (@mention them here)

Resources

AMP Tool
Accessibility Manual Test Script
HTML Validator
Browserstack and link to Browserstack Credentials

@sherakama As part of the many efforts around the launch of the new Sustainability School, we will need to push this data update to prod on Sept 1 (but not before). Please note we have another active PRs #269 for improvements to the endowed positions search that's been pushed to dev, but that update is not ready for prod, pending more review and development work. Please let me know if you have any questions. And all the best with the site launch!

@wmui51 Ah yes, you are correct. I failed to recognize the new search interface is built as a storyblok component, and therefore, the component released currently to dev will not be invoked until we publish it via storyblok. That makes things easier :)


Add support for solc 0.8.20

solc 0.8.20 just got released https://github.com/ethereum/solidity/releases/tag/v0.8.20

fyi @roynalnaruto

sick—we can get to this as soon as ethers gets a bump with 0.8.20 support. Ideally it would set Shanghai as the default EVM version too, so we can move over everything to it as well to be in line with the rest of the ecosystem.

FYI (for the ones interested), I also added solc 0.8.20 support for dapptools here https://github.com/dapphub/dapptools/pull/984.

Set default to "Shanghai" and added support for the PUSH0 opcode: gakonst/ethers-rs#2414

this was done in https://github.com/foundry-rs/foundry/pull/4975 — should we close this and track the actual upgrade to Shanghai as default as a separate issue or edit this one?

Let's stick to this issue if everyone agrees, so it's easy to find for anyone who searches for the upgrade and default setting to Shanghai. Will update the title my issue accordingly.

Hey @d1onys1us — great questions. This means N1. N2 is actually being done right now on this PR: #5001.
The current default EVM Version is Paris, but will be set to shanghai after ethers-rs is bumped with it as default.

what's the status here?

what's the status here?

adding to this--how do I know if anvil is running --shanghai by default? when i do cast block against either anvil or anvil --hardfork shanghai, I am not seeing withdrawalsRoot returned in the block data.

How to set the test environment of Foundry to Shanghai Upgrade?

You can do this in the foundry.toml via the evm_version option; example https://github.com/pcaversaccio/snekmate/blob/main/foundry.toml#L16.

You can do this in the foundry.toml via the evm_version option; example https://github.com/pcaversaccio/snekmate/blob/main/foundry.toml#L16.

Thanks, I solved it using --evm-version shanghai in cmd.
But we not set default to shanghai?
The Paris version does not support PUSH0 opcode, which is not good.

Thanks, I solved it using --evm-version shanghai in cmd.
But we not set default to shanghai?
The Paris version does not support PUSH0 opcode, which is not good.

No, too many EVM-based chains do currently not support PUSH0, which would lead to a deployment or even runtime revert if compiled via shanghai. Until the to 10 chains in terms of TVL don't support shanghai, it's a good choice to default to paris.


Number input pad freeze after first input on mobile devices.

Every UI components freeze up after any number input via the number pad, including toolbox and flyout.
Tested on llk.github.io/scratch-vm under ipad safari and phonegap enclosure.

Dupe of #658


slim_simple_form_foundation

rails generator: slim_simple_form_foundation

:+1:

I'm not familiar with slim or foundation. Can you explain what this is, and why it belongs in this project?

generally speaking, this is not necessary for a project doesn't bundle with slim simple_form and foundation gems, but with them the default  devise view templates generated by rails g devise:views:i18n_templates will not be compatible. Actually I solve issue mcasimir/devise-i18n-views#64 in a way, and you can read the readme file part changed by me https://github.com/mcasimir/devise-i18n-views/pull/72/files.

So these are alternate views, containing the same content and resulting in the same HTML, but in a different markup that matches that used when you have a combination of slim, simple_form, and foundation? The idea being that someone with that combination of gems would prefer to customize the views in this alternate format?
Is there something out there that creates devise views in this format without the i18n?

This project is being merged into devise-i18n. Please make all further contributions there.


Bump version

Codecov Report

Merging #23 (4d963bb) into main (a436b68) will not change coverage.
The diff coverage is 98.43%.

@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   87.29%   87.29%
=======================================
  Files           6        7    +1
  Lines         480      480
=======================================
  Hits          419      419
  Misses         61       61

Impacted Files
Coverage Δ

authenticode/src/lib.rs
100.00% <ø> (ø)

authenticode/src/pe.rs
60.00% <ø> (-35.66%)
:arrow_down:

authenticode/src/pe_object.rs
98.43% <98.43%> (ø)


Unlimited !


Culturocity

.. where to even begin.

This fixes and implements:
#30 - dynamic generation of cultures.txt
#32 - detection of native cultures
#33 - split unmapped colonial cultures automatically
#47 - configurable assimilation rates for superregions
#92 - ditto

parsing of entire eu4 localization so it can be used for anything, but currently only for neocultures
primary and accepted cultures remapped to neocultures where sensible

other stuff:
#388 - detection of eu4 install on linux

broken Liege mapping

This PR is now frozen, there should be no further commits to it, though most of the new stuff dealt with metadata and tests.


about miniagenet datasets

Hello!
In the train stage of minIageNet datasets, there are 64 types of samples, each of which has 600 samples, which means 38400 samples. If you use the 5-way 1-shot experimental setting, it means that one task requires 80 images and your batch has 200 tasks,
your epoch has 4 batches, which means that 64000 pictures are used, and you used data amplification? Or is the sample reused in one epoch? thank you for your patience!

Hi.
A task/episode contains 80 images, episodes-per-batch is 4 so each batch contains 4*80 images. Each epoch contains 200 batches.

Hi. "Epoch" here does not refer to a full loop on the dataset, it is just we call every 200 batches an epoch for convenience.

Thank you for your timely reply, but according to your settings, one epoch needs 64000, which is larger than the total number of samples in the training set. Do you mean that there are sample reuse in one epoch? Or is the data amplified and used in one epoch without duplicate samples? thank you

You're welcome.
Yes, there is sample-reusing. Actually each batch is sampled independently (see datasets/samplers.py), that is, it is draw-with-replacement.

Thank you for your patience.


PublishTrimmed on WPF Core 3 RC1 Could Not Load Type

When publishing WPF .net core 3 RC1 with PublishTrimmed I recieve the following edxception:
Could not load type Microsoft.CSharp.RuntimeBinder.Binder
Publishing the application without trimming works fine.

The full error when publishing this WPF app is Could not load type 'Microsoft.CSharp.RuntimeBinder.Binder' from assembly 'System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.

Had to add  to the proj file. Now the trimmed self contained exe works without error. Why is the reference dropped on trim?

Had to add  to the proj file. Now the trimmed self contained exr works without error. Why is the reference dropped on trim?

''

TrimmerRootAssembly Include="Microsoft.CSharp"

Had to add 'TrimmerRootAssembly Include="Microsoft.CSharp"' to the proj file. Now the trimmed self contained exr works without error. Why is the reference dropped on trim?

@ericstj @joperez can you help with this issue?

CC @eerhardt @sbomer
Looks like ILLink is missing usage of RuntimeBinder.Binder.  I believe this is part of dynamic so I'm not surprised that the linker misses it.  I suspect the linker would also miss any types you reference from dynamic code. For Microsoft.CSharp   -- @jaredpar @cston @333fred

What are the next steps on this issue? Should we move this to a different repo?

I think this issue can be closed. We have done a lot of work with PublishTrimmed in .NET 5 and 6. @kennymoto - can you try your app against the latest .NET 6 previews and see if you are still having problems? If so, please open a new issue in https://github.com/dotnet/runtime and upload an app that reproduces the problem. We can take a look there.

Also - please note that using dynamic in a trimmed application will produce a warning saying that it can break your application when trimming. In my experience, almost all usages of dynamic will result in a broken app - which is why we made it warn.


Luna running a project doesn't see dll libraries in a ./native_libs/windows folder

We need to search for dll files in a project folder when running it on Windows

The new package is still not working with the OpenCV  example.


Dataset preview for any data-enabled block

Adds a googely eye button to quicly open a "show table" on the data of the current block. This could be rendered as a table diff too.

This is great!

@b-buckler fyi


Enable IMX477 Cameras connected via Microchip MPF200 boards.

This patch provides configuration and examples for use with an IMX477 camera connected via Microchip MPF200.  If you have the appropriate equipment, you can see live video in 4K by running "python3 examples/linux_imx477_player.py" in the demo container.  For more information, see MPF200-ETH-SENSOR-BRIDGE_README.txt.

Hi Patrick
One suggestion on the IMX477 application. I know that there is only one mode so maybe that's why we are not setting the mode in the application. But for documentation purposes, it should be given within the application what resolution, pixel bit depth, and framerate we are working with. The user should not have to open the driver file or add prints within the application to get that information.
My ask is to add the set_mode within the application for the reason I mentioned above.
Thanks!


Disable (yaw based) thrust reduction for VTOLs

This has a negative effect on VTOLs
https://github.com/PX4/Firmware/blob/6a98c6ca630a1fcacdf4c24bfec9d0b2c65201f9/src/modules/systemlib/mixer/mixer_multirotor.cpp#L338

If you hit that your system is likely just too underpowered. You can't have the cake and eat it. It would mean you have no yaw authority at all and your attitude control is marginal.

@LorenzMeier
I am currently 2.4:1 powered. I tried 40kph crosswind on the tail (no config would be able to hold that). the priority at that point seemed to go to maintaining yaw in favor of altitude. at 40kph front wind it was hovering nicely at 60% throttle

here's a log of manual hover and loiter with nose in 40kph wind: http://logs.uaventure.com/view/YRzDvtPrWutTwj4vgdJT4R#AS_Pitch_PLOT
here's a log of the same 40kph wings while i turn the vehicle sideways to the wind (cross wind): http://logs.uaventure.com/view/ysBvQKS4jAfkxYLqA8TSWd

Solved by yaw timeout and weathervane


Modify Streaming Hourly Emissions Endpoint  for CBS Intergration

Context
Note: the data table has a typo the path should be for hourly emissions and not quarterly emissions
Modify Streaming Hourly Emissions Endpoint  for CBS Intergration (see below for requirements)
Required Parameters:  facilityId beginDate, endDate
Optional Parameters:  locationName array{string},
Required Data Elements:  NOX MASS, Op_Date, OP_Hour, OP_YEAR, SO2 MASS, Unit ID
If the location is not specified, then the system shall filter by the oris code and all of the locations for the oris code  are returned.
If loction and oris code are specified then the system shall filter by the location

In the requirements it says that the endpoint should return date and year. I see date returned but not year. Need confirmation


Rancher UI is not operational if there is some error listing Kubernetes resources

kubernetes-container.txt
Rancher Version: local setup post 1.0.1
Docker Version: 1.10.3
Results:

My kubernetes api-server container has some panic errors, I dont know how to reproduce that state. But I have attached the container logs

When this happened, the rancher UI stopped being operational. In developer tools, I see the listing kubernetes replicationcontrollers and pods error out with 500 Internal Server error. Attached screenshot.

Request URL:http://localhost:8080/r/kubernetes/api/v1/replicationcontrollers
Request URL:http://localhost:8080/r/kubernetes/api/v1/pods
Expected: Other aspects of the UI should be operational, even if K8s resources cannot be listed

Duplicate of https://github.com/rancher/rancher/issues/4450


GH-3407 sail level query optimizers

GitHub issue resolved: #3407
Briefly describe the changes proposed in this PR:
Add functionality to the EvaluationStrategyFactory in order to inject new optimisers at runtime.
This functionality should consist of:

a functional interface (supplier) that is provided with EvaluationStrategy strategy, TripleSource tripleSource, EvaluationStatistics evaluationStatistics in order to instantiate a QueryOptimizer
methods on the EvaluationStrategyFactory to add instances of the above mentioned interface (with the ability to specify if the new QueryOptimizer should be inserted at the beginning or end of the current pipeline)
getters for the above
getter for the pipeline in EvaluationStrategy

Create a Value optimiser for the MemoryStore to swap out values in the query with the "interned" value from the MemValueFactory.

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits where necessary
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

@jeenbroekstra you want to take a look?
Some things I'm uncertain about:

naming
how best to handle updating the Value in a Binding in a BindingSet
if I should extract the new optimizer from the MemoryStore into it's own file

Sounds good, I'll try and take a closer look later this week.

@jeenbroekstra maybe it's easier if I name it something referring to "inject", as in that we can inject optimizers into the existing pipeline.

I feel this is not quite the right direction for the OptimizerPipeline. I love the idea of store related optimizers but I think this is not a responsibility of the EvaluationStrategy. An query should be optimized before it is given to the EvaluationStrategy to evaluate. There should basically be a QueryOptimizerPipeline per store that builds on the Standard one. Separating this would make it easier to customize the behaviour of the optimizer pipelines. Also less shared state in the EvaluationStrategy would be nice, while cheap building the optimizer pipleline would now become something that must be done for each query instead of once for each store/connection. An other option is to inject this in a  EvaluationStrategyFactory with a simple constructor call.

How would I optimize the query before passing it to the evaluation factory?

Also I think that we are currently building a new evaluation strategy and optimizer pipeline for each query.

I would just have an optimizer pipeline object and encourage it to be called before the query/tuplexpr is passed in.
Something like this in SailSourceConnection
// inside evaluateInternal
TripleSource tripleSource = new SailDatasetTripleSource(vf, rdfDataset);
EvaluationStrategy strategy = getEvaluationStrategy(dataset, tripleSource);
...
//		tupleExpr = strategy.optimize(tupleExpr, store.getEvaluationStatistics(), bindings);
// instead do
tupleExpr = new StandardQueryOptimizerPipeline().optimize(tupleExpr);
// or even better
tupleExpr = getOptimizerPipeline().optimize(tupleExpr);

then getOptimizerPipeline() could be something like
protected QueryOptimizerPipeline getOptimizerPipeline(){
return new QueryOptimizerPipeline(){
@Override
	public Iterable<QueryOptimizer> getOptimizers() {
		return Arrays.asList(
				new BindingAssigner(),
				new BindingSetAssignmentInliner(),
				new ConstantOptimizer(strategy),
				new RegexAsStringFunctionOptimizer(tripleSource.getValueFactory()),
				new CompareOptimizer(),
				new ConjunctiveConstraintSplitter(),
				new DisjunctiveConstraintOptimizer(),
				new SameTermFilterOptimizer(),
				new UnionScopeChangeOptimizer(),
				new QueryModelNormalizer(),
				new QueryJoinOptimizer(evaluationStatistics),
				new IterativeEvaluationOptimizer(),
				new FilterOptimizer(),
				new OrderLimitOptimizer(),
				new ParentReferenceCleaner(),
                                new ReplaceValuesWithStoreNativeInstances(getValueFactory())); // your new optimizer step
	}
}
}

or just a final variable of the connection
What do you think?

It's currently the strategy that is responsible for optimizing the query. I still feel that it's a natural place to add the extension to support sail level optimizers.

@hmottestad  okay, sounds good to me.

I am ok with this as is. @hmottestad would you mind testing out how this codes by updating the Fedx optimization steps with this approach. As there the strategy is not new per query but retrieved from a federation manager.

I am ok with this as is. @hmottestad would you mind testing out how this codes by updating the Fedx optimization steps with this approach. As there the strategy is not new per query but retrieved from a federation manager.

Fedex doesn't use the EvaluationStrategyFactory interface. So I'm not quite sure where to get started there.

I really like the actual optimizer step by the way, that is super sweet.

I am ok with this as is. @hmottestad would you mind testing out how this codes by updating the Fedx optimization steps with this approach. As there the strategy is not new per query but retrieved from a federation manager.

Fedex doesn't use the EvaluationStrategyFactory interface. So I'm not quite sure where to get started there.

I opened #3483 to discuss the FedX issue of it not using an EvaluationStrategyFactory. Maybe we can fix that and then this issue is cleaner to apply? what do you think? Somehow I feel that there is cleanup to be done in this section and then the code ends up nicer. Maybe if we make the EvaluationStrategyFactory less mutable I think the OptimizerPipelines might have all the required variables at initialization and we don't need the methods getQueryOptimizersPre etc.
Still that can all be done in a different pull request and there is no need to do that work in this one.

The way the optimizer pipeline can be set from the StrictEvaluationStrategyFactory when instantiating a StrictEvaluationStrategy is quite odd. It first instantiates the strategy, then checks if it should override the pipeline. Instead of just passing in the optimizer pipeline.
Issue is that it doesn't have access to the variables that the StandardQueryOptimizerPipeline needs.
Would probably be a lot cleaner if the pipeline was stored in the EvaluationStrategyFactory and then passed into the EvaluationStrategy.
Maybe a QueryOptimizerPipelineFactory that we set in the EvaluationStrategyFactory, which then generates the pipeline when we instantiate the EvaluationStrategy. The QueryOptimizerPipelineFactory could then cache the optimizers it wants to and reuse them, or create new ones if there are optimizers that are dependent on the transactions state.
Then we can extend a StandardQueryOptimizerPipelineFactory to add our own optimizers to a specific Sail.

Yep, I want to try the pipeline-factory approach.

Marked this as stale to signal that the PR hasn't been active for a while and that we should consider closing it.


Create STIX Example: Identifying a Threat Actor Profile

Initial version located here.

Now up on the website here. Implementation (code) to follow.

Producer and consumer python code have now been added to this example.


Use Symbol.from instead of internal flags

Environment

Aha, This is not a bug, but I think using Symbol is better. 😃
Reproduction
See the Environment part.
Describe the bug
See the Environment part.
Additional context
No response
Logs
No response

Hi. It is mainly to handle multiple builds of h3 to not use symbols. However we might use Symbol.from to leverage global registry. PR is welcome 🤔

Aha, do you mean Symbol.for()? 😃

Hi dear @zuixinwang while triaging i just reminded this issue again. I think it could be a really good idea if we did it at first to leverage Symbol.for (beck in time there was lack of runtime support).
At this stage, there are not much benefits for the switch from internal flag to symbol but it can potentially make issues if an event is being created by an older version of h3 and being consumed in newer one. we need additional backward compatibility check in place and it is not also possible other way around (new h3 event consumed by older h3 handler)
I think will keep this in my mind for major future versions but at this point, closing issue from tracker.
Thanks again for bringing suggestion please do it again ❤


[INFINITY-1814] Improve service uninstall in tests.

Verify that service has ability to uninstall as well as whether the platform has the ability to uninstall.

Hm.
It occurs to me that I cannot check a Marathon app that hasn't yet been installed.
@nickbp Got any good ideas on how to check before the app is installed (since many of our "setups" uninstall the app first). I think it can safely run the "new" uninstall, since it's just a no-op.

Closing until I have time to circle back to this.


[feat] Allow reading any file

Describe the problem
I am working on an application where I need to read any file from anywhere on users directory. currently we have only fixed set of configurable scopes, so the user of my application wont be able to select any file.
Describe the solution you'd like
need a way to select any file from file system. if I can only select a file from specific directory like Download or Document etc, it's not a useful desktop application. even a webapp can read any file
Alternatives considered
No response
Additional context
The application I am working on calculates hash of any file. it's a pretty straightforward use case, user selects whichever file he wants, and I calculate the hash of that file.

We are working on some kind of whitelist system for user-selected paths (dialog and file-drop).
Providing a general "read all the files you want"-option most likely won't be implemented as this behavior got introduced as a result of the audit.
Furthermore you don't have these restrictions in rust which should generally be preferred for file system interactions anyway.

Thank you for the response, yes I might try to implement it myself in rust.
but I am failing to understand what Tauri is achieving by implementing such feature? as you mentioned it's anyway achievable with rust so from what I see Scopes is just making tauri developers write extra code.
tauri apps are desktop apps, they are supposed to read any file. so far my entire application works just fine without a single line of rust. but just to enable reading any file I will have to write the logic myself. I hope I was able to convey my thoughts.

We are working on a solution (see https://github.com/lucasfernog/tauri/commit/bcca82e2d7b4c3e5103fbef8f521d637c18d3d31) - however the security implication is that access to ANY file is very, very much a security risk, especially if you are using any code / dependency that you didn't write yourself. Giving this kind of superpower to JS should scare you. Writing rust should not scare you. :)

What plans are there to mitigate the security risks involved if you are using code / dependencies that you didn't write yourself in Rust?

Not sure why you felt it necessary to thumbs-down the respone to @trgwii, @Sparkenstein. If you want to persist this setting (which a user should be empowered to do - and against our security recommendations) then you can use this:
https://github.com/tauri-apps/tauri-plugin-persisted-scope

I feel like if they were only recommendations, there would be a scope for $ROOT. How is Rust having full FS access less of a security issue than JS having it? Is all code on crates.io audited by security professionals to not misbehave in the context of Tauri?


W-14674459 Add soap to 1.7

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Merged without approval as the PR has been previously approved here:
https://github.com/mulesoft/docs-gateway/pull/458


Scala 3 port

Hi all,
I'm in the process of rewriting a library to use a more modern parser than scala-parser-combinator.
The choice currently comes down to fastparse or cats-parse.
fastparse is a little faster than cats-parse, but cats-parse is already compatible with Scala 3.
Now I'm wondering if there's any plans to port the macro part of fastparse over to the new Scala 3 macros? The comment on top of MacroImpl suggests that most functionality is related to inlining, which afaik is built into Scala 3.
Can anybody give a rough estimate of how much effort it would be to port fastparse to Scala 3?
Thanks!

There is a WIP PR at #262

Fixed by #271


Improve reallocation process

As described in the semi-automated allocations proposal, our current process for reallocation collateral has three main problems:

It neither maximizes yield nor minimizes risk
It is slow and inefficient
It lacks clarity for prospective users who want to know how their funds will be managed.

Let's come up with a solution for creating an objective process that people can trust and that can enable the Strategists or the protocol to operate more effectively with less manual effort. From my perspective, this starts with answering two questions:

What are the parameters that should be used to make allocation decisions?
How and when are the allocations executed?

First thoughts:
Target weight for each asset 33%
Deviation = Current weight - target weight
→ Check deviation threshold → does it exceed predefined threshold (min 24% - max 49% - still to be tweaked)?
If yes → proceed with rebalancing → is the deviation positive or negative → if positive =  it’s above weight, if negative = below weight.
Else no action.
Factor in transaction cost in rebalancing cost → if transaction cost is 0.2% → multiply rebalancing amount with 1.002 to account for cost w/o gas fees. Add gas fees on top of this action as an additional fluctuating variable.
Assess slippage based on historical data for similar amounts of value.
Calculate rebalancing amount: (Deviation * total portfolio value) / (1+ swap fee + slippage + gas fees)
→ Execute rebalancing in decentralized exchange with deep liquidity (Curve)
→ Update portfolio weights
Monitor weights on a consistent basis, Ideally, we want to use something like e.g. Keep3r network for a command that calls the weights calculation function. Depending on the response we then either execute it or no action. (outside party can only call weight function to monitor portfolio weights and not execute rebalancing function)

There are 3 competing objectives for us to consider:

Diversification
Yield optimization
Following the will of veOGV voters

Diversification is the easiest to implement but probably adds the least value for our yield hungry users. Diversification feels easy to achieve on your own. Projects like TokenSets have tried offering diversified baskets of assets in the past w/o much adoption. They now appear to be focused entirely on yield optimization instead.
Yearn similarly seem to have taken the approach of prioritizing yield over diversification. Some Yearn vaults have a dozen strategies but 95% of the funds are sitting in a single strategy. From what I can tell, the market cares more about chasing yield than slightly minimizing risk via diversification. Chasing yield is a much harder problem as we only have historical data not future projections of yield. Even historical data can be expensive/complicated to access onchain. Despite being challenging to implement, we should prioritize maximizing yield over a simplistic diversification strategy.
We also need a way for the community to voice their preferences and also inform the protocol when the world changes in a way that the protocol can't possibly detect (eg. rumors of a backing stablecoin losing their banking partner). We also want to leverage the wisdom of the crowd for decisions like how much value to place on accumulating MORPHO tokens.  There's no way for the protocol to intelligently price these tokens today as they are non-transferrable but should have value in the future.
Our objectives are to:

maximize the yield
remove humans and especially our core team from making any day to day allocation decisions. we're coders, not capital allocators.
make the protocol more deterministic so new holders have a better understanding of what they're agreeing to by when they buy OTokens
some diversification limits probably make sense, but we should be prepared for the community voting in favor of higher risk/reward. we should focus on how we're going to optimize the yield first.

Here's how I think about allocations.
Which strategies have the best yield situations actually tends to stay the same for weeks or months at a time. While it's good to monitor and make changes when a big change happens, the time for changes is actually far less often than weekly.
Start with a long term soft collateral allocation for non three pool funds. Say 60% USDT,  20% DAI, 20% USDC. Ignore this for the first bit.

Pick the best lending strategy for each collateral type from the allowed strategies. Calc the weighted averagish rate on funds. (Simple version)

Go through each AMM style strategy, taking into account policy min and max, find the allocation range that would make for maximum yield over the baseline strategy. Some strategies won't be competitive here, and should get zero allocced. Most good ones have a plateau shape for extra yield over the baseline strategy. Outside these ranges quickly gets worse. Just make sure we are inside that. If the ideal allocation change is small, don't bother.

Now we have a list of dollars that need to go in or out of these AMM strategies.

Pick the mix of coins moving into or out of the AMM such that it brings the non AMM funds closer to desired soft mix target.

Ensure all non AMM funds are allocated to best lending platform for that kind of coin.

Ensure default strategies match the allocated lending platform.

Further thoughts that would go into an eventual governance proposal based on your feedback:
In consideration of the challenges posed by cumbersome reallocations, our aim is to devise a streamlined process that promotes efficient allocation decision-making, bypassing the need for extensive governance discussions on minute details. To achieve this, it is crucial that we establish a clear set of rules within which the strategist can operate, ensuring easy verification on-chain.
To facilitate this process, I propose a set of rules that warrant discussion before finalizing parameters. These rules should prioritize the comfort and confidence of all stakeholders involved.
Firstly, to generate a favorable risk-adjusted return for OUSD, the strategist must reallocate capital between various pre-determined strategies across different protocols. These strategies encompass lending strategies and market-making approaches across platforms such as Convex, Aave, Compound, Curve, Morpho, and Liquity, with the goal of generating interest for OUSD.
To streamline this process and enable efficient execution when opportunities arise, the strategist should operate solely using the funds within the vault. The following parameters are suggested for the vault:
For non-3pool strategies: A maximum of 60% of funds can be allocated to a single stablecoin strategy to avoid endangering the protocol. Within this strategy, the strategist should execute swaps between the underlying collateral (USDT, USDC, DAI) to ensure compliance with the strategy's specified requirements.
If the weighting exceeds 60%, rewards should be harvested and deposited into another strategy to rebalance and increase its weight. This exception may be disregarded only if the other strategies significantly underperform the largest weight (subject to governance decision).
In our pursuit to offer an attractive APR for OUSD holders, we also seek to hedge LPs across different ecosystems to enhance risk-adjusted returns. Accordingly, if a protocol aligns with our risk framework and presents compelling opportunities, an initial cap of 5% of the OUSD vault value will be set for new strategies. If the strategy demonstrates strong performance over a substantial period, exceeding this cap may be approved by governance. Note that the 5% cap does not imply an immediate allocation of 5%, but rather a gradual increase based on performance, starting from, for instance, a 1% allocation (our current LUSD strategy has 100k deployed to it).
While the harvesting process is already automated, we should delve into the subsequent execution. Currently, we utilize v2 pools to swap rewards and compound them into more OUSD. In an automated version, we can consult the Oracle pricing and notify MEV (Miner Extractable Value) bots that we are willing to accept, for instance, a 1% slippage hit on harvested rewards. The MEV bot that offers the highest bid can then execute the transaction. However, in the preliminary version, we should transition from using v2 pools to employing aggregators such as 1inch or Defillama swap to ensure optimal execution of reward transactions without incurring significant slippage.
The same principle applies to rebalancing across USDT, USDC, and DAI, where slippage becomes a relevant factor when swapping large amounts of capital within pools. Determining the most favorable execution through aggregators should be included as a "check" in our rebalancing process.
To safeguard our capital, it is essential not to hold a share greater than 25% of the Total Value Locked (TVL) in any given strategy. This precautionary measure ensures that an exit by us or another party does not cause an imbalance, which would result in slippage costs upon leaving the pool.
The strategist will perform an off-chain calculation to determine the optimal allocation across strategies in order to maximize yield. This strategy will be made publicly available, ensuring transparency for all depositors regarding capital allocation. It can be rebalanced as long as the allocation adheres to the aforementioned rules. Thus, the rebalancing is not based on specific time intervals but instead on how the weights perform. At times certain strategies might have 0% weight allocated due them due to bad performance.
Furthermore, we seek to underscore the significance of considering governance tokens that hold long-term value when allocating capital to farming ventures that yield the corresponding reward tokens. For instance, we have engaged in farming Morpho and obtained their non-transferable token as a reward. Although this token cannot be instantly redeemed for rewards, it may potentially confer additional advantages to OUSD in the future. Consequently, we should aspire to decide how much value we place on strategies of this nature, recognizing their potential benefits for our overall objectives.

In consideration of the challenges posed by cumbersome reallocations, our aim is to devise a streamlined process that promotes efficient allocation decision-making, bypassing the need for extensive governance discussions on minute details. To achieve this, it is crucial that we establish a clear set of rules within which the strategist can operate, ensuring easy verification on-chain.

I think our primary objective is not to move from weekly community votes to strategist driven allocations, but rather from weekly community vote to an algorithm that controls the allocations.

While the harvesting process is already automated, we should delve into the subsequent execution. Currently, we utilize v2 pools to swap rewards and compound them into more OUSD. In an automated version, we can consult the Oracle pricing and notify MEV (Miner Extractable Value) bots that we are willing to accept, for instance, a 1% slippage hit on harvested rewards. The MEV bot that offers the highest bid can then execute the transaction. However, in the preliminary version, we should transition from using v2 pools to employing aggregators such as 1inch or Defillama swap to ensure optimal execution of reward transactions without incurring significant slippage.

The harvesting implementation details would seem to be out of scope for rules about how to allocate funds?

To streamline this process and enable efficient execution when opportunities arise, the strategist should operate solely using the funds within the vault.

What other funds would they operate with?

For non-3pool strategies: A maximum of 60% of funds can be allocated to a single stablecoin strategy to avoid endangering the protocol. Within this strategy, the strategist should execute swaps between the underlying collateral (USDT, USDC, DAI) to ensure compliance with the strategy's specified requirements. If the weighting exceeds 60%, rewards should be harvested and deposited into another strategy to rebalance and increase its weight. This exception may be disregarded only if the other strategies significantly underperform the largest weight (subject to governance decision).

Our lending platform strategies are basically Compound based or AAVE based. This 60% rule roughly means that many times we would need to be in both of them. Sometimes Compound is having issues and we don't want to be in them. Often yield on a particular stablecoin will be much worse in one of them.
Morpho yields usually are much higher than Compound or AAVE directly, are we willing to have a chunk of our funds earning less?

To safeguard our capital, it is essential not to hold a share greater than 25% of the Total Value Locked (TVL) in any given strategy.

Might need some clarification that this is not 25% of our TLV, but 25% of the target pools TLV. If that's what you mean.
However, it's really all about what percentage of the target's pools 3pool tokens we hold, not just the total pool TLV.

In consideration of the challenges posed by cumbersome reallocations, our aim is to devise a streamlined process that promotes efficient allocation decision-making, bypassing the need for extensive governance discussions on minute details. To achieve this, it is crucial that we establish a clear set of rules within which the strategist can operate, ensuring easy verification on-chain.

I think our primary objective is not to move from weekly community votes to strategist driven allocations, but rather from weekly community vote to an algorithm that controls the allocations.

The initial calculation of the algorithm would be done off-chain though initially. Probably worded a bit wrong but I'd say that's the intention of it and then it's the algorithm that controls the allocation based on the initial calculation?

To streamline this process and enable efficient execution when opportunities arise, the strategist should operate solely using the funds within the vault.

What other funds would they operate with?

Should be re-worded to "that the strategist can't withdraw capital out of the vault". Focusing on transparency and safety. Although this is already the case it needs to be clearly stated.

The harvesting implementation details would seem to be out of scope for rules about how to allocate funds?

That part can be removed.

How long does this cap last, how is it ended?

Cap would last until a new governance proposal is set up to fully whitelist it.

Revised version:
In consideration of the challenges posed by cumbersome reallocations, our aim is to devise a streamlined process that promotes efficient allocation decision-making, bypassing the need for extensive governance discussions on minute details. To achieve this, it is crucial that we establish a clear set of rules that are established by an algorithm that controls the allocations. This algorithm will initially be devised off-chain and then executed on-chain.
To facilitate this process, I propose a set of rules that warrant discussion before finalizing parameters. These rules should prioritize the comfort and confidence of all stakeholders involved.
Firstly, to generate a favorable risk-adjusted return for OUSD, the strategist must reallocate capital between various strategies across different protocols. These strategies encompass lending strategies and market-making approaches across platforms such as Convex, Aave, Compound, Curve, Morpho, and Liquity, with the goal of generating interest for OUSD. Capital that is deposited into the vault can’t be withdrawn by the strategist to ensure the safety of funds.
To streamline this process and enable efficient execution when opportunities arise, the strategist should operate solely using the funds within the vault. The following parameters are suggested for the vault:
Origin will aim to maximize yield for OUSD holders by depositing into the strategy that provides the best risk-adjusted return. This implies that at times our capital might be concentrated on a few strategies to maximize value for OUSD holders. In times of uncertainty, the algorithm might decide to de-risk certain strategies to safeguard the capital in the vault. The algorithm will aim to maintain a healthy balance among the underlying assets which are USDC, USDT, and DAI. However, in times of heavy volatility, we will take the necessary swift action to protect vault capital that might require us to exceed stated parameters, this is a temporary intervention that has proven to protect us in prior crises (such as the USDC depeg).
In our pursuit to offer an attractive APR for OUSD holders, we also seek to hedge LPs across different ecosystems to enhance risk-adjusted returns. Accordingly, if a protocol aligns with our risk framework and presents compelling opportunities, an initial cap of 5% of the OUSD vault value will be set for new strategies. If the strategy demonstrates strong performance over a substantial period, exceeding this cap may be approved by governance. Note that the 5% cap does not imply an immediate allocation of 5%, but rather a gradual increase based on performance, starting from, for instance, a 1% allocation (our current LUSD strategy has 100k deployed to it). The cap cannot be increased unless a quorum has been reached in governance.
In regards to rebalancing across USDT, USDC, and DAI, where slippage becomes a relevant factor when swapping large amounts of capital within pools. Determining the most favorable execution through aggregators (1Inch, Defillama swap etc.) should be included as a "check" in our rebalancing process in the first automation step. In a potential final version we could notify MEV (Miner Extractable Value) bots that we are willing to accept, for instance, an x% slippage hit on execution. The MEV bot that offers the highest bid can then execute the transaction.
To safeguard our capital, it is essential not to hold a share greater than 25% of the target pool’s tokens in any given strategy. This precautionary measure ensures that an exit by us or another party from a liquidity pool does not cause an imbalance, which would result in slippage costs upon leaving the pool.
Furthermore, we seek to underscore the significance of considering governance tokens that hold long-term value when allocating capital to farming strategies that yield the corresponding reward tokens. For instance, we have engaged in farming Morpho and obtained their non-transferable token as a reward. Although this token cannot be instantly redeemed for rewards, it may potentially confer additional advantages to OUSD in the future. Consequently, we should aspire to decide how much value we place on strategies of this nature, recognizing their potential benefits for our overall objectives.


mindelimiter macro option not recognised

The issue happens in this macro (which is syntactically correct):  https://github.com/sasjs/core/blob/main/base/mf_getfmtname.sas

A similar issue happens with the macro option des='something'. Would you like me to file a separate issue, or will this suffice?

Hi Brian - I think this will suffice, we can pick up the fix in the same ticket!  Right now we are looking for sponsors to support further development on sasjs/lint..
Open to contributions in the meantime.


Directly set author of commit in vendored workflow

Description
This PR set direct author of a commit in vendored update workflow to avoid assigning random users to commits.

Marking as ready-for-merge as this does not touch napari API.

I added label and milestone, but the check still fails (re-ran it to be safe)?

I added label and milestone, but the check still fails (re-ran it to be safe)?

I think the checker looks for the value of the event not the actual one on the PR, so rerunning does not help. So you often need to remove the label and re-add it for it to work.

I think the checker looks for the value of the event not the actual one on the PR, so rerunning does not help. So you often need to remove the label and re-add it for it to work.

This is true, but this allows us to not maintain the separate script.


Gdx class has static reference to Activity

Hey guys,
I see that onCreate and onResume of AndroidApplication https://github.com/libgdx/libgdx/blob/master/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidApplication.java#L164 the instance of current activity is saved as a static field in Gdx class.
This would be causing a memory leak. I couldn't find any issues in issue tracker regarding this.
Should we remove the reference in onDestroy/orPause ourselves?

Please include the sscce showing the issue you're reporting. https://github.com/libgdx/libgdx/blob/master/CONTRIBUTING.md

Actually I am using many android 'Activity's in the app. One of the activity contains the game and so it extends AndroidApplication. Other Activities contains native android UI.
When the game activity finishes, then because of the static reference, it leaks.
One can confirm this by using LeakCanary https://github.com/square/leakcanary or by creating hprof file and observing it.
Should I create a hprof and upload it here?

I have the same issue, here is the heap trace file to GC_ROOT.heap_trace.txt
It refers to
static com.badlogic.gdx.Gdx.input
refrences to
com.badlogic.gdx.backends.android.AndroidInputThreePlus.context
which cause to leak
com.myapp.MainActivity instance.
I'm using it in a fragment.

hey @vashisthg  any news on that?

@Pedramrn The leak is due to static reference to the activity. cc @xoppa

@gaurav-fueled yes the tittle states that for sure, I was trying to show the issue as @xoppa requested sscce standard.

This is something we should look into. I'm not sure where exactly we should unset the Gdx static members, probably not in pause, possibly in stop or destroy.

@MobiDevelop Using a WeakReferecne is an option here. It reliefs you from manually removing the references to any Context or Activity instances. Also if you need only a Context consider useing ApplicationContext if possible. You can get one with calling getApplicationContext() on any instances of Context or Activity.

I think we just need to determine where the correct place to perform clean up is.

I am getting similar leaks by using https://github.com/square/leakcanary
Listing a few more:

com.badlogic.gdx.scenes.scene2d.ui.Cell has a private static variable app
com.badlogic.gdx.graphics.glutils.ShaderProgram.shaders has a private static Map shaders which causes leaks

The Cell class (and a few others) has no reference to the app as of version 1.7.2.

https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/glutils/ShaderProgram.java#L705
While destroying the activity gdx fails to remove old app instance from the shaders regestry keeping static reference alive. For some reason the dispose() method receives a link to the new app instead of the old one that should be removed.
More details on that: https://github.com/libgdx/libgdx/issues/3951

Should be resolved now.

Actually, static field Gdx.app still keeps reference to activity - and LeakCanary reports a leak here.. Why closed? (v.1.9.6)


netDXF to CADability object helpers or examples?

I can use netDXF to import a DXF file. I can use CADability to import a DXF into a Project object but it still apparently comes through as netDXF objects in the project?
I've pored through the documentation and even some of the source code looking for this and I can't find it. Are there any helpers or examples for converting netDXF data into CADability? Do I have to loop through each entity and do it manually?

It's as simple as
var project = Project.ReadFromFile("file.dxf", "dxf");

That's the code: https://github.com/SOFAgh/CADability/blob/master/CADability/Project.cs#L1809C9-L1809C120
Even if the names are similar, the objects in project are not the same objects as nextDXF uses.
I.E. netDxf has a netDxf.Entities.Line and CADability has a CADability.GeoObject.Line
The conversion happens in ImportDxf.cs, see private IGeoObject GeoObjectFromEntity(EntityObject item)
            switch (item)
            {
                case netDxf.Entities.Line dxfLine: res = CreateLine(dxfLine); break;
                case netDxf.Entities.Ray dxfRay: res = CreateRay(dxfRay); break;
                case netDxf.Entities.Arc dxfArc: res = CreateArc(dxfArc); break;
                case netDxf.Entities.Circle dxfCircle: res = CreateCircle(dxfCircle); break;
                case netDxf.Entities.Ellipse dxfEllipse: res = CreateEllipse(dxfEllipse); break;
                case netDxf.Entities.Spline dxfSpline: res = CreateSpline(dxfSpline); break;
                case netDxf.Entities.Face3D dxfFace: res = CreateFace(dxfFace); break;
                case netDxf.Entities.PolyfaceMesh dxfPolyfaceMesh: res = CreatePolyfaceMesh(dxfPolyfaceMesh); break;
                case netDxf.Entities.Hatch dxfHatch: res = CreateHatch(dxfHatch); break;
                case netDxf.Entities.Solid dxfSolid: res = CreateSolid(dxfSolid); break;
                case netDxf.Entities.Insert dxfInsert: res = CreateInsert(dxfInsert); break;
                case netDxf.Entities.Polyline2D dxfPolyline2D: res = CreatePolyline2D(dxfPolyline2D); break;
                case netDxf.Entities.MLine dxfMLine: res = CreateMLine(dxfMLine); break;
                case netDxf.Entities.Text dxfText: res = CreateText(dxfText); break;
                case netDxf.Entities.Dimension dxfDimension: res = CreateDimension(dxfDimension); break;
                case netDxf.Entities.MText dxfMText: res = CreateMText(dxfMText); break;
                case netDxf.Entities.Leader dxfLeader: res = CreateLeader(dxfLeader); break;
                case netDxf.Entities.Polyline3D dxfPolyline3D: res = CreatePolyline3D(dxfPolyline3D); break;
                case netDxf.Entities.Point dxfPoint: res = CreatePoint(dxfPoint); break;
                case netDxf.Entities.Mesh dxfMesh: res = CreateMesh(dxfMesh); break;
                default:
                    System.Diagnostics.Trace.WriteLine("dxf: not imported: " + item.ToString());
                    break;
            }

It's as simple as
var project = Project.ReadFromFile("file.dxf", "dxf");

That's the code: https://github.com/SOFAgh/CADability/blob/master/CADability/Project.cs#L1809C9-L1809C120
Even if the names are similar, the objects in project are not the same objects as nextDXF uses.
I.E. netDxf has a netDxf.Entities.Line and CADability has a CADability.GeoObject.Line
The conversion happens in ImportDxf.cs, see private IGeoObject GeoObjectFromEntity(EntityObject item)
            switch (item)
            {
                case netDxf.Entities.Line dxfLine: res = CreateLine(dxfLine); break;
                case netDxf.Entities.Ray dxfRay: res = CreateRay(dxfRay); break;
                case netDxf.Entities.Arc dxfArc: res = CreateArc(dxfArc); break;
                case netDxf.Entities.Circle dxfCircle: res = CreateCircle(dxfCircle); break;
                case netDxf.Entities.Ellipse dxfEllipse: res = CreateEllipse(dxfEllipse); break;
                case netDxf.Entities.Spline dxfSpline: res = CreateSpline(dxfSpline); break;
                case netDxf.Entities.Face3D dxfFace: res = CreateFace(dxfFace); break;
                case netDxf.Entities.PolyfaceMesh dxfPolyfaceMesh: res = CreatePolyfaceMesh(dxfPolyfaceMesh); break;
                case netDxf.Entities.Hatch dxfHatch: res = CreateHatch(dxfHatch); break;
                case netDxf.Entities.Solid dxfSolid: res = CreateSolid(dxfSolid); break;
                case netDxf.Entities.Insert dxfInsert: res = CreateInsert(dxfInsert); break;
                case netDxf.Entities.Polyline2D dxfPolyline2D: res = CreatePolyline2D(dxfPolyline2D); break;
                case netDxf.Entities.MLine dxfMLine: res = CreateMLine(dxfMLine); break;
                case netDxf.Entities.Text dxfText: res = CreateText(dxfText); break;
                case netDxf.Entities.Dimension dxfDimension: res = CreateDimension(dxfDimension); break;
                case netDxf.Entities.MText dxfMText: res = CreateMText(dxfMText); break;
                case netDxf.Entities.Leader dxfLeader: res = CreateLeader(dxfLeader); break;
                case netDxf.Entities.Polyline3D dxfPolyline3D: res = CreatePolyline3D(dxfPolyline3D); break;
                case netDxf.Entities.Point dxfPoint: res = CreatePoint(dxfPoint); break;
                case netDxf.Entities.Mesh dxfMesh: res = CreateMesh(dxfMesh); break;
                default:
                    System.Diagnostics.Trace.WriteLine("dxf: not imported: " + item.ToString());
                    break;
            }

Thank you. That sets me down the path I need to finish my importer. The documentation is confusing. The ReadFromFile() method doesn't mention file types and the CADability.DXF.Import() method specifically says it converts the file to netDXF objects. Navigating the source is a bit tricky as the documentation is full of broken links.


Issue with callback/promise in handler functions

Thanks your work on this, I've found it much easier to use than other AoG/DialogFlow libraries despite being in early beta.
With the latest update (removing builders), there's a problem with callback/promises in handler functions, specifically when doing HTTP requests. I believe it is a combination of the removal of agent.send() and the way HTTP client libraries do callback (possibly not preserving 'this' reference as needed?).
Something like this works as expected:
function myFunc (callback) {
    // Do something
    callback();
}
function anotherFunc() {
    agent.add('My Response');
}
myFunc(anotherFunc);

However, if you try this (request library, callback)
request('http://www.google.com', (error, response, body) => {
  agent.add('Hello');
});

Or with axios (Promise-based)
axios.get('https://google.com')
    .then(response => {
        agent.add('My response');
        })
    .catch (error => {
        // do something
    })

You get the following error
Error: No responses defined for null
    at V1Agent.sendResponse_ (/user_code/node_modules/dialogflow-fulfillment/v1-agent.js:119:13)
    at WebhookClient.send_ (/user_code/node_modules/dialogflow-fulfillment/dialogflow-fulfillment.js:225:19)
    at promise.then (/user_code/node_modules/dialogflow-fulfillment/dialogflow-fulfillment.js:285:38)
    at process._tickDomainCallback (internal/process/next_tick.js:135:7)

I've played around with this a bit and I'm not sure what exactly the issue is. It seems related to how these HTTP clients handle callback and losing the 'this' reference, obviously both request and axios are very popular HTTP clients. An easy fix seems like adding back agent.send(), but I'm not sure if the plan is to remove that.

function handlers support promises now so you can return a promise and process things like http requests in the promise.  Here is an example of using the request library:
function dialogflowHanlderWithRequest(agent) {
  return new Promise((resolve, reject) => {
    request.get(options, (error, response, body) => {
      JSON.parse(body)
      // processing code
      agent.add(...)
      resolve();
    });
  });
};

You can also move the HTTP call to another function that returns a promise.  Here is an example with the axios library:
function dialogflowHandlerWithAxios(agent) {
  return callApi('www.google.com').then(response => {
    agent.add('My response');
  }).catch (error => {
    // do something
  })
};

function callApi(url) {
    return axios.get(url);
}

Does this satisfy your use case?

Thank you - this clears up my issues! Keep up the great work on this.

Thanks! will do.  I'll add a sample/documentation demonstrating this at some point.

Did you fix the problem? I'm with the same.

Inside of request, method agent.add now working.
agent.add( JSON.stringify(body))
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
function dialogflowHanlderWithRequest(agent) {
console.log("dialogflowHanlderWithRequest");
agent.add("dialogflowHanlderWithRequest()");
var request = require('request');
var jsonX = {} ;
jsonX.requisicao = "aaaaaaa";
jsonX.page_id = "7777777";
return new Promise((resolve, reject) => {
request.post({
url: 'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
body:jsonX,
json: true
}, function(error, response, body){
console.log(JSON.stringify(body));
agent.add( JSON.stringify(body));
resolve();
});
});
}


disable property defined makes scroll inactive on IE

This issue only occurs in Internet Explorer (IE 11.0.9600.17959)
It was quite hard to reproduce because it only occurs when change disabled property from false to true.
Load this plnkr http://plnkr.co/edit/KXK36BEgIKvx8XWP5M40?p=preview and then open the select : Scrollbar is disabled and doesn't work.

Replacing disabled property with data-disabled fix the issue.
I'm not sure it's a good idea to use the HTML5 disabled attribute as a property for angularJS directive, as it may conflict with the native implementation of the browser ...
Why not using ng-disabled ? or nya-disabled ?

Ah, your issue helped me work around #120 (using data-disabled rather than disabled got rid of the problem). Cheers, mate! :)


[BUG] - CDDL format of tx body not working in Babbage

Internal
Area
Other   Any other topic (Delegation, Ranking, ...).
Summary
It is not possible to sign (or calculate-min-fee) CDDL tx body in Babbage era.
$ cardano-cli transaction sign --tx-body-file test_shelley_cddl_ci0_bxu_tx.body --testnet-magic 42 --signing-key-file addr_shelley_cddl_ci0_1.skey --out-file test_shelley_cddl_ci0_bxu_tx.signed

Command failed: transaction sign  Error: Failed to decode neither the cli's serialisation format nor the ledger's CDDL serialisation format. TextEnvelope error: test_shelley_cddl_ci0_bxu_tx.body: TextEnvelope type error:  Expected one of: TxUnsignedByron, TxUnsignedShelley, TxBodyAllegra, TxBodyMary, TxBodyAlonzo, TxBodyBabbage Actual: Unwitnessed Tx BabbageEra
TextEnvelopeCddl error: test_shelley_cddl_ci0_bxu_tx.body: Unknown TextEnvelopeCddl type:Unwitnessed Tx BabbageEra

System info (please complete the following information):

OS Name: Fedora 35
Node version: https://github.com/input-output-hk/cardano-node/pull/3882

A similar problem recently appeared with 1.35.5 cardano-cli. Can it be related or is it something different / new?

@andrejpodzimek Your issue looks like https://github.com/input-output-hk/cardano-node/issues/4235


Class Declaration in strict mode

In ES6 specification, class declaration is in strict-mode here. Currently, we only consider class declaration to be in strict-mode if users target ES6. However, should we widen this rule and consider all class declaration to be in strict-mode regardless of the script-target?

We have decided to parse all classDeclaration in strict mode regardless of the target


[SQL] az sql db ltr-policy: Remove preview tag

Related command
az sql db ltr-policy
az sql db ltr-backup
az sql db str-policy
Description

Removing the preview tag from the commands mentioned above.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.


WIP: Fix CMake circular dependencies for external use

As found by @climbfuji, if you build GEOSgcm, you get three sets of CMake files for doing find_package: MAPL, GEOSgcm, and GOCART. This then causes circular dependencies as GOCART requires things "provided" by GEOSgcm and GEOSgcm requires GOCART.
So this PR tries to "detect" if GOCART is being built as a standalone project or as part of GEOS.
This needs to be tested by many many people. But it's a start.

@climbfuji said this worked for him. So I'll undraft.

I hope this can make up so 11.5.3 version of the model - very important for GEOS-JEDI development.


[MINOR]: Remove unused Results

Which issue does this PR close?

Closes #.
Rationale for this change
There are some functions that return Result unnecessarily. This PR changes return type from Result<T> to T for these functions.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

🚀


MHRise game still "Running" when exiting game.

This is an issue on the REFramework github also, but i thought i'd post it here also as i'm unsure which piece is at fault.
Effectively anytime when the game is closed it won't close out normally and the Monster Hunter Rise.exe gets stuck and has to be manually killed in the task manager.
The odd part for me is i've tested the following:

With no mods only REframework - exits fine
With the d2d plugin- exits fine
MHR Tweaks mod - exits fine
With MHR overlay mod - hangs on exit and requires kill from task manager
With coavins dps - hangs on exit and requires kill from task manager.

Now i need to add it also did this when i was using the .lua script included in the mod on the nexus. The release.zip here doesn't seem to have that .lua and a friend of mine is running the coavins dps and MHR tweaks mod with the d2d.dll/lib files but not the .lua in the autorun.
So i'm uncertain if the issue is with REFramework itself, or if d2d is causing the issue when a .lua script calls on it.

Small update: I tried using the MHR overlay 1.2 that doesn't use this d2d, and i don't have the issue, so i can use overlay mods that don't call this.
So it seems to follow that there's some sort of issue or conflict with this.

So i found a fix.
I had check my drivers, .netframework, directX versions, ect...
The last thing i hadn't done was just run windows update, as i usually push off windows 10 updates as they tend to break more than fix (had several updates that broke drivers and caused bluescreens so i tend to only update as needed.)
After updating windows the problem disappeared so i assume there was something wrong with that version.


Adding error checking to make sure the required endpoints are available

Should resolve the less than helpful error shown in Issue #38 by providing a more useful RetsPermissionError exception detailing what permissions are missing.

Thanks for the continued contributions!


Allow row limit for Profiler instead of just %

When tables are VERY large, having a percentage based profiler limiter isn't ideal.
For example, 1% of 16 billion rows (real example) is still 160 thousand rows. I wouldn't necessarily want to profile that many rows every run.

Thanks for opening this issue. While we are working on implementing this, you are able to use a decimal point sample percentage in 0.12.1 -- see screenshot below.

@ShaileshParmar11 we need to fix the UI here ^

@hendrix04 is this still an issue? if not, let me know if can close this issue
cc: @TeddyCr @harshach

@ShaileshParmar11 @ayush-shah we need to add an option to allow users to create a % of rows or select just a no.of rows. Lets fix this for 0.13.1

let's add 2 types from the schema so that we safely know if we are getting an int or a %


Refactoring rest api

Codecov Report
Base: 94.83% // Head: 94.86% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (f82ed03) compared to base (98abfb0).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   94.83%   94.86%   +0.02%
==========================================
  Files          22       22
  Lines         368      370       +2
==========================================
+ Hits          349      351       +2
  Misses         19       19

Impacted Files
Coverage Δ

src/runtime_config/web/entities.py
100.00% <100.00%> (ø)

src/runtime_config/web/views.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Send text to Rummager for Specialist Publisher bodies

Before this change, the app was sending Govspeak to Rummager as the document body. This isn't quite right, it's better to send text (like Whitehall does, for instance).
(hat tip to @tijmenb)

👍


How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://jontio.zapto.org/hda1/jaero.html
Publisher: Jonti
Package Name: JAERO
Description: A program to demodulate and decode Classic Aero SatCom ACARS signals.
Package Version: <IP_ADDRESS>
Installer URL: https://github.com/jontio/JAERO/releases/download/v<IP_ADDRESS>/jaero_<IP_ADDRESS>-dirty-1_win_x86_64.zip

[Policy] zip binary

@Trenly @stephengillie I have just noticed that there is also a setup exe for JAERO: https://github.com/jontio/JAERO/releases/download/v<IP_ADDRESS>/JAERO-x64-setup.exe

Please remove he "Blocking-Issue" label. Thanks!

@vikingnope Are you interested in creating a manifest for this application? :-)

Coming right up


Feature: Use SuperMQ for service mesh

Is your feature request related to a problem? Please describe.
No
Describe the feature you are requesting, as well as the possible use case(s) for it.
Similar to ideas of using NATS (or any PUB/SUB) for service mesh, use SuperMQ for Propeller nodes to communicate (send control messages downlink and logs, observability and results uplink). Leverage SuperMQ powerful authentication and authorization to secure Propeller inter-service communication.
Indicate the importance of this feature to you.
Must-have
Anything else?
No response

This will be implemented with Manager and Proplets being MQTT clients, so we can close this particular issue.


Limit extension's activity to local sites

This web extension needs to access the content of web pages. This may be a security problem (e. g. reading credentials, falsifying content, ...).
It seems to be good practice to limit itself to only local addresses, - hence this request.

my server is not connect with visual studio


Make NWBConverters from YAML

WIP absorbing things from other PRs
Motivation
It's been on the to-do list for a while now to make a conversion tool function for reading a yaml specification of an NWBConverter class and actually returning said class. Posting this in draft now while I make progress on it.
How to test the behavior?
pytest

New tests added to test_tools; but rather than keeping a .yml file in the repo, it generates it from yaml.dump.
Checklist

[X] Have you checked our Contributing document?
[X] Have you ensured the PR description clearly describes the problem and solutions?
[X] Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change? (absorbing #116)

Text is perfectly fine as long as it's not data. It's really a matter of file size and the yaml file is very small so it's not a problem to store in the repo.
Adding this to a tutorial is a great idea. Let's implement the feature first. I expect we might adjust as we implement and hit edge cases

To-do
[ ] - Only have a GIN yml for testing, no usage of Tutorial interfaces
[ ] - JSON schema for validating yml structure (with version number to track changes over time)

Moving to separate PRs.


add vk_packet option to send_keys

This change is useful to me as I have an application that only handles WM_KEYDOWN for hotkeys and not WM_CHAR. I'd like to be able to automate key presses via pywinauto. Thanks for your consideration.

@philmbailey, sorry for the delay, will be able to make a proper review only the next weekend. BTW, do you have in mind any other use cases except of your app?

None that I know of specifically. This seemed generally useful to me in that it should more closely emulate the event stream generated by a physical key press.

Less risky option for me is having vk_packet=False by default to keep legacy behavior. We can switch to vk_packet=True, with_spaces=True default values in 0.7.0 since we're breaking much more compatibility cases in major release.


Call maybeThrowError() from execute() and submitTan()

Fixes #282.
This also affects the behavior of login(). It takes the burden off the caller to remember and call ensureSuccess() separately. Though they still need to check for needsTan(), as per the new example code and documentation.

After this PR is in, I think we're ready for a release, so that we don't have to defer people to dev-master all the time.

Shouldn't
$this->maybeThrowError();

be removed from BaseActions::ensureSuccess, if it is always called anyway?

Not sure. Conceptually, it still belongs there. Does it hurt (in the sense that more kinds of exceptions can come out of it, and out of the getters)? If we were to add a new FinTs::executeMultiple() function, we might still need it in there. Or we could have executeMultiple() call maybeThrowError() on all actions. If we decide to (permanently) go that way, we might as well remove the BaseAction::$error field.

It's just not very elegant that it is called twice intentionally. Didn't we decide to keep this library at one Geschäftsvorfall / Action per request, as everything else is just no mans land in terms of bank support and usability?

You're right, see https://github.com/nemiah/phpFinTS/pull/298.


Plural-Forms Croatian

Could you please check the "code" for the croatian plural forms.
In the MacOS Poedit Version 2.2.3 (5738), when saving a po-file this is being writen in the file:
nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);
But on _http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html?id=l10n/pluralforms_ it is defined as:
nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2  && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);
As I understand it, it doesn't matter if hr or hr_HR, wright?

Can you please provide specific example(s) of phrases where the current expression is wrong, showing the difference with explanation?
Poedit uses (much as like GNU gettext itself does, except that has some hardcoded legacy expressions like this one) CLDR data for the expressions. CLDR is generally a comprehensive and reliable source, but neither it nor TranslateHouse are infallible, and the difference may be something subtler that doesn't affect "%i something" expressions (although given the kind of difference of the expression, I doubt that's the explanation).
Serbian, Belarusian, Ukrainian and Russian appear to be in the same boat.

Well I don't know if it's wrong, because I don't know what (n%100<12 || n%100>14) or (n%100<10 || n%100>=20) do. And according to the specs it should be the second one.
I just noticed it, because someone updated one of my translations and ther where these differences. Please take a look at the file "man/hr.po", and you can see the difference at:
https://gitlab.com/inkscape/inkscape-docs/documentation/merge_requests/27/diffs#diff-content-7b9227c12d5822fa66961c34da2255d324c5d8cd
At the bottom of the page you'll see "This diff is collapsed. Click to expand it."
Then you can see the diffs.

And according to the specs it should be the second one.

Sorry, what "specs"? You didn't link to any "spec", you linked to an unofficial reference document, which took this form from GNU gettext manual (not "spec" either). The closes thing to a "spec" for a language is precisely the CLDR dataset I am using.
The only thing that is specified here is the syntax of the plural forms field and the meaning of it. See the manual. The very reason why it exists is that a file can set the rules in itself.
If you think the default expression from Poedit is wrong, please back it up with some linguistic explanation. I can't just randomly change things if two mostly-reliable sources disagree, I need to understand which one is correct for the language.

Actually, scratch that: the two expressions are equivalent. They evaluate to the same values and are just slightly different ways of writing the same thing (one by human, one generated).

OK, if it doesn't matter I'm fine with that.
Maybe "spec" was the wrong word, sorry. I was refering to the two links I found on
https://poedit.net/trac/wiki/Doc/PluralForms
http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html?id=l10n/pluralforms
and
https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html


Building is not visible by LIDAR

Carla Version: 0.9.10
Platform:Ubuntu 20.04.1 LTS
Tested in ROS2 Foxy with carla-bridge.
Lidar is passing through some buildings in Town03, not detecting a building wall, although the car is colliding with the building.
The white points are point cloud map recorded in Carla 0.9.9, the color points are points registered by 2 lidars.
Building 1

Building 2

Hi,
Sorry for the late answer. I will take look more deeply at it. Thanks to reported

Hi @zygfrydw We know what happens there with the lidar and now we are working to fix it

Great, thanks for your help!

Hi @zygfrydw, We've discovered the problems. Some Blueprint in our buildings, there are with a wrong collision preset. Now we add a correct collision preset and now appear in the lidar. The PR is waiting to accept.

Is there any new with this issue? is there any branch merged with those changes?