Add deprecation notice around Truffle support

Description
Consensys is sunsetting Truffle.
We have already broadcasted this news in Discord, but need to update our documentation to reflect this message.

I would devote an hour or two, read through https://docs.oasis.io/dapp/sapphire/quickstart and https://docs.oasis.io/dapp/emerald/writing-dapps-on-emerald#create-dapp-on-emerald-with-truffle and completely remove the truffle-related sections. And then put admonition something like
::: info Truffle support

Oasis removed support for Truffle on 2023-10-01. Developers are encouraged to migrate to Hardhat instead.
The original Truffle tutorial is available at https://github.com/oasisprotocol/docs/blob/2f4a1a3c217b82687ab9440bf051762ae369ed45/docs/dapp/sapphire/quickstart.mdx and the deprecated Truffle
example at https://github.com/oasisprotocol/sapphire-paratime/tree/main/examples/truffle.

:::

Afterwards, https://github.com/oasisprotocol/sapphire-paratime/pull/191 can be merged, a new version of ts-client released and examples/truffle removed.


Github Actions CI/CD

@christyjacob4

@christyjacob4 @Meldiron
Testing Plan for asked changes:

Run tests only on push: https://github.com/faisalill/open-runtimes/actions/runs/5726887707/job/15518210087
Run tests only on PR: https://github.com/faisalill/open-runtimes/pull/1
Run tests before deployment only on tags: https://github.com/faisalill/open-runtimes/actions/runs/5727245693

Closing as duplicate


qrencode: Add support for PIC image type

Description of changes

This PR adds the changes from fukuchi/libqrencode#208 PR, to the qrencode nixpkgs.
fukuchi/libqrencode#208 brings support for the PIC (a graphics format used with groff and TeX) image type.
ℹ The add_pic_image_type.patch patch slightly differs from the changes proposed in fukuchi/libqrencode#208 as those target the master branch, where nixpkgs patch file targets the latest release, i.e. 4.1.1
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Yikes, I did not expect this PR to trigger so many rebuilds. Please let me know if this PRs merge-base should rather be staging than master.

Yes, definitely.
However I have another issue with this: I'm not convinced that it's a good idea to add a bunch of unreviewed C code to our repos. No offense, but bearing in mind the amount of CVEs in C code from image libraries (imagemagick, libjpeg, etc) I don't think it's wise to apply third-party patches here that didn't even have a review from the authors.
Also, in my experience we don't really apply patches on our own that are not security fixes or changes to make the software runnable under NixOS.
All in all, I'd prefer to reject this[1], but I'll leave the final call to our qrencode maintainers.
[1] your best option IMHO is to apply the patch yourself in your config, e.g. via
{ pkgs, ... }:

{
 environment.systemPackages = [
    (qrencode.overrideAttrs ({ patches ? [], ... }: {
      patches = patches ++ [ ./pic-support.patch ];
    });
  ];
}

Thank you for your feedback and context, @Ma27. I'm going to retract and close this PR as I agree with your point that only patches for "security fixes or changes to make the software runnable under NixOS" should be applied.
Hopefully the maintainer of the upstream qrencode will take the time to review and include the proposed patch to add pic image support at some point in the future and create another release.


How can we know the tag.position?

Can you please explain how to know and get the tag position data we detected?

See the example for details.
https://github.com/keijiro/jp.keijiro.apriltag/blob/main/Assets/WebcamTest.cs#L66

I'm closing this issue now. Please feel free to reopen it for further problems.


Title of this web page does not match the title of the document

Title of this web page does not match the title of the document

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

ID: 581d46fd-9672-0bc6-7152-39301c893fd4
Version Independent ID: 202e0e14-10e9-2173-b4a5-bb8cf6cdd400
Content: Receive activity log alerts on Azure service notifications using Azure portal - Azure Service Health
Content Source: articles/service-health/alerts-activity-log-service-notifications-portal.md
Service: service-health
GitHub Login: @rboucher
Microsoft Alias: robb

@darkoa-msft , thank you for your feedback. We'll review this and get back to you shortly!

@darkoa-msft, thank you for bringing it to our attention. I am checking it further with the team and will take further action based on it.

@rboucher, requesting your response for this issue. Thank you.

Thanks for your dedication to our documentation. This issue has been moved to an internal work item for triage and prioritization. Thanks in advance for your understanding as we investigate to provide the most accurate documentation updates. #please-close
Internal work item: https://dev.azure.com/msft-skilling/Content/_workitems/edit/271105
Please also note that GitHub documentation issues are being phased out completely. For more information, see: https://aka.ms/ContentUserFeedback.
Our support team is available to assist you if you have any pressing questions or problems that need to be resolved. You can create a support ticket by visiting the following link: https://azure.microsoft.com/support/create-ticket/
You may also ask support questions in our Q&A forums.


possible superseding of this for scientific-python/cookie

hello ARC people :D
I heard that you guys had a project repo template -- I wanted to put my 2 cents into adopting the scientific python cookiecutter that I've already converted a few projects to use (I also showed @boykovdn this recently!)
I plan to work on some tutorial material for how to use all the features, but it gives you the choice of using many different build backends, including this repo's standard poetry, and also hatch, which is allegedly the best thing out there right now (there's also a bunch of possible caveats on upper version bounds with poetry that I hear a lot...).
I essentially found out about this through working close to people that are more intimately involved in the python packaging ecosystem, and just wanna spread how cool it is :)

Oops I missed this @phinate , have you got a link to a repo using it?


[MM-43336] Fix some e2e tests

Summary
Fix e2e tests that broke after.
A lot of them depended on a removed modal, and the features have not all been ported.
Ticket Link
https://mattermost.atlassian.net/browse/MM-43336
Related Pull Requests
Screenshots
N/A
Release Note
NONE

/e2e-tests

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/182348

/e2e-tests

/e2e-tests

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/183095


Allow user to find a ship by incomplete name

API should be able to guess or infer incomplete ship name

Jeanne -> Jeanne d'Arc
Jean -> Jean Bart

closed by https://github.com/AzurAPI/AzurApi-Kotlin/pull/9


Install Baselines

When I install Baseline,
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-p2poh3ol/mpi4py/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-zamwt56h/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-p2poh3ol/mpi4py/

Please give far more information about your machine and setup so that others can reproduce or trace your steps.

fixed problems,
thanks

new comer here, same problem.how did you fix that?

new comer here, same problem.how did you fix that?

fixed problems,
thanks


feature: Update the keyboard to support multiple layers

Now 8VIM can support up to 6 layers of different characters.
But in order to do that I had to rethink the file structure.
I moved from XML to YAML.
It's easier to parse (it directly maps to an object) and it's easier to read.
In order to simplify and make it easier to create/update layouts, I divided them by layers/sectors. characterSets are no more needed for the creation of the keyboard (inferred from the layer).
Same for the movementSequence: the sequence is also inferred from the YAML. (But it can be overridden in the property set in the YAML).
Here is a small sample:
hidden: # the hidden layer is never rendered
  NO_SECTOR:
    - actionType: INPUT_KEY
      movementSequence:
        - TOP
        - INSIDE_CIRCLE
        - NO_TOUCH
      keyCode: HIDE_KEYBOARD
visible:
  - RIGHT_BOTTOM:
      - actionType: INPUT_TEXT
        lowerCase: n
        upperCase: N
      - actionType: INPUT_TEXT
        lowerCase: m
        upperCase: M
      - actionType: INPUT_TEXT
        lowerCase: f
        upperCase: F
      - actionType: INPUT_TEXT
        lowerCase: "!"
  - RIGHT_BOTTOM:
      - null
      - actionType: INPUT_TEXT
        lowerCase: o
        upperCase: O

It will create a keyboard with nmf! at the bottom of the right sector, with a second layer o
All movement sequences (lower and upper cases) are computed from that.

Quick doc:
hidden: Quadrant_keyboardActions # hidden layer
visible: [Quadrant_keyboardActions] # visible layers

Quadrant_keyboardActions: is a map.
The key is one of the available quadrants.
The value is a list of keyboardAction.
On visible layers/quadrants that list cannot exceed 4 items (other items will be discarded).
Each item represents a character on the quadrant (from the centre).
To skip an entry the value must be null or an empty object {}.
The first map of the visible layer will be the default layer rendered.
Quadrant:

RIGHT_BOTTOM
BOTTOM_RIGHT
BOTTOM_LEFT
LEFT_BOTTOM
LEFT_TOP
TOP_LEFT
TOP_RIGHT
RIGHT_TOP
NO_SECTOR. Special quadrant in which the characters are never rendered on the keyboard but the action works for the layer.

keyboardAction:
actionType: KeyboardActionType # `INPUT_TEXT` or `INPUT_KEY`
lowerCase: a # character to render for `INPUT_TEXT`
upperCase: A # character to render for `INPUT_TEXT` when the upper case is required.
movementSequence: [FingerPosition] # Optional, if this property is set and non-empty the inferred movement sequence will be overridden
keyCode: SHIFT_TOGGLE # key code event only when `actionType` is `INPUT_KEY`
flags: 0 # Optional flags

FingerPosition:

NO_TOUCH
INSIDE_CIRCLE
TOP
LEFT
BOTTOM
RIGHT
LONG_PRESS
LONG_PRESS_END

BREAKING CHANGE: The new format is not backwards compatible
refs: flide/8VIM#292

Open to suggestions 😄

I don't know if XML is mandatory, but the XML library is native.
I would love to move from XML to YAML.
I'm going to fork this branch and use YAML instead of XML

The YAML version: MaethorNaur/8VIM#2

YAML files are easier to edit

Added the PR for the Ukrainian language: Add Ukrainian language: #302

Very cool!
Some thoughts:

The actionType is almost always INPUT_TEXT (in 1302 of 1325 cases, about 98 %). We could make this the default and only set the actionType when it's not INPUT_TEXT.
When lowerCase is a lower case letter, (almost?) always upperCase is the upper case version of this letter. Not a surprise :-) We can assume that this is what most people want. So we could make it a rule that if lowerCase is a letter and upperCase is not set, then upperCase is the upper case version of that letter.

This would simplify the layout config files even more.

Good idea. I've made the changes

I like it! But I'm just a user, not the project maintainer. So I'm curious what @flide thinks about it!

I'm a user too ^^, but I hope it will please everyone 😄

I like these changes but i think these need to be documented somewhere for anyone writing a new layout file. Can a wiki page be added which teaches how to write a new layout file?

Will do. As long we agree on the final format :)

@flide I created the documentation: https://github.com/MaethorNaur/8VIM/blob/new-file-layout/Adding-new-language.md.
For some reason, I cannot create a PR for the WIKI. If you are happy with that you can add that file into the wiki repository

This is brilliant, I just need to understand what is the distinction between 'hidden' layer and 'visible' layer.
Also, I guess, there can be multiple 'visible' layers?
And, can you point to a file which contains all the various elements that it can contain?
@MaethorNaur

I was analysing the "de_regular_germal.yaml".

I don't understand the difference between the label '- RIGHT_BOTTOM' and 'RIGHT_BOTTOM'
There is no clear differentiation between the different layers, atleast I am not able to understand it in one go.

can you help me understand please.

I was analysing the "de_regular_germal.yaml".

I don't understand the difference between the label '- RIGHT_BOTTOM' and 'RIGHT_BOTTOM'
There is no clear differentiation between the different layers, atleast I am not able to understand it in one go.

can you help me understand please.

for RIGHT_BOTTOM and BOTTOM_RIGHT as described in the doc, the first part is the sector and the second part is position in the sector. LEFT/RIGHT have TOP/BOTTOM position and TOP/BOTTOM have LEFT/RIGHT.
Maybe we can split into sector/part.

for example:
visible:
  - RIGHT:
       TOP:
          - lowercase: a
        BOTTOM:
          - lowerCase: n

About hidden and visible.
The hidden layer is primarily an internal layer, but the purpose of it is to handle movements and do an action/add a character but there is no need to be rendered on the keyboard. I wrote that in the doc more for information.
When adding a language there is no need for it.
Also, I remove the NO_SECTOR. it was only needed for: zero_turn_no_actions.yaml, but I removed it as it wasn't really useful.
So hidden directly takes a list of actions.
If you want to make a clear distinction between the layers we could (yaml can makes hard to read list):
layers:
  hidden:
    ...
  defaultLayer:
    ..
  extraLayers:
    first:
     ...
   second:
     ...
   third:
     ...
   fourth:
     ...

What do you think?
@flide

@flide
Update documentation to explain how to use the layers: https://github.com/MaethorNaur/8VIM/blob/new-file-layout/Usability-Guide.md

@flide
I added the support of the cut action on the selected text.
Updated the usability documentation:

Added visual explanation for the selection/cut/copy/paste.
Added documentation for the "embedded" emojis with a visual explanation.

Hopefully a quick question: will it be possible with these changes to specify keys like Shift, Ctrl, Alt, Meta/Win/Cmd, Esc, and so forth?
If not, is the design at least conceptually/architecturally compatible with adding it later?
(I don't want separate clickable areas, I want everything accessible within the same smooth continuous finger swirl, including enabling/locking/disabling each modifier. My intent is to eventually contribute that if it's not already possible, I'm just hoping/asking that this doesn't take us further from that goal.)

I'm not sure about your question. Do you mean for instance if a full round (which bring the upper case letters) to show the shift key icon?

I mean that I'd love to write mappings like this:
  - RIGHT_BOTTOM:
      - actionType: INPUT_TEXT
        lowerCase: n
        upperCase: N
      - actionType: INPUT_TEXT
        lowerCase: m
        upperCase: M
      - actionType: INPUT_TEXT
        lowerCase: f
        upperCase: F
      - actionType: MODIFIER
        lowerCase: Shift

  - RIGHT_TOP:
      - actionType: INPUT_TEXT
        lowerCase: a
        upperCase: A
      - actionType: INPUT_TEXT
        lowerCase: r
        upperCase: R
      - actionType: INPUT_TEXT
        lowerCase: x
        upperCase: X
      - actionType: MODIFIER
        lowerCase: Ctrl

So the motion that in the default layout creates ! would instead work like tapping the top quadrant does now:

do it once and Shift is in effect for just the next input - the standard terminology for this is that Shift is "latched";
do it twice in a row and Shift is in effect until it's toggled again - standard terminology: Shift is "locked";
do it again after it's already locked and Shift stops being in effect.

If 8vim isn't already able to generate the other modifier keys (Ctrl, Alt/Opt/Meta, Win/Cmd/Super, etc), I fully intend to eventually add a PR to do that - there's even many open source "programmer's" Android keyboards that already do this which we can look at for a quick reference for how it's done.
So the question is: does what you're doing in this PR make it possible/easier? (And the request is: just please don't use a design which would make it impossible/harder.)

So if you do a full rotation, the shift is "latched" (The icon is not updated yet, but it can be fixed).
I can do a double rotation to "lock" the shift.
Other modifier keys are not supported yey, but could be on an other PR

Okay, assuming we mutually understood each other correctly, that makes me really happy to hear, and even if we didn't, that still makes me pretty happy to hear. Thank you for the great work!

@mentalisttraceur
Updated the keyboard. every full rotation will:

Shift
Shift lock
lower case

So the original seems to be abandoned and this shapes to be the defacto fork
I just wanted to suggest, currently all motions are described in full
So when the actionmap is loaded, it contains every possible combination of actions for every layer, which is why I assume the limit is there.
I think a more efficient way would be to add relative actions - CLOCK and ANTICLOCK, NEXT and PREV, and have the system calculate them at runtime.
Clock and ANTICLOCK denote motion based on the current quadrent - Right, Down is the same of Right, Clock for example
Now once you have a movement like this, you have a direction, NEXT repeats the movement, PREV reverses it.
Now any letter is simply defined by a start quadrent, Clock or anticlock, and an amount of nexts.
You can just count the nexts to see what letter it is.
Layer up could be simply be defined as PREV. (Though I did make a suggestion that it should at least be configurable to make it go back to the previous letter instead, in case you make a mistake)
Layer down is PREV, NEXT etc
Now layers can be a part of the system and not be generated when loading the yamls
I can help implement this if this is the direction you want to go in.
Other suggestions in general:

switching languages (wee my issue on this repo)
when finishing not on the circle, instead of doing nothing it just inserts the last letter without a space. At least have it be configurable.
Showing a preview of what is going to be printed, which is helpful for your added gestures
other suggestions on the repo, such as adding numbers and symbols to the 8vim keyboard, dynamic start position, custom symbols or expansions when holding on a letter, etc

I think until the owner of this repo is back you should make yours the defacto one, and let me know if there's a suggestion you want me to contribute on
Thanks

More Ideas:

Double tapping

Double tap the circle for a dot
Double tap and move to an arrow to select in that direction
Double tap right for "select all"
etc

Modifiers
There are already ctrl and shift, have them act like a pc.

When shift is held letter are capitals, when left goes back
When control is held movement/selection/deletion is by word and not by lettter

Using the lines

Tapping on letters on the line to write them (escape hatch?)
Move along the line forwards/backwards for an action/step
holding letters in the line for macros/etc

I really feel like the design opprotunities for this keyboard are limitless

More Ideas:

Double tapping

Double tap the circle for a dot

Double tap and move to an arrow to select in that direction

Double tap right for "select all"

etc

Modifiers
There are already ctrl and shift, have them act like a pc.

When shift is held letter are capitals, when left goes back

When control is held movement/selection/deletion is by word and not by lettter

Using the lines

Tapping on letters on the line to write them (escape hatch?)

Move along the line forwards/backwards for an action/step

holding letters in the line for macros/etc

I really feel like the design opprotunities for this keyboard are limitless

Those are good ideas, how ever I might not integrate them in that PR, which is already massive. Could you open an issue with those ideas?

@AsafMahlev

So the original seems to be abandoned and this shapes to be the defacto fork
I just wanted to suggest, currently all motions are described in full So when the actionmap is loaded, it contains every possible combination of actions for every layer, which is why I assume the limit is there.
I think a more efficient way would be to add relative actions - CLOCK and ANTICLOCK, NEXT and PREV, and have the system calculate them at runtime.
Clock and ANTICLOCK denote motion based on the current quadrent - Right, Down is the same of Right, Clock for example
Now once you have a movement like this, you have a direction, NEXT repeats the movement, PREV reverses it.
Now any letter is simply defined by a start quadrent, Clock or anticlock, and an amount of nexts.
You can just count the nexts to see what letter it is.
Layer up could be simply be defined as PREV. (Though I did make a suggestion that it should at least be configurable to make it go back to the previous letter instead, in case you make a mistake)
Layer down is PREV, NEXT etc
Now layers can be a part of the system and not be generated when loading the yamls
I can help implement this if this is the direction you want to go in.

It's something we could do in the future, but I prefer not to make these changes in that PR.
This PR is already big and delaying it might impact other PR.

Other suggestions in general:

switching languages (wee my issue on this repo)
when finishing not on the circle, instead of doing nothing it just inserts the last letter without a space. At least have it be configurable.
Showing a preview of what is going to be printed, which is helpful for your added gestures
other suggestions on the repo, such as adding numbers and symbols to the 8vim keyboard, dynamic start position, custom symbols or expansions when holding on a letter, etc

I think until the owner of this repo is back you should make yours the defacto one, and let me know if there's a suggestion you want me to contribute on
Thanks

Not sure about what you mean by switching languages?
That would be nice, feel free to create an issue/PR for that
Not sure about that one (it's true for special movements, like emojis, special characters are not shown :( )
Numbers/symbols can be added easily (as long we agree on the patterns). Same feel free for an issue/PR

@MaethorNaur This PR is gone out of hand, I am not able to review the code. Would you be willing to have a online meeting with me to explain and discuss the PR? Any time on Saturday or Sunday according to Indian Standard Time (IST), I think we should be able to clear everything up in 30 mins or so.

@MaethorNaur I have verified your changes, and I think this PR is ready for merge. Is there anything pending or more you want to add to this PR before merging ?

@AsafMahlev @AsafMah You seem to have interesting ideas for the keyboard, please open up discussions on yours ideas, one at a time, and let the community weigh in.

@flide Should work.
Let me double check though.

I just thought, maybe we could display which layer is activated.
To be in the layer selector mode is:

bottom
circle

then, select the layer, and go back to the bottom (2nd layer).
To validate your layer you have to go to the circle. Then you can choose the character you want as usual.
But there is a caveat: once a character is selected from a layer, the keyboard switches back to the default layer.
Would we want to keep the layer (maybe adding a movement to come back to the default one?)

I think switching to the default layer is the right thing to do. The characters in these layer are inherently lesser used, and highly unlikely that two of them are in sequence.


Onboarding task9

Description
dependencie injection with Hilt
Related Issues
task09-onboarding
Visual reference
https://user-images.githubusercontent.com/53837410/193362335-084bd4c3-6279-4b46-9622-d14e2add2d71.mp4

For documenting purposes, if we use this codelab in the future, the following changes are required to make it work on Apple M1:


HV-1636 Avoid instantiating unnecessary objects during constraint metadata creation

https://hibernate.atlassian.net/browse/HV-1636

@marko-bekhta could you please take a look at this one? Thanks!

@marko-bekhta thanks for the review.

I've also noticed a very minor thing - we could omit creating JavaBeanField here https://github.com/hibernate/hibernate-validator/pull/973/files#diff-a0952ad4963831a974f6b5fa78895a6dR218 for static or synthetic fields.

Done.
To be honest, I considered for a while keeping the reflection API usage for annotationProcessingOptions to avoid creating the JavaBeanField but IIRC it does not make sense for all calls and it was messy.

And merged, thanks for the review!


Application doesn't start

Hello again, i have installed the app in a VM in VirtualBox, Xubuntu 22.04. PHP 8.2, Mysql 8, REDIS, and everything seem to work fine, no problems on instalation, but when i try to start only appears the screen ERROR 500, System error, and in the log of Apache appears this lines, thank you in advanced for your great work
<IP_ADDRESS> - - [17/May/2024:17:50:14 +0200] "GET / HTTP/1.1" 500 2425 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
<IP_ADDRESS> - - [17/May/2024:17:50:14 +0200] "GET /build/css/main.min.css?v1715958684 HTTP/1.1" 200 17419 "http://<IP_ADDRESS>/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
<IP_ADDRESS> - - [17/May/2024:17:50:14 +0200] "GET /build/images/error-illustration.svg?v1715958684 HTTP/1.1" 304 250 "http://<IP_ADDRESS>/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
<IP_ADDRESS> - - [17/May/2024:17:50:14 +0200] "GET /build/js/main.min.js?v1715958684 HTTP/1.1" 200 181454 "http://<IP_ADDRESS>/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
<IP_ADDRESS> - - [17/May/2024:17:50:14 +0200] "GET /build/images/bg-main.svg HTTP/1.1" 304 248 "http://<IP_ADDRESS>/build/css/main.min.css?v1715958684" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
<IP_ADDRESS> - - [17/May/2024:17:50:15 +0200] "GET /service-worker.js HTTP/1.1" 200 1167 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
<IP_ADDRESS> - - [17/May/2024:17:50:15 +0200] "GET /service-worker.js HTTP/1.1" 200 1167 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"

Check storage/logs/laravel folder to detailed error logs.

I don't have a folder call laravel in logs, only artisan. Thank you for your quick reply

Maybe permission problems? Can you check the apache and php error logs?

Only find the Apache log
access.log

It is difficult for me to help you if you do not have any error log.

Al final lo he conseguido instalar en un UniformServer, en windows 10. Lo tengo funcionando perfectamente.
Muchisimas gracias por tu tiempo y por tu trabajo.

Perfecto!


Blog post: What is content design

Write a blog post that talks about what content design is and how we used it on the COVID site.

[x] Write first draft
[x] Content designer review of first draft
[x] Final approval

Blog post published.


Dependency missing

To resolve "Chef::Exceptions::CookbookNotFound: Cookbook cpe_powermanagement not found. If you're loading cpe_powermanagement from another cookbook, make sure you configure the dependency in your metadata"

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Whoops, that's depressing.  My fault for missing that.  Good catch, thanks.


CMakeLists warning

CMake Deprecation Warning at utilities/runvx/CMakeLists.txt:74 (cmake_policy): The OLD behavior for policy CMP0054 will be removed from a future version of CMake.

@rrawther I will look into this issue and will let you know when to review.

@rrawther MIVisionX CMake Log
cmake ../MIVisionX
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- MIVisionX Version -- 1.7.0
-- MIVisionX install path set to -- /opt/rocm/mivisionx
-- Found OPENCL: /opt/rocm/opencl/lib/x86_64/libOpenCL.so
-- AMD OpenVX -- OpenVX built with OpenCL Support
-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- AVCODEC  required min version - 58.18.100
-- AVFORMAT required min version - 58.12.100
-- AVUTIL   required min version - 56.14.100
-- FFMPEG   required min version - 4.0.4
-- FFMPEG Marked Not Found - MIVisionX Modules requiring FFMPEG turned off
BUILDING WITH OPENCL BACKEND
-- AMD OpenVX Loom Stich Library Extension -- amd_loomsl module added
-- WARNING:FFMPEG Not Found -- amd_media module excluded
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread;-lpthread (found version "3.5.1")
-- Inference Generator -- utilities/inference_generator module added
-- AMD OpenVX Neural Network Extension -- amd_nn module added
-- Found OpenCV: /usr/local (found version "3.4.0")
-- AMD OpenVX OpenCV Extension -- amd_opencv module added
-- Cloud Inference -- cloud_inference application added
-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- AVCODEC  required min version - 58.18.100
-- AVFORMAT required min version - 58.12.100
-- AVUTIL   required min version - 56.14.100
-- FFMPEG   required min version - 4.0.4
-- FFMPEG Marked Not Found - MIVisionX Modules requiring FFMPEG turned off
-- MIVisionX Utilities -- runvx, runcl, & loom_shell modules added
-- WARNING:FFMPEG Not Found -- mv_deploy module excluded
-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- AVCODEC  required min version - 58.18.100
-- AVFORMAT required min version - 58.12.100
-- AVUTIL   required min version - 56.14.100
-- FFMPEG   required min version - 4.0.4
-- FFMPEG Marked Not Found - MIVisionX Modules requiring FFMPEG turned off
-- Radeon Augmentation Library -- rali module added
-- rali built with ENABLE_SIMD
-- rali library is going to be built without video decode functionality
-- Ubuntu detected -- .deb package will be created
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiriti/develop/github/build

Update on CMakeList
cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
~/MIVisionX/build$ cmake ../MIVisionX/
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- MIVisionX Version -- 1.7.0
-- MIVisionX install path set to -- /opt/rocm/mivisionx
-- Found OPENCL: /opt/rocm/opencl/lib/x86_64/libOpenCL.so
-- AMD OpenVX -- OpenVX built with OpenCL Support
-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- AVCODEC  required min version - 58.18.100
-- AVFORMAT required min version - 58.12.100
-- AVUTIL   required min version - 56.14.100
-- FFMPEG   required min version - 4.0.4
-- FFMPEG Marked Not Found - MIVisionX Modules requiring FFMPEG turned off
-- Radeon Performance Primitives -- BUILDING WITH OPENCL BACKEND
-- AMD OpenVX Loom Stich Library Extension -- amd_loomsl module added
-- WARNING:FFMPEG Not Found -- amd_media module excluded
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread;-lpthread (found version "3.5.1")
-- Inference Generator -- utilities/inference_generator module added
-- AMD OpenVX Neural Network Extension -- amd_nn module added
-- Found OpenCV: /usr/local (found version "3.4.0")
-- AMD OpenVX OpenCV Extension -- amd_opencv module added
-- Cloud Inference -- cloud_inference application added
-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- AVCODEC  required min version - 58.18.100
-- AVFORMAT required min version - 58.12.100
-- AVUTIL   required min version - 56.14.100
-- FFMPEG   required min version - 4.0.4
-- FFMPEG Marked Not Found - MIVisionX Modules requiring FFMPEG turned off
-- MIVisionX Utilities -- runvx, runcl, & loom_shell modules added
-- WARNING:FFMPEG Not Found -- mv_deploy module excluded
-- Could NOT find FFMPEG (missing: FFMPEG_LIBRARY FFMPEG_INCLUDE_DIR)
-- AVCODEC  required min version - 58.18.100
-- AVFORMAT required min version - 58.12.100
-- AVUTIL   required min version - 56.14.100
-- FFMPEG   required min version - 4.0.4
-- FFMPEG Marked Not Found - MIVisionX Modules requiring FFMPEG turned off
-- Radeon Augmentation Library -- rali module added
-- rali built with ENABLE_SIMD
-- rali library is going to be built without video decode functionality
-- Ubuntu detected -- .deb package will be created
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiriti/MIVisionX/build

This looks good. Can you merge your changes

TOT MIVisionX has the changes required


⚠ Bofrost.at has degraded performance

In efd40db, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3580 ms

Resolved: Bofrost.at performance has improved in 12394ee after 6 minutes.


Pictures in the description dont migrate as expected

When there are pictures in the description, the first picture appear in all places instead of the other pictures.
it happens even though in the export json there are the correct picture links.
ex.
part of description field in json:
<img src="http://<IP_ADDRESS>:8080/secure/attachment/70190/70190_screenshot-3.png\" align="absmiddle" border="0" />\n\t\n\t\n\n\n\n <img src="http://<IP_ADDRESS>:8080/secure/attachment/70191/70191_screenshot-4.png\" align="absmiddle" border="0"
in the imported work item you see screenshot-1 instead of them.
In the attachments, everything exists as it should be

Sorry for the late response.
Thank you for reporting this issue. We are looking into this.

@AmitNaveh23  I have introduced a fix for this issue. This should be released in the next version.

@AmitNaveh23 closing issue. you can try with the new version when it is released. If you still have issues then feel free to contact us.


Issues mixing JavaScript with filters in set

While {{ set }} allows pipes on the righthand side, and it allows JavaScript on the righthand side, it can't handle JavaScript mixed with pipes. For example, assuming that arr is some form of array, and filt is some filter that expects an array, then this works:
{{ set foo = arr |> filt }}

and this works
{{ set foo = arr.filter(a => a !== 'bar') }}

But this will fail with > unexpected:
{{ set foo = arr.filter(a => a !== 'bar') |> filt }}

The fundamental issue is that |> is getting viewed as a JavaScript expression, not a pipe, and |> is indeed not a valid JavaScript sigil. Gratuitous levels of parentheses that would make even the most grizzled Lisp user proud do not seem to be able to navigate around this.
I honestly kind of get not being able to combine these, but it'd be nice either if the error message were more helpful, or if the documentation on this edge case were clearer

0.5.0; I'll try 0.6.0 when I have a moment tonight

I can confirm this works correctly on v0.6.0, so I'll close. Thanks for preemptively fixing this before I had a chance to file the bug :)


reward is not working

I am aware that Reward is not working, but now there are many serious problems with counting invitations.


Releasing vanilla LSTM pre-trained LM model?

Hi, thanks for this great work. It is very helpful to release the pre-trained LM in such a clear code (unlike Elmo)
I am wondering if you have any plan to release the pre-trained R-Elmo model in your paper (#6 and #7 in table 1 of the paper)?
Thanks!

Thanks for your interest and sorry for the late of reply. We are working on some submissions in the last week. As to the pre-trained Elmo models, unfortunately, we have deleted these models :(


feat: Ship KEDA v2.12 Helm chart

Ship KEDA v2.12 Helm chart
Checklist

[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[ ] README is updated with new configuration values (if applicable) learn more
[x] A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)

Relates to https://github.com/kedacore/keda/issues/4994

Blocked because of https://github.com/kedacore/charts/pull/534


listen to both ports at the same time

as far as the example goes, i'm not sure how do you listen to both ports at the same time?
var express = require('express');
var http = require('http');
var enforce = require('express-sslify');

var app = express();
app.use(enforce.HTTPS());

http.createServer(app).listen(app.get('port'), function() {
    console.log('Express server listening on port ' + app.get('port'));
});

why do you wrap express app with another server ?

Hi!
You're wondering about createServer()? That's simply the verbose way of what is usually hidden behind app.listen(). More about this and also about how to listen to HTTP and HTTPS in the express documentation: http://expressjs.com/api.html#app.listen
As you'll see the verbose way is also a great way of configuring your routes, etc. in one central app object and then passing it to a HTTP and a HTTPS server without redoing all your routes, etc.
Hope that helps!


Refactor power distribution Result

Since Frequenz-SDK is already using Python 3.11 as a minimum version, Result can now be defined as a union type of the different results instead of using inheritance.

I would mention it in the release notes and recommend using match to figure out what kind of a result a Result is. It would be also good to look for both internal code using Results and examples and replace those with match.

I added an example as I only found assertions in tests to check only one type of results at a time where match was not suitable. Also added the example in the release notes, please let me know if that's what you had in mind


Arrays compiled to objects? (Fable 0.1.5)

F#: [| 0; 1; 2; 3 |]
is being compiled to
Js: {"0":0,"1":1,"2":2,"3":3}
Is this correct? It shouldn't be compiled to a native array? ([0, 1, 2, 3])
Using the latest version (0.1.5). I didn't work much with arrays until now, so I can't tell if this was happening in the older versions.

I reverted back to Fable 0.1.4 and can confirm it was working back then (at least for 8 and 16 bit integers).
Sample code:
    let a8  = [| 0uy; 1uy; 2uy; 3uy |]
    let a16 = [| 0us; 1us; 2us; 3us |]
    let a32 = [| 0; 1; 2; 3 |]

    a8 |> printfn "%A"
    a16 |> printfn "%A"
    a32 |> printfn "%A"

F# output:
[|0uy; 1uy; 2uy; 3uy|]
[|0us; 1us; 2us; 3us|]
[|0; 1; 2; 3|]

Fable 0.1.4 output:
[0,1,2,3]

[0,1,2,3]

{"0":0,"1":1,"2":2,"3":3}

Fable 0.1.5 output:
{"0":0,"1":1,"2":2,"3":3}

{"0":0,"1":1,"2":2,"3":3}

{"0":0,"1":1,"2":2,"3":3}

Shouldn't it map to array in these three cases? (even for 32-bit integers)

You scared me ;) I checked it and arrays are compiled properly (actually, in 0.1.4 byte arrays were not compiled as typed arrays which is fixed now). The problem comes from the print formatting. At the moment, my cheap solution for %A formatting is to call JSON.stringify under the hood and apparently this doesn't work well (yet?) with typed arrays. Probably the formatting method needs to be improved in the near future, but at least that seems to be a different problem :)

Hahahah... APRIL FOOLS!! ;)
(Nah. Just kidding. :) -- I really thought it was bugged. I should've looked at the generated .js file instead of just relying on printfn output).
Thanks! Let's close this one.


Mastered Job 1HR cooldowns not consistent between bars

I'm on a mastered WAR and using Mighty Strikes results in a cooldown bar that starts empty with a 45m duration, while using Brazen Rush results in a cooldown bar that starts 25% full and is a 1 hour bar. Both convey the correct information but the display is currently inconsistent. I don't know if this is the same for other jobs as I only tested it on WAR (it might also be the other way around as to which SP ability displays which way, my memory isn't 100% clear).

The client doesn't receive max recast data, tTimers sets the duration used for calculating bar progress based on the longest recast it's seen for a particular ability.  Hardcoding them is also likely to be a bad idea, given many users are on private servers and still have 2-hour recasts for their SP abilities.  With that in mind, I think the best solution is probably to remove the 'longest recast seen' and use the recast present anytime it goes from zero to non-zero, which would represent the most recent usage.
This won't fully fix it either, though.  There will be the edge case where you use the ability on an unmastered job then change to a mastered job and the timer is still counting based on 1 hour.  I do not think it's preferable to change it to 45 minutes in this case, since the timer could still exceed 45 minutes.
Either way, implemented this change in 0.07.


Feature: support drawer navigation

This probably won't be something that we will add support for ourselves because we aren't using it in any way. I would, however, support contributions adding support for it in the default implementation if the API makes sense.
If you're interested in doing this, let's chat about what the API could look like and how it could work...

I dont like how 'navigation market' granulates, especially when I hear from big players like airbnb that they'll not add something as they done need it for theirselves. I like that you've open-sourced great project, but with great size comes great responsibility.
It feels a bit like:

and could work as a standalone module outside of this library and interop just fine.

That sounds great to me, actually, I think it should be the way to go: To separate actual navigation from patterns like a drawer. Indeed, a drawer is a very used pattern in Android but it doesn't mean that all your apps need or should have one.
For me, the main pain point of all the navigation libraries out there is that the navigation on Android doesn't feel the way it should in terms of performance and animation. Here is a clever way to solve it  using Fragments (as mentioned in the React conference, taking advantage of the Native solution is just fine).
I think this should be the main focus right now, there is gonna be time to bloat it with a Drawer, TopTabs, etc, etc.

Has anyone made any attempt to it? If so, I'd like to contribute, if not, I'd love to chat about possible API and implementation as I have an app which requires this to migrate to react-native.


Formatting error in 'Syntax' section (under "Implementing Using Product Syntax")

Issue in help/components/c-variables/c-merch-variables/var-merchandising-impl.md
Some of the formatting code (e.g., "codeph") is shown as content in the first 'Syntax' block on the page; this is in the section titled "Implementing Using Product Syntax".

@gigazelle - can you look into this, please?

Thank you @inselaffe for bringing this up! I've published a fix for this, which should be live within a day or so.


istioctl manifest does not work with CNI

$ istioctl manifest generate --set profile=demo --set cni.enabled=true --set cni.components.cni.enabled=true --set values.cni.cniBinDir=/var/lib/cni/bin --set values.cni.cniConfDir=/var/run/multus/cni/net.d

bad path=value (values.cni.cniBinDir=/var/lib/cni/bin): unknown field "cni" in v1alpha1.Values

This is istioctl from 1.4:
$ istioctl version --short=false --remote=false
version.BuildInfo{Version:"69dffe00dec378e2a9a24e42bc36746f26f3c9a6", GitRevision:"69dffe00dec378e2a9a24e42bc36746f26f3c9a6", GolangVersion:"go1.13.3", BuildStatus:"Clean", GitTag:"1.4.0-beta.1-19-g69dffe00d"}

I just wrote up a dup of this issue. I'll close it - here's what my description said with replication procedures:

As per docs: https://preliminary.istio.io/docs/setup/additional-setup/cni#installation I want to install CNI because I'm using OpenShift 4. But istioctl fails:
Failed to generate and apply manifests, error: failed to generate tree from the set overlay, error: bad path=value (values.cni.cniBinDir=/var/lib/cni/bin): unknown field "cni" in v1alpha1.Values

Replication: run this script
# download latest build from 11/1/2019:
wget https://storage.googleapis.com/istio-build/dev/1.4-alpha.5a79dedda6d383eef412088b3bc331a236fe3fcd/istio-1.4-alpha.5a79dedda6d383eef412088b3bc331a236fe3fcd-linux.tar.gz

# untar
tar xvf istio-1.4-alpha*

# go to bin where istioctl is
cd istio-1.4*/bin
pwd

# try to install with CNI options
./istioctl manifest apply --set profile=demo --set cni.enabled=true --set cni.components.cni.enabled=true --set values.cni.cniBinDir=/var/lib/cni/bin --set values.cni.cniConfDir=/var/run/multus/cni/net.d

@ostromart can you offer some advice on how to solve this problem.  I am super overloaded atm but I might be able to find someone to fix if you can provide some idea on resolution.
Cheers
-steve

trimming the input a bit seems to work:
sdake@beast-01:~/istio-1.4-alpha.5a79dedda6d383eef412088b3bc331a236fe3fcd/bin$ ./istioctl manifest apply --set profile=demo --set cni.enabled=true --set cni.components.cni.enabled=true

...

trimming the input a bit seems to work:
sdake@beast-01:~/istio-1.4-alpha.5a79dedda6d383eef412088b3bc331a236fe3fcd/bin$ ./istioctl manifest apply --set profile=demo --set cni.enabled=true --set cni.components.cni.enabled=true

...

@sdake right, that is what I first did too :) The problem is that doesn't apply CNI completely. How I found this out is because if you look at the telemetry in Prometheus, you don't see any telemetry coming from any pods other than istio-ingressgateway.
See: https://istio.slack.com/archives/C382V8Q92/p1572613433131600

In case that slack URL doesn't work, here's what I said - this is how you know CNI isn't working:

is anyone seeing telemetry not getting generated from non-ingress pods on 1.4.0.beta-1? I see istio-proxy containers on all my bookinfo pods, but all the telemetry I get is:

istio_request_bytes_count{destination_workload_namespace="bookinfo"} results in a single row of data which jives with what Kiali is showing.
istio_request_bytes_count{destination_app="productpage",destination_version="v1",destination_workload="productpage-v1",destination_workload_namespace="bookinfo", source_app="istio-ingressgateway",source_workload="istio-ingressgateway",source_workload_namespace="istio-system"  ...// }

so for some reason, only the data coming in from ingress gateway is in telemetry - none of the internal bookinfo pods has any telemetry
and I confirmed all my sidecar proxys are running:
$ for p in $(oc get pods -n bookinfo -o name); do echo -n "$p = "; oc get $p -n bookinfo -o jsonpath='{.status.containerStatuses[?(@.name=="istio-proxy")].ready}'; echo; done
pod/details-v1-c5b5f496d-hk2wd = true
pod/productpage-v1-c7765c886-wn6gk = true
pod/ratings-v1-f745cf57b-5nmdj = true
pod/reviews-v1-75b979578c-x2hrd = true
pod/reviews-v2-597bf96c8f-txthc = true
pod/reviews-v3-54c6c64795-2cj6d = true

not familiar how CNI works, but the reason why you get the bad path error is because it doesn't exist in the values pass through proto defined here for CNI: "https://github.com/istio/operator/blob/master/pkg/apis/istio/v1alpha1/values_types.pb.go#L298"

@richardwxn right - I think the issue is the wrong version is being used.. I think @sdake said istioctl should be using v1alpha2

@jmazzitelli I was mistaken - the values pass-through only has one version atm.

yep the values pass through proto defined in v1alpha1 is used internally for validation only, which should not be used in this case that cause the overrides error. Let me take a deeper look to check.

Thanks a bunch, @richardwxn - super appreciate your effort in this area.  I would also like the operator controller loop to be able to take these configuration values.  Is that viable or possible?
Cheers
-steve

@sdake What configuration values you are referring to? The manifests generation logic is shared between CLI and controller including the validation part. Or are you talking about the force flag from CLI?


Fiber-like behaviour in Redux

Feature
After watching A Cartoon Intro to Fiber, it occurred to me that the principles of fiber could apply also to redux.
There are actions with higher priority than others, units of work could be each reducer function registered via combineReducers actions could be enqueued and high priority actions could be added in front of the queue and work partially done could be reused afterward if that portion of the state wasn't changed by the high priority action.
Double buffering could be used to switch between the current state and work in progress state.
The only API change, that I see here, is that actions would need a reserved optional priority key alongside with type.

After thinking a bit about this idea I think it would be a better fit to build this implementation as an enhancer for the store instead of a core functionality of Redux (at least as a proof of concept).

The problem is the synchronous reducer signature and that reducers call each other directly.

Yeah been thinking a way around that, perhaps is only something that could work on the first level.
Although normalization of the store would make in theory this first level broad enough.
Will give this idea a few more thoughts.

The problem is the synchronous reducer signature

Even before that, dispatch is assumed to be synchronous. Notifying subscribers is where one could introduce asynchronicity, but that wouldn't be able to distinguish units of work, since the work is already done at that point.
@Janther You're right that is better handled as an enhancer. I could see you overriding dispatch to support batching. Dan tweeted about this and I found at least one library implementation, so it's not unprecedented. How you execute those batches is where you can go wild. You could apply a Fiber-like stack implementation that executes work within a certain timeframe and only commits changes along rIC or rAF borders.
I am a tiny bit dubious on the performance benefits, though. Most reducers and actions are rather simple and therefore fast to dispatch. So, it would be very odd if you're manipulating so much state that you need to batch and break up the work into units. It's certainly indicative of other problems (such as an over-reliance on global state). It might better to attack other sides, such as on react-redux once Fiber exposes and API for us to indicate priority.

For what it's worth, there's at least four ways to implement some kind of action batching strategy, with various tradeoffs:

Higher order reducer that looks for {type : "BATCH", actions : []}
Some kind of middleware
Store enhancer that debounces notifications
Store enhancer that accepts an array of actions and only notifies once

The headline sounds nifty as a phrase, but given Redux's design constraints, I'm not sure it's really applicable.  The main point of Redux is to do synchronous updates to state, one at a time.  As Tim said, executing the entire reducer structure should generally be very fast, even for large apps, and so it's unlikely that doing so would block the event thread long enough to be a concern.
I'm going to say this isn't anything we would want to tackle ourselves, so I'll close this.  However, if you do put together an enhancer or some other kind of potentially useful addon, please drop a comment here and show us what you've got, and we can discuss things further.

(FWIW I agree the real work is usually in re-rendering components, not in calculating the state.)


Support Bash "unset variables" mode

According to Bash best practices, I usually run my scripts with set -o nounset (a.k.a. set -u).
In the current version of shini, I get unbound variable errors when this "safe" mode is active.

Awesome, thank-you!

Thanks to you, shini has been very useful to me (in order to parse systemd unit files FYI).

You’re very welcome - I never really expected anyone beside myself would find it useful!

On 2 Apr 2016, at 15:19, Damiano Albani<EMAIL_ADDRESS>wrote:
Thanks to you, shini has been very useful to me (in order to parse systemd unit files FYI).
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub https://github.com/wallyhall/shini/pull/5#issuecomment-204724518


[Card] - [Vue warn]: Unknown custom element:

"[Vue warn]: Unknown custom element:  - did you register the component correctly? For recursive components, make sure to provide the 'name' option.
Expected

Result

Testcase
See this to get started
https://jsfiddle.net/Dev_Mehta/34zf0tjs/6/

@luisDanielRoviraContreras Please help

This is worst unstable library I have ever seen. The maintainers are also not keeping an eye over issues and pull requests @luisDanielRoviraContreras 👍🏻


[WIP] refactor: abstract extend range protocol

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#446  👈
#445
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gabriele-0201 and the rest of your teammates on  Graphite


Created pullrequest.md for issue #27

@dNhunter3107 I was thinking more of a template like the following:
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here and follow an appropriate verb that will automatically solve the issue: -->
<!--- e.g: Closes #123 -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.

You are going to update the template or shall I do it?

You are going to update the template or shall I do it?

Please update your PR 🙏

Closed in favor of #33


apt package?

Is there any debian/ubuntu repo for this? I would love to use it on Ubuntu 18.04, but I currently see no easy way of doing this.
In the end I used the pecl install, but an apt package would still be easier.

I built a package for this a number of years ago, but it was only available internally to our org. We've now updated the package and made it public with a PPA.
The packaging is at https://gitlab.com/suqld-public/php-timecop-debian and the PPA is at https://launchpad.net/~suqld/+archive/ubuntu/php-timecop


Vector Layer Memory Leak for version 6.1.1

Hi,
I'm currently experiencing an issue in my web application where vector layers are being retained in memory when leaving a page with the map, i currently have 20 vector layers on my map and everytime i leave and return to the page it retains those 20 layers and adds on a new set of the layers. It seems to be a similar issue to the one raised in issue 9556. This is my code for destroying the layers
const layers = this.map.getLayers();
while (layers.getLength() > 0) {
   const layer = layers.item(0);
   if (layer.get('layerSourceType') === 'VECTOR') {
      layer.getSource().clear();
   }
      layer.getRenderer().dispose();
      layer.setSource(null);
      this.map.removeLayer(layer);
}
this.map.setTarget(null);
this.map = null;

When you leave a page, the browser will release all memory after a while.
Also, there should not be any need to do any cleanup even on a page where you just remove the map. Only make sure to call setTarget(null) on the map.
If you still see memory not being released, can you provide an example that shows the memory leak?

Cross-posted in https://stackoverflow.com/questions/59421609/openlayers-6-1-1-vector-layer-memory-leak, closing.


Fix #5326, use old style API to behave consistently in different runtime

What kind of change does this PR introduce?

Fix #5326
Did you add tests for your changes?

Yes.
If relevant, link to documentation update:

Summary

Just a bugfix.
Does this PR introduce a breaking change?
Nope.

Other information

Yep, it is weirdo, and I cannot provide a minimal re-producible repo, so just let @cbrwizard @unfalse @Smolations @stepancar @Donmclean who met this issue to try my patch first.

I dive deeper, and found that my code require a polyfill which had changed Array.prototype.find and Array.from. https://github.com/montagejs/collections/blob/master/shim-array.js
I didn't require this polyfill directly, I just require gh-pages, and then gh-pages > q-io > collections.
I just update gh-pages to latest version which dropped q-io, and then everything works fine.
I think that @cbrwizard @unfalse @Smolations @stepancar @Donmclean may require some polyfill too, even thought they don't know it. So the behavior of API had been changed, and then break webpack's code.
@sokra of course, you can close this PR, for this is not the bug of webpack. If you merge this PR, will help those people who even don't know they had import a polyfill. Anyway, this PR will not hurt, as you said: This should not make any difference.

I close it. Array.from(a, b) is faster than Array.from(a).map(b)

btw. it's actually super bad from montagejs/collections to add broken polyfills. You should file an issue there.


Sanitize potential security vulnerabilities from SVG files

Here is a pretty good article on the topic: https://kinsta.com/blog/wordpress-svg/#svg-security. It links for more information to https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing, https://www.owasp.org/images/0/03/Mario_Heiderich_OWASP_Sweden_The_image_that_called_me.pdf
There is a PHP implementation at https://github.com/darylldoyle/svg-sanitizer.
Maybe Scour could include similar sanitizations?

see my comment https://github.com/scour-project/scour/issues/29#issuecomment-640100963

Scour was I guess created primarily to minimize and sanitize own authored SVGs, not security-scrutinize foreign SVGs.
So when I create an SVG myself, I will be aware of included (friendly) JS.
For browser loading SVGs from anywhere, this is different (and generally should be the place IMO to address this).
It is also different for HTML authors including SVGs not authored by themself.

An sanitizer external to a browser (a HTML rendering engine) would not help, as the sanitizer cannot change the SVG sourced if it is not authored/hosted by the HTML author.
So what exactly is the attack scenario when I have authored/hosted the SVG myself? And if I haven't authored/hosted the SVG myself, but only source it from my HTML, then how does a sanitizer help?

that being said, quick look at the PDF linked.

"Scripting and Events"
"Inclusion of arbitrary objects"
"Links"

bad, sure.
so let's say, I download an SVG from the net with the goal of hosting it myself, and including it then in my HTML. in that scenario, I probably not only want to minimize the SVG before uploading, but also remove any of the crap above.

"In-line SVG “self-terminates” open HTML elements"

sound potentially bad. we can't do anything about that, as it is the browser HTML parser that's in control here ..

ok, so there are indeed test cases in https://github.com/darylldoyle/svg-sanitizer/tree/master/tests/data
for embedded JS:
oberstet@intel-nuci7:~/scm/3rdparty/svg-sanitizer/tests/data$ grep "script" *.svg
badXmlTestOne.svg:
hrefTestOne.svg:    test 1
hrefTestOne.svg:    test 2
hrefTestOne.svg:    test 7
hrefTestTwo.svg:    test 1
hrefTestTwo.svg:    test 2
hrefTestTwo.svg:    test 7
svgTestOne.svg:

external content:
oberstet@intel-nuci7:~/scm/3rdparty/svg-sanitizer/tests/data$ grep 'xlink:href="http' *.svg
useDosCleanTwo.svg:        <image xlink:href="https://image.shutterstock.com/image-photo/beautiful-water-drop-on-dandelion-260nw-789676552.jpg"></image>
useDosCleanTwo.svg:        <image xlink:href="https://image.shutterstock.com/image-photo/beautiful-water-drop-on-dandelion-260nw-789676552.jpg"></image>
useDosTestTwo.svg:<image xlink:href="https://image.shutterstock.com/image-photo/beautiful-water-drop-on-dandelion-260nw-789676552.jpg"/>
useDosTestTwo.svg:<image xlink:href="https://image.shutterstock.com/image-photo/beautiful-water-drop-on-dandelion-260nw-789676552.jpg"/>
oberstet@intel-nuci7:~/scm/3rdparty/svg-sanitizer/tests/data$

other
oberstet@intel-nuci7:~/scm/3rdparty/svg-sanitizer/tests/data$ grep 'foreignObject' *.svg
oberstet@intel-nuci7:~/scm/3rdparty/svg-sanitizer/tests/data$ grep 'iframe' *.svg
oberstet@intel-nuci7:~/scm/3rdparty/svg-sanitizer/tests/data$ grep 'onload' *.svg
badXmlTestOne.svg:<line onload="alert(2)" fill="none" stroke="#000000" stroke-miterlimit="10" x1="119" y1="84.5" x2="454" y2="84.5"/>
hrefTestOne.svg:    test 5
hrefTestOne.svg:    test 6
hrefTestTwo.svg:    test 5
hrefTestTwo.svg:    test 6
svgTestOne.svg:<line onload="alert(2)" fill="none" stroke="#000000" stroke-miterlimit="10" x1="119" y1="84.5" x2="454" y2="84.5"/>
``

If security is a concern, embedding SVGs in an  tag is the safest approach, as it will prevent the SVG from loading any JavaScript or external resources.
Are you aware of any security vulnerabilities that are not caught by this approach @ottok?
Within the scope of Scour I'd say support for stripping JavaScript and similar could be considered as a way of minimizing even further at the user's request, but it should be clear Scour is not a tool to detect and remove security vulnerabilities (and people should never rely on Scour to do so for security-critical applications). That said I expect that in most of the cases there will only ever be JavaScript in SVG files when the user put it there on purpose (and therefore probably does not want to remove it), so it also won't be an overly useful option.

embedding SVGs in an  tag is the safest approach, as it will prevent the SVG from loading any JavaScript or external resources

nice! we should probably add this as a BIG NOTE / WARNING to the readme ..

Personally for me the use case would be to add Scour to my toolset (among optipng and jpegoptim) to run on all images I either produce myself, or to run automatically on images users upload on a website (e.g. their profile image).
Having the ability to sanitize SVG in Scour would be cool so I don't need to have a separate tool for that.
Now when all modern browsers support SVG, the only thing preventing SVG from being more common is the tooling to automatically strip out injected contents from them. This is for example the reason why WordPress does not allow SVG images to be used on WordPress sites (and thus users need to specifically install https://wordpress.org/plugins/svg-support/ and whatnot to get SVG support in WordPress). Personally I could use Scour in a WordPress pipeline to enable SVG on WordPress, is Scour had similar features as the above linked svg-sanitizer.

run automatically on images users upload on a website

ok, yeah, got you. that use case makes sense for scour as well - and then we could have new options like:
--remove-embedded-js
--remove-embedded-objects
--remove-external-js
--remove-external-images
--remove-external-objects

The options above sound good to me!

Note that scour uses minidom to parse XML and Python has published the following warning about using minidom on "untrusted input":

Warning
The xml.dom.minidom module is not secure against maliciously constructed data. If you need to parse untrusted or unauthenticated data see XML vulnerabilities.

Source: https://docs.python.org/3/library/xml.dom.minidom.html
XML Vulnerabilities: https://docs.python.org/3/library/xml.html#xml-vulnerabilities
IOW, we would have to replace/rewrite the XML parser first before it is safe to use it on untrusted input. AFAICT, defusedxml is the only parser that is "safe to use" (at least out of the box).


typescript support

@carlosvaldesweb
Thanks for creating this awesome library it just works right out the box with tiptap, but can you add typescript support

I keep getting this error and the only way I've been able to solve it is by making the editor to be of type any

Hello @Judge-Paul , i've added Typescript support in #4


Run extraction on Mizar

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Depends on https://github.com/eBPFDevSecTools/ebpf-projects-annotations/issues/79


doc: release notes: add initial content for 2.1.0

Adding initial pass of content for v2.1.0 release preparation.
Signed-off-by: David Leach<EMAIL_ADDRESS>

(alternatively, we can edit the offending issue titles in github)

@dbkinder , is there a list of symbols someplace that I should reference to create escape sequences for reST syntax?


Update import-third-party-ca-to-enterprise-ntauth-store.md

Updated article for current supported OSs
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

#sign-off

The changes will be live. This PR will be closed.


 It's slow, it's hard to use, and it's pretty much useless. I've also gotten reports from some of our programmers that it is getting in their way along with the beautifier. So, we're switching! If you want to help with this just let me know.
Cheers!

All Done!


Match operations with permission objects with set operators

Pulled from https://github.com/mattupstate/flask-principal/pull/21

hey there @metatoaster I took a patch of your PR from forever ago and making my own fork here. I love the work you did and its disappointing the maintainer didnt merge your stuff. I think this repo could use alot more work as well. Hope you dont mind!

Yeah by all means please do.  I've done the same thing to other projects and if owner/maintainer disappeared or ignored everything I usually just end up forking the project, hand pick the patches and release it under a new name (with appropriate attribution and license, of course).

ok cool! Just wanted to check with you since you actually wrote all the code haha. 5 year ago now? Your additions seem great and I think some people might be scared because of the bitwise but I think it's a great angle for this.


How to support mermaid gantt table?

No idea. I'm not sure here is proper place for such question.


[Bug]: migrate OIDC perms to Test Prod and SIPS

Duplicate of https://github.com/unity-sds/unity-cs/issues/193
Closing this one..


Subcommands should be arguments to the primary command.

Currently, the code parses the subcommands from the docstring of the subcommand. Instead, it should use an argument in the primary command to specify the subcommand, as in the docopt git example.

You're right...  can you refactor it?

Handled by rcli.


FancyZones does startup with different space in between the zones.

When i startup my pc and want to use the fancy zones the spaces in between the zones are set to default instead of my setting. I then have to start up the GUI of PowerToys and Turn FancyZones Off and On again in order to get my specified spacing again.

I think I'm running into some variation of this.  I got bug report files from while the bug was happening and after I used the workaround to fix things.
In my case, I use the Priority Grid with space around zones disabled, but I see space added around the zones sometimes (for newly-moved windows).  When it happened today it was right after rebooting.  In the (recent) past, I've also seen it happen after things have been working correctly for a while first.

In my case, I use the Priority Grid with space around zones disabled, but I see space added around the zones sometimes (for newly-moved windows). When it happened today it was right after rebooting. In the (recent) past, I've also seen it happen after things have been working correctly for a while first.

Exactly the same for me. If this issue doesn't get traction I'm just going to leave it default because I find the constant disabling/reenabling to fix it quite annoying.

as i did not expirience this issue anymore since the update to version 0.47.1 i will close this issue for now.

it's back again :( since the update to the newest version v0.53.3 i am having the same issue again and even more frequent than before.

/bugreport

PowerToysReport_2022-03-22-12-50-51.zip

The issue is back again since the last update to v0.68.0. Its the exact same issue that occurs more now. Please have a look again.


WIP: Change grenade launch algorithm, refactor grenade code

Rewrite of the grenade path preview and launch code:

So the code is easier to read and learn for the community
To launch based on the center of the view
To draw the curve only up to the landing point? WIP

I could use a code review at this point. Here's a video showcasing and explaining some of the changes: https://www.dropbox.com/s/9kki5jha3yaar3u/2022-12-25-grenade-launcher-remake.mp4?dl=0
Tasks left (they shouldn't affect the review):

[ ] Game feel: snapping to enemy should use shape cast
[ ] Simplify tree collisions and ensure camera goes up when jumping on platforms
[ ] Change enemy snap sprite to be a 3D shape instead or to be drawn on the screen, in 2D
[ ] Bug: Drawn curve and grenade motion don't match perfectly, there's an offset somewhere


  (Request account here, not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Whow, nice work! But not easy to validate. One option would be to keep this optional and disabled by default, so people can experiment with the new code?

This is very interesting. But how to proceed? @Jens-G I guess the tests should cover sufficient checks whether encoded/decoded data is identical with this change? Can we rely that the tests would typically fail if there are relevant differences with this encoding, compared to current thrift?
Otherwise it seems really challenging to build trust here...


Is it impossible to return a StackNavigator without an App Container

I want to create a stack navigator from dynamic information, but in order to do so, it either has to take in props or be embedded in a class. Either way, I cannot just return the navigator as "Functions are not valid as react children". Is it impossible to create a stack navigator from dynamic data?

I did not mean to label this as a Bug

Sorry, React Native has no navigation feature and you issue might be related to some other navigation library. Please file an issue to your navigation library.


Add get_next_available_stream_id function.

This function returns the next available stream ID for the given endpoint type, client or server. It makes it moderately easier to write a hyper-h2 server, even though it's not strictly necessary, and it also provides useful information about overly large stream IDs.
Resolves #91.
/cc @Kriechi

LGTM, thanks!
One question about PushPromise:
I think I need a similar mechanism for inbound stream ids as well, not sure yet...

I don't think you do. With pushed streams, the server assigns them a new stream ID from its pool of stream IDs. This code will correctly return the next one allowed for a server. You can see one of the new tests I added for code that shows how this'd work for push promises.

Yes, but in the case of mitmproxy, I am the server.
I will give it a try later today.


Cache partial ranges

After deploying and canarying #66 we saw CPU saturation due to
Array.prototype.sort.  Caching the sorted workers should help since the
sorted relays are already cached.
cc @raynos @rf

lgtm, feel free to add PartialRange#extendLogInfo

Seems legit.
I hope you got all the cache invalidation hooks :p


Last column decodes as blank

Question
Hi all. Not sure if this is pilot error or if its a bug but it appears that the last column in our CSV consistently decodes to blank. We've got a correct header line and I'm using a .firstLine strategy. Have also confirmed that my data model has the same number of columns as vars. The only solution to fix this appears to be using a dummy column at the end.
System
OS: macOS 12.3.1, Xcode 12.3
CodableCSV 0.6.7

Ran into something similar - for me, I was able to fix it by doing a .replacingOccurrences(of: "\r\n", with: "\n") on the input string before passing it to the decoder. (Potentially could also be resolved by switching the delimiter.row to \r\n instead of the. default, but I wanted to support either type of input.)


~/ does not work correctly in 0.8.1

in an application with a virtual path "/asdf" Home/Index is resolved as:
/asdfHome/Index
instead of
/asdf/Home/Index
This functionality was not broken before 0.8.1 so I guess something recent has to be reverted.

I'm having trouble attaching the debugger in the environment I have at work, but I'm seeing the same behavior when installing the AspNetTest project as an application (not Virtual Directory) in IIS.  In case it helps, this is what renders in the top of the body when running from the debugger:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript" src="/js/combined_107EAAE17944029CDBC61B8B72806933.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="/css/jquery-ui-1.8.5.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/jquery-ui-1.8.5.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/CodeThinked.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/extra/extra.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/testdotless.css.less.debug.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/combined_4F51B0DBCDDC5B4031DCE192A774A0DB.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/combinedimport_24FE5DB94CDFA15AF833CC4D2DC4ADFD.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/combinedimport_CE62B3D78C33DEDD59E8B52A541EC945.css" /> ```

And when running under IIS (where SquishIt is the alias for the virtual directory / application):
<script type="text/javascript" src="/squishit/js/jquery_1.4.2.js"></script>
<script type="text/javascript" src="/squishitjs/jquery-ui-1.8.5.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jquery/jquery-ui-1.8.5.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/squishit/css/combined_454DF3E4558AE3AB354BBE51DB3A9B0B.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/squishit/combined_C3DC80D375BFDCD7726248D5BDCF2F0C.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/squishit/css/combinedimport_9BD7F4F2AE8B7D25430DD96A68E48BBF.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/squishit/combinedimport_CE62B3D78C33DEDD59E8B52A541EC945.css" /> ```

It looks like the problem (at least in debug mode) is around this loop:
                        foreach (var file in files)
                        {
                            var relativePath = FileSystem.ResolveFileSystemPathToAppRelative(file);
                            string path = null;
                            if (HttpContext.Current == null) {
                                path = (asset.LocalPath.StartsWith("~/") ? "" : "/") + relativePath;
                            }
                            else {
                                var root = HttpContext.Current.Request.ApplicationPath;
                                root += root.EndsWith("/") ? "" : "/";
                                path = root + relativePath;
                            }
                        	sb.AppendLine(FillTemplate(groupBundle, path));
                        }

The key fix seems to be: "root += root.EndsWith("/") ? "" : "/";"
When deployed to a virtual directory, the ApplicationPath resolves to "/virtdirname" - so we can't simply append the file name to this path.  Seems like it will be a simple enough fix, I assume something similar will need to be done in release mode.

It looks like this commit may have fixed the issue .  This just missed 0.8.2, can you try building from the latest source and report back whether you still have the problem or not?  I don't have any IIS environments set up at home, and won't have time to set one up for a while.

I found the bug while testing on an ASP.NET Development Server bundled with Visual Studio. I guess I'll test out with the current version when I get home.

I'm going to close this. If it isn't fixed with the latest version, then we can reopen.


Authentication fails for Azure Pipelines scaler due to new line characters

Report
Trying to use the AzureDevOps pipeline autoscaler and keep getting a 401 with the following error:
│   Warning  KEDAScalerFailed         0s (x11 over 8s)  keda-operator  error parsing azure Pipelines metadata: the Azure DevOps REST API returned error. url: https://dev.azure.com/REDACTED/_apis/distributedtask/pools?poolName=keda-ado-agents status: 401 response:    │

When triggering the same API call using Postman I am getting a 200.
UPDATE: 07-02-2022:17:35
When replacing the ADO token to use plain-text instead of secrets, everything seems to work fine. So the issue seems to be in either TriggerAuthentication or the way the ScaledObject decrypts the secret.
Keda Version: 2.6
Helm Version: 3.8.0
Code
Expected Behavior
Should work with a 200 as expected.
Actual Behavior
Fails with a 401. Tried using different Base64 encoding using community responses, but none work. Tried to use version 2.4 to validate if the error was in the latest version, but get the same error.
Steps to Reproduce the Problem

Create the agent using the documentation here
Create the Scaled Object
Monitor the scaled object (using K9s or a similar tool)

Logs from KEDA operator
│   Warning  KEDAScalerFailed         0s (x11 over 8s)  keda-operator  error parsing azure Pipelines metadata: the Azure DevOps REST API returned error. url: https://dev.azure.com/REDACTED/_apis/distributedtask/pools?poolName=keda-ado-agents status: 401 response:    │

KEDA Version
2.6.0
Kubernetes Version
1.21
Platform
Other
Scaler Details
Azure Pipelines
Anything else?
No response

After further debugging, turns out that the KedaScaledObject or ScaledJob does not strip new lines in the AzDo API Token provided. Thus, if the PAT_TOKEN was base64 encrypted using a command-line command like: echo $PAT_TOKEN | base64 , you end-up with an encrypted token with a new line, which then breaks the authentication (as the Keda module does not handle stripping of new-line chars after decoding).
Thus to resolve this, I had to explicitly use echo -n ${PAT_TOKEN} | base64 to avoid creating new lines. A useful fix for this maybe to strip new-line characters from the token before being used? As this is very likely to happen and there isin't much help/logs/documentation out there which avoids users from getting caught out by something like this.

RECOMMENDED FIX
KEDA Scaled Objects and Jobs to strip new-line characters (if found) from b64 encoded secrets.

@kedacore/keda-maintainers WDYT? Is there a possibility we would like to encode (and keep) the new line character somewhere?

The question is, do we do it everywhere or not? isn't it tricky if we start removing new lines and, for some reason, this is intentional by end-users?
What if we log a warning that it has new lines instead of manipulating the secret? That way it's more discoverable but we don't change things?
Just a thought.

A warning is a great idea. @vazkarvishal are you willing to contribute this?

Absolutely. What am I expected to do?

Would be nice if the code could check for leading/trailing new lines and log warnings correspondingly.

I am not a proficient go developer, so I would not be the best person to write this I'm afraid 😔

No problem at all!

Don't worry, if you want, open a PR and we will help you. If you prefer don't do it, no problem at all.


CONSTant values cannot be used in DATA

I am not sure if this is intended, but fyi
CONST PORT_1 = $DC01
CONST PORT_2 = $DC00

_PORTS:
DATA AS WORD 0, PORT_1, PORT_2

Only numbers are accepted yet. Can be improved later.

It would be useful to allow expressions of constants and literal values in e.g. DATA values and DIM dimensions.

Just want to add my support to allowing constants in DIM statements, and also when declaring arguments. For example
Const MAX_STRING = 80
sub test(s as String * MAX_STRING)
end sub

Scheduled in version 3.1. Constants should be accepted everywhere where a literal number is accepted.

Will it also be possible to use expressions where numbers or constants are expected, like:
Constant A = 5;
Constant A_PLUS_1 = A + 1;


WIP Bpf from netdev sequence

<!-- Enter the release note text here if needed or remove this section! -->

/test


Add config parameter to limit maximum pread size

When a database file goes corrupt it is possible that pread will receive bogus length and place a large part of the file in memory before couch_file process will crash. Depending on a size of the file this could bring the whole node down.
This change prevents pread from reading beyond end of a file and adding configuration parameter max_pread_size to give a method to address a situation when corrupted read does not go beyond eof, but still makes starting node crash on a large read.
Two stats counters been added to report both exceptions.

Nice!

Tests passing locally
> make eunit apps=couch tests=read_write_test,pread_limit_test,header_test,delete_test,nuke_dir_test,open_close_test
...
All 69 tests passed.

I'm +1 for this change. One more reviewer would be good though.

@davisp Can you take a quick look, please?

+1


Added missing rust-embedded/tools team

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nrc (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

r? @japaric

This needs the conflicts to be merged.

@pietroalbini Done.

Thanks!

Deployed.


Begin creation of an SFU project

👋 Hi!
I've been working a bit on a SFU example to add to the examples in https://github.com/webrtc-rs/examples/pull/15.
This is a good starting point for what I think is the next logical step for the project: starting an official SFU project similar to the relationship between the Ion SFU and the Pion project.
If everyone agrees, seems like the starting point would be workshopping the goals in this ticket on how we want to start, what goals we want to set, and then start a new repository.

I created the SFU repo : https://github.com/webrtc-rs/sfu
you can work on this dedicated SFU repo

@rainliu I've been working on an SFU based on webrtc.rs called switchboard https://github.com/billylindeman/switchboard
It's based on / compatible with pion/ion-sfu :)
Would love to make this an upstream project at some point!

Hi guys, I'm happy to share a new webrtc-rs based SFU project here in the very beginning of 2023.
We, Embracer Freemode, are open sourcing our SFU project under MIT/APACHE-2.0 license!
Feel free to give it a try.
repo: https://github.com/aioniclabs/webrtc-sfu/
Here is a demo video (with ugly demo site :p):

Features

1 HTTP POST for connection setup
subscriber multistream

1 connection for any amount of stream subscribing (O(1) port usage)
publisher is 1 connection for each stream publishing (O(N) port usage)

(optional) authentication via Bearer Token
WHIP-like media ingress

it's WHIP-"like" because there is no guarantee about spec compliance
but this project learned the idea from there

WHEP-like media egress

it's WHEP-"like" because there is no guarantee about spec compliance
this project implemented similar idea before there is WHEP spec release

shared internal states across SFU instances (currently via Redis)
internal traffic routing across SFU instances (currently via NATS)

Background Story
The project was started in Sep 2021 (about 1 year and 4 monthes ago). WebRTC streaming was part of our focus back then. After using Janus for a while, we decided to build our own SFU based on webrtc-rs. I set the SFU goal to be easy scaling, our biggest issue at that time. To make development quicker, I reuse Redis and NATS for internal data sharing. In the end, I got pretty good result (not perfect, but good enough as a first try).
This project was deployed to our Kubernetes cluster. With StatefulSet setup and a LoadBalancer. We used this for our team meeting (as user testing) for a while.
We switched focus around April 2022. WebRTC streaming is not our core focus now. By the end of the 2022, company allows me to make this project open source. (Technically, I'm the only developer for this SFU project.)
Before open sourcing, I've updated couple dependencies and do a quick round of manual testing. The webrtc-rs is currently lock at commit 242db9d6 (2022/11/11), later commits seem to break something.
There is only ugly demo website in repo for now. We have a prettier website for streaming. But that's not built by me, and it's out of this open sourcing scope.
Future Works

test cases (nothing right now :p)
refactor
more streaming features
prettier demo website
optimize CPU usage
maybe in-house backbone that can replace current Redis & NATS usage

Misc
There is no relationship with pion/ion-sfu. Not compatible with pion/ion-sfu.

A new SFU project in Rust, https://github.com/harlanc/rsfu.

Depends on the webrtc-rs library, xiu now also supports whip/whep. (https://github.com/harlanc/xiu/releases/tag/v0.9.1).


Access to Raw Element

I have an application where some WPF objects have those properties set to false :

Therefore, those elements are visible only in raw view of Inspect.exe. I saw that some filter can be set to access this elements with UI Automation Library
How can I access them with Win App Driver ?

This issue is a duplicate of #905

Not currently supported. Will investigate into adding this in the future. Closing due to duplicate.


Enable client bootstrapping to receive OSCORE security information

This commit enables the client to receive OSCORE security context information from the bootstrap server during the bootstrapping process. The bootstrap server web UI was updated to accept settings for OSCORE under the LWM2M Server tab. Finally some changes were done in the client side code to support this functionality.

All the org.eclipse.server.bootstrap java changes will be obsolete with #883.

#883 is not integrated in master.
So both solution :

either we integrate this  PR in oscore and then we rebase oscore on master (meaning several code to adapt)
either we first rebase oscore on master, then you adapt the PR.

I could help if needed, just let me know.

All the org.eclipse.server.bootstrap java changes will be obsolete with #883.

Yes, I see.

#883 is not integrated in master.
So both solution :

either we integrate this  PR in oscore and then we rebase oscore on master (meaning several code to adapt)
either we first rebase oscore on master, then you adapt the PR.

I could help if needed, just let me know.

Right, so #883 is now integrated in master. I suppose there may not be any benefit in integrating this PR into 'oscore' first, so probably the second option is better. Shall I rebase my code in this PR on master or will you rebase the 'oscore' branch on master? (And then I rebase my code here on the updated 'oscore' branch).

I will try to rebase oscore branch on master.

Done. There was some easy to fix conflicts, so I guess I should not add any regression.
You can now rebase your work. If you have issue/question with the new code (BootstrapConfigurationStore), do not hesitate to ask.

Done. There was some easy to fix conflicts, so I guess I should not add any regression.
You can now rebase your work. If you have issue/question with the new code (BootstrapConfigurationStore), do not hesitate to ask.

Thanks! Yeah I will start having a look and may come back with questions.

I am closing this pull request to open a new separate one instead as that simplifies for Git operations and how I have structured the follow up code.


Remove deprecated options

Codecov Report

Merging #261 (d7c8bb4) into main (3581ebc) will increase coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
+ Coverage   97.02%   97.19%   +0.17%
==========================================
  Files          35       35
  Lines        2182     2174       -8
==========================================
- Hits         2117     2113       -4
+ Misses         65       61       -4

Impacted Files
Coverage Δ

robotidy/cli.py
97.77% <ø> (+2.67%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3581ebc...d7c8bb4. Read the comment docs.