Does Arm NN support tflite model converted from tensorflow1 or tensorflow2?

Hi @ivs-pychen,
ArmNN officially supports tensorflow1. Many models converted with tensorflow2 work as well. But the new tflite converter is causing issues in some special cases. We are working on a solution for that.
Until we added a proper fix you can simply try running your model with our ExecuteNetwork app. You can find it in armnn/tests/ExecuteNetwork.
If you need any further help don't hesitate to reach out for us again.
Jan

Does the Mobilenet-ssd and tiny yolov2 work well?

Mobilnet-ssd should run fine. We have a test executing Mobilenet-ssd regularly.
We don't have a test for yolov2 tiny in place. But just from looking at the models operators it shouldn't cause problems.
However, if you want to be sure the best way is to try it out.

Hello how to run yolov3 & mobilenet-SSD use  'armnn/tests/ExecuteNetwork'
I found only mobilenet example in this repository :  ARMNN_ETHOSN_BACKEND_CONFIG_FILE=my_config.txt $BASEDIR/armnn/build/tests/ExecuteNetwork -f tflite-binary -i input -y qasymm8 -o MobilenetV1/Predictions/Reshape_1 -z qasymm8 -m /home/linaro/eval_platform_release_20_08/notebook/models/mobilenet_v1_1.0_224_quant.tflite -c EthosNAcc --parse-unsupported

Hey @dudqls1994
if you run ExecuteNetwork with the --help flag you will get a short explanation to all the parameters that you can use. The required parameters are:
-c or --compute
-f or --model-format
-m or --model-path
-i or --input-name
-o or --output-name

I personally like to use netron to determine the input and output names. It's a web app to view network models. It's also very handy to determine the input shapes if you require them as well.
If you've got any more questions let me know.
Jan


Plugin doesn't support dynamic fee transactions? [APE-623]

Environment information

ape and plugin versions 0.6 - all from ApeX/ape:latest Docker image + ape install --upgrade bsc

What went wrong?
Please include information like:

what command you ran

with networks.bsc.testnet.use_provider("geth") as provider:
   account.deploy(project.MyContract)

full output of the error you received:

INFO: Connecting to existing Erigon node at 'https://rpc.ankr.com/bsc_testnet_chapel'.
WARNING: There are no token lists installed
	ValueError: Default token list has not been set.
	(Use `--verbosity DEBUG` to see full stack-trace)
Using cached key for 'dev'
ERROR: (VirtualMachineError) (-32000) dynamicfee tx is not supported by signer Signer[chainId=97,malleable=false,unprotected=true,protected=true,accesslist=false,**dynamicfee=false**

How can it be fixed?

I've tried 3 different RPC endpoints, the one of Ankr is based on Erigon and provides the detail seen above in the ERROR message. Other RPC endpoints (Binance.org & BlastAPI.io) only mention invalid sender
If I understand correctly, the "signer" is ape and somehow the way the requests to the RPC are formatted end up triggering this part of the RPC endpoint
Is there anything missing in this plugin that would bring back compatibility with BSC nodes?

For this one, type=0 kwarg with your transaction should get it working for you (e.g. account.deploy(project.MyContract, type=0))

That works, thank you @fubuloubu !
Closing, hope it helps other users if they face an invalid signer or dynamicfee tx is not supported by signer error

Gonna reopen the issue because there's still a problem here, if BSC doesn't support eip1559

Oh sorry, I didn't know I should keep it open.
Further help for anyone else using this plugin, as far as I could experience so far:
Not only the type=0 parameter needs to be set for deploy, but for any other existing contract interactions as well


Add Rust Candidate block

This is built off of #1673.

@aludvik I implemented the 2 todos in add_batch, removed the spurious clone_ref, and reduced the number of calls of .assume_gil_acquired. I am not sure how to reduce the clones on self.pending_batches. I think it is either clone every time we add a batch to the the new pending_batches vec or clone self.pending_batches to begin with. I have wondered if I should spend some time making the signature into finalize(self) instead of finalize(&mut self) since it should consume the candidate block.


Update link in comment about disabled no-unused-variable

It seems the old issue is now closed, and the issue is now tracked by https://github.com/palantir/tslint/issues/2649 instead?

Thanks @OliverJAsh !


[Bug report] CI pipeline for backend tests fail occasionally as a result of timeout.

Version
main branch
Describe what's wrong
Please see:
https://github.com/apache/gravitino/actions/runs/10552034338/job/29230290884?pr=4260
The maximum time for backend tests is 60 minutes.
Error message and/or stacktrace
Please see above.
How to reproduce
Please see above.
Additional context
No response

It can't be reproduced.


Keyboard Shortcuts not showing on mobile when using light mode

What happened?
When accessing Kodadot from mobile using the Light theme, if you go to settings, you are not able to see the 'shortcuts action' description because the text and the background color are black.
Please reproduce in steps

Go to beta.kodadot.xyz/settings
Chose the keyboard shorcuts tab
Switch to Light mode theme
Reduce window size if not acessing app trough mobile

Expected Behavior
Shortcut description should show as it happens on dark mode:

What browsers are you seeing the problem on?
Desktop Chrome, Desktop Firefox, Mobile Android Chrome, Mobile Firefox
At which address did you encounter bug?
beta.kodadot.xyz, kodadot.xyz
Are you logged in?
No
Which wallet you are using?
No response
At which chain did you encounter bug?
No response
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer?target=FSMdmCLv5gFZ87YerB3M8ZSQ58BGHdSnreC4J6znWpqPQK9&usdamount=??&donation=true
Code of Conduct

[X] I agree to follow this project's Code of Conduct

this is a theme issue with b-table, since we are removing buefy anyway now, it would be automatically fixed with #5852


Add Trait Floor to migration built-in functions like `floor_*

Signed-off-by: Iosmanthus Teng<EMAIL_ADDRESS>What have you changed?
Add trait floor to migration built-in functions:

floor_real
floor_dec_to_dec
floor_dec_to_int
floor_int_to_int

What is the type of changes?

New feature (a change which adds functionality)

How is the PR tested?
unit test suite.

Updates?

/merge

/run-all-tests

/merge

/merge

/run-all-tests

/merge


Data Science with Python : Reinforcement Learning

Welcome to 'DSWP' Team, good to see you here
With this issue, readers will get introduced with core information to reinforcement learning completely in a effective way.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Machine Learning
Mentors Assigned : Aishani Singh / Jivitesh Jain
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

Hello, I would like to contribute in the documentation of this topic.
Vansh Sharma (Serial Number : 680, DS-Python Batch 18)

I will write the documentation regarding this issue. I will add various steps associated with Reniforcmnt learning and code if necessary.
I am Shubham Patel 225

Oops, @shubham28102001 just missed in a pimp, stay alert to grab next issue coming. If you would like to work on Audio/Video, you can notify me.
@vanshhhhh Issue is assigned to you for documentation.

Hi @prathimacode-hub I would like to work on this issue by using datasets of kaggle and explain step by step.
Serial number: 297
Documentation mode

Thanks @prathimacode-hub :)

@prathimacode-hub Thanks

@prathimacode-hub please add me as assignee

@prathimacode-hub Kindly assign me this issue
Name : Noor ul Huda
Serial No : 926
Mode: Video
Approach : Explain basics, how it originated, its applications, and also demonstrate reinforcement learning  by executing coding examples

/assign video

/assign

Issue assigned to @Anna-cod for video contribution

#6049
@aishanii @prathimacode-hub
please review this PR

Hello, I am Deepthi M with serial number:172, Batch-5. I would like to do audio on this issue.
My approach: a detailed explanation

Issue assigned to @deepthi1107 for audio contribution


Manual test case enhancement (Frontend)

From chip-certification-tool created by krypton36: CHIP-Specifications/chip-certification-tool#869
Manual test case enhancement:
Update the frontend to support chip-tool commands.

Description:
- Add REST Api to backend that hooks into chip-tool.py and allows for execution of chip-tool command.
- Use `send_websocket_command` in chip-tool.py to forward the command execution in the chip-tool binary
- Add Frontend interface for the user to be able to execute the chip-tool command and calling the REST API.

Additional Notes:

Phase2 Branch where the API is available.

Example Command
from app.chip_tool.chip_tool import ChipTool
import asyncio
import json

async def run_chip_tool_cmd():
    chip_tool = ChipTool()
    await chip_tool.start_container()
    chip_tool_command = "onoff read on-off 1234 1"
    response = await chip_tool.send_websocket_command(chip_tool_command)
    json_payload = json.loads(response)

asyncio.run(run_chip_tool_cmd())

Yes @gvargas-csa

Deprioritized.


[Enterprise] Kapacitor section

Closing in favor of https://github.com/influxdata/docs.influxdata.com/pull/1168


⚠ Samsung has degraded performance

In 35c1bf7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2776 ms

Resolved: Samsung performance has improved in 4c4f8c8.


List events alphabetically

Most of this is the same as the search events code.

Same here! I  I don't see any code to display events alphabetically.

Same here! I I don't see any code to display events alphabetically.

DISREGARD! 🤦♂


Find liked programs in the gallery

Is your feature request related to a problem? Please describe.

It would be great if there was a feature where users could view all the programs they have liked in the gallery.

Describe the solution you'd like

An option in the dropdown menu to view so that users can view their liked programs.

Describe alternatives you've considered
-An additional button could be added in the gallery for users to view their liked programs.

related to #719

I added a comment with this feature request to the more general #719.


independent @autoeq with different behaviour than the one included in @autodict

Currently, only @autodict (or @autoclass with default option autodict=True) generates a __eq__ implementation, which is based on dictionary equality. It would be better to

have an independent way of generating the equality method (@autoeq),
and to change @autodict behaviour: rather than implementing a dictionary directly on the object, it could instead provide a as_dict() method which would be that view.

Wont fix. Current behaviour seems ok.


Versioneer: Adding basic version tracking with versioneer

Adds basic versioning infrastructure to improve pip installs.

isn't the versioneer pip-installable ?

It is, but it still installs its own script into the package on setup. I think that's for release/deployment workflows, since these need version info, but don't install dependencies.

As this looks like an instal/use PR, can we add a link to opesci.org to the README.

As this looks like an instal/use PR, can we add a link to opesci.org to the README.

Yes, done.

I wonder whether we should put all these third-party packages in a separate folder..
This can land for me


How to disable "Missing space after 'function'"? Or: Please improve your docs to match the warning messages

Hi,
I have a really hard time finding which jslint options prevent which warnings on the options page.
It would be nice to have an example message there so that you can just search on the options page for this.
Now to my question: WIth which option can I disable the metioned message "Missing space after 'function'"?
Thanks,
Michael

white
Related GH-257

thx.


unable to make the app start minimised at startup

+1
it would be nice to implement this feature in the next releases, i would also prefer to have it in the system tray launched minimized.
there is no such setting in the app .

#55 #169


[quickstarts] Add npm install steps to all quick starts

Fixes #2826.
This PR updates the quick starts to include an npm install step missing in the latest versions of yo office.

Docs Build status updates of commit 19c8724:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/includes/quickstart-yo-start-server-excel.md
:white_check_mark:Succeeded
View

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded
View

docs/quickstarts/excel-quickstart-angular.md
:white_check_mark:Succeeded
View

docs/quickstarts/excel-quickstart-jquery.md
:white_check_mark:Succeeded
View

docs/quickstarts/excel-quickstart-react.md
:white_check_mark:Succeeded
View

docs/quickstarts/excel-quickstart-vue.md
:white_check_mark:Succeeded
View

docs/quickstarts/onenote-quickstart.md
:white_check_mark:Succeeded
View

docs/quickstarts/outlook-quickstart.md
:white_check_mark:Succeeded
View

docs/quickstarts/powerpoint-quickstart.md
:white_check_mark:Succeeded
View

docs/quickstarts/project-quickstart.md
:white_check_mark:Succeeded
View

docs/quickstarts/sso-quickstart-customize.md
:white_check_mark:Succeeded
View

docs/quickstarts/word-quickstart.md
:white_check_mark:Succeeded
View

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

@millerds, I'm going to update the docs to include npm install  until your fix is made. Please keep me posted on the progress of that effort. Thanks!


drone build

@cloudnautique can you enable drone for this? It's throwing an error when I try.

Build successful, @cloudnautique should be ready for merge.


Identify if request is local or remote.

Hello,
I am using Express.js in a web app. During development I want to include one thing. In production, I want to do another. For this reason, I need to identify whether a request was made locally or remotely. Essentially, I want to have:
var isLocalRequest = // something;

How do you do this with Express?

The easier way to is to set an environmental variable for what environment you're in(production or development). The usual one is process.env.NODE_ENV then do a check like
if (process.env.NODE_ENV === 'development') {
// do dev stuff
}
if( (process.env.NODE_ENV === 'production) {
//do production stuff
}

You also have to run the server like this NODE_ENV="development" node server.js. The other option is to check the ip address https://stackoverflow.com/questions/10849687/express-js-how-to-get-remote-client-address and filter for local addresses (<IP_ADDRESS>) but that could be inconsistent (it might not register as <IP_ADDRESS>).

The absolute best way is as @toastynerd describes by simply using configuration to configure your app differently based on it's environment. Doing anything dynamically can lead to security issues in the long run. Otherwise, as long as you don't have a proxy on the same machine, checking req.connection.remoteAddress for <IP_ADDRESS> or ::ffff:<IP_ADDRESS> or ::1 will let you know if the raw socket is from your localhost (the raw socket address cannot be spoofed).

Therefore I use this
var isThisLocalhost = function (req){

    var ip = req.connection.remoteAddress;
    var host = req.get('host');

    return ip === "<IP_ADDRESS>" || ip === "::ffff:<IP_ADDRESS>" || ip === "::1" || host.indexOf("localhost") !== -1;
}

var isLocal = (request.hostname == 'localhost')


allow bytestring-0.11.4

pasta-curves-<IP_ADDRESS> has an upper-bound constraint on bytestring < 0.11.4.
I haven't checked carefully - is there a special reason for that?
With PVP 0.11.x should be backward compatible, though it is possible that is not the case of course.
The problem being that ghc-9.2.6 ships with bytestring-<IP_ADDRESS> and so pasta-curves can no longer build: for example in coming Stackage LTS minor snapshots.

Fixed, thanks!


Implement libfunc unwrap_non_zero.

Implement libfunc unwrap_non_zero
Description
Implementation of the unwrap_non_zero libfunc.
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #149 (67b9767) into main (5cdbad0) will increase coverage by 0.02%.
The diff coverage is 92.30%.

:exclamation: Current head 67b9767 differs from pull request most recent head f79ffbf. Consider uploading reports for the commit f79ffbf to get more accurate results

@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   87.51%   87.53%   +0.02%
==========================================
  Files          26       26
  Lines        6726     6765      +39
==========================================
+ Hits         5886     5922      +36
- Misses        840      843       +3

Impacted Files
Coverage Δ

sierra2mlir/src/libfuncs/mod.rs
90.63% <92.30%> (+0.03%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


FancyZones / After Update Layout missmatch of windows size

Microsoft PowerToys version
0.57.2
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones, FancyZones Editor
Steps to reproduce
In the FancyZone Editor the windows are defined, all fine.
After leaving it seems all dimensions are at factor 1.25.
The Windows on the right leave the monitor.

✔ Expected Behavior
It should work as planned.
❌ Actual Behavior
After leaving it seems all dimensions are at factor 1.25.
The Windows on the right leave the monitor.
Other Software
No response

There have been a few changes/fixes lately with regards to scaling. I want to ask two things:

Would you try to delete the layout and recreate it?
Why are you using Canvas style layout? Seems like a grid would make more sense, based on your screenshot.

/needinfo

It is maybe hard to see.
The different tiles are overlapping. So I can switch and mix windows side by side and overlapping.
Because tiles are under other tiles it is hard to configure the directly.
It would be helpfull to switch tiles in the editor by keys.

I am running my window at 4k (3840x2160) and FancyZones sees it as 1440p (2560x1440).  When I change resolution, FancyZones continues to change to a wrong resolution.
4k:

1440p:

@niels9001 @crutkas we need to change the way we mention the resolution. #9406

Are you still experiencing this issue? /needinfo


Embed block: clarify title requirement

Feature Description
The embed block currently requires a title to be set, and otherwise displays nothing. This is because an <a> tag without content doesn't really make sense.
See https://github.com/ampproject/amphtml/blob/master/spec/amp-story-player.md for the spec.
Two big problems:

The title requirement is not communicated as such in the editor
On the frontend nothing is rendered if the title is missing

Possible solutions:

Flag requirement in the editor
Not making the title required.
(That would be bad for accessibility & SEO though.)
On the frontend, show an error message for logged-in users, saying  "Missing title"
Use  something like Web Story as a fallback  title.

Alternatives Considered
Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Story should be displayed even if there's no title entered in the editor
If no title is entered in the editor, a fallback title is used on the frontend

Implementation Brief

Add "Web Story" fallback title when rendering the block on the frontend

@swissspidy - previewed an embedded web story and seeing the following in Source:

Auto Draft

And FE looks like:

Should I be seeing "Web Story" somewhere here? Please advise if I'm misunderstanding the intent here

tested in PR #2415, btw

@csossi you should only see it in the page markup, not visible on the page

To clarify, you should only see "Web Story" in the markup when no other title has been added in the block sidebar.
Moving forward on the board since I just manually verified at https://stories-qa-wordpress-amp.pantheonsite.io/


is it not possible to leverage difPy to match just a single image to a folder of images?

This was asked 2+ years ago in https://github.com/elisemercury/Duplicate-Image-Finder/issues/6
And it doesn't look like this feature has been added since.. at least if it is then it's not documented.. or maybe I'm just blind.
There are many other libraries that attempt this but I haven't found one that works very well especially when the source image is partially occluded. With the recent awesome performance improvements, I just think it would be cool to add this one feature to allow for matching one-to-many. I'd love to give that a whirl.
Thanks!

Hi @vesper8,
Thanks for your request! This feature will be evaluated for the next difPy release.
Best,
Elise


Add formatWeekDay prop for weekdays custom formatting

Sorry for large diff, i think this is prettier changes

Thanks for submitting this, can you expand a bit on what you're changing here and why? No worries about the large diff, it's doable. :)

Here is a new formatWeekDay prop for function that format weekday.
For example if you need to show only fist symbol of weekday:
<ReactDatePicker formatWeekDay={day => day[0]} />

Sometimes i need to change case of weekday. Now i can do it without css changes
<ReactDatePicker formatWeekDay={day => day.toLowerCase()} />

Thanks, for the info!


PHP 7 compatibility

Continue to support php 7 for the 4.x major release cycle

Continue support for php 7 for the 4.x major release

Background/problem

In the release for 4.5.0 (a minor version change) the code for /uuid/src/Uuid.php fails php -l Uuid.php on php 7.3
This causes code defined with a 4.x dependence to fail under php version 7.3 (for example)
Proposal/solution

Delay introduction of php 8 specific type hinting to a major release
Alternatives

As a workaround, consumers who are unable to updgrade php to 8 will have to freeze this project at 4.4.0
Additional context

As of version 4.3.0, I dropped support for PHP 7. See here: https://github.com/ramsey/uuid/releases/tag/4.3.0
This is not a BC break, since Composer will do the right thing for your environment and select a compatible version of this library.
How did you install version 4.5.0 on PHP 7.3? Composer should not have allowed this—it should have automatically installed ramsey/uuid 4.2.3 instead.

snipped from composer.json
  "require": {
    "php": ">=7.0.0",
    "ramsey/uuid": "^4.0"
  },

snipped from docker-compose.yml
  composer-update-api:
    image: composer:2
    volumes:
      - ./api:/var/www/api
    working_dir: /var/www/api
    entrypoint: [ 'composer', 'update', '--ignore-platform-reqs' ]

With that configuration, when you run composer install on a system running PHP 7.3, it should install ramsey/uuid version 4.2.3. Can you confirm that you are running PHP 7.3 on the same system where you run composer install?

I have confirmed that the issue is due to using a composer:2 docker image that is running php 8 to install dependencies to run in a  php:7.3-fpm-bullseye container.  Thank you for your prompt assistance.

Install docker
Make a directory "proof"
Create a file composer.json
{
    "name": "ramsey/proof",
    "description": "Prove accurate composer",
    "require": {
        "ramsey/uuid": "^4.0"
    }
}

Create a file docker-compose.yml
version: '3.8'

services:

  composer-update-api:
    image: composer:2.0.8
    container_name: composer-api
    volumes:
      - ./:/var/www/owloutcomes/api
    working_dir: /var/www/owloutcomes/api
    entrypoint: [ 'composer', 'update', '--ignore-platform-reqs' ]

From a command-line terminal
$ docker-compose run --rm --entrypoint "php --version" composer-update-api
Creating network "proof_default" with the default driver
Creating proof_composer-update-api_run ... done
PHP 7.4.14 (cli) (built: Jan 15 2021 23:17:24) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Observe php version is 7.4.14
User composer docker image to install the ramsey/uuid dependency
$ docker-compose up composer-update-api
Creating composer-api ... done
Attaching to composer-api
composer-api           | Loading composer repositories with package information
composer-api           | Info from https://repo.packagist.org: #StandWithUkraine
composer-api           | Updating dependencies
composer-api           | Lock file operations: 4 installs, 0 updates, 0 removals
composer-api           |   - Locking brick/math (0.10.2)
composer-api           |   - Locking ramsey/collection (1.2.2)
composer-api           |   - Locking ramsey/uuid (4.5.1)
composer-api           |   - Locking symfony/polyfill-php81 (v1.26.0)
composer-api           | Writing lock file
composer-api           | Installing dependencies from lock file (including require-dev)
composer-api           | Package operations: 4 installs, 0 updates, 0 removals
composer-api           |   - Downloading symfony/polyfill-php81 (v1.26.0)
composer-api           |   - Downloading ramsey/collection (1.2.2)
composer-api           |   - Downloading brick/math (0.10.2)
composer-api           |   - Downloading ramsey/uuid (4.5.1)
composer-api           |  0/4 [>---------------------------]   0%
composer-api           |  1/4 [=======>--------------------]  25%
composer-api           |  3/4 [=====================>------]  75%
composer-api           |  4/4 [============================] 100%  - Installing symfony/polyfill-php81 (v1.26.0): Extracting archive
composer-api           |   - Installing ramsey/collection (1.2.2): Extracting archive
composer-api           |   - Installing brick/math (0.10.2): Extracting archive
composer-api           |   - Installing ramsey/uuid (4.5.1): Extracting archive
composer-api           |  0/4 [>---------------------------]   0%
composer-api           |  1/4 [=======>--------------------]  25%
composer-api           |  2/4 [==============>-------------]  50%
composer-api           |  3/4 [=====================>------]  75%
composer-api           |  4/4 [============================] 100%5 package suggestions were added by new dependencies, use `composer suggest` to see details.
composer-api           | Generating autoload files
composer-api           | 4 packages you are using are looking for funding.
composer-api           | Use the `composer fund` command to find out more!
composer-api exited with code 0

Observe that package-lock is created with message "Locking ramsey/uuid (4.5.1)"

You're using --ignore-platform-reqs which turns off Composer's ability to limit packages based on platform requirements.
For example, these are the dependencies for version 4.5.1:
https://github.com/ramsey/uuid/blob/a161a26d917604dc6d3aa25100fddf2556e9f35d/composer.json#L11-L17
Using --ignore-platform-reqs instructs Composer to ignore the ^8.0 requirement for PHP.

Yes, it's necessary to maintain the legacy.  Solution for this case will be to pin the dependency at 4.2.3 -- thanks again.


Added the desktop version

To add the Desktop version, I :

Created the media query in CSS;
I checked the styling for the desktop version of the template and tried to replicate as most as possible this styling in my media query;
I checked the linters and then committed the changes.

@souad988  are you there?

I was trying to reach out to you in my PR but also tried here to see if
you’re reachable
On Fri 24 Feb 2023 at 15:58 Souad El Mansouri @.***>
wrote:

@.**** requested changes on this pull request.
Hi @adeola003 https://github.com/adeola003 ,
Great work on making the changes requested by a previous reviewer 👏
You've done well implementing some of the requested changes, but there are
still some which aren't addressed yet.
[image: 212385281-4797c58a-d358-423a-aa7c-832c22203865]
https://user-images.githubusercontent.com/59707859/221209961-537d52e1-b00f-48da-80de-25f3de9eb46b.gif
Highlights
✔No linter error
✔Use semantic html tags
✔Good PR title and description
Required Changes ♻
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this
PR. However, I strongly recommend you to take them into account as they can
make your code better. Some of them were simply missed by the previous
reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In index.html
https://github.com/adeola003/Microverse_portfolio/pull/5#discussion_r1117131057
:

@@ -172,7 +172,6 @@ Facebook 360

 </div>

 <div class="project-card">

well done on implementing some of the changes requested by the previous
reviewer , but you still have one small thing to fix as it was requested
before kindly use the same background color for this section as in figma
template
[ OPTIONAL ] also kindly do your best to replicate figma design , adjust
card size , horizontal and vertical spacing to make your work section look
perfect 👌
[image: card spacing student]
https://user-images.githubusercontent.com/59707859/221207505-5f441a97-46e5-4c6a-aabe-6347985ba462.PNG
figma :
[image: work section background figma]
https://user-images.githubusercontent.com/59707859/221209776-c2559e9c-2358-4a0e-ad07-47de9ef9498b.PNG
—
Reply to this email directly, view it on GitHub
https://github.com/adeola003/Microverse_portfolio/pull/5#pullrequestreview-1313621857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4M5OI2TVYSGJLKYQROO743WZDD73ANCNFSM6AAAAAAVFMGM5I
.
You are receiving this because you were mentioned.Message ID:
@.***>


Initial crawling capabilities

Enable crawling rudimentary capabilities

seed induced crawl start
dynamic IRI detection from incoming reports
concurrent

done.


Add time handlers and TimeSeries object

Issue #130 raises that time tracking changed with LoTV.  In general, it's probably best to work in frames throughout project, and convert to seconds or game time using some centralized functionality.  Centralizing this would make it easier to version.
Additionally, I have a TimeSeries class that I'm using in my work-in-progress update to the Supply Plugin.  I could definitely keep it in the plugin, but I think it could be potentially useful for other plugins.  Extracting time series data and then searching those time series seems to be a very common use case of this library.
What do you all think?

That could be helpful! Is your TimeSeries in a public branch somewhere that you can link?

Right now, I have it tucked away in the supply module, but you can see it here:  https://github.com/danfulton/sc2reader/blob/supply_fix/sc2reader/engine/plugins/supply.py
This is very much WIP, and I would still change a few things:

Right now, when you search using non-frame time units the returned type is "lossy" in that it throws out frames and returns seconds or in-game time strings.  I'd like to adjust that so that frames are always retained as the underlying "truth" and time unit requests just change repr.
In combination with this, there should be some internal record of the "display" time unit, so the user can set the default unit for search/display or pass it in with individual search/display.
Haven't implemented lt and gt methods for time slicing yet.
If (2) is implemented, can drop the time format tf() function.

Just wanted to probe interest a little bit before cleaning all this stuff up.

Interesting approach!
I'll just say to leave this issue open for comment if anyone else comes across it and thinks it would be useful.

Yeah, I think there's not a lot of use, for me at least, if I can't get some traction on Terran and Protoss with my version of SupplyTracker, but maybe if I get that working, I can make a draft PR of what it might look like to separate it out.


Include windows ssh pub key variable

Description
Include windows ssh pub key variable so that Windows clusters are deployed
Fixes: #91
History Notes

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.
[ ] I adhere to the Command Guidelines.
[ ] I adhere to the Error Handling Guidelines.

We are setting the SSH_PUBLIC_KEY_B64 variable a few lines above this, but I think that should have just been SSH_PUBLIC_KEY for things to work. If we set it here directly from an environment variable, we ignore the --ssh-public-key argument the user might have passed.

The problem is that when using the windows templates, we were using AZURE_SSH_PUBLIC_KEY in some templates as mentioned instead of SSH_PUBLIC_KEY_B64. Please see for #95

We are setting the SSH_PUBLIC_KEY_B64 variable a few lines above this, but I think that should have just been SSH_PUBLIC_KEY for things to work. If we set it here directly from an environment variable, we ignore the --ssh-public-key argument the user might have passed.

It's tricky because for windows we use cloudbase-init to set the key and on Linux we use Azure VM ARM configuration, left a comment on #95: https://github.com/Azure/azure-capi-cli-extension/pull/95#issuecomment-1127967131


Browser pods not termitating

We are noticing numerous Chrome browser pods that are left running without termination.
Steps to reproduce:

Run tests
Wait for the browser pods to appear
Restart the moon pod using the command kubectl -n moon rollout restart deployment moon or delete the pods.
Stop tests

If you repeat these steps from the beginning, you will see an increasing number of idle, unterminated pods that need to be manually deleted. These pods are visible in the UI.

Please check logs for defender container in browser pod, browser pods
should be timed out in 5min by default, if not there should be error
messages in defender container logs.
пт, 9 авг. 2024 г., 10:53 yurii-kryvosheia @.***>:

We are noticing numerous Chrome browser pods that are left running without
termination.
Steps to reproduce:

Run tests
Wait for the browser pods to appear
Restart the moon pod using the command kubectl -n moon rollout
restart deployment moon or delete the pods.
Stop tests

If you repeat these steps from the beginning, you will see an increasing
number of idle, unterminated pods that need to be manually deleted. These
pods are visible in the UI.
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/429, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23IVAM6BKZLH2L26UADZQRYOVAVCNFSM6AAAAABMH6PSDWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TOMZTGY2DQNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

That is not possible, every browser pod has defender container running.
пт, 9 авг. 2024 г., 15:57 yurii-kryvosheia @.***>:

@aandryashin https://github.com/aandryashin
What if we don't have "defender" container? 🤔 Just a "ca-certs" and a
"browser".
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/429#issuecomment-2277886611, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23LGJCHHA57SQJVFHRTZQS4DFAVCNFSM6AAAAABMH6PSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXHA4DMNRRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Here's the values for the moon2 chart, version 2.7.1. Nothing fancy.
    licenseSecretName: moon-license
    deployment:
      experimentalUI: true
      nodeSelector:
        scope: "moon"
      tolerations:
        - key: "Moon"
          operator: "Equal"
          value: "true"
          effect: "NoSchedule"

    customIngress:
      enabled: true
      annotations:
        alb.ingress.kubernetes.io/target-type: ip
        alb.ingress.kubernetes.io/healthcheck-path: /ui/
        alb.ingress.kubernetes.io/success-codes: 200,201,404
        alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
      ingressClassName: "ops"
      host: "moon.domain.com"
      paths:
        - path: /wd/hub
          port: 4444
        - path: /playwright
          port: 4444
        - path: /devtools
          port: 4444
        - path: /api
          port: 9090
        - path: /ui
          port: 9090
    ingress:
      enabled: false

    browsers:
      default:
        annotations:
          karpenter.sh/do-not-disrupt: "true"
        nodeSelector:
          scope: "moon"
        tolerations:
          - key: "Moon"
            operator: "Equal"
            value: "true"
            effect: "NoSchedule"

And that's how browser pod looks like

What could possibly be the issue?

Ok, i see, you are using playwright. Playwright pods are terminated when
client connection to moon closed, moon has graceful period (360 seconds by
default) to wait while all client connections are closed, if you playwright
tests are longer you have to increase moons graceful shutdown period.
пт, 9 авг. 2024 г., 16:39 yurii-kryvosheia @.***>:

Here's the values for the moon2 chart, version 2.7.1. Nothing fancy.
licenseSecretName: moon-license
deployment:
  experimentalUI: true
  nodeSelector:
    scope: "moon"
  tolerations:
    - key: "Moon"
      operator: "Equal"
      value: "true"
      effect: "NoSchedule"

customIngress:
  enabled: true
  annotations:
    alb.ingress.kubernetes.io/target-type: ip
    alb.ingress.kubernetes.io/healthcheck-path: /ui/
    alb.ingress.kubernetes.io/success-codes: 200,201,404
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
  ingressClassName: "ops"
  host: "moon.domain.com"
  paths:
    - path: /wd/hub
      port: 4444
    - path: /playwright
      port: 4444
    - path: /devtools
      port: 4444
    - path: /api
      port: 9090
    - path: /ui
      port: 9090
ingress:
  enabled: false

browsers:
  default:
    annotations:
      karpenter.sh/do-not-disrupt: "true"
    nodeSelector:
      scope: "moon"
    tolerations:
      - key: "Moon"
        operator: "Equal"
        value: "true"
        effect: "NoSchedule"

And that's how browser pod looks like
image.png (view on web)
https://github.com/user-attachments/assets/38b03bbe-5411-4557-ab0d-c13f79a60c85
What could possibly be the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/429#issuecomment-2277969557, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23NAAQELKMVXBXZUZTDZQTBCVAVCNFSM6AAAAABMH6PSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXHE3DSNJVG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Playwright pods are terminated when client connection to moon closed

Based on your response, if I terminate the moon pods, the connection is closed so browser pods should terminate. However, this is not happening.

No, moon terninates playwright pod when client connection is closed when
test done, otherwise it waits graceful period to get chance test completed.
In case when moon will close connections and terminate pods you will get
test failures...
пт, 9 авг. 2024 г., 17:44 yurii-kryvosheia @.***>:

Playwright pods are terminated when client connection to moon closed
Based on your response, if I terminate the moon pods, the connection is
closed so browser pods should terminate. However, this is not happening.
—
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/429#issuecomment-2278113908, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKY23J565WZRN3FZ2BKJP3ZQTIUPAVCNFSM6AAAAABMH6PSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYGEYTGOJQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

The whole point of the issue is that moon doesn't terminate the browser pods whose tests are completed even after 5 minutes timeout.

@yurii-kryvosheia you don't get what we are trying to explain. In Selenium every command is a separate HTTP request, so the only way to detect browser pods idle for a long time is measuring time between HTTP request. This is where timeout comes into play. In Playwright \ Puppeteer things are working completely differently. All commands are being transferred through one permanent web-socket connection. This connection is closed when Playwright tests finish. Moon is watching such connections and automatically deletes such pods. Two possible reasons why this could not happen are:

Connection is not really closed, because of frozen CI builds. Just check that node.js processes do not remain alive.
Connection is closed on load balancer (so test considers everything went good) but not closed between load balancer and Moon. This is rare, but also possible.
There is an issue deleting browser pods via Kubernetes API. To check this version - try to filter Moon logs by pod id:

$ kubectl logs -lapp=moon -c moon -n moon 2>&1 | grep playwright-chrome-XXXX


⚠ Bofrost.lu has degraded performance

In f1e8c4f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1913 ms

Resolved: Bofrost.lu performance has improved in 421607d after 46 minutes.


Check PEM block type when reading token cert file

closes #1909
Signed-off-by: Jason Heiss<EMAIL_ADDRESS>

Current coverage is 51.39% (diff: 60.00%)

Merging #1934 into master will decrease coverage by 10.16%

@@             master      #1934   diff @@
==========================================
  Files           123        123
  Lines         10946      10947      +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6738       5626   -1112
- Misses         3327       4580   +1253
+ Partials        881        741    -140

Powered by Codecov. Last update 41f383f...26dc7bb

LGTM

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "token_ssl_pem_type" git@github.com:jheiss/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

I noticed that I missed a call to Close() in my test. I've pushed it as a separate commit for review, I'll squash it once folks approve.

LGTM - you need to sign the last commit @jheiss. thanks!

I've squashed the commits together

LGTM


Update Array#[]= signature

Note: If there is something obvious that I missed, feel free to close this without further answers.
I presume I found a missing overload signature for a stdlib method. This seems to depend on how the array was created tho, I'm providing a sorbet.run example here. I presume that's because we can know the Elem type for Array.new but not for square brackets.
Edit: Providing another example to clarify that T::Boolean vs FalseClass is irrelevant in the other example
Motivation
I would like to use the missing overload in a strictly typed file.
Test plan
I have not tested this at all, not even sure where would I begin, happy to do if you go thru with the change.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_JZLj4cm0JAN50W
→ https://go/builds/bui_JZLjODEsfNRRMO


Feature Request: NotEnoughKeys API

https://github.com/mod-warriors/NotEnoughKeys/tree/dev/src/main/java/modwarriors/notenoughkeys/api
This is an API from NotEnoughKeys that allows Multikey-Keybindings for mods, to have support for keybindings like shift+f or ctrl+k for key presses. Would be awesome if you could add in compatability with that for EnderIO. Ticon and Pneumaticraft already support this.

Er...does EIO have any multikey keybindings?

This makes users able to do that, I have not seen any mod that does this, except Thaumcraft with the shift-f combo to unequip focii.

Ah, ok then.

I think this could be used with the Yeta wrench and having such as Y+E for energy cabling or something


Total child count is incorrect.

Rollup does not calculate counts correctly; I'm observing scenarios where the total child count is always one less than the actual count. When I add the first child, its count is always blank, and upon adding the second child, it is set to 1. I'm unsure whether this is a rollup issue or if there's something I'm missing in the rollup setup.

@jamessimone After analysing the log, one thing I'm wondering is if there is a way to specify the execution order of these roll-ups through metadata. I have eight different roll-ups, and at a single time, at least 2 or 3 meet the criteria. I'm guessing this might be the issue as well. I'm not able to find any field where I can specify the execution order of these roll-ups.

@nsinghCloudera I'm not sure I understand your last comment. Are you saying that your rollups are dependent on being processed in a particular order? That would make it sound like you're filtering on parent level fields that are also being rolled up, is that correct?

@jamessimone No, the rollups are not dependent on being processed in a particular order.
I have a custom object called Escalation, which is a child of Case. We can have different types of Escalation, such as Customer, Manager, or Engineering types. For each of these types, we count on Cases. Additionally, we have Total Escalation, which sums up all types, and Open Escalation, which counts all escalations that are not closed.
If I create a Customer-type escalation, then the rollups for Customer, Open Escalation, and Total Escalation should also be executed.
Based on the logs I'm seeing, they are getting executed in random orders. Sometimes, Open Escalation is processed first, followed by Total Escalation, and then Customer. Could this be the issue?

@nsinghCloudera I'm a little confused.

No, the rollups are not dependent on being processed in a particular order.

But then you say:

Based on the logs I'm seeing, they are getting executed in random orders. Sometimes, Open Escalation is processed first, followed by Total Escalation, and then Customer. Could this be the issue?

To me, that sounds like you're asking about an order of operations issue. I am happy to help - please just let me know what I can do to assist!

@jamessimone
Sorry, for the confusion.
I enabled logs and based on that let me explain what I'm seeing.
I have attached an excel sheet. This sheet contains two tabs; the first one contains logs after the first escalation record is created, and the second one contains logs after the second escalation record is created.

When I created the first Escalation, I saw three logs being generated. The first one sets values correctly, but the last one sets values to either 0 or null.
When the second escalation is created, the rollup values are updated by one, but not to the correct value.

Rollup Issue.xlsx

I'll try to take a look. I have limited time for open source work this week, otherwise I'll get to it next week.

@nsinghCloudera I'm not able to glean a lot out of what you've uploaded. Some of the other messages generated by the rollup logging framework, for example, would allow me to see if you have recursive updates occurring on insert based on the reported rollup context; in general, it's hard to say what's going on without a lot more information.
That being said, it's possible that I can diagnose the underlying issue without getting more in the way of information - COUNT-based rollups, by default, operate on a "diff based" calculation model. You can override this by toggling the "Is Full Record Set" checkbox on each metadata rollup metadata record. This has the effect of allowing the rollup framework to re-query for all possible children for a parent when performing calculations, and may fix the issue you're experiencing.

@nsinghCloudera I haven't heard back from you, but I hope the above information proved helpful. I'm going to close this one out for now.

Hi @jamessimone Yes, this issue is fixed after setting "Is Full Record Set" to true. We are seeing one new exception which we are getting in scheduled job. I'll raise another one.
Thanks for your help.


AWS EC2 TargetGroup Targets Health Status Is Draining

Hi,
please check whats the status of your ECS services and tasks. if they're stopped or in a restart cycle, check their logs for errors.
Best,
David

closing due inactivity


Component Chart & UI commands namespace and context

Changes

Fixed an issue where pathType was not automatically set for newer ingress versions
Fixed an issue where namespace and context were wrong in UI commands
New flag --image-selector for commands devspace enter, devspace logs & devspace attach
You can now use image(default) and tag(default) in hook commands and args:

images:
  test:
    image: test/test
hooks:
  - command: |-
      ./custom-script image(test):tag(test) # -> Transformed to ./custom-script test/test:#####
    when:
      after:
        images: all

New feature config expressions ${{ any valid bash expression }} that are evaluated after variables are loaded and can be used to generate certain fields of the devspace yaml dynamically:

Only build if user uses devspace deploy
images:
  default:
    build: |-
      ${{
        if [ "$1" == "deploy" ]; then
          echo {disabled: false}
        else
          echo {disabled: true}
        fi
      }}

Use devspace var to decide if to open terminal
vars:
- name: OPEN_TERMINAL
  options:
  - "true"
  - "false"
dev:
  terminal: ${{ [ "${OPEN_TERMINAL}" == "true" ] && echo "{}" || echo "null" }}

Use environment variable to decide if to open terminal:
dev:
  terminal: ${{ [ "$OPEN_TERMINAL" == "true" ] && echo "{}" || echo "null" }}

It would be great if hooks could use the same $ENV variables available to the rest of the file.


Changes are not getting applied at the interval set time taking too longer

This is my GitRepository and Kustomization resource. To apply changes it takes more than 30 min .. it's not applying the changes as Interval set up

apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: environmentdev
secretRef:
name: flux-system
url<EMAIL_ADDRESS>

apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: flux
spec:
interval: 10m
path: ./test/application/appname
prune: false
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
healthChecks:
- apiVersion: apps/v1
kind: StatefulSet
name: application
namespace: default
timeout: 30m

please let us know why it's taking too long to apply the changes and what do you suggest next steps

If you remove the healthChecks how much it takes?

I updated healthCheck timeout to 1 min but still the same it's taking too long. not applying the changes as expected interval time.. I have checked the kustomization controller logs it looks good

Please post here the controller logs and the size of your Git repository.

not applying the changes as expected interval time

This is somewhat a misperception. The interval is used to queue the next reconciliation, this means that if your Kustomize build or the apply takes longer, it will indeed not run every minute, but every minute after the last reconciliation finished.


Rename .env.example to sk-tO2QS61bm1DcKf6x4xTiT3BlbkFJvs4tMt7VFgG688O…

…zUkqQ
npm install

Your API key has been rotated since it is now leaked in this PR.


Instance name instead of Keypair Name

Thanks for building this, i'm using it at the moment.
One thing i noticed is that its returning key pair name for server name, thinking it might be better to get the instance name that's described through management console. The name is just a tag with the key 'Name'.
If you are accepting pull requests i can do it up.

Hey there, I'm really glad to hear you're getting some use out of it :D
I'm more than happy to accept pull requests as long as they benefit the program, thank you very much for offering!
Looking forward to seeing it, and if you're unable to do it, I'm more than happy to make it :)
-J

Fixed in #13
Thanks @rfrank14 !


make sure two elements with same ID do not trounce getElementById

Per https://github.com/tmpvar/jsdom/issues/382 this commit makes sure two elements with same ID do not trounce each other.
Summary of changes:

document._ids[id] is an array of Node objects, rather than a single Node object
_attach pushes it onto the array
_detach splices it from the array
_attrModified detaches then attaches
getElementById checks the array rather than simply returns
test/jsdom/index/get_element_by_id_multi_id tests added to create two elements, remove the second, make sure can still get at the first.

Indentation done.

Bump? I did the indentation as you requested.

landed, thanks! feel free to add yourself to contributors in package.json

Thanks, you are too kind. You don't really want me creating a new pull request just to give me credit, do you? Isn't that more of a headache for you?

it's easier this way; up to you :)

Ah, well, I want to encourage you to push out a new release version to npm
:-)
Will take care of it right now.
On Sat, Feb 18, 2012 at 9:55 PM, Elijah Insua <
<EMAIL_ADDRESS>
wrote:

it's easier this way; up to you :)

Reply to this email directly or view it on GitHub:
https://github.com/tmpvar/jsdom/pull/383#issuecomment-4036810

Here it is: https://github.com/tmpvar/jsdom/pull/405


Fix IMC recipe removal

IMC messages aren't able to delete any recipe.
Fixed by changing the String to look at.

Brilliant


Feedback on cursors alpha support

Saw that you've added cursors to the library and were looking for feedback. Very cool.
I've been working on an implementation of om-style cursors based on mori's data structures, using a custom build of mori which allows for extending vanilla JS objects with cljs protocols (thanks to some great tips from @swannodette)
https://github.com/tgriesser/mori-cursors
One of the coolest things about the om-style cursor implementation IMO is the ability to treat them as basic persistent data structures, each time a value is returned (get, get_in, assoc/dissoc, any seqable functions, etc.), so long as the value isn't a primitive, you'll receive a new cursor of the appropriate type (MapCursor / VectorCursor) which continues to keep track of its path in the root object automatically.
As far as I can tell, in the current implementation, you need to explicitly call cursor to create sub-cursors, and even then, it's a bit limited in scope with regards to being able to modify the local value of the cursor.
For example in the implementation I linked above, you could have something like (using immutable's api):
var data = Immutable.fromJS({
  users: [{
    name: 'Test',
    accounts: { /* deep nested data */ }
  }, {
    name: 'User',
    accounts: { /* deep nested data */ }
  }]
});
var c = data.cursor();
c.get('users') // would return a new VectorCursor, path ['users']
c.getIn(['users', 0]) // would return a new MapCursor, path ['users', 0]
c.getIn(['users', 0, 'name']) // would return 'Test', since name is a primitive

// Returns a new MapCursor, path ['users', 0], just without the 'accounts'
// map. This is useful in cases like React where you want to slice and dice into
// sub-cursors with a limited scope of data for efficient shouldComponentUpdate
c.getIn(['users', 0]).delete('accounts')

So the main idea is that the cursors should behave exactly like their respective data-structures from an API standpoint, only differing with the underlying "type" of the cursor, automatically keeping track of their path (which is hugely valuable).
Another main difference between this implementation and the one I mentioned above, is the idea of a "root" cursor, which sub-cursors are created from / updating against. There doesn't seem to be much value of just locating/updating values if they aren't coming from a central "root" object. In OM's case, I believe this is an atom, in the project I linked above it's just a special RootCursor which also acts an EventEmitter. My implementation is also pretty basic compared to OM's, nothing about deref'ing / taking into account render states.
Really cool to see that you're adding them to this project though, I've found them invaluable when using persistent data-structures with React, interested to see what you think about these ideas.

Closing this out since it's old and discussion has been slurped up. Thanks again for the feedback, guys! I'm excited to see more cursor implementations come to be.


SQLServer varchar with (max) not handled

Describe the bug
With this column declaration:
[object_def] [varchar](max) NULL,

the (max) is interpreted as '()'
Expected behavior
Would like to see it passed through as '(max)'
Desktop (please complete the following information):

OS: Windows 11
Browser chrome
Version 2023/01/12

@ctimmer , hi! this issue was  fixed in some of the latest versions, at least I have already for this test - https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/dialects/test_mssql_specific.py#L138 and it is parsed validly on version 0.29.1. please try, if there is still issue - reopen it and provide a full example please. And thank you!


User groups

          Original issue by @ahknight - Imported from fastlane/pilot#46

We use the user groups functionality in iTunes Connect for our beta tests a lot.  I don't see support for that in pilot at the moment.  Am I missing it?
What we do is recruit a set of testers, add them to the iTunes account in a user group ("MyApp Beta 1") and then add the group to the app.  This way we know which tests a user is on, and also why they're on the account in the first place (we have many, many apps in the account).
Is there a way to specify a group when importing a CSV so that the user is also added to that group (and have it created if it doesn't exist)?

+1, this feature is still missing in latest pilot v1.5.0. Is there any update on this topic?

Thanks for bumping, we'll evaluate this.

+1

Is there any updates?

Hi @cybertk We'd love to see an external PR on this, but haven't made any work internally. Thanks!

This feature is still missing in latest pilot v1.11.0

@cybertk Thanks for following up on this. We'll leave it open 👍


Search Filter Style Adjustments

Various style adjustments related to filters:
Filter Button
Use UCD blue text on the filter buttons, not black. Capitalize the subject filter label to match the sidebar styling (sorry, I know I didn't do this in my mock-up, this is my bad).

Current
Desired

Sidebar Selected Item
When a filter is selected but the sidebar is collapsed, the selected filter should show in the same way that it does when open, not change the layout. Since the heading persists above it, there is no need to add the heading title to the label again.
The X should persist and have the same hover effect as the button version that displays at the top of the UI.
The number count for result hits greater than zero should not be gray, it should be black.

Current
Desired

Filter Search Fields
Functionality: I think it would be best if filter search was always be an option for filter categories with 15+ available terms that have result hits, not just subjects. It should not show at all if there is less than that.
Styles: Background color of text fields (search, published) is incorrect. It should be the same color as the background of the main search area (ucd blue 30 / #EBF3FA). The current color draws too much attention to itself.

Current
Desired

White
aggie-blue-30 (#EBF3FA)

X Icon
I hate this X in this particular context of search filters (both the button and sidebar) kind of a lot. It lacks substance/doesn't have enough weight to go with the text. Can we use this one instead?

https://drive.google.com/file/d/1wGhWNWeJQham1r690mnUHS9cr0--5R0E/view?usp=sharing
It's still technically Font Awesome, but it's from their v5 set.

Why are these two so far apart, do they not like each other? 😭 JK.

We'll gain a lot more text space if they get more buddy buddy. There should only be a few pixels between them -- for example, my mock-up has around 4ish. Make sure the button versions at the top of the page and the sidebar filter versions are treated the same from a space standpoint.
The rest of it looks much better!


RecyclerView doesn't respond to touch after scrolling calendar in AppBarLayout

After scrolling the calendar that I have inside an AppBarLayout the underlaying recyclerView doesn't respond to touch. That means I have to tap it once before I can click or scroll it.
Passing in false instead of true here did fix it for me, but I guess it has some drawbacks. Known fault/fix?
getParent().requestDisallowInterceptTouchEvent(true);

in CompactCalendarView.class line 71

Hi, thank you raising this issue. Would it be possible to upload a sample project where you have seen this problem? It would be a huge help and would help me debug any issues.

Ok, I'll have a look at that when time. Where do I upload this btw? :)


Union of Observables cannot have piped operators

RxJS version:
I tested on both v5.5 and v6.0
Code to reproduce:
(foo as Observable<number>).pipe(filter(_=>true));
(foo as Observable<string>).pipe(filter(_=>true));
(foo as Observable<number|string>).pipe(filter(_=>true));
(foo as Observable<number>|Observable<string>).pipe(filter(_=>true));

Expected behavior:
All build or all fail.
Actual behavior:
Line 1-3 build, line 4 fails with "TS2554: Expected 0 arguments, but got 1."
Additional information:

This seems like something that would have to be fixed on the TypeScript side of things. 🤔

@bowenni The issue isn't an RxJS problem. And I doubt that it's a TypeScript problem, either; it's just how the resolution of overload signatures works for union types.
To see what's going on, have a look at the overload signatures for pipe. For Observable<number>, pipe will have signatures like:
pipe(): Observable<number>
pipe(op1: OperatorFunction<number, A>): Observable
...

And for Observable<string>, pipe will have signatures like:
pipe(): Observable<string>
pipe(op1: OperatorFunction<string, A>): Observable
...

For the union type - Observabe<number> | Observable<string> - the only pipe signature that's common to both is the first - the signature that with no parameters - so that's the only one that's available.

Thanks @cartant. That makes sense.
The error message is super confusing though.

The real fix here is to cast the source observable to Observable<any> or even Observable<string|number>, because in this case you're basically saying "I don't care what type of value is coming in, I'm going to do X with it".


Ensure Skate components can be extended via ES6 classes.

References #159.

Can this issue be closed?

Closing now. There was one last bug that I noticed and just pushed a fix for. I'll reference in a separate issue.


kubectl scale up fails- weblogic.validating.webhook validation error

We have requirement to increase the pod count from 8 to 9 to handle production load,  when we tried to scale up pod to 9 by running kubectl scale  command (below), getting following error. Tried all options from oracle github nothing works. Please suggest how to increase pod count.
Command: kubectl scale --replicas=9 clusters/workout-dev-domain-dev-domain-cluster -n workout-dev
error: clusters.weblogic.oracle "workout-dev-domain-dev-domain-cluster" could not be patched: admission webhook "weblogic.validating.webhook" denied the request: Change request to cluster resource 'workout-dev-domain-cluster' cannot be honored because the replica count would exceed the cluster size '8'

WebLogic clusters have a maximum size that comes from the domain configuration (config.xml). The validation will not allow you to scale past this limit, so you must first increase the cluster size. Are you using model in image or domain on PV? Is this cluster configured or dynamic?

Thanks, I tried to increase the cluster size (using below commands), I see same error. Our weblogic domain is stored in Azure storage -Persistent volume.  Its dynamic cluster.
kubectl edit cluster workout-dev-domain-workout-dev-domain-cluster -n workout-dev
kubectl patch cluster workout-dev-domain-workout-dev-domain-cluster --type=merge -p '{"spec":{"replicas":9}}' -n workout

-dev

@rsureshbe81, you need to increase the dynamic cluster size, as described here: https://docs.oracle.com/en/middleware/standalone/weblogic-server/<IP_ADDRESS>/clust/dynamic_clusters.html#GUID-64235312-7A83-4866-8E8F-D4294C9E0FB1.
After this, you need to force the operator to reread the domain configuration. This is done during the phase called "introspection" which can be forced, as described here: https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-lifecycle/introspection/#initiating-introspection.
Finally, your scaling commands will now work up to the new maximum cluster size that you've selected.


Fix chest desync with 3+ players

Referencing issue #30.

PSA: For any of my commits/PRs to this project that someone else can do better, by all means feel free to do so! Even borrow my code. I won't be offended in the slightest. I'm simply after a better experience  :+1:


Unnecessary Extra Text

In multiple steps of the guide currently, it says to rename GodMode9.bin to, well, GodMode9.bin which is a bit redundant and a little confusing. Thanks

I now see that @jkcgs already addressed this in a pull request so I will now be closing this. Thanks

Thanks to you! 😄


Cannot run simple integer array optimization. Got boolean results

Hi, sorry if I missed something. But I'm trying to optimize an array of 47 integer values, each of them in a possible range from 0 to 30.
My code is below. But when I break at the Fitness Evaluation and get the chromosome, it is 32 length instead of 47. And the genes are booleans... I would rather expect an array of 47 integers. Am I doing something wrongly?
Here is the preparation:
`        var targetArray = new int[47];
var fitness = new ArrayFitness(dataHolder, targetArray); //my class
var chromosome = new IntegerChromosome(0, 30);
var population = new Population(50, 100, chromosome);
var selection = new EliteSelection();
var crossover = new UniformCrossover();
var mutation = new UniformMutation(true);
    _ga = new GeneticAlgorithm(population, fitness, selection, crossover, mutation)
    {
        Termination = new GenerationNumberTermination(100)
    };`

And here is my ArrayFitness class:
`    public double Evaluate(IChromosome chromosome)
{
var genes = chromosome.GetGenes();
    //int chromosomeLenght = chromosome.GetGenes().Length;

    for (var i = 0; i < genes.Length; i++)
    {
        _targetArray[i] = (int)genes[i].Value;
    }
    decimal result = MyValueEvaluation(_targetArray, _initialDataHolder);
    return (double)result;
}`

The GetGenes returns boolean values.

Solved


[BUG] Crashes app when app name contains spaces

Hello, during development I found this issue

It seems like, looking at the frame variables that appName seems to cause the the issue

because the url cannot be constructed, as there is a space in the app name.
Of course, this would be valid for any character that is not allowed in urls.
Several apps have this issue when looking at the default list:
https://billboard-source.vercel.app/ads.json

It's also not necessary for the AppStore link to have the app name in it.
The link will also work like this: https://apps.apple.com/app/id\(appID)

Should be fixed with #21


Add a data model for bad touches

Kloppy's event data model currently does not support bad touches / miscontrols, which are events in which a player loses the ball due to a bad touch.
How data providers do it
StatsBomb has a "miscontrol" event.
Opta has a "ball touch" event with outcome 1 if the ball simply hit the player unintentionally and outcome 0 if the player unsuccessfully controlled the ball.
Wyscout  has a "touch" event with attribute "missed" or "dummy" when the player doesn't touch ball on purpose.
SoccerAction has a "bad touch" action.
Proposal
Either add a MisControlEvent or a BallTouchEvent with qualifiers to distinguish between a miscontrol and dummy touch to Kloppy. However, I do not think the "dummy touch" adds a lot of value and is not supported by all providers, so I think it would be fine to omit this from Kloppy's model.

Is there an agree preference for either MisControlEvent or BallTouchEvent?

I agree with @probberechts statement, that the "dummy touch" adds no value. Therefore I propose adding solely a MisControlEvent.
If @koenvo & @JanVanHaaren agree, I can start on this issue.


[Task] fetchBankValidators function in Account manager uses JS SDK

Task
Contributors are able to complete this task and earn thenewboston coins.  Check out the labels to learn how much you can earn for contributing by completing this task.  Please make sure to be honest if you wish to contribute by saying you can't finish this and we can just un-assign you with no harm done!  There is no point in delaying tasks from being completed for miscommunication!

Overview
generateAccount function in Account manager uses JS SDK

All missing functionalities that hinder the implementation are reported and resolved on the SDK side
Use the SDK documentation
Undocumented processes and wrong information in doc should be corrected
Resolves https://github.com/thenewboston-developers/Account-Manager/issues/585

Behavior
Account manager uses js sdk installed from NPM https://www.npmjs.com/package/thenewboston
fetchBankValidators function in Account manager uses JS SDK
/* code examples are awesome */

Please ask for this task to be assigned to you and earn and its sweet reward 😉
Remember to include your account number in your PR description for us to pay you 💰
** Pull Requests **
All Pull Request should be made to development branch, read contributors guild for more information about contributing

@tomijaga these tasks from the next milestone can now be implemented;
My target is if we can get all the account manager things sorted this month, and all other things what might be missing implemented, we can focus on beta actually from next month fully

Okay I will probably be done with this in a week or so

closed by https://github.com/thenewboston-developers/Account-Manager/pull/610


Allow skipping forks and mirrors from being indexed

This PR adds two new options to disable repo/code search indexing of both forks and mirrors.
Related: #22842

@delvh / @lunny I've updated this PR, I'm also hesitant about mixing types and name matching. I am also hesitant about regex, although that could easily be solved with globbing.
This at least reduces multiple options that I had originally introduced as a part of this PR

@delvh / @lunny I've updated this PR, I'm also hesitant about mixing types and name matching. I am also hesitant about regex, although that could easily be solved with globbing.
This at least reduces multiple options that I had originally introduced as a part of this PR

How about just putting types, now we have only original, forks, mirrors, templates?

@lunny ok. I've updated with your feedback.


adjust ERROR log levels in core components

Adjust log level on the following log messages from ERROR to INFO:

[x] [ERROR][CouchDbRestStore] [marker:database_getDocument_error] [GET] failure: 'requirement failed: document type class whisk.core.entity.WhiskTrigger did not match expected type class whisk.core.entity.WhiskAction.'

this is a user error that arises when retrieving an entity with the wrong type.

[ ] [ERROR] [KafkaProducerConnector] sending message on topic '...' failed: org.apache.kafka.common.errors.RecordTooLargeException: The message is xxx bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration.

this can arise if sending a large payload during invoke - should adjust the log level but also short circuit the post and reject earlier in the route.

[ ] [ERROR] [RemoteEntitlementService] [marker:controller_checkEntitlement_error] failed while checking entitlement: Status: 401 Unauthorized
[ ] [ERROR] [NamespacesApi] [GET] namespaces failed: Status: 401 Unauthorized
[ ] [ERROR][PackagesApi] [LIST] namespaces lookup failed: Status: 401 Unauthorized
[x] [ERROR] [PackageCollection] entitlement check on package failed: not found on 'get'

authorization errors should be at INFO level.

[x] [ERROR] [RulesApi] [POST] rule update failed: not found on 'get'
[ ] [ERROR] [ActionsApi] [DEL] entity failed: Unexpected http response code: 409 Conflict
[ ] [ERROR] [ActionsApi] [POST] action activation failed: org.apache.kafka.common.errors.RecordTooLargeException:

these are likely user error (e.g., deleting while updating it) and should be at INFO level.

Voting to short-circuit early and leave
[ERROR] [KafkaProducerConnector] sending message on topic '...' failed: org.apache.kafka.common.errors.RecordTooLargeException: The message is xxx bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration.

an error, because it shouldn't happen once short-circuited?


fix spelling

There was one grammar mistake in Russian translation. I fixed it.

Thanks for the fix!


Data: project addition by 5h0ov

Add a new project to the list
I wanted to add an Animated Envelope Animation using HTML & CSS.
Preview

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

ig you have created an issue before so I'm closing this issue. You can add multiple projects in a single issue


Refactor plop-base.js

I think could be a good Idea to refactor a plop-base.js. Use ES6 standard modules and ES Classes. Also use const or let (depend on the case) instead of var. What do you think @amwmedia ?
Of course, I will fork the project, open a branch referring to this issue and push a pull request.
I mention you because here and I do not want to step on your work.

sounds good, why don't you go ahead and take a stab at it. I just did fs-promise.js this morning. Planning to tackle generator-runner.js next. I just pushed my fs-promise work up.

if you run npm run develop, it should get you going with the babel compile step and ava test runner as you develop

Today I do not have much time to dedicate it (here almost 5 pm), but I think tomorrow morning I will make the pull request.
Thanks for the tip 😉

Finally, I will postpone this issue, when I started to work, I realized that I have never used AVA testing. I decided to start refactoring the tests so while I am learning how use AVA I am producing something. Sorry for the mess.

Are you still planning to take this on? If so, you'll want to make sure you pull in the latest code that was just pushed up. It makes a small change to the plop-base.js file that you were planning to refactor.

Yeah, I do it right now. I am starting to refactor it.
I am not sure if just made a ES6 module and return it as an API, an example (more or less like is now with the revealing module pattern) or wrap it the code in a ES6 class.
What do you think about it?

I think you could definitely use a normal es6 export syntax for this. I didn't use that approach for the fs-promise-proxy.js file, because for some reason I thought that the es6 import/export stuff wasn't working properly in the build process I had in place. I just tried it again and it worked fine 🙄

so I'm not doing another minor refactor of fs-promise-proxy.js and generator-runner.js

updated

I am trying to wrap it in a class but I did not figure out what is wrong... the test seems not to pass. Also, I had to change the way that plop is called.
I will put that refactor in stand by and focus in refactor the tests to an ES6 approach. I guess that will help me to understand better the project.

if I have a few minutes today, I'll copy your code over and take a look at what might be breaking.

Cool, but maybe the problem is that I don't know yet well the whole project, maybe I am missing something. I feel bad that you spend time on this.

maybe, but no worries. If I didn't have time or didn't want to look into... I wouldn't be offering. 😄

I looked into this and submitted a patch to both files. These changes fix the issue as far as I can tell. Have a look when you have a moment

I'll be interested to get your feedback on the solution. I feel like the benefits of using a class vs the revealing module pattern for this particular instance might not outweigh the downside of having to always make sure that the functions are executed with the proper this context.

Forgive Me, this morning half asleep I made a mistake with git... I deleted the issue-2 branch and I have reconstructed, yeah, I know big mistake. Actually I applied your solutions and pass the tests but two of them doesn't pass ( I don't know if you also have this issue).
Yeah, I got your point, about the this context. Now I have to spend 1/2 hours on other thing, but then I will try to refactor it to a simple ES6 module with the API approach. I would not use classes so the this context disappears, What do you think?

no problem, I'll take a look, I have the changes I made in a stash still.
The plop-base implementation needs to have some sort of context for each instance. So, if I understand the api approach in the link above, this might not work. each instance of plop-base needs to provide functions that have access to that context. That why I think the class approach was good, but because we recompose plop-base with the runner, this causes other issues.
I'm not yet sure what would be best, just throwing my observations out there. 🙂

Just now I updated with this it was just a moment to show you what I mean.
Humm... you are pretty right about the context. I will take some time to think about it.

sounds good, I'll think about it too.

Right now I'm leaning toward going with an es6 revealing module pattern. Similar to how the generator runner was refactored. Unless you have another idea?

Oh, and the part I think you might be missing (for the 2 failing tests) might be this

Yes! this morning a made a complete mess... Now, is working with a class approach and the tests are passing. For sure the singleton ES6 module with an API approach is useless, as you said, we need a new instance. I had not enough time to think about a good solution. I am not familiar yet with the runner and I have to read it and understand it to figure out where are the other issues that you mention.

This afternoon I have no more time to do it, and I don't know if during the weekend I will have time to stay in front of the computer, go ahead with your idea 👍

I just mentioned the runner as an example of an approach that could work. I do have another way that we could use the class structure without some of the same this drawbacks. I'll throw it up on a gist so you can look it over and give feedback.

ah, ok. I'll go ahead with the other approach and we'll talk about a possible refactor in the future if it makes sense.

Just add a comment in the same second hahaha, for sure, I really like to watch different ideas and approaches, so count with me for that 😃 . As you said yesterday, are many important things to do in the project so a future refactor could be a good option too 😉

Now I realize that maybe I misunderstood you. When you said this drawbacks, are you referring working in the class, I mean, using this.whatEver every time, or are you referring when you are using the class in other files?
Do not think I want to be bothersome, just I want to be at the same page and understand your point 😉

no problem, what I meant is that it's kind of a pain that when you pass plop.setGenerator through like we do in index.js, that we need to make sure we bind that function to the correct this context or it won't execute correctly. As apposed to using function closure scopes to isolate the state as we were before.

I guess, I got your point. I think you take a good decision, it is better to leave this refactor to the future. Thanks for the explanation.


PIXI.Texture.fromCanvas() only works once in WebGL mode

hi!
as the title says, i think the Texture's fromCanvas() method does not work properly in WebGL. i need to use another canvases current content (which gets updated from time to time) to be rendered (and updated) to a Sprite. using sprite.texture=PIXI.Texture.fromCanvas(...) it works fine when rendering to a standard canvas. but in WebGL mode, it only renders the first time it is called. all other times it stays in the last state.
i suspected some kind of missing update, but that doesn't seem to change anything.
in the jsfiddle (here) you can find a simplified reconstruction. it creates 3 canvases, the first will change colors every second, and the other two will use Texture.fromCanvas() to update a Sprite to the [Canvas 1]'s current content. that works well in [Canvas 2], which is set to the canvas rendering mode. but [Canvas 3], which is using the WebGL mode, just updates once, and since i do not change [Canvas 1]'s background color in the first cycle, it becomes red - and then just never changes to anything else.
i found another issue (here) where you suggested using the Texture's update() method instead of the 2nd-cycle fromCanvas(), but that won't work in both canvas and WebGL for me.
i also tried updating a sprite repeatedly with changing image resources using fromImage(), this worked as expected, so i think it has something to do with fromCanvas().
i hope my explanation is understandable - thank you very much in advance!
s3lf

Calling fromCanvas() tries to create a brand new texture and base texture from the thing you have provided. You should only do this once to create the texture, then if you ever change the source canvas, call texture's update() method to reupload the texture.
Works fine in both WebGL and Canvas:
https://jsfiddle.net/paz87qyh/3/

oh weird, so i must have made some mistake implementing the update instead of assigning a new texture... thank you for the clarification and the working fiddle!

No problem, let us know if you have trouble.

wank!


How to understand the softagg for frame aggregation?

Hi, I've a problem understanding the index of edges when you perform the softagg for the frame aggregation:
net = net + self.agg_ij(net, ii*12345 + jj)
https://github.com/princeton-vl/DPVO/blob/3f65b72dee3c9ed36e7bdb6d106d0ade6d5fc118/dpvo/net.py#L88
In the paper, it is said that frame aggregation is performed on the edges sharing the same source and destination frames. How can it be "ii*12345 + jj"? It will be appreciated if you can explain it a little bit.

The SoftAgg block aggregates edges with the same value in the second argument. "ii*12345 + jj" is the same for all edges with the same source and destination frames.

ii*12345 + jj simply maps a pair of integers, i and j, to single unique integer. The value of this number doesn't matter, torch.hash(ii, jj) would work just as well if such a function existed. See https://pytorch-scatter.readthedocs.io/en/1.4.0/composite/softmax.html#torch_scatter.composite.scatter_softmax

It's clear thanks


"Link to an M3u Playlist" Broken in 1.7.3

As soon as I add my URL the page displays "Unfortunatley, Cumulus TV has stopped"
Can add more details if needed

Okay. It's probably a parser issue. The crash report should provide enough
information to offer a fix.
On Jan 29, 2017 11:03 AM, "cumulususer"<EMAIL_ADDRESS>wrote:
As soon as I add my URL the page displays "Unfortunatley, Cumulus TV has
stopped"
Can add more details if needed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Fleker/CumulusTV/issues/247, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI580Sj-o4rCHSdAZ0qeZ77iULoni6fks5rXLhWgaJpZM4Lw05x
.


🐛 [Sonarr] 502 Bad Gateway via Ingress

Which addon?

Addon name : Sonarr
Addon version : <IP_ADDRESS>7

Describe the bug
When opening Sonarr UI from Ingress or Settings, all it shows is 502 Bad Gateway.

It worked fine before the last update.
It works fine with http://ip:port

To Reproduce

Full addon log
[Info] RefreshSeriesService: Updating Young Sheldon
[Info] RefreshEpisodeService: Starting episode info refresh for: [328724][Young Sheldon]
[Info] RefreshEpisodeService: Finished episode refresh for series: [328724][Young Sheldon].
[Info] DiskScanService: Scanning Young Sheldon
[Info] DiskScanService: Completed scanning disk for Young Sheldon
[Info] ExistingMetadataImporter: Found 0 existing metadata files
[Info] ExistingSubtitleImporter: Found 0 existing subtitle files
[Info] ExistingOtherExtraImporter: Found 0 existing other extra files
[Info] ExistingExtraFileService: Found 0 possible extra files, imported 0 files.
2023/03/18 23:12:19 [error] 479#479: *4 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123"
[18/Mar/2023:23:12:19 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.3 (io.robbie.HomeAssistant; build:2023.455; iOS 16.4.0) Mobile/HomeAssistant, like Safari)
2023/03/18 23:13:56 [error] 479#479: *6 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123"
[18/Mar/2023:23:13:56 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.3 (io.robbie.HomeAssistant; build:2023.455; iOS 16.4.0) Mobile/HomeAssistant, like Safari)
2023/03/18 23:14:53 [error] 479#479: *8 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123"
[18/Mar/2023:23:14:53 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.3 (io.robbie.HomeAssistant; build:2023.455; iOS 16.4.0) Mobile/HomeAssistant, like Safari)
[Warn] DownloadMonitoringService: Unable to retrieve queue and history items from Qbittorrent
[v<IP_ADDRESS>7] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with qBittorrent.
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean reauthenticate) [0x00172] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:450
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.ProcessRequest (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00055] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:372
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.GetApiVersion (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00012] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:70
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector.FetchProxy (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x0001e] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:90
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector+<>c__DisplayClass7_0.<GetProxyCache>b__0 () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:82
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x000b1] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Cache\Cached.cs:104
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector.GetProxyCache (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean force) [0x00049] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:82
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector.GetProxy (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean force) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:65
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.get_Proxy () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:45
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.GetItems () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:217
  at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads (NzbDrone.Core.Download.IDownloadClient downloadClient) [0x0000c] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\TrackedDownloads\DownloadMonitoringService.cs:93
2023/03/18 23:18:52 [error] 479#479: *10 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123"
[18/Mar/2023:23:18:52 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.3 (io.robbie.HomeAssistant; build:2023.455; iOS 16.4.0) Mobile/HomeAssistant, like Safari)
2023/03/18 23:20:22 [error] 479#479: *12 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123", referrer: "http://<IP_ADDRESS>:8123/db21ed7f_sonarr_nas"
[18/Mar/2023:23:20:22 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
2023/03/18 23:20:41 [error] 479#479: *14 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123", referrer: "http://<IP_ADDRESS>:8123/hassio"
[18/Mar/2023:23:20:41 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
2023/03/18 23:20:46 [error] 479#479: *14 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123", referrer: "http://<IP_ADDRESS>:8123/hassio"
[18/Mar/2023:23:20:46 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
2023/03/18 23:21:10 [error] 479#479: *17 connect() failed (111: Unknown error) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /sonarr HTTP/1.1", upstream: "http://<IP_ADDRESS>:7878/sonarr", host: "<IP_ADDRESS>:8123", referrer: "http://<IP_ADDRESS>:8123/db21ed7f_sonarr_nas"
[18/Mar/2023:23:21:10 +0100] 502 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET /sonarr HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
[Warn] DownloadMonitoringService: Unable to retrieve queue and history items from Qbittorrent
[v<IP_ADDRESS>7] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with qBittorrent.
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean reauthenticate) [0x00172] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:450
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.ProcessRequest (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00055] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:372
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxyV2.GetApiVersion (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00012] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxyV2.cs:70
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector.FetchProxy (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x0001e] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:90
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector+<>c__DisplayClass7_0.<GetProxyCache>b__0 () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:82
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x000b1] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Cache\Cached.cs:104
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector.GetProxyCache (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean force) [0x00049] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:82
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxySelector.GetProxy (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean force) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxySelector.cs:65
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.get_Proxy () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:45
  at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.GetItems () [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:217
  at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads (NzbDrone.Core.Download.IDownloadClient downloadClient) [0x0000c] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Download\TrackedDownloads\DownloadMonitoringService.cs:93

Full addon config
PGID: 0
PUID: 0
cifspassword: ""
cifsusername: ""
networkdisks: ""
localdisks: EXT4
System

Supervisor version: 2023.03.1
Host system version: 9.5

Thanks I'll push a correction  now

Fixed, thank you!


ENH: api.Request.get: validate key against the DSD, allow key arg to be a dict

This would make the API more usable. One could write something like:
data=estat.get(resource_type0'data', resource_id='une_rt_a', key=dict(GEO='DE+FR'))
The get method should then download the DSD and construct the key string such as '.DE+FR...'.

I forgot to mention that validation of the kw args in the dict requires to download also the codelists and content-constraints of this dataflow.

Largely closed in v0.3.0


The searchSong() method is not working properly with special characters.

Special characters present in a search query such as "&" are not properly encoded with the encodeURI() method present inside of the searchSong() method.
For example ;
the requested song :  Safe & Sound by Taylor Swift
will return the song:  It Ain't Safe by Skepta (Ft. A$AP Bari)
Possible fix:
Replace the method encoreURI() with encodeURIComponent(). This change will make the above example return the good song. However, I didn't do a large test sample to ensure the effectiveness of this change for different combinations of songs and special character like (&, ?, etc.)

Thanks for reporting. Fixed in https://github.com/farshed/genius-lyrics-api/commit/ec8020bd31f22757d16e7eb9b9b3d888ea4bd840

Thanks for reporting. Fixed in https://github.com/farshed/genius-lyrics-api/commit/ec8020bd31f22757d16e7eb9b9b3d888ea4bd840


RIA-5532

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RIA-5532
Change description
Adding move application to decided event
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

closing