[feat] Implement --dependents flag for describe command

This flag requires the --name flag to be used, given it
it'll will output the dependents on the modules
filtered on by the name flag.
Closes #28

@buddyspike still pretty much a work in progress I think, but do you have any comments regarding how I went about implementing it 😬 before I move the the adding the grouping/colouring behaviour in the dot_serializer

@ojizero Sorry about the lag in my response.
I think this should work. However, we could simplify this and make it a little bit consistent with the rest if we make the --dependents flag effective after we apply the name filter. What I mean is, result of FilterByName has the Module with its dependents and dependencies unmodified. We can expand this by using expandRequiredByDependencies (https://github.com/mbtproject/mbt/blob/master/lib/module.go#L141) function.
Let me know what you think.

@buddyspike oops 😅 didn't know about this function ! Yea it would make things much simpler ! I'll switch to using it as it'll make things much cleaner, thx for pointing it out :D

@buddyspike when it comes to the local variant for the command, do you think the dependents flag automatically cause the command to look for modules in the whole workspace (automatically assume all flag) ?
When working on it, I set it to scan all the workspace if either dependents or all are set, do you think this is correct, as it would make querying local workspace more concise?

@ojizero Thanks again for the awesome work. It looks good apart from the minor comments I added above. Could you please also squash all commits into 1? 😄

@buddyspike I made the changes you commented on 😄 I also performed a squash of the commits, but I think I broke Travis after I squashed the commits 😅 (make build is working fine on macOS here)

There are couple of new tests for ApplyFilter on master. If you rebase this commit on master, you will see where the error is. Should be pretty easy to fix 😉.
BTW: Do you have troubles viewing travis build log?

@buddyspike ohh my bad didn't notice the additions on master 😅 actually there are no troubles viewing travis logs, but I was outside home when I saw the error so I didn't have my laptop at my disposal 😅 should be working now


Check non-negative amounts in token contract

What
Check that amount is nonnegative in various token contract methods.
Why
The native token contract doesn't allow negatives in these cases.
Known limitations
n/a

Rebased.


tidy documentation for rgz mongodb

There seems to be two sets of import to mongo from json/bson:
mongo_load_json.sh
docs/rgz_notes.md

Deleted the latter.


Quiesce mode and Stop on Error Automated Test

Story openbmc/openbmc#1033 and openbmc/openbmc#942 deal with a new quiesce mode for error paths and for controlling the automatic reboots of the system during these fails.  This story will track writing automated tests for this function.
Some thoughts:

Disable automatic reboots, force a systemd service to fail during IPL, verify quiesce mode is entered and appropriate error is logged
Disable automatic reboots, force a host watchdog error, verify quiesce mode is entered
Enable automatic reboots, force a host watchdog error, verify quiesce mode is entered, error is logged, and system automatically reboots to OS

I believe Sridevi has a separate story for host checkstop testing, which would also use this function.

@rahulmah  As per discussion in today's call, Assigned to RAhul.

1 story point for analysis.. based on that we will decide on the implementation details estimation.. Thanks

@geissonator : There are two ways to handle quiesce mode in our automation. I prefer the second option. What your say on these?

Create test cases in extended to get the system in quiesce mode(using three scenarios which you have mentioned) and later recover it.
Manually check if the system is going into Quiesce mode using your scenarios. Add a check in automation to check of "quiesce mode" at the end of each test case of the suite (where we expect system to land up in this state). If system has landed up in Quiesce mode, then STOP the entire test automation flow.

Here is the plan for testing this.

[ ] Add a keyword to check "quiesce mode".
[ ] Check quiesce state at the end of all the test case where host is powered ON.
[ ] STOP the entire test automation flow, if system has landed up in Quiesce mode.

[ ] Ensure the Test logs are generated when stopped.

Here is the update on this story:

Manual testing completed. Found one problem - Auto reboot never stops - #1181
All code for automation is ready and up for review.

[ ] Enable test cases for testing Quiesce state - https://gerrit.openbmc-project.xyz/#/c/2684/
[ ] Added keyword to check host reboot. - https://gerrit.openbmc-project.xyz/#/c/2424/
[ ] Fails TC and collect FFDC if host reaches quiesced state at the end test case run. - https://gerrit.openbmc-project.xyz/#/c/2636/
[ ] Added a keyword to check "quiesced state". - https://gerrit.openbmc-project.xyz/#/c/2534/


Set up the python infrastructure

Just the basics for now, including updating the pre-commit setup.

Oh, hold on, forgot to put in basic python CI


guids for git-dependency-resolver conflict with upm-git-extension

Unity 2018.3.02f
upm-git-extension 0.9.1
git-dependency-resolver 1.1.0

GUID [06608ad179f2043e5a26ec668de262d6] for asset 'Packages/com.coffee.git-dependency-resolver/CHANGELOG.md' conflicts with:
'Packages/com.coffee.upm-git-extension/CHANGELOG.md'
We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

Examining CHANGELOG.md.meta (using the github interface) on both the git-depency-resolver and the upm-git-extension repositories shows that they have the same GUID:
guid: 06608ad179f2043e5a26ec668de262d6

Normally Unity would generate a new meta file but because the packages are in the PackageCache, they are immutable.
This error occurs for many files.

Hi @Fuzzy-Logik
Thank you for your reporting.
I will fix them ASAP. :)

Hey, I didn't want to open a new issue but release 1.1.1 is broken. Many files are missing, such as the asmdef and the entire Editor folder.
Also thanks for the tools! They are useful.

Oh, sorry...

I released 1.1.2.
Please try it!

I installed 1.1.2 and everything appears to be OK now. Thanks
It installs without any warnings or errors.

:+1:


Testing controllers with directives

Can you add an example of how to test a directive that relies on a controller?  For example your app/about/about_directive.js uses the controllerAs syntax.  I can't work out how to inject and test them together.

Just had to include the controller

Heh, nice. Self-fixed issues are the best


How do you change dendron preview theme with custom css ?

Which docs page should be improved?
https://wiki.dendron.so/notes/0fbg5vbv5jzb0623pbi4v3t/
Which area does your issue apply to?

[ ] Basics: Fundamental Dendron features, installation, getting started etc.
[ ] Editing: Editing your notes, Markdown, frontmatter, images, templates, links, note refs, etc.
[ ] Retrieving: Finding your notes, lookup, lookup modifiers, etc.
[ ] Navigating: Navigating across notes, graph view, go to shortcuts, etc.
[ ] Organizing: Maintaining your notes, hierarchies, schemas, journals, tags, users, tasks, special notes, vaults, workspaces, multi-vault, etc.
[ ] Refactoring: Restructuring your notes, Dendron Doctor, refactor hierarchy, move/rename notes, rename header, etc.
[ ] Sharing: Publishing and sharing your notes, git, team workflows, etc.
[ ] Transferring/syncing: Importing/exporting your notes, pods, etc.
[ ] Extending note and workspace functionality, note type system, note traits, hooks, custom pods, etc.
[ ] Dendron community
[X] Other (please describe in the issue description below)

What should be fixed/improved?

[ ] Fix outdated docs
[ ] Extend docs (tutorials, workflows, etc.)
[ ] Add docs (new features, etc.)
[ ] Clarification needed
[ ] Add/update screenshots
[ ] Fix broken formatting, wikilink, and/or note references
[X] Other (please describe in the issue description below)

Issue description
I followed what's stated and it just doesn't do anything.
Suggested fix, improvements or additions
No response

I modified dendron.yml by adding theme: custom under the preview field, and added a custom.css file with the given example, then reloaded dendron preview and nothing happened.


moduleFileExtensions: confusing documentation

A couple issues with the documentation for moduleFileExtensions, IMO:

I think it should be mentioned that the priority order of the array of file extensions is left-to-right, i.e. Jest will look for the first file extension in the array, then the second, and so on.

Currently the documentation says "if you are using TypeScript this should be ["js", "jsx", "json", "ts", "tsx"], check ts-jest's documentation." I am curious about this because I would think you would want Jest to look for ts and tsx files first, not last. So I clicked the link to look at ts-jest's documentation, to see the justification for this recommendation, and I found nothing.

I think it should be mentioned that the priority order of the array of file extensions is left-to-right

Sure, that makes sense. Wanna send a PR for it? 🙂

I am curious about this because I would think you would want Jest to look for ts and tsx files first, not last.

I can see where you're coming from, happy to update it! Note that since the next version of Jest support TS out of the box, we should update our own code as well. See https://github.com/facebook/jest/blob/c24f75191ef09bb72018f3649d1590cfca24b163/packages/jest-config/src/Defaults.js#L48

Hi Simen, sorry for the delay, I would happy to put in a PR for this, but since I am not a seasoned Jest user I was hoping to get someone to explain the logic behind the current prescription "if you are using TypeScript this should be ["js", "jsx", "json", "ts", "tsx"]"...perhaps there is a good reason for this order that I am missing?
If I were to submit a PR I would want to change the extension order to [ 'ts', 'tsx', 'js', 'json', 'jsx', 'node'], but I just want to make sure that I understand the logic behind the current order. Based on the commit history I'm not sure who the original author was.
(Also, thanks for changing the "Bug" label to "Documentation", I would have done that when opening the issue but it is not an option when creating a new issue.)

Please close this issue if the issue is resolved.
Thank you.


[explore] Update error messages

show topics in the error message (only for cases where the only tile returned is a place overview tile)
put in the url for the response form
also fixed css problem with sticky search bar

thanks for the review!


Better handling of empty domains for nice scales.

This addresses #337.

Nice, thank you! I tweaked your implementation a bit to isolate the change to d3_scale_nice.


Cross-Compiling Rust cdylibs with clang as the linker is likely broken

It seems Rust ignores -Clink-args and does not pass them to the linker driver for cdylibs.
When cross-compiling with clang as the linker driver, this leads to the --target argument missing.
Todo: Build minimal example, report upstream and then evaluate if this is an upstream oversight or if there is a reason behind this.

Needs more investigation, current description seems to broad. Closing until I can reproduce without corrosion


[2.2] Drafting Software Design Diagrams

Issue Details
Description
This Main Task is for the team to create a draft of our Software Design Diagrams with the knowledge we have now and update it along the way.
Goals
Have a a draft of a Class Diagram, a Component Diagram and 2 Sequence Diagrams.
Success or Completion Criteria

[x] #103
[x] #114
[x] #123
[x] #118
[x] #130
[x] #141

Allocated Time
14 Days
Start Date: 26/09/23, 0900
End Date: 13/10/23, 2359

Issue Comments
Description
All the Tasks have been Completed.
Changes to success or completion criteria? y/n (if y, describe)
No Changes, Criteria Completed!
Start Date: 26/09/23, 0900
End Date: 13/10/23, 2359


import of m2m relations failing in django 2

TypeError: Direct assignment to the forward side of a many-to-many set is prohibited. Use m2m_field.set() instead.

I have the same issue with m2m widget in django 2.


RHBPMS_2051, 350: Fix display of i18n process and element names in si…

…mulation tab

+1

-1, sorry, test missing for fix in SimulationServlet. I do understand the desire to not test this given the convoluted logic in doPost (which also badly needs code formatting fixed) but we need to try and clean this up.

@csadilek  Thanks for the reminder! Unit test added - its omission was just an oversight. We're looking into reformatting the code as there are other files in designer which also need it.

+1


Fix virtual machine restore rejected by webhook

Signed-off-by: liuminjian<EMAIL_ADDRESS>
What this PR does / why we need it:
i have a vm with runStrategy RerunOnFailure and i create a online snapshot.  i fail to restore the vm because the snapshot restore controller will set the Spec.Running false. the webhook refuses to set Running and RunStrategy at the same time.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

@xpivarc Can this fix be merged into the branch

@ShellyKa13 @rmohr Can you have a look please?
/lgtm

/lgtm cancel
@liuminjian Would you be able to add a test cases similar to https://github.com/kubevirt/kubevirt/blob/main/tests/storage/restore.go#L269 & https://github.com/kubevirt/kubevirt/blob/main/tests/storage/restore.go#L228?

I needed those fixes in my PR: https://github.com/kubevirt/kubevirt/pull/6839
and I already added there testing for those fixes. so either my PR passes and this PR is redundant or you can copy the tests and if this PR will be merged first Ill just remove the first commit in my PR

I needed those fixes in my PR: #6839 and I already added there testing for those fixes. so either my PR passes and this PR is redundant or you can copy the tests and if this PR will be merged first Ill just remove the first commit in my PR

ok，use your pr and this pr can be closed

/close

ok，use your pr and this pr can be closed

@liuminjian @ShellyKa13 thanks to both of you for addressing this issue :)


Add proxmox cloud provider

What this PR does / why we need it:
This is the first part of implementing proxmox as a new cloud provider in KKP.
Reference: https://github.com/kubermatic/kubermatic/issues/9406
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #1325
Special notes for your reviewer:
Proxmox support is experimental and more a tech demo than anything close to being production ready. There are quite a few assumptions made about the Proxmox setup which need to be handled later on with follow-up tasks making things configurable.
TODO:

[x] Initial Testing
[x] Create MachineDeployment example yaml
[x] Improved docs
[x] Add release notes to PR
[x] Some refactoring/clean-up (deferred to after succesful testing)
[x] Node selection: Random pick from nodes with sufficient resources
[x] Cloud-init user-data

Optional Release Note:

Proxmox VE cloud provider support (experimental)

@dermorz please update the what-works section by adding there Proxmox and highlight that it's a technology preview. Could you as well change KubeVirt (experimental) to KubeVirt (Technology Preview)?
Maybe this section needs to be refreshed  a little bit to be more readable, but not in that PR maybe.

@dermorz I forgot about this before, but would it be possible to add a Prow for e2e testing?


Add an error message when the same bridge is used in multiple threads

The root of the problem in #442

Bridges are now thread safe


Imported WIP component to PaginationTemplate

Describe your changes
Imported the WorkInProgress component to the PaginationTemplate component.
Screenshots - If Any (Optional)
Issue ticket number and link - If Any
#108
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Followed the repository's Contributing Guidelines.
[x] I ran the app and tested it locally to verify that it works as expected.
[x] I have checked my code with an automatic accessibility tool such as Axe Dev Tools or Wave
and it shows no errors.

Additional Information (Optional)
Any additional information that you want to give us.

Thanks so much for your contribution!


Refactor

Changed Person, Address, Phone, Email classes to Medicine, Company, Quantity, Expiry classes respectively.
Changed test case data to better suit MediTabs such as using medicine names instead of person names.
No change to functionality except for regex validation which was changed to suit the new fields.

Not ready for review


Add link unfurling for deno.land urls

This is especially noticeable for deno.land/x modules that are linked through slack/discord. There's no preview (link unfurling) happening as far as I can tell with any links coming from deno.land, but unfurler does give results for opengraph and twitter:
https://unfurler.com/?url=https:%2F%2Fdeno.land%2Fmanual

I would like to take this?

@smkamranqadri Thanks for the offer, but we had this previously, but removed it again. Before adding this again we need to decide exactly what we want.

Noted with thanks, let me know if I can be any help.

This has been addressed.


Alarm Entity on event alarmo_failed_to_arm

Checklist

[ x] I checked for similar existing requests (both open and closed) before posting.
[ x] My request is generic, other users may benefit from it too.

Proposal
I want to create an HA automation base on event alarmo_failed_to_arm as suggested by documentation.
unfortunately, i have 3 different alarmo entities and i'm not able to understand which entity triggered the event; what i would like to do is an automation that takes different actions according to which entity failed to arm.
Additional info
this is the current event structure that i see from event listener of HA, and in which i cannot find any reference to the entity which triggered it:
event_type: alarmo_failed_to_arm
data:
  command: arm_home
  context_id: null
  area_id: "1729684807"
  reason: open_sensors
  sensors:
    - binary_sensor.papa_porta_ingresso_contact
origin: LOCAL
time_fired: "2024-10-31T16:30:33.499870+00:00"
context:
  id: 01JBHPM5GVBK1GQWK76YWG26CG
  parent_id: null
  user_id: null

Try {{open_sensors}} in the reason line

Try {{open_sensors}} in the reason line

Not sure on how and if it make sense.
"open_sensors" is actually the value of the field "reason" so i do not think it's expandable.
I tried this automation:
alias: Fail to Arm
description: ""
triggers:
  - trigger: event
    event_type: alarmo_failed_to_arm
    event_data: {}
conditions: []
actions:
  - action: input_text.set_value
    metadata: {}
    data:
      value: "{{trigger.event.data.reason}}"
    target:
      entity_id: input_text.alarmo
mode: single

what i get in the helper input_text.alarmo is indeed open_sensors

i still haven't found a solution.


fix: use correct import on react hooks template for server imports

The @wundergraph/sdk import does not resolve  RequestOptions, MutateRequestOptions, SubscriptionRequestOptions, and Response  functions. These functions can be found at @wundergraph/sdk/server

Motivation and Context
Working on generating client and realized that the imports could not be resolved on the template.

Marketing Changelog

Corrected import on React Hooks template.

Checklist

[ ] run make test
[ ] PR title must follow conventional-commit-standard
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Code of conduct

cc @Pagebakers

Thanks for the PR @RayHughes, we don't recommend using this code any longer, it will be removed in future releases. And recommend using the SWR or React Query client (separate packages) instead.
It'd be better to also not import from /server in here or at least use import type {} to make sure only types get imported here and no other server code.

Definitely, please follow these instructions (apply to expo, but also regular react native)
https://docs.wundergraph.com/docs/getting-started/expo-quickstart

Thanks for the PR @RayHughes, we don't recommend using this code any longer, it will be removed in future releases. And recommend using the SWR or React Query client (separate packages) instead.
It'd be better to also not import from /server in here or at least use import type {} to make sure only types get imported here and no other server code.

Pagebreakers,
WG/SWR or the actual SWR library. We're having trouble getting our generated client to work in RN


Server crashes with mod

Additional context

Minecraft version: 1.17.1
Fabric-Discord Link version: 0.9.6
Error: https://paste.srnyx.xyz/riqefenulo.sql
:exclamation: A list of all mods you were using: https://github.com/srnyx/mc-server-templates/tree/main/Fabric 1.17.1/mods

fdlink.json
Default

What version of fabric loader do you have?

Please use latest version of fdlink which is 0.9.8


support/20220809 CAL update

📝 Description
CAL update
❓ Context

Impacted projects: `` ledgerjs, lld & llm
Linked resource(s): `` crypto-assets repo

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo
n/a
🚀 Expectations to reach
n/a

@gre there was a diff in screenshots apparently: https://github.com/LedgerHQ/ledger-live/pull/887#issuecomment-1209516228
I don't think it's expected from this PR so no idea why it happened... another flakiness?


move opening index file after deleting in case refresh flag is passed…

…, otherwise it wont rebuild it since it gets no error before deleting the old index file , also refactored search handler a little bit

Thanks, it makes sense! this was really helpful.


Release 0.10 with changelog

Branch failure appears to be due to the Multi Branch pipeline rule which won't create a branch build if a PR build exists. We can probably tweak this so it's not an issue the next time we release.


Update install-linux.html.md.erb

Using the original instructions on my Ubuntu 14.04.1 LTS digital ocean 2G droplet did not work.
I worked through the issues and updated the documentation to represent what worked and adjusted some sections that lead to confusion when following the steps from top to bottom command by command.

Thanks for the edit. They look great! Would you please go over the inline comments before we merge?

Thanks! Merging.


Release support for PSv2

Thanks to contributions from @jberezanski the module now supports PowerShell v2 and newer!

@heaths,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Build vssetup.powershell 1.0.59+g06ed58314f completed (commit https://github.com/Microsoft/vssetup.powershell/commit/06ed58314f by @jberezanski)


[Codelab Issue] Testing Codelab 5.2, Step 6 - Typo

Describe the problem
There's a typo, on step6.
...
For StatisticsViewModel and AddEditTaskViewModel, update the code that acquires the repository to use the repository from the TodoApplication.
TasksFragment.kt -> I think this shoud be removed
...
In which lesson and step of the codelab can this issue be found?
Advanced Android in Kotlin 05.2: Introduction to Test Doubles and Dependency Injection
Step 6

Done, thanks!


mising article: grid services

https://library.threefold.me/info/manual/#/getstarted/manual__manual3_tfservices

https://github.com/threefoldtech/info_grid/commit/d3bfe8de553a1ec9cce6f09eddeb0d00c84a31da


Game auto-kills itself after error breakpoint is reached, if an array contains itself

Godot 3.1.1
Windows 10 64 bits
When debugging an app I was making with Godot, I made a mistake (calling a contains function which doesn't exists) which the debugger pointed me at when I run it. However, quickly after that, the app just closes. I think it's not supposed to do that, it looks like a silent crash.
The app doesn't close if I repro the same mistake straight in _ready(), so I posted a redux of my project with a case where it happens.
GraphRelax_redux_debuggerCrash.zip
Just run the main scene.
Note: after I fix the mistake, the debugger no longer breaks, the game hangs and still quits with no info at all.
It looks like fname, a var supposed to contain a string, is getting corrupted, because if I just try to print it the game also crashes.
Here is why:
				func_names.append(func_names)

Fortunately that app was small.

Running locally on 3.2, I get the following error in terminal:
CrashHandlerException: Program crashed
ERROR: NetSocketPosix::_get_socket_error: Socket error: 10054
At: drivers\unix\net_socket_posix.cpp:197
Can confirm the graph.gd line 44 is where things stop. The var func_names is an empty array of size=0.
What is the expected behaviour if trying to append a var of size=0? Should the Debugger provide a warning?

This happened because I mistakenly inserted an array inside itself, which in Godot will create a reference cycle, leaking memory. Even worse, since array comparison uses values inside it (instead of reference), it might hang forever if performed at any point.
This situation is something the debugger should be able to warn about, however this crashed the game with no possibility for the debugger to even show that.
As for the app, I mistakenly used the wrong variable.

Duplicate of #1289?

It appears related to #1289. The same thing happens if the var array has data elements or if it's empty.
The self-reference triggers a kernel access violation in a dynamic process.  Thread synchronization breaks as data is locked causing current thread to exit.

Closing as duplicate of #1289.


[Power Apps Custom Domains] When will support for AES encryption on the SSL certs be added?

This page notes that TripleDES encryption is required for the custom domain SSL cert and that AES encryption is not supported.  However, TripleDES is considered less secure than AES.  Is there a reason for this limitation and/or a timeline for supporting AES?  The document does not mention either way.   A customer ran into this issue and had to do manual work to adjust their newly renewed certificate from AES to TripleDES to make the Power Apps portal happy, but they consider it a security risk and want to avoid it in a year's time when the cert will renew again.

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

ID: ce8c6740-12c2-5a24-9c67-55f8485fe957
Version Independent ID: 1225db21-8bd8-ba23-ccb6-e659d92bf40b
Content: Add a custom domain name - Power Apps
Content Source: powerapps-docs/maker/portals/admin/add-custom-domain.md
Service: powerapps
Sub-service: portals
GitHub Login: @neerajnandwana-msft
Microsoft Alias: nenandw

Thanks for your comment, @chadsowald. This issue has been assigned to the doc author for review.


Support for raw(?) EC private keys

I'm not sure what the actual name of the format is, but EC keys are often generated in a non-PKCS8 format by default, e.g., with
$ openssl ecparam -out core/src/test/resources/com/linecorp/armeria/internal/crypto/pkcs1.key -genkey -name prime256v1

and currently Armeria can't load them. It'd be nice if it could. Not sure the ideal way, but I've found that converting to PKCS8 when there's an error works ok, but quite gross...
https://github.com/curioswitch/curiostack/blob/master/common/server/framework/src/main/java/org/curioswitch/common/server/framework/armeria/SslContextKeyConverter.java

I guess a better place to fix this is io.netty.handler.ssl.PemReader and its callers.

PemReader currently simply ignores the EC PARAMETERS part.

Ah my example should have been more clear - AFAIU, the EC PARAMETERS don't need to be present at least for TLS, and many libraries like golang's key generation don't output it at all. But even with removing that block from the openssl output, it doesn't parse since the actual key is not in PKCS8.

Ah I see. But still, it would be nicer if Netty handles this somehow because it has the code that converts a file into a PrivateKey object.

@anuraaga @trustin I was just looking into this issue to see if I can contribute, and looks like this functionality(EC keys) is added at netty. Am I right?

I guess this issue may be a duplicate of #1985? It's not EC but PKCS12 that causes the problem IIUC.

Oh yeah. My bad.


Use the correct way to get Kotlin source directory set in AGP

Finished by https://github.com/apollographql/apollo-kotlin/commit/b989201d1a589118afd22073a4a9870ca5737dab


Error parsing hng6

Describe the bug
A clear and concise description of what the bug is.
Error thrown when calling pycantonese.parse_jyutping('hng6')
To reproduce
Steps to reproduce the behavior, including the complete stack trace if possible:
pycantonese.parse_jyutping('hng6')
Expected behavior
A clear and concise description of what you expected to happen instead.
Should return [Jyutping(onset='h', nucleus='ng', coda='', tone='6')]
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

Operating System: [e.g. Windows, MacOS, Linux]
PyCantonese version: [What you see after you run import pycantonese; print(pycantonese.__version__)]

Additional context
Add any other context about the problem here.

https://github.com/Keith-Hon/pycantonese/commit/241b5215feb29651cef107321485233b0d3fa63e

same error on version 3.4


PHP Fatal error:  Allowed memory size of X bytes exhausted

running the default php command (version 5.6.25) the laravel phpunit test runner will not even begin to run the tests as memory is exhausted in the composer post install commands. Anyone run into this issue before and know how to resolve it?
Also: anyone know how to parallelize the builds, i would like to run every single test class in tis own test runnder immediately to avoid memory leak issues and take our test runner for 20 minutes to under 1 minute
here is my .lambci.json (nothing crazy)
{
  "cmd": ". ~/init/php 5.6.25 && composer install -n --prefer-dist && vendor/bin/phpunit"
}

@Jonnx are you running a standard LambCI setup? If so, you'd be on the max Lambda memory setting which is 1.5GB
I haven't run into any problems building Laravel itself, see here for an example: https://lambci-public-buildresults-e3xwlufrwb3i.s3.amazonaws.com/gh/mhart/test-ci-project/builds/152/8e5c0245bf1a6275ab8394201adec811.html

yea we have had this same problem on circle ci. really strange we must be doing something wrong. we built a custom test runner script to deal with that issue but its never come up in the composer post update / install steps before.

Is something doing an ini_set somewhere to restrict it?
I wonder if adding ini_set('memory_limit', -1); to the failing script would work?

figured out how to solve the issue.

removed the composer post updated / install command entries
ran the php artisan optimize in the runner script instead of the composer.json
upped the phpunit memory limit to 2gb with the -d switch

{
  "cmd": ". ~/init/php 5.6.25  && composer install --dev && composer dumpautoload && php artisan optimize && php artisan route:scan && vendor/bin/phpunit -d memory_limit=2048M"
}

reopened by mistake, sorry

All good, glad you got it working! 👍


Feature Request: Make the Connect Dialog responsive

Is your feature request related to a problem? Please describe.
Our app creates an iframe on the end user's webpage. We are using Wagmi for wallet connection.
We found when Coinbase Wallet is not installed, the connect dialog below will pop up. The iframe we areated is a fixed size modal, as a result, the dialog box is cropped, and what's worse is the close button is outside the viewport, so user won't be able to close the dialog.

Describe the solution you'd like
Make the connect dialog responsive to window size.
Describe alternatives you've considered
In our case, we when user clicks Coinbase Wallet, and it's not installed, we direct user to the coinbase wallet download page: https://www.coinbase.com/wallet/downloads
Additional context
No response

:wave: Hello @bohan-circle thanks for reporting. We'll add this to the queue.

@bohan-circle We'd be happy to look into this for you.
Kindly file a support ticket here
https://forms.gle/xABEcR5MwDBJAm1c6

@bohan-circle We'd be happy to look into this for you
Kindly file a support ticket below
https://forms.gle/VcaSaDQysAwZBQp77

Hello, how is this progressing? I have the same issue

the iframe component has been deprecated. please try sdk 4.0


camel-amq karaf quickstart - Requires amq broker

If you run this standalone without installing the amqbroker app first then you get
2015-06-16 12:28:36,198 | INFO  | pool-7-thread-1  | MQs                              | 90 - io.fabric8.mq.client - 2.1.11 | Connecting to ActiveMQ broker on <IP_ADDRESS>:61616 from $FABRIC8MQ_SERVICE_HOST and $FABRIC8MQ_SERVICE_PORT. To use a different broker service please specify $FABRIC8MQ_SERVICE_NAME=someBrokerServiceName where 'someBrokerServiceName' is a defined ActiveMQ broker service in Kubernetes
2015-06-16 12:28:36,198 | INFO  | pool-7-thread-1  | MQs                              | 90 - io.fabric8.mq.client - 2.1.11 | BrokerURL is: failover:(tcp://<IP_ADDRESS>:61616)
2015-06-16 12:28:36,249 | INFO  | pool-7-thread-1  | XPathBuilder                     | 69 - org.apache.camel.camel-core - 2.15.2 | Created default XPathFactory com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl@67b2878
2015-06-16 12:28:36,327 | INFO  | pool-7-thread-1  | BlueprintCamelContext            | 69 - org.apache.camel.camel-core - 2.15.2 | Route: file-to-jms-route started and consuming from: Endpoint[file://work/jms/input]
2015-06-16 12:28:41,704 | WARN  | ActiveMQ Task-1  | FailoverTransport                | 87 - org.apache.activemq.activemq-osgi - 5.11.1 | Failed to connect to [tcp://<IP_ADDRESS>:61616] after: 10 attempt(s) continuing to retry.
2015-06-16 12:32:47,583 | WARN  | ActiveMQ Task-1  | FailoverTransport                | 87 - org.apache.activemq.activemq-osgi - 5.11.1 | Failed to connect to [tcp://<IP_ADDRESS>:61616] after: 20 attempt(s) continuing to retry.

The documentation of this quickstart should better instruct the user in what order to do what and what to ensure is installed

how we need to mock kubernetes AMQ  service in junit??


When adding to a previous line in a multi-line text field, the cursor doesn't advance and empty spaces are not showing

This bug was fixed with v1.12.13 + hotfix.5.  But the bug started again with v1.12.13 + hotfix.7.

Hi @hkndzdr
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you

This bug was fixed by https://github.com/flutter/flutter/commit/6b66d794360bb7d3ff7bf2f6dfbcbd58516c3f20.  But it was reintroduced when that change was reverted (https://github.com/flutter/flutter/commit/d345a3b303ce041846ff895eb49a104bef133c4b).
@GaryQian any updates on this?

This bug was fixed by 6b66d79. But it was reintroduced when that change was reverted (d345a3b).
@GaryQian any updates on this?

The bug still continues with v1.12.13+hotfix.8

@GaryQian did you ever reland that reverted change? Do you have plans to do so?

Related to https://github.com/flutter/flutter/issues/40095

/cc @justinmc FYI

Also related to https://github.com/flutter/flutter/issues/30975.

Is this working now that https://github.com/flutter/flutter/issues/40095 is closed?

Yes, just tried with Android 9 device, it still occurs with stable 1.17.5, but doesn't with current beta 1.19.0-4.3.pre and master 1.20.0-8.0.pre.75. Closing as fixed


Switch to using OpenAPI Specification for API documentation (Swagger)

This will speed up and simplify the process of adding docs for new endpoints - the current custom solution is very time consuming to maintain.
https://swagger.io/resources/articles/documenting-apis-with-swagger/

after some investigation I think I prefer the blueprint API approach and there are many tools that can produce html from the blueprint API

moved to notion


Since Spike is offline can't get data through Tomato app

This is strange, I got my workaround: the NS website IS working!
The Tomato app seems to upload it to Nightscout.
But only the NS menubar can't get it from the Heroku server anymore? link hasn't changed and it supposed to get data through Nightscout anyway.. please explain why it cant get the data?
Many Thanks,
Jules

Same issue here...

Same happens to me... any solution please?

Yes, do not use tomato because it sends malformed data.
Use xDrip installing TestFlight app on your iPhone and then use this link
https://testflight.apple.com/join/6ZqKUGpm
Hope it helps.
Daniel
karimbrowns<EMAIL_ADDRESS>escreveu no dia segunda, 4/05/2020
à(s) 12:53:

Same happens to me... any solution please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623418692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUKN7LXFK7RTXVGG5TOHG3RP2UDHANCNFSM4HFRYZGQ
.

Yea.. but i am using libre2 now... and miao2. Whats the best option? Spike
not work... tomato very bad... xdrip not working...
Atentamente, Karim Adam Boudoucha.
El lun., 4 may. 2020 a las 14:13, Daniel Costa<EMAIL_ADDRESS>escribió:

Yes, do not use tomato because it sends malformed data.
Use xDrip installing TestFlight app on your iPhone and then use this link
https://testflight.apple.com/join/6ZqKUGpm
Hope it helps.
Daniel
karimbrowns<EMAIL_ADDRESS>escreveu no dia segunda, 4/05/2020
à(s) 12:53:

Same happens to me... any solution please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623418692
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ACUKN7LXFK7RTXVGG5TOHG3RP2UDHANCNFSM4HFRYZGQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623427547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL65G4M2ABJNZCZPYGTR7X3RP2WPNANCNFSM4HFRYZGQ
.

I just have both libre 1 and miaomiao 1, so I am not the right person to
answer. Lets hope that somebody steps in to help you... otherwise, you will
have to look forward for better supported bundle to keep your life easier.
Sometimes being up to date causes this kind of issues...
karimbrowns<EMAIL_ADDRESS>escreveu no dia segunda, 4/05/2020
à(s) 14:26:

Yea.. but i am using libre2 now... and miao2. Whats the best option? Spike
not work... tomato very bad... xdrip not working...
Atentamente, Karim Adam Boudoucha.
El lun., 4 may. 2020 a las 14:13, Daniel Costa<EMAIL_ADDRESS>
)
escribió:

Yes, do not use tomato because it sends malformed data.
Use xDrip installing TestFlight app on your iPhone and then use this link
https://testflight.apple.com/join/6ZqKUGpm
Hope it helps.
Daniel
karimbrowns<EMAIL_ADDRESS>escreveu no dia segunda,
4/05/2020
à(s) 12:53:

Same happens to me... any solution please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623418692

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ACUKN7LXFK7RTXVGG5TOHG3RP2UDHANCNFSM4HFRYZGQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623427547
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AL65G4M2ABJNZCZPYGTR7X3RP2WPNANCNFSM4HFRYZGQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623462771,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUKN7OZD56QECGKNM4JS7LRP27BRANCNFSM4HFRYZGQ
.

Alright. Thank you for your help. Have a good day!!
Atentamente, Karim Adam Boudoucha.

El 4 may 2020, a las 17:20, Daniel Costa<EMAIL_ADDRESS>escribió:

I just have both libre 1 and miaomiao 1, so I am not the right person to
answer. Lets hope that somebody steps in to help you... otherwise, you will
have to look forward for better supported bundle to keep your life easier.
Sometimes being up to date causes this kind of issues...
karimbrowns<EMAIL_ADDRESS>escreveu no dia segunda, 4/05/2020
à(s) 14:26:

Yea.. but i am using libre2 now... and miao2. Whats the best option? Spike
not work... tomato very bad... xdrip not working...
Atentamente, Karim Adam Boudoucha.
El lun., 4 may. 2020 a las 14:13, Daniel Costa<EMAIL_ADDRESS>
)
escribió:

Yes, do not use tomato because it sends malformed data.
Use xDrip installing TestFlight app on your iPhone and then use this link
https://testflight.apple.com/join/6ZqKUGpm
Hope it helps.
Daniel
karimbrowns<EMAIL_ADDRESS>escreveu no dia segunda,
4/05/2020
à(s) 12:53:

Same happens to me... any solution please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623418692

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ACUKN7LXFK7RTXVGG5TOHG3RP2UDHANCNFSM4HFRYZGQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623427547
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AL65G4M2ABJNZCZPYGTR7X3RP2WPNANCNFSM4HFRYZGQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mddub/nightscout-osx-menubar/issues/17#issuecomment-623462771,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUKN7OZD56QECGKNM4JS7LRP27BRANCNFSM4HFRYZGQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


How to use laptop to connect create3 directly through USB cable or network cable？

hI,
I want to use the create3 through laptop,and How to connect create3 through cable, because tf conversion delay often occurs when using wifi.

I follow the guide to setting the robot.It is work to ping <IP_ADDRESS>,but it can't navigate to <IP_ADDRESS> in browser.At the same time，I can't find the base topic when I run the code : ros2 topic list

It's the network cable's problem. when I use the cat5 ethernet cable replace the cat6 ethernet cable，it work. And only with the 100Mbps RJ45 Internet Adapter can it work.

One more thing, remember to use Google Chrome instead of Firefox to log in to <IP_ADDRESS>.


fix(request-transformer): unpredictable overriding result from rename header to existing header caused by pairs disorder

Summary
This PR fixes a bug in the request-transformer plugin, where the rename header cannot override an already existing header steadily.
If a header A-header already exists with a value A-value in the request, and the request-transformer plugin is configured to rename B-header(with a value B-value) to A-header(with different format, like all chars are capitalized), then the upstream request will contain an A-header with possibly A-value or B-value. This unpredictable behaviour may caused by pairs function disorder behaviour(Again!).
The code flow is as follows:
A header table is fetched by ngx.req.get_headers and used later for storing upstream request headers
https://github.com/Kong/kong/blob/c33d745793b454ab27d9681562fadbccbc454a1b/kong/plugins/request-transformer/access.lua#L186
Then the rename header list will be iterated
https://github.com/Kong/kong/blob/c33d745793b454ab27d9681562fadbccbc454a1b/kong/plugins/request-transformer/access.lua#L200-L209
Note that in this code block, the new_name will be directly used for setting value in the table, and the headers fetched by ngx.req.get_headers() are in lower case, so if new_name is an upper-case, then two keys with different format will exist in the header table.
And that will lead to the unpredictable iterating sequence in setting headers:
https://github.com/Kong/kong/blob/c33d745793b454ab27d9681562fadbccbc454a1b/kong/plugins/request-transformer/access.lua#L247
https://github.com/Kong/kong/blob/c33d745793b454ab27d9681562fadbccbc454a1b/kong/pdk/service/request.lua#L422-L427
Full changelog

Fix unpredictable overriding result from rename header to existing header in request-transformer plugin, by normalizing the header name(set to lower case)
Cleanup duplicate tests and add related test

Issue reference

Fix FTI-4319 and #9418

To prevent such issues from happening, would it not make sense to have all headers tables have this metatable:
 {
    __newindex=function (t,k,v) rawset(t,k:lower(),v) end,
    __index=function(t,k) return t[k:lower()] end,
}

That way, the normalization to lower case would happen automatically.

To prevent such issues from happening, would it not make sense to have all headers tables have this metatable:
{
  __newindex=function (t,k,v) rawset(t,k:lower(),v) end,
  __index=function(t,k) return t[k:lower()] end,
}

That way, the normalization to lower case would happen automatically.

It's a good idea but needs changes in the PDK(more like a patch on the original OpenResty's ngx.req.get_headers, I think they already have __index to do the lowercase work but I don't know why they did not have the __newindex behaviour)
I feel it is better to open another PR for this change, and doing another lower case here is not very harmful, WDYT?

Need a change log entry.


Footer v2.1

Fixed the CSS redundant code and adjusted/updated the footer

Pointing to Main instead of dev


Update PyPI deployment token with one of ours

There are still a few tokens set as GH secrets in CI, blocking the release of various libraries:

browser: PYPI_TOKEN_ROBOCORP_BROWSER
excel: PYPI_TOKEN_ROBOCORP_EXCEL
storage: PYPI_TOKEN_ROBOCORP_STORAGE
vault (& 1.3.2): PYPI_TOKEN_ROBOCORP_VAULT
workitems: PYPI_TOKEN_ROBOCORP_WORKITEMS

A quick solution would be to replace these values with mines, but a better one might be to just use the same secret called PYPI_TOKEN_ROBOCORP generated under the commonly present roboKH user (cc @kariharju ) in every workflow. What do you think and what's the value of using a different token for every deployment?

Kari already replaced the rest of the tokens and we could unblock the deployment. Will re-open if we need more work on the token setup topic.


Rethink ThenFactory

In practise, the thens assert on not only the response from the when, but also other state such as database interactions and wiremock verifications. There might be a better way of modelling this, because currently there will be ThenFactory implementations that just ignore the response parameter entirely, which is a smell.

One way to solve this would be to encourage a test result type that encapsulates the direct result of the when (e.g. a HTTP response) and also other kinds of state. That way, all ThenFactory would always need the same parameter. This could include e.g. HTTP response, database state and wiremock state.

Another issue with ThenFactory is when e.g. a wiremock verification needs to be built up. This can't be chained as then(something).hasFoo(1).hasBar(2) because the wiremock verification has to be one blob assertion. A workaround is to have a ThenFactory that is a builder and do something like then(something.hasFoo(1).hasBar(2)) but this is a bit dodgy, there might be a better way?

Implemented in 4.0.0


Popup clips to bounds.

Hardcoded here dunno if there is a clean way to fix this.

Played a little here wontfix is an alternative as it can probably get nasty.

Doing this in xaml is a workaround the caller can make:
<Popup
        AllowsTransparency="True"
        HorizontalOffset="60"
        IsOpen="{Binding IsChecked,
                        ElementName=ShowPopupBox}"
        Placement="Bottom"
        PlacementTarget="{Binding ElementName=ShowPopupBox}">
    <Border Padding="0,30,0,0">
        <geometry:Balloon PlacementTarget="{Binding PlacementTarget, RelativeSource={RelativeSource AncestorType={x:Type Popup}}}">
            ...
        </geometry:Balloon>
    </Border>
</Popup>

Adding a border with padding makes the connector draw inside the bounds of the popup.


Jinja2 v 3.1.0 breaks jinjasql

Jinja2 moved deprecated objects to Markupsafe. This is causing 'import jinjasql' to break.
If possible, could you please

update the dependencies
update the code to use the relocated objects
release the changes to PyPi

Thanks

Same issue here, confirmed that Jinja2==3.0.3 in the pip install will keep it working, but the latest does break the import.

To fix this error in another workflow, I also had to pin markupsafe==2.0.1

Same issue here. Pinned to Jinja2==3.0.3 for a temporary fix.

Looks like the Jinja2 requirement was pinned to <3.0 a couple months back on master https://github.com/sripathikrishnan/jinjasql/blob/d1e0d0fcc4564f621c1c6ba8bf3c6d2949425ea0/setup.py#L41-L43
But there hasn't been a release to get that into PyPI yet
Pinning seems like the solution for now

Also seeing the same issue.

Same here. @sripathikrishnan any chance you would be able to create a new release on PyPi? 🙏

👍  would like a new release as well, or at least a tag!

+1 👍 new release please!!

Same here..

Are there any plans on releasing a fix for this?

looks like it @elpablete

We are maintaining a forked version of jinjasql here - https://github.com/pythonutilities/jinjasql
Check this out, we have upgraded the code and its dependencies and so that it can work with the updated Jinja 3.x

We are maintaining a forked version of jinjasql here - https://github.com/pythonutilities/jinjasql
Check this out, we have upgraded the code and its dependencies and so that it can work with the updated Jinja 3.x

are you going to publish it on pypi? name change?

@elpablete We have published the above said forked version of jinjasql in PyPi, check it out!
pip install jinjasql2


No way to query archived/in_trash items

Report bugs here only for the Node JavaScript library.
If you're having problems using Notion's API, or have any other feedback about the API including feature requests for the JavaScript library, please email support at<EMAIL_ADDRESS>Describe the bug
A clear and concise description of what the bug is.
There is currently no documented feature to query pages by whether they are in the trash. This is a quite essential feature for our usecase for syncing data.

The API contains the following property:
type QueryDatabaseBodyParameters = {
    sorts?: Array<{
        property: string;
        direction: "ascending" | "descending";
    } | {
        timestamp: "created_time" | "last_edited_time";
        direction: "ascending" | "descending";
    }>;
    filter?: {
        or: Array<PropertyFilter | TimestampCreatedTimeFilter | TimestampLastEditedTimeFilter | {
            or: Array<PropertyFilter>;
        } | {
            and: Array<PropertyFilter>;
        }>;
    } | {
        and: Array<PropertyFilter | TimestampCreatedTimeFilter | TimestampLastEditedTimeFilter | {
            or: Array<PropertyFilter>;
        } | {
            and: Array<PropertyFilter>;
        }>;
    } | PropertyFilter | TimestampCreatedTimeFilter | TimestampLastEditedTimeFilter;
    start_cursor?: string;
    page_size?: number;
    archived?: boolean;
    in_trash?: boolean;
};

But deleted items are not returned from the trash? Does my integration not have enough permissions

I imagine this is a bug, because the "archived" property has no effect..

I agree it is a bug in the type interface as what you are saying is correct, there is no way right now to query for archived items.
You can go and upvote the feature requests here: https://notiondevs.notion.site/Developer-Feedback-for-Notion-API-bd8874dde623497485ba0f412bce8767

I ended up looking at how notion's deleted search functionality works within the app, hopefully my user token doesn't expire
const data = await fetch("https://www.notion.so/api/v3/search",{
        method: "POST",
        body: JSON.stringify({
            "type": "BlocksInSpace",
            "query": "",
            "filters": {
                "isDeletedOnly": true,
                "excludeTemplates": true,
                "navigableBlockContentOnly": false,
                "requireEditPermissions": false,
                "includePublicPagesWithoutExplicitAccess": false,
                "ancestors": [
                    "YOUR_TABLE_ID"
                ],
                "createdBy": [],
                "editedBy": [],
                "lastEditedTime": {},
                "createdTime": {},
                "inTeams": []
            },
            "sort": {
                "field": "lastEdited",
                "direction": "desc"
            },
            "limit": 100,
            "spaceId": "YOUR_SPACE_ID",
            "source": "trash"
        }),
        headers: {
            "Content-Type": "application/json",
            "Cookie": USER_TOKEN
        }
    }


$modalInstance.close(result) throws exception "Cannot read property 'value' of undefined"

I have a login modal that I close upon successful login and then immediately open the update account modal. When the update account modal is closed, it throws the exception:
Cannot read property 'value' of undefined

    function showLoginModal() {

      return $modal.open({
        templateUrl: '/views/login.html'
      , controller: 'LoginCtrl as L'
      , backdrop: 'static'
      , resolve: {
          mySession: function (Session) {
            return Session.get();
          }
        }
      }).result.then(function () {
        return $timeout(function () {
          console.log('trying with a timeout');
          return $modal.open({
            templateUrl: '/views/account-new.html'
          , controller: 'AccountNewCtrl as A'
          , backdrop: 'static'
          , resolve: {
              mySession: function (Session) {
                return Session.get();
              }
            }
          }).result;
        });
      });
    }

After some user interaction and http requests this is called as per usual in the AccountNewCtrl:
$modalInstance.close(result)

Closing as it is fixed by #1972


feat(theme): improving component customization using twMerge

Description
Users normally get confused about the need to use ! to overwrite the theme classes when using className= property. This PR includes tailwind-merge that handles the conflicts instead of using classNames.
Example:
<Badge className="bg-red-500">A badge with custom background</Badge>

What this PR does:
Default

Current state:
Default

Fixes # (issue)
Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not

Breaking changes

By removing the classname library and introducing the tailwind-merge it means that theme-per-component will not require to use !important anymore, the same applies to className prop.
If you are using custom theme, it can cause some small issues, better to test and make sure that everything is working.
FlowbiteAvatarImageTheme now has a base style.

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Unit test
[X] Manual testing

Test Configuration:
N/A
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules
[X] I have checked my code and corrected any misspellings

Moved to #816


[SKIP] ci: testing workflow

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5529

Relevant Lines:
6006

💛  - Coveralls


Error when adding a storage account: Not enough memory resources are available to process this command

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.27.1
Regression From
No response
Architecture
i86
Storage Explorer Build Number
20221220.2
Platform
Windows
OS Version
Windows 11
Bug Description
When trying to add Azurite with HTTPS as a storage account connection, I receive the following error in the Activities window:

Error occurred while adding new connection: Error:Not enough memory resources are available to process this command.

This occurs whether I select "Storage account or service" (using a connection string) or "Local storage emulator" in the "Connect to Azure Storage" dialog.
I've tried immediately after rebooting my computer, which is a Surface Laptop 4 with 16 GB of RAM, so it doesn't seem like running out of memory should really be the problem here.
Steps to Reproduce

Reboot the computer
Delete the entire %APPDATA%\StorageExplorer directory
Launch Storage Explorer
Right-click Storage Accounts and select Connect to Azure Storage...
Do either of the following:
a. Choose Local storage emulator, check Use HTTPS, and click Next
b. Choose Storage account or service, and use the following connection string, then click Next: DefaultEndpointsProtocol=https;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=https://<IP_ADDRESS>:10000/devstoreaccount1;QueueEndpoint=https://<IP_ADDRESS>:10001/devstoreaccount1;TableEndpoint=https://<IP_ADDRESS>:10002/devstoreaccount1;
Click Connect

Actual Experience
The following error appears in the Activities window:

Error occurred while adding new connection: Error:Not enough memory resources are available to process this command.

Expected Experience
The new connection appears under the Storage Accounts node in the Explorer pane.
Additional Context
After trying to add the storage account, the local storage key StorageExplorer_CustomConnections_Accounts_v1 has the value:
[{"id":"devstoreaccount1","displayName":"devstoreaccount1"}]

If I restart Storage Explorer and expand the "Storage Accounts" node in the explorer pane, the node does not expand and the error dialog appears:
Unable to retrieve child resources.

Details:
{
  "name": "TypeError",
  "message": "Cannot read properties of undefined (reading 'version')",
  "stack": "TypeError: Cannot read properties of undefined (reading 'version')\n    at connectionIsV1 (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\common\\CustomConnections\\IConnectionInfo.js:8:24)\n    at C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\common\\CustomConnections\\CustomConnectionStore.js:235:74\n    at Array.filter (<anonymous>)\n    at #sendTelemetry (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\common\\CustomConnections\\CustomConnectionStore.js:235:14)\n    at async CustomConnectionStore.getCustomConnectionStore (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\common\\CustomConnections\\CustomConnectionStore.js:44:9)\n    at async PersistentStorage.CustomConnections.getCustomConnections (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\providers\\CustomConnectionsProvider.js:10:39)\n    at async Provider.executeOperation (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\providers\\Provider.js:28:16)\n    at async ElectronRendererHostProxy._handleExecuteRequest (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\ElectronRendererHostProxy.js:213:35)\n    at async ElectronRendererHostProxy._handleMessage (C:\\Users\\StephenJennings\\AppData\\Local\\Programs\\Microsoft Azure Storage Explorer\\resources\\app\\out\\app\\renderer\\ElectronRendererHostProxy.js:156:24)"
}

I did follow the troubleshooting guide, but could not find any entries in the Credential Manager with a name beginning with StorageExplorer_CustomConnections_Accounts_v1. The only one I saw was Microsoft_StorageExplorer/app, which I did try deleting but it did not solve the problem.
After turning on debug logging, this error was found in the renderer log, with no other obviously-relevant log messages:
[2023-01-06T20:56:36.039Z] (renderer:24236) <ERRO> Unable to set password. service:StorageExplorer_CustomConnections_Accounts_v1 account:devstoreaccount1 [Error: Not enough memory resources are available to process this command.
  ]

@jennings For the "not enough memory" issue, check the command line window from which you are running Azurite. Do you also see that error message there? If so, it may be your Azurite instance doesn't have enough memory or space. Do you have a lot of data stored in your Azurite instance?
For the other issues, we're currently investigating the problem. We recently made some changes to how we store attachments, which seems to have exposed some problems we didn't see earlier.

@craxal No, I don't see the error in Azurite's output. The error happens even if I start with a brand new Azurite database. I've learned it also happens if I try to attach to a real Azure storage account with a connection string. (I didn't notice this earlier because I always find my storage accounts through the subscription.)

@craxal I used the troubleshooting steps you mentioned in #6399 and found it's the keytar.setPassword function that's throwing the "Not enough memory resources" error. This is the stack trace immediately after the error is thrown:
"Error: Not enough memory resources are available to process this command.

    at setPassword (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\node_modules\keytar\lib\keytar.js:22:58)
    at Object.setItem (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\common\PersistentStorage\ConfidentialStore.js:28:44)
    at PersistentStorage.Confidential.setItem (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\providers\ConfidentialPersistentStorageProvider.js:11:54)
    at Provider.executeOperation (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\providers\Provider.js:28:59)
    at ElectronRendererHostProxy.executeOperation (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\ElectronRendererHostProxy.js:41:67)
    at CustomConnectionStore.setConfidentialData (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\common\CustomConnections\CustomConnectionStoreBase.js:43:26)
    at CustomConnectionStore.addCustomConnection (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\common\CustomConnections\CustomConnectionStore.js:80:22)
    at async Provider.executeOperation (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\providers\Provider.js:28:16)
    at async ElectronRendererHostProxy.executeOperation (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\ElectronRendererHostProxy.js:41:20)
    at async addV1Connection (C:\Users\StephenJennings\AppData\Local\Programs\Microsoft Azure Storage Explorer\resources\app\out\app\renderer\providers\ConnectProvider\ConnectProvider.js:130:5)"

A-ha. I used the Credential Manager GUI to try adding this entry and got the error:

There is not enough space available in this vault to add credentials. Delete some existing credentials or create a new vault, and add this credential to that vault.

I seem to have dozens or hundreds of entries in here starting with `vscode-insidersvscode.microsoft-authentication...". After I deleted a few of them, Storage Explorer was able to attach a new storage account.
So, I guess the problem is that the Credential Manager API is unable to add more entries. I couldn't find any documentation about Credential Manager having a maximum size, but apparently it does.
I suppose that means this is no longer an issue Storage Explorer, so I'm closing this. Thank you for leading me down the path to figure this out, @craxal.

On second thought, if this does happen, Azure Storage Explorer should avoid adding the connection to the StorageExplorer_CustomConnections_Accounts_v1 list. That way, the user doesn't end up with a broken application.

@jennings Thank you for the detailed findings! Your suggestion is a good one, so we'll look into making connections more robust. In the meantime, you might consider bringing up this issue with VS Code. It seems weird that VS Code would be adding so many credentials without cleaning up after itself.

Since we have a tracking issue for making attachments more robust when the encrypted data side of things fails, and the out-of-memory issue is outside of Storage Explorer, I'm going to close this issue as Mitigated.


Add TimeInterval restrictions

In #925, we settled on adding actualStartDateTime and actualEndDateTime restrictions to TimeInterval. @rjyounes has pointed out that the definitions of these predicates are phrased in the past tense, making them not a good fit for future time intervals. For this reason, we have kept the restrictions out of the 13.0 release.
Assuming dateTime restrictions would be good to have on TimeInterval, one option is to modify the definitions for actualStartDateTime and actualEndDateTime to include known datetimes in the future, even if we haven't reached them yet.

Decision: use startDateTime and endDateTime predicates in the restriction instead. Update annotations for these predicates to clarify usage.


Refactor the handling of scalar columnarEval results

This PR is to refactor the handling of scalar columnarEval results to support the coming LIST Scalar.
The changes mainly include

Returning the a GpuScalar  instead of extracting the Scalar value in the expression GpuCoalesce. Becasue extracting a list data is difficult.
Creating a new class GpuScalar to reduce the data copy between GPU and CPU for the Scalar.
Returning a GpuScalar  instead of the Scala value from the columnarEval of some nodes, e.g. GpuLiteral  and  GpuScalarSubquery.  Because we want to keep the result handling simple.
Updating the related nodes to handle this change from a Any to  a GpuScalar.

[x] Fix the tests failures
[x] Replace all the calls to Scalar.getXXX with the new added GpuScalar.getValue

closes https://github.com/NVIDIA/spark-rapids/issues/2349
closes https://github.com/NVIDIA/spark-rapids/issues/2327
closes https://github.com/NVIDIA/spark-rapids/issues/2412
closes https://github.com/NVIDIA/spark-rapids/issues/2332
Signed-off-by: Firestarman<EMAIL_ADDRESS>

build

build

build

build

build

build

Failure is caused by https://github.com/rapidsai/cudf/pull/7909, but should be fixed by https://github.com/NVIDIA/spark-rapids/pull/2020. rebuild

Thanks for the updates, @firestarman. Looks good to me. I linked #2412 to be closed when this is merged.
Thanks very much for your review, learnt a lot.


fix: disable skeleton generation transformer FF is false

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

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

Codecov Report

Merging #8967 (e4b711d) into apigw_gql_override (fbb3716) will not change coverage.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##           apigw_gql_override    #8967   +/-   ##
===================================================
  Coverage               55.41%   55.41%
===================================================
  Files                     883      883
  Lines                   49874    49874
  Branches                10740    10740
===================================================
  Hits                    27640    27640
  Misses                  20190    20190
  Partials                 2044     2044

Continue to review full report at Codecov.

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


[Issue] Error message of missing tagging, when infrastructure is provided via Terraform

[X] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version 0.5.0-beta.3 (commit 1c23678aade587d5b9685a256a3c1d2d7f4b42e0)

Output from az version
Run az version and copy and paste the output here (minimum required version is 2.38.0):
{
  "azure-cli": "2.39.0",
  "azure-cli-core": "2.39.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {}
}

Describe the bug
When deploying an app and the tagging of the resource does not match the information of the azure.yaml file an error message is displayed.
ERROR: creating project: creating service sap-cloud-sdk-api: resource not found: unable to find a resource tagged with 'azd-service-name: sap-cloud-sdk-api'. Ensure the service resource is correctly tagged in your bicep files, and rerun provision

This error message is very helpful, but it focuses on bicep as infrastructure provisioning mechanism. This should be stated either in a more generic way or it should take into account the infrastructure provisioning type defined in azure.yaml. This can cause confusions using Terraform.
To Reproduce

Configure the setup of an app via Terraform
Change the service name in the azure.yaml, so that it does not match the tagging in the Terraform file
Execute azd up

The deployment after the provisioning of the infrastructure will fail stating that:
Expected behavior
The error message should either take into account the infrastructure provisioning type (Bicep or Terraform) or be more generic like:
Ensure the service resource is correctly tagged in your bicep/Terraform files, and rerun provision

Environment
n/a
Additional context

Original issue that introduced the additional check for tagging https://github.com/Azure/azure-dev/issues/1037
PR containing the fix https://github.com/Azure/azure-dev/pull/1181
Screenshot of error message when deploying via Terraform:

@wbreza can we add a fix to have the error message specific in the context the IaC in execution?

Fixed with #1822


160% CPU usage and 3GB memory usage on Nextcloud Web UI

Version
5.3.3
Browser and OS info
Chromium Version 79.0.3945.130 (Developer Build) built on Debian 10.2, running on Debian 10.2 (64-bit)
Steps to reproduce

Install Vue Developer Tools extension for Chromium
Open Nextcloud Web interface and access the files app (issue will not occur e.g. on the admin interface)
Observe CPU usage reach 150%  and memory leak increasingly

What is expected?
No memory leakage, no extensive to no CPU usage once the page has been rendered.
What is actually happening?
The Vue.js devtools use 130%  of CPU and after a short while already 3GB (sic!) of memory.
The browser tab hosting the Nextcloud Web UI is using 160% CPU, and a high, but not extreme amount of memory with 400MB.

Cross-post to https://github.com/nextcloud/server/issues/19364 since it's unclear whether this is a Nextcloud or a Vuejs devtools issue.
Verbose Chromium devtools logs indicate thousands of these entries:
[viewer] Received post message {msgId: {…}, args: undefined, deprecated: undefined}
msgId:
devtoolsEnabled: false
vueDetected: true
status: "reject"
data: "TypeError: {(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)}[t.action] is not a function"

Same for me version 5.3.3
First image: Vue devtools uninstalled, restarted chrome:

Second image: Installed vue DevTools. Refreshed website and ran a memory test at same place in application

Context: Enterprise application. Fetching a snapshot of latest data for 50-200 objects. Sends this to Vuex which sends one mutate with the whole array of objects.
This has happened recently.
package.json (if that matters)
"vue": "2.6.12",
    "vue-js-toggle-button": "1.3.3",
    "vue-multiple-select": "1.0.2",
    "vue-qrcode-reader": "2.3.13",
    "vue-router": "3.4.3",
    "vue-session": "1.0.0",
    "vue2-leaflet": "2.5.2",
    "vuex": "3.5.1"

I don't know if it is related, but in Firefox I'm seeing constant 100% CPU usage. I can kill the process and then I can enjoy the silence without the fan noise, but then of course the addon does not work.


Please add Intel A770 support

Seems like its possible:
https://github.com/openvinotoolkit/openvino_notebooks/pull/1207
They got LLAMA2 with A770 working
A770 is super common on NUC and laptops

I would like to add +1 to this request. I have an Intel ARC A770 in my home server, and I would like to use it with this tool.


Title and Favicon

Hey, for some reason your website's title is Google Drive and the favicon is a logo of Google drive. Why is that?
I suggest you change it to something else, maybe Chromebook Utilities or something like that. You may also want to use a logo or another favicon
Regards,
Zemerik

it's just a cloak so teachers think it's a normal website

oh ok.


test: set LC_ALL to en to fix the language thrown by Yargs

What this PR solves / how to test:
I ran the tests in my environment, and the tests failed with messages like the following:

This is caused by the setting of the language to Japanese in my environment.
$ echo $LC_ALL
ja_JP.UTF-8

Yargs throws errors in Japanese, not English, since Yargs looks up an environment variable to decide which language to use.
There are several ways to fix it. I couldn't decide which way would work best for us, so this PR will propose one of the solutions.
In jest.setup.ts, I've set the LC_ALL to fix the language as English for the messages thrown by Yargs. If there is a better way, let's go with it.
Associated docs issues/PR:
Nothing
Author has included the following, where applicable:

[ ] Tests
[ ] Changeset

Reviewer has performed the following, where applicable:

[ ] Checked for inclusion of relevant tests
[ ] Checked for inclusion of a relevant changeset
[ ] Checked for creation of associated docs updates
[ ] Manually pulled down the changes and spot-tested

Fixes # [insert issue number].

It is pretty cool that Yargs is internationalized!
I think this fix for ensuring the tests are reliable is good.
Thanks @yusukebe!


Pass project setting from monitoring acceptance to smoke test

@dazuma I’m out all afternoon, so I can’t test until later. Did you run this locally?

@blowmage Yes I did.

@blowmage That said, I haven't yet been able to reproduce the entire testing setup locally for all the clients, so there still may be more breakages we haven't yet found... :(


Cross-build for Scala.js

Blocked by https://github.com/tpolecat/SourcePos/pull/6 (cc @ChristopherDavenport) and also ~problems with scodec-bits.~ Update: I worked around the scodec issue. Just waiting on sourcepos and hopefully should be good to go? I'm have trouble running tests on local so going to be relying on CI for this one.
This is actually very nearly a pure cross. The most notable difference for JS was resurrecting the scram implementation courtesy of @mpilquist that was subsequently scrapped in https://github.com/tpolecat/skunk/pull/260 as well as adding an npm dependency to saslprep.

I appreciate your effort on this but I'm not convinced that anyone actually needs this. It's a significant complication and maintenance burden going forward. Can you justify this a little bit?

No worries, completely understandable! I recently got http4s cross-building to JS (including ember-server) in https://github.com/http4s/http4s/pull/4938. Many people seem interested in using this with Node.js on AWS lambda and/or similar services. Skunk would be an important part of that I assume.

Codecov Report

Merging #515 (1983d99) into main (ee39517) will increase coverage by 0.01%.
The diff coverage is 90.62%.

@@            Coverage Diff             @@
##             main     #515      +/-   ##
==========================================
+ Coverage   85.21%   85.22%   +0.01%
==========================================
  Files         121      124       +3
  Lines        1589     1591       +2
  Branches       47       36      -11
==========================================
+ Hits         1354     1356       +2
  Misses        235      235

Impacted Files
Coverage Δ

modules/core/jvm/src/main/scala/SSLPlatform.scala
11.11% <ø> (ø)

...in/scala/net/message/PasswordMessagePlatform.scala
91.66% <ø> (ø)

...shared/src/main/scala-2.13+/data/ArrPlatform.scala
100.00% <ø> (ø)

...odules/core/shared/src/main/scala-2/SqlState.scala
100.00% <ø> (ø)

...red/src/main/scala-2/codec/EnumCodecPlatform.scala
100.00% <ø> (ø)

...red/src/main/scala-2/syntax/StringContextOps.scala
100.00% <ø> (ø)

...s/core/shared/src/main/scala-2/util/Twiddler.scala
100.00% <ø> (ø)

...s/core/shared/src/main/scala/AppliedFragment.scala
100.00% <ø> (ø)

modules/core/shared/src/main/scala/Channel.scala
95.23% <ø> (ø)

modules/core/shared/src/main/scala/Codec.scala
100.00% <ø> (ø)

... and 115 more

Continue to review full report at Codecov.

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

Thanks to fs2 3.1.0, all tests are passing now here. This is ready, all it needs is https://github.com/tpolecat/SourcePos/pull/6.

Amazing! I'm out for the day but will have a closer look later this weekend.

Ok SourcePos 1.0.1 has been published. It may take a little while to appear on Central.

Should I be concerned and/or do something about the codecov/patch failure?

No, don't worry about coverage.

Any last words before I slam the button?

Lol nope, thanks for merging!!


Issue number is requested for pull request

The error:
Error: HttpError: Empty value for parameter 'issue_number': undefined
Error: Empty value for parameter 'issue_number': undefined
is always thrown when executing this job:
addLabels:
name: add labels job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.github_token }}
labels: testFailed
number: ${{ github.event.pull_request.number }}
How do i define this issue_number? When passing it it throws the error that it is a invaild param.

Closed this because i thought the problem was github.event.pull_request.number (changed to test to on push instead of on pull request)
I tried everything i could think of, i still always get the error
Error: HttpError: Empty value for parameter 'issue_number': undefined
Error: Empty value for parameter 'issue_number': undefined

+1

is there anything new on this topic? same problem

Looking at the code in src/main.ts on main, this code only appears to be coded for issues and not pull requests at all, despite what it ways in the readme.


Creating pipeline resolvers in the AppSync console and then pushing from cli deletes the pipeline

Describe the bug
Currently there is no way to create a pipeline resolver with the CLI (as far as I know if - fix me if I'm incorrect) so I have to go to the AppSync console in order to create pipeline resolvers, assign them to queries/mutations and then write the actual functions and order them correctly - I have spent a lot of time doing that and getting all of them right, then I made some adjustments to my schema and ran amplify push which overwrote all my pipeline resolvers, the functions were still there but if I tried to create the pipeline resolver again it created a function with the same name and didn't use the one that was already created.
I tried running amplify env pull --restore before changing my schema but no files were changes, so the pipeline resolver is not a file I guess(?)
To Reproduce
Steps to reproduce the behavior:

Create a schema
Turn one of the queries to a pipeline resolver from the AppSync console
Change schema code (add some fields maybe)
amplify push
Go back to console and see that the pipeline resolver is gone

Expected behavior
either pipeline resolvers stay or that amplify env pull --restore will pull the pipeline resolvers and all the functions and assign them to the query/mutation
Desktop (please complete the following information):

OS: macOS 10.14.6
Browser: Chrome
Version: 76.0.3809.100

@yuth so how can I create pipelines resolvers and keep them? Creating them from the AppSync console is fine but then after pushing the api it removes that pipeline resolver and I need to do that manually


jsrsasign has deprecated asn1.csr.CSRUtil.newCSRPEM please update fabric-common key.js

Hi, after updating to the latest version the method ECDSA_KEY.generateCSR in fabric-common stopped working as expected. I have a piece of code that generates a PrivateKey and then uses the method generateCSR, something like this:
const csrSubjectAlternativeNames = [
    { dns: 'localhost' },
    { dns: `${blockchainNode.uniqueName}.mydomain.com` },
    { dns: `${blockchainNode.uniqueName}p.mydomain.com` },
    // By default we register the node's K8s Service > K8sServicename.namespace
    {
      dns: `${blockchainNode.uniqueName}.${blockchainNode.uniqueName}`,
    },
  ];

const caAdminPrivateKey = await cryptoSuite.generateKey();

const caAdminCsr = caAdminPrivateKey.generateCSR(`CN=${blockchainNetwork.uniqueName}`, [
    { subjectAltName: { array: csrSubjectAlternativeNames } },
  ]);

the method is located here > https://github.com/hyperledger/fabric-sdk-node/blob/85e877cf7e3bacbeb9c045648ab4523fbfe903b4/fabric-common/lib/impl/ecdsa/key.js#L127
It turns out that my CSR does not have SANs after generating it. I implemented the following change locally and that worked:
/**
 * Generates a CSR/PKCS#10 certificate signing request for this key
 * @param {string} subjectDN The X500Name for the certificate request in LDAP(RFC 2253) format
 * @param {Object[]} [extensions] Additional X.509v3 extensions for the certificate signing request
 * @returns {string} PEM-encoded PKCS#10 certificate signing request
 * @throws Will throw an error if this is not a private key
 * @throws Will throw an error if CSR generation fails for any other reason
 */
generateCSR(subjectDN, extensions) {

  // check to see if this is a private key
  if (!this.isPrivate()) {
    throw new Error('A CSR cannot be generated from a public key');
  }

  const _KJUR_asn1_csr = asn1.csr;

  const csr = new _KJUR_asn1_csr.CertificationRequest({
    subject: {str: asn1.x509.X500Name.ldapToOneline(subjectDN)},
    sbjpubkey: this.getPublicKey()._key,
    extreq: extensions,
    sigalg: "SHA256withECDSA",
    sbjprvkey: this._key,
  })

  return csr.getPEM();
}

I saw the same implementation here > https://github.com/hyperledger/fabric-sdk-node/blob/85e877cf7e3bacbeb9c045648ab4523fbfe903b4/fabric-common/lib/impl/ecdsa/pkcs11_key.js#L126 and I had to chage my code to:
const csrSubjectAlternativeNames = [
    { dns: 'localhost' },
    { dns: `${blockchainNode.uniqueName}.settlemint.com` },
    { dns: `${blockchainNode.uniqueName}p.settlemint.com` },
    // By default we register the node's K8s Service > K8sServicename.namespace
    {
      dns: `${blockchainNode.uniqueName}.${blockchainNode.uniqueName}`,
    },
  ];

  const caAdminPrivateKey = await cryptoSuite.generateKey();

  const caAdminCsr = caAdminPrivateKey.generateCSR(`CN=${blockchainNetwork.uniqueName}`, [
    { extname: 'subjectAltName', array: csrSubjectAlternativeNames },
  ]);

Deprecation link > https://kjur.github.io/jsrsasign/api/symbols/KJUR.asn1.csr.CSRUtil.html#.newCSRPEM

@inglkruiz could you check out PR #537 to see if that solves the issue for you?

@bestbeforetoday Left my comment on #537
TL;DR LGTM


Docs: fix table of contents anchor links in contributing.md

Fixes jscs-dev/jscs-dev.github.io#4

Coverage remained the same at 99.29% when pulling e0bcbc6e1d94a4609842102e443f6399e7c0be34 on hzoo:site-i-4 into ac2c02deacc16cdf3d8e9cf58252e6ad19eccd1e on jscs-dev:master.

:+1:

Thanks @hzoo

Hello!
I think this commit can be reverted, I copied part of github header id generation algorithm and used it in jscs.info


JAXBContext.newInstance( String contextPath ) javadoc is missing the @param and @return values

This issue was previously tracked via: https://bugs.openjdk.java.net/browse/JDK-8185668
JAXBContext.newInstance( String contextPath ) javaodoc is missing the parameter and return type description:
public static JAXBContext newInstance(String contextPath)
throws JAXBException
Create a new instance of a JAXBContext class.
This is a convenience method to invoke the newInstance(String,ClassLoader) method with the context class loader of the current thread.
Throws:
JAXBException - if an error was encountered while creating the JAXBContext such as
failure to locate either ObjectFactory.class or jaxb.index in the packages
an ambiguity among global elements contained in the contextPath
failure to locate a value for the context factory provider property
mixing schema derived packages from different providers on the same contextPath
packages are not open to java.xml.bind module

@lukasj
This issue can be closed!!
Regards,
Antonio.

as requested, thanks!


JMX and Graphite Namespace Equivalence

So I have been messing with this for quite some time, and I cannot for the life of me get the GraphiteWriterFactory to send data with, effectively, the same namespace as the data is viewed in jconsole.  Even using the typeNames field does not behave properly, as it append the fields with a _ instead of ..
kafka.server:type=BrokerTopicMetrics,name=*,topic=*

If I use typeNames: ["name", "topic"] I actually get BrokerTopicMetrics.<name>_<topic> instead of BrokerTopicMetrics.<name>.<topic>, so I end up not being able to take cross-sections of data as I need it.  Also, unless I use resultAlias it comes out with very cryptic names, and I have had to template things in a fairly complex way to get close to what I need (using a python script to parse the obj field and hardcode a resultAlias).
I feel like this shouldn't be that hard.  Am I missing some an option?   I really just want my graphite tree to look like my jconsole tree, and I'm not sure why it can't. (or to be more precise, I want a branch of my graphite tree--perhaps with custom prefix--to match the jconsole tree with or without wildcards)

I got it to work with allowDottedKeys:true.  Example:
{
  "servers" : [
    {
      "port" : "9999",
      "host" : "my-kerfka",
      "queries" : [
        {
          "allowDottedKeys" : true,
          "obj": "kafka.server:type=FetcherLagMetrics,name=ConsumerLag,clientId=ReplicaFetcherThread-*,topic=*,partition=*",
          "resultAlias" : "kafka.ReplicaLag",
          "attr" : [ "Value" ],
          "outputWriters" : [
            {
              "@class" : "com.googlecode.jmxtrans.model.output.KeyOutWriter",
              "outputFile" : "/tmp/jmxtrans.out",
              "maxLogFileSize" : "10MB",
              "maxLogBackupFiles" : 200,
              "delimiter" : "\t",
              "debug" : true,
              "typeNames" : ["clientId", "topic", "partition"]
            }
          ]
        }
      ],
      "numQueryThreads" : 2
    }
  ]
}

produced:

kafka.ReplicaLag.ReplicaFetcherThread-0-1.my-topic.82.Value	0<PHONE_NUMBER>574

It does't work on influxdb_writer. Do you have any idea?  @erik-stephens
{           "outputWriters": [             {               "username": "jmxtrans",               "database": "${influxdb_database}",               "url": "${influxdb_url}",               "retentionPolicy": "${influxdb_rp}",               "password": "passwd",               "createDatabase": false,               "tags": {                 "cluster": "test",                 "service": "kafka"               },               "@class": "com.googlecode.jmxtrans.model.output.InfluxDbWriterFactory"             }           ],           "resultAlias": "MessagesInPerSecPerTopic",           "obj": "kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec,topic=*",           "allowDottedKeys": true,           "typeNames": ["topic"],           "attr": [             "Count",             "MeanRate",             "OneMinuteRate",             "FiveMinuteRate",             "FifteenMinuteRate"           ]         }


Add zap stanza to haroopad

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 65de833dcb1bcdba34174506aab416342d637d41. Your contribution is still credited to you.


[Feature]: ROC/PR Curve for multi label classification

Description
Currently existing plot libraries are only applicable to single label classification.
It will be helpful to extend it to multi labels (e.g. multi-label image classification, audio tagging etc).
Suggested Solution
We need to change roc_curve and pr_curve functions.
current interface of roc_curve:
def pr_curve(y_true=None, y_probas=None, labels=None, classes_to_plot=None, title=None):

suggested interface of roc_curve:
def pr_curve(y_true=None, y_probas=None, labels=None, classes_to_plot=None, title=None, multi_label=False):

if multi_label is set to be True, then y_true should be a 2-d array of binary value (e.g. [[1, 1, 0], [0, 0, 1], ...).
Alternatives
I am considering to work around this issue by implementing a custom plot function in my project.
Additional Context
I don't exactly know the effects of this change, but other part which only assume single label should be changed due to this change.

Hey there, thanks for writing in. We already have an internal ticket for this request. I'll bump up its priority and notify you when there are updates.


OAT: Add upgrade button for DTDL v3

Summary of changes 🔍

V2 models have the option to upgrade to v3

Testing 🧪

[ Add any special instructions needed to test or view your changes such as environment URLs or other config details. ]

Checklist ✔

[ ] Linked associated issue (if present)
[ ] Added relevant labels
[ ] Requested developer reviews
[ ] Request UI review from design / PM
[ ] Verify all code checks are passing

Left couple of nit comments, haven't run it yet though. Code looks good to me!


[PARSE] Remove story content from response of search request

Current search function ("search_story_withTag") returns list of Story objects. The Story objects also contain main content of the stories. This makes the response very large. We should modify the response and remove details. The details of a story will be accesed by the story_get API.( #87)

So what will be your returning object?

{
    "result": [
        {
            "__type": "Object",
            "className": "Story",
            "createdAt": "2015-11-05T19:37:11.485Z",
            "lastEditor": {
                "__type": "Pointer",
                "className": "_User",
                "objectId": "N9a00UfgSn"
            },
            "objectId": "RCOAL3Eblf",
            "owner": {
                "__type": "Pointer",
                "className": "_User",
                "objectId": "N9a00UfgSn"
            },
            "tagsArray": [
                "country",
                "anatolia",
                "asia"
            ],
            "title": "turkey",
            "updatedAt": "2015-11-05T19:37:11.485Z"
        },
        {
            "__type": "Object",
            "className": "Story",
            "content": "turkey is a country",
            "createdAt": "2015-11-05T19:38:58.686Z",
            "lastEditor": {
                "__type": "Pointer",
                "className": "_User",
                "objectId": "N9a00UfgSn"
            },
            "objectId": "8QI7K2j84X",
            "owner": {
                "__type": "Pointer",
                "className": "_User",
                "objectId": "N9a00UfgSn"
            },
            "tagsArray": [
                "country",
                "anatolia",
                "asia"
            ],
            "title": "turkey",
            "updatedAt": "2015-11-05T19:38:58.686Z"
        }
    ]
}

This is current response. I think removing the "content" is enough.

Closed via df01596bc44d9dc052c82b7ed3ecd87a5b8859bb


Update node-ticker-analysis to make it work again...

Can you describe more clearly what was broken and what this diff fixes?

The app previously depended on an internal version of the 'cloudfoundry' npm module.  But was not published to the npm repo.  That name has since been claimed within npm.  The api for the new module is similar, but slightly different.  This change set utilized the api for the npm provided 'cloudfoundry' module.


Unable to connect to apim end point /manpage/openai.json

While trying to hit this manpage/openai.json it's getting 503 error.

To Reproduce
Steps to reproduce the behavior:

Give all the required parameters
Run deploy.sh script

Checking for GraphRAG external IP Available.
Registering GraphRAG API with APIM...
Checking for GraphRAG availability.................... Failed.
Expected behavior
The endpoint should return an json file.

Facing the same issue. Following.

Please check whether pods are crashing in AKS and review the pod logs.

Is anyone still facing this issue? @Haritha-Maturi  @pwine123  ?
Please check your AKS pod logs as @rnpramasamyai mentioned and report back.

@timothymeyers - please review findings in bug #120

As per @rnpramasamyai mentioned the issue is with pods once I make them work the issue is resolved. Thank you


Error when importing biotuner

Hi, I have the following error when importing:
import biotuner.biotuner2d

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[c:\Dropbox\Software\try_stuff.py](file:///C:/Dropbox/Software/MuseBSL/try_stuff.py) in line 1
----> [15](file:///c%3A/Dropbox/Software/try_stuff.py?line=14) import biotuner.biotuner2d

File [c:\Users\domma\AppData\Local\Programs\Python\Python311\Lib\site-packages\biotuner\biotuner2d.py:9](file:///C:/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py:9)
      [7](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=6) import secrets
      [8](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=7) import biotuner
----> [9](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=8) from biotuner.biotuner_object import compute_peaks_ts
     [10](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=9) from biotuner.metrics import *
     [11](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=10) from biotuner.biotuner_utils import (
     [12](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=11)      AAFT_surrogates, butter_bandpass_filter,
     [13](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=12)      UnivariateSurrogatesTFT, phaseScrambleTS
     [14](file:///c%3A/Users/domma/AppData/Local/Programs/Python/Python311/Lib/site-packages/biotuner/biotuner2d.py?line=13) )

ImportError: cannot import name 'compute_peaks_ts' from 'biotuner.biotuner_object' (c:\Users\domma\AppData\Local\Programs\Python\Python311\Lib\site-packages\biotuner\biotuner_object.py)

I just downloaded it from pip

the version of the package on PyPI has been updated long time ago.
I recommend installing using
biotuner @ git+https://github.com/AntoineBellemare/biotuner.git

I will soon update the pip package to biotuner 0.1 when the doc will be finished.

@DominiqueMakowski I updated the instructions on the readme of the Github Page.
When version 0.1 will be ready to launch, PyPI package will be updated as well.
Hope you will enjoy playing around with this toolbox!


added functionality to translate a whole struct

Hi,
thanks for the library.
I've added a function to translate the whole struct to a given locale.
This comes handy if you have a lot of fields to translate and don't want to put Trans.translate(struct, :field_name, locale) at every place a translated value is needed.
Thanks,
Philipp

Hi,
did you have time to take a look at the changes?


BUG: Make both Forms responsive

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Contact and feedback form is not so much resposive I will make it responsive.
Record

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

@Kalivarapubindusree @Its-Aman-Yadav please assign me.