Drop eventuals in favor of Tokio watch + timers for escrow_accounts

Fixes #365

terribly sorry for the delay, I first tried the fix using Receiver<Option>, although it was not required, was reluctant to skip some error checks, please have a look when you're free also please tell me if any changes are required.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

102 of 118 (86.44%)  changed or added relevant lines in 13 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.06%) to 73.042%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/src/tap.rs
0
1
0.0%

common/src/indexer_service/http/request_handler.rs
0
2
0.0%

common/src/tap/checks/sender_balance_check.rs
0
2
0.0%

common/src/escrow_accounts.rs
14
18
77.78%

tap-agent/src/agent/sender_accounts_manager.rs
21
28
75.0%

Files with Coverage Reduction
New Missed Lines
%

common/src/indexer_service/http/indexer_service.rs
1
0.0%

common/src/escrow_accounts.rs
3
86.67%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.06%

Covered Lines:
4980

Relevant Lines:
6818

💛  - Coveralls

hi, updated with initial accounts, please have a look when you're free, tell me if any more changes are required

Thanks for the review, Eventual is still used in couple of places for other variables, I'll change it and push asap.

BTW, I have send a connection request on linkedin please accept😁

Hi, the last commit is not the fix. I had to push due run on diff system, I'll let you know when it's ready

Hi sir, it's ready, please review when you're free, also tell me if any changes are required.

Thanks for the review I'll send the update asap.

Hey, quick thing: I added a module called watcher with some helper functions. Feel free to use them.

sure, I'll check it out

Hi, checked out new module, and it's lit[🔥], highly needed, repetitive components was getting little weird, I think it's better to change that in a new PR, cause this PR itself is little lengthier besides we should  update all channels.

Hi, update the code, please have a look when you're free, it have gotten little longer, but I hope the size doesn't matter cause most of it is already reviewed, important change is that, dummy_url cannot be used in the test anymore cause we don't have empty values and request cant go wrong while creation. Also tell me if any changes are required.

Hey @taslimmuhammed, actually, it got way harder to review. Sorry, it was a bad decision to remove the all eventual. Can we split this PR in:

escrow-accounts
allocation-id
subgraph-monitor

Also, if I'm missing any eventual, do it in a separate PR.
We were almost ready with this but the newer changes were too much, I'm sorry again.

Also, add me in Discord: @gustavoinacio

It's ok, I'll send the commit asap, BTW it's better to convert all elements to use watcher in a diff PR right?

Hi, it's ready, have a look when you're free, also tell me if any more changes are needed

Hey @taslimmuhammed, actually, it got way harder to review. Sorry, it was a bad decision to remove the all eventual. Can we split this PR in:
* escrow-accounts

* allocation-id

* subgraph-monitor

Also, if I'm missing any eventual, do it in a separate PR.
We were almost ready with this but the newer changes were too much, I'm sorry again.

I too never thought changing 2 small eventuals, would become this large😂, it truly caused a chain reaction, they are utilized in almost everywhere.

Hey this is all really nice. Just two missed comments.
Now that you removed all eventuals, could you also remove it from the dependencies? Let me know how it goes, I suppose it's not used anywhere anymore.

Hi, please note this is the same code reviewed above, I just moved backwards. Also regarding other updates, if it's ok, no need of new issue, I'll send new PR for each eventuals and watcher one by one, have everything ready.

thanks, i'll send the fixes asap

Hi, it's ready.

Hi, updated[✌]

thanks alot sir[🫂]

Thank you @taslimmuhammed!


After signup user ,and become the user,cannot alter user data,server return errorcode 206

After signup user ,and become the user,cannot alter user data,server return errorcode 206.
-(void)signUpViewController:(PFSignUpViewController *)signUpController didSignUpUser:(PFUser *)user{
        [PFUser become:user.sessionToken];

}

Can you validate the sessionToken sent to the become method? Error 206 indicates that it has not been set.

Closed for lack of response and details.  If you're still having a problem, please open a new issue and provide as many details as possible to try and reproduce.  Thanks.


Fix: use the sidebar and endSidebar key parameter

pass sidebar key to the sidebar root widget (AnimatedPositioned)
create a new sidebar ScrollController when the key is change

Why?
It wasn't possible to properly implement a tab bar in sidebar. Because when I have a few tabs and on each tab I have a scroll view two scrolls are connected to one controller when I switch between tabs
Pre-launch Checklist

[x] I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
[x] I have added/updated relevant documentation
[x] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could

@Maksimka101 Is there an open issue for this? Can you please upload a gif or screenshots demonstrating your changes?

No, there is no issues for this.
Video with fix:
https://user-images.githubusercontent.com/35934153/229212647-629a4353-e0fd-41ef-abd0-47f993625d3a.mov
Video without fix:
https://user-images.githubusercontent.com/35934153/229212946-6f76722b-99a4-4c4e-93d8-c0d181601777.mov

Error stacktrace:
═══════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building LayoutBuilder:
ScrollController attached to multiple scroll views.
'package:flutter/src/widgets/scroll_controller.dart':
scroll_controller.dart:1
Failed assertion: line 108 pos 12: '_positions.length == 1'
2
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md
The relevant error-causing widget was
MacosWindow
desktop_home_tab_body_builder.dart:12
When the exception was thrown, this was the stack
#2      ScrollController.position
scroll_controller.dart:108
#3      ScrollController.offset
scroll_controller.dart:115
#4      _MacosWindowState.build.
window.dart:221
#5      _LayoutBuilderElement._layout.layoutCallback
layout_builder.dart:119
#6      BuildOwner.buildScope
framework.dart:2682
#7      _LayoutBuilderElement._layout
layout_builder.dart:153
#8      RenderObject.invokeLayoutCallback.
object.dart:2300
#9      PipelineOwner._enableMutationsToDirtySubtrees
object.dart:1056
#10     RenderObject.invokeLayoutCallback
object.dart:2300
#11     RenderConstrainedLayoutBuilder.rebuildIfNecessary
layout_builder.dart:228
#12     _RenderLayoutBuilder.performLayout
layout_builder.dart:313
#13     RenderObject.layout
object.dart:2189
#14     RenderBox.layout
box.dart:2430
#15     ChildLayoutHelper.layoutChild
layout_helper.dart:56
#16     RenderStack._computeSize
stack.dart:595
#17     RenderStack.performLayout
stack.dart:622
#18     RenderObject._layoutWithoutResize
object.dart:2027
#19     PipelineOwner.flushLayout
object.dart:1020
#20     RendererBinding.drawFrame
binding.dart:516
#21     WidgetsBinding.drawFrame
binding.dart:865
#22     RendererBinding._handlePersistentFrameCallback
binding.dart:381
#23     SchedulerBinding._invokeFrameCallback
binding.dart:1289
#24     SchedulerBinding.handleDrawFrame
binding.dart:1218
#25     SchedulerBinding._handleDrawFrame
binding.dart:1076
#29     _invoke (dart:ui/hooks.dart:147:10)

Are you using a CupertinoTabView for that?

I use stack. The problem is in the scroll controller. When I change a tab, I can't change scroll controller so I face this issue

@GroovinChip hey. Do I need to do anything else to merge it?🙂


Bug/6.3/tdi 37655 fix

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-37655
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

the test fail as some other reason, not caused by the fix.

Pull request test result: failure :x:

the merge to master test fail as :
org.talend.components.api.exception.ComponentException: COMPUTE_DEPENDENCIES_FAILED:{path=META-INF/maven/org.talend.components/components-jdbc-runtime/dependencies.txt}
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolveLatestVersionRange(AetherBasedResolver.java:844)
It's an known framework issue,  we can make it success like this :
Step 1 : mvn clean install -skipTest
Step 2 : mvn c lean install

Pull request test result: failure :x:

Hello!  From the attached JIRA, it looks like this has been fixed already?  Is this PR still relevant?
If so, would it be possible to resolve the conflicts with master (with all of the moved files...!)  and I'll take a look!  Thanks!

create a new pr : https://github.com/Talend/components/pull/485 instead of this one, so delete this one.


Bug with cugraph and MAT.jl

Affects: PythonCall
Describe the bug
I tried to do
using MAT, PythonCall
py_cugraph = pyimport("cugraph");

and it errored (see the end of the bug report for the first few lines of the error).
If, instead I try
using PythonCall
py_cugraph = pyimport("cugraph");
using MAT

it works fine (no errors), and I can run commands from cugraph. But this cannot work when preparing a package because all using commands supersede the pyimport commands defined in the __init()__ routine. g
I am copying below the state of the Project.toml and CondaPkg.toml that reproduces this error on Linux.
System
Information about the system:

The operating system: Linux linux53 5.15.0-75-generic #82-Ubuntu SMP Tue Jun 6 23:10:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Julia v1.9.0
PythonCall v0.9.13
MAT v0.10.5
Pkg.status()Status `/tmp/problem/Project.toml`
  [992eb4ea] CondaPkg v0.2.18
  [23992714] MAT v0.10.5
  [6099a3de] PythonCall v0.9.13

CondaPkg.status()CondaPkg Status /tmp/problem/CondaPkg.toml
Environment
  /tmp/problem/.CondaPkg/env
Packages
  cudf v23.06.01 (23.06.1)
  cugraph v23.06.02 (23.06.2)
  scipy v1.11.1 (1.11.1)
Channels
  conda-forge
  nvidia
  rapidsai

Additional context
I am sharing here the first few lines of the error:
s2n_init() failed: 402653193 (NULL pointer encountered)
Fatal error condition occurred in /home/conda/feedstock_root/build_artifacts/aws-c-io_1686376437702/work/source/s2n/s2n_tls_channel_handler.c:203: 0 && "s2n_init() failed"
Exiting Application
################################################################################
Stack trace:
################################################################################
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../../././libaws-c-common.so.1(aws_backtrace_print+0x59) [0x7f03a8af0839]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../../././libaws-c-common.so.1(aws_fatal_assert+0x46) [0x7f03a8ade646]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../../././libaws-c-io.so.1.0.0(+0x29641) [0x7f03a8995641]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../../././libaws-c-mqtt.so.1.0.0(aws_mqtt_library_init+0x21) [0x7f03a8a902c1]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../.././libaws-crt-cpp.so(_ZN3Aws3Crt9ApiHandleC2EP13aws_allocator+0x2d) [0x7f03a9103dad]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../.././libaws-cpp-sdk-core.so(_ZN3Aws13InitializeCrtEv+0x30) [0x7f03a92ceaf0]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../.././libaws-cpp-sdk-core.so(_ZN3Aws7InitAPIERKNS_10SDKOptionsE+0x4a) [0x7f03a92cd46a]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../../libarrow.so.1100(+0x108e233) [0x7f03ab0bf233]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/../../../libarrow.so.1100(_ZN5arrow2fs12InitializeS3ERKNS0_15S3GlobalOptionsE+0x47) [0x7f03ab0c4127]
/tmp/problem/.CondaPkg/env/lib/python3.10/site-packages/pyarrow/_s3fs.cpython-310-x86_64-linux-gnu.so(+0x139e1) [0x7f03a41a69e1]

This sort of thing is often caused by conflicting versions of libraries being loaded - in this case presumably it's Python and Matlab conflicting.
I'd recommend starting Julia like LD_DEBUG=libs julia, which prints out the paths of any libraries being loaded. Run your two examples above and see if there are any libraries which are loaded from different paths between the two runs.


chore: bdd-spring-1572289955 to 0.0.1

chore: Promote bdd-spring-1572289955 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


fix: check whether previous namespace field is set

Improve the user message when set-namespace passes

If update the namespace:

[RUNNING] "./set-ns"
[PASS] "./set-ns" in 0s
  Results:
    [info]: namespace "yu" updated to "yu2", 3 values changed

If no need to update namespace:

 kpt fn eval --exec ./set-ns yu --truncate-output=false -- namespace=yu
[RUNNING] "./set-ns"
[PASS] "./set-ns" in 700ms
  Results:
    [info]: namespace "yu" updated to "yu", 0 values changed

Bug fix
Catch the risk condition when the input resources do not contain namespace field. This causes a panic, needs to import the new SDK once PR merges https://github.com/GoogleContainerTools/kpt-functions-sdk/pull/557
The user message after the fix is:
 kpt fn eval --exec ./set-ns yu --truncate-output=false -- namespace=yu
[RUNNING] "./set-ns"
[PASS] "./set-ns" in 600ms
  Results:
    [error]: could not find any namespace fields to update. This function requires at least one of Namespace objects or namespace-scoped resources to have their namespace field set.

Add an example set-namespace-ns-unset

updated set-namespace with the latest SDK which expose the panic with stack trace.


SONARMSBRU-151 Support custom FxCop rules with all .NET versions

SonarQube analysis reported 1 issue:

 1 major

Watch the comments in this conversation to review them.
Note: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:

 Change 'SonarWebService.GetInstalledPlugins()' to a property if appropriate.

SonarQube analysis reported 1 issue:

 1 major

Watch the comments in this conversation to review them.
Note: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:

 Change 'SonarWebService.GetInstalledPlugins()' to a property if appropriate.

SonarQube analysis reported 1 issue:

 1 major

Watch the comments in this conversation to review them.
Note: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:

 Change 'SonarWebService.GetInstalledPlugins()' to a property if appropriate.

SonarQube analysis reported 1 issue:

 1 major

Watch the comments in this conversation to review them.
Note: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:

 Change 'SonarWebService.GetInstalledPlugins()' to a property if appropriate.

LGTM


[tabular] Add roc_auc_ovo / ovr

Issue #, if available:
Description of changes:

Add roc_auc_ovo metrics
Add roc_auc_ovr metrics
Remove roc_auc_ovo_macro from binary metrics (not a binary metric)
Raise exception if inferred problem_type mismatches eval_metric.
Improve logging when metric related errors occur (invalid metric specified)

TODO:

[ ] Fix unit tests, edge cases are not handled
[ ] Address FIXME comments
[ ] See if log loss is bugged for rare classes when passing extra_metrics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.


VSCode not showing in preferences

I have installed VSCode through the asset store (I also tried cloning the repo), Unity 5.5.0, latest MONO and Unity Debugger.
I tried restarting everything but the VSCode tab doesn't show in the preferences of Unity
I get this warning:
Assets/VSCode/Plugins/Editor/VSCode.cs(333,18): warning CS0436: The type `dotBunny.Unity.VSCode' conflicts with the imported type of same name'. Ignoring the imported type definition

It appeared :).

And it's gone again.

I had this issue today.  By resolving any code errors that were listed in my console, it re-appeared.

This is a general repeat thing we hear about.
Because the plugin is open source, Unity has to compile it before it shows up in your preferences (for example). We've contemplated making a DLL version, however to date haven't seen a good justification. Also, on the horizon is 5.5's inclusion of VSCode in its pipeline already. At that point this plugin goes into a legacy type approach supporting older users only.


Packet -> Equinix Metal on cloud.drone.io landing page

closed as another commit already merged achieves this.


Change the name of the add-ins that are built

ArcMap:
CoordinateConversionArcMap.esriAddIn
ArcGIS Pro:
CoordinateConversionArcGISPro.esriAddInX

Is there a reason the product name is in the AddIn name?
I don't see the point.

I take it that the extension keeps it unique. Good catch.

fixed.

when are we going to be done changing the name of things.  Do we realize this will require updates to other repos and the Jenkins build?


Add python-pip, CentOS installation to documentation

You must have pip installed to use pip, so I've added to the list of required packages.

Added instructions for CentOS installation

Jesse,
Thanks for the updates. Much appreciated.
I assume you tested this on EL7, not EL6? Would you mind clarifying in your notes?
One thing I noticed in reviewing your instructions is that the zeromq package from EPEL differs greatly from EL6 (version 2.x) to EL7 (version 4.x). The zeromq3 package (which is what we use) remains more consistent. I don't think this is an issue since there is supposed to be compatibility across all 3 of these versions per http://zeromq.org/intro:get-the-software . Not recommending a change at this point, but the lack of testing is something to be aware of.

Thanks for the feedback. In all honesty, I have not tested the code which exercises the zeromq functionality. I'd have no problem changing the package to zeromq3.
I tested this procedure on one of our CentOS systems, not a vanilla install, running 7.1.1503. My test procedure was to create a zip of binaries and run python laika.py on it. Minimal to be sure, but I figured that having some instructions for CentOS would be better than none.

Truth be told, I'm not sure either one of those packages contains the Python bindings for ZeroMQ.

Ah yes-- I missed that. You're going to want python-zmq from EPEL.

Thanks again.


💡 [FEATURE] - Adding a section about Git and GitHub

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
A section dedicated to Git and GitHub. Everything about Git, its commands and how GitHub is used in today's world as a technology.
Explain your solution
A list of all Git commands, basically a Git cheat-sheet will be provided. Introduction to GitHub, its uses and how it is valuable to a developer.
Any alternative approaches/features
No response
Additional Context
No response

I want to work on this issue, please assign it to me under GSSoC'24.

@jfmartinz I have created this Issue. So I can work on this. Assign me this one. I have added some good resources before, and will continue adding them .

I think no need to add this for now


Fix Deploy StatsD Metrics

Codecov Report

Merging #395 (0d00324) into develop (106f029) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #395   +/-   ##
========================================
  Coverage    82.04%   82.04%
========================================
  Files           32       32
  Lines         1075     1075
  Branches       191      191
========================================
  Hits           882      882
  Misses         193      193

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 106f029...0d00324. Read the comment docs.


#322: removing get_ prefix from generated methods.

closes #322

I'm not sure I'm comfortable applying name changes to all methods as you did. This immediately introduced a number of special cases, and we'd really like to avoid that. When I proposed to remove get_ from generated property getters, I meant precisely that: getters for properties that are actually properties in the GDScript API. This won't necessitate as many special cases because introducing a conflicting method will interfere with GDScript usage.

It's possible to see whether a method is a getter by looking at the properties fields of the class it belongs to:
"properties": [
	{
		"name": "access",
		"type": "int",
		"getter": "get_access",
		"setter": "set_access",
		"index": -1
	},
]

@toasteater Thank you for pointing that out. I'd forgotten that Godot had setget. PR is updated.


Update active-directory-assign-admin-roles-azure-portal.md

Fixed typo in link to Office 365 docs.

@VinceSmith,
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

@VinceSmith : Thanks for your contribution to the Azure documentation! The author, @curtand, has been notified to review your proposed change.

#sign-off


Support for "synced" and "workspaces" bookmakrs

In my Bookmarks, the synced (bookmarks from mobile) and workspaces (bookmarks from workspaces) field under the root field are not detected by the plugin.

Released in 0.8.0
Thanks again for the contribution!


How to use getConnectedOverlayOrigin in Directive 'MatDatepickerInput'

Bug, feature request, or proposal:
feature
What is the expected behavior?
What is the current behavior?
I only know Directive used in html.And set Event and Property,but the method I haven't used before.
I seek data form angular.io but can't find the answer,so How to use method in Directive ?
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
(this is a canned response)


Changed wrappedRow to paragraph to fix text wrapping in block explorer (#59)

Purpose
This addresses the problems with text wrapping, described in #59.
(Note: Still needs to be tested on actual transaction data, as i did not have access to the stagenet.)
Changes
Replaced wrappedRow with paragraph in the eventElem function.

@eulervoid This is how it looks now, and when copied the line breaks are not copied, which I think is great.
Let me know if this is how you intended it as well.

Looks as intended yes. Thanks for testing!

@eulervoid before we can merge this, can you please bump the version and update the changelog with this bugfix so we can keep track.

We should also check how this affects this issue https://github.com/Concordium/concordium-network-dashboard/issues/40
Will this break words as well?

I updated the changelog, the version seemed to be bumped already (1.0.2).
Regarding #40: on its own it would not break words, but i saw some html attribute for word-break in the code, so in combination with that it might break words as needed.

I mocked the http response to test locally and added the necessary html attribute to break long words correctly (see screenshot below). I left some of the mocking code in there as comments, and also couldn't help myself but give the stubs a consistent naming scheme.. i hope thats alright.


Does the alphafoldView support only the cif file format?

Does the alphafoldView support only the cif file format?
I download a pdb file from AlphaFold DB, but the plddt colormap did not work. How to visualize pdb file with alphafoldView.

Hi, The pLDDT data needed for the AlphaFold DB view theme is only available in the cif file, so the theme will appear when cif files are loaded with alphafold view

Hi @mandarsd. Can confidence coloring be enabled with a PDB file where the pLDDT is stored in one of the columns (i.e. b-factor)?
Is it possible to do this with custom code?

Details answered here - https://github.com/molstar/pdbe-molstar/issues/73


Big X-Span-Name headers can cause BAD-REQUEST

We ran into a production issue while using Sleuth
We have a dynamic path variable that is a concatenation of list items. At some point the url used exceeds 5000 characters. Running the url in a browser executes just fine. But, using this is with Sleuth tracing enabled causes a the request header X-Span-Name to also contain these 5000+ characters which exceeds a certain threshold causing the receiving http server to block the request. returning a 400 BAD REQUEST
Given the following example project
https://github.com/thyzzv/sleuthspan-test
It shows the X-Span-Name. The project runs just fine, as there is no limit on the inbound Request Headers. But in our production environment we are running into a limit set by the apache (which we don't control).

We're truncating the name to 50 chars - that's the easiest solution and it should stop any name abuse

thnx


Template producing an error

This is part of my grunt file:
jsdoc : {
  dist : {
    src: [
      jsPath + 'controllers/**/*.js',
      jsPath + 'directives/**/*.js',
      jsPath + 'filters/**/*.js',
      jsPath + 'modules/**/*.js',
      jsPath + 'services/**/*.js',
      jsPath + 'app.js',
    ],
    options: {
      destination: rootPath + 'doc',
      template: 'haruki'
    }
  }
},

When adding
 template: 'haruki'

the error produced is as follows:

js: "C:/folder/folder2/folder3/server/node_modules/grunt-jsdoc/node_modules/jsdoc/jsdoc.js", line 306: exception from uncaught JavaScript throw: Error: Unable to load template: Module "haruki/publish" not found.

I'm running a Windows 7 machine.
Could someone help me out, please?

This issue should fixed now. Please reopen if you don't think so.


Allow using / as the path separator

Describe the feature
Before I found this library, I am using / as the key separator.
and now I want to use this library in my codebase, but Storage always construct key as a:b:c
Additional information

[X] Would you be willing to help implement this feature?

This is not easy, and it will be a breaking change for all.

and there also are functions that already in used.

That's correct. What i plan is to support encodeKey utilities to allow this characters.

I made my first implementation for this, I will make a pr later

Moving to https://github.com/unjs/unstorage/issues/437


Suggestion: Item damage rolls set option.flavor to the damage roll damage type of the item damage lines

Originally in GitLab by @tposney
When rolling damage for an item there is no way to recover the damage type information from the roll result.
For ad hoc rolls doing xd5[bludgeoning] will tag the flavor to the roll term.
If I have an item with two damage formula
1d8 + @mod   bludgeoning
2d6          cold
It would be convenient (for me and probably no one else) if the roll terms were each tagged with the appropriate damage type as the flavor for the term
i.e. 1d8 DiceTerm - flavor bludgeoning
+@mod NumericTerm - flavor bludgeoning
2d6 DiceTerm - flavor cold
Ideally there would be a damage type that is attached to every damage roll term, but in lieu of that flavor makes a good proxy.

I think we want to align on #1818 for accomplishing this.


Tutorial: Specifying the number of descriptor sets to allocate

The Descriptor set section of chapter 27 says (with my bold emphasis):

A descriptor set allocation is described with a vk::DescriptorSetAllocateInfo struct. You need to specify the descriptor pool to allocate from, the number of descriptor sets to allocate, and the descriptor layout to base them on:
let layouts = vec![data.descriptor_set_layout; data.swapchain_images.len()];
let info = vk::DescriptorSetAllocateInfo::builder()
    .descriptor_pool(data.descriptor_pool)
    .set_layouts(&layouts);

However, the number of descriptor sets is not specified, at least not explicitly. I couldn't find documentation on how the  vk::DescriptorSetAllocateInfo builder functions determine the value for the descriptor_set_count field, but looking at the source code, I believe vk::DescriptorSetAllocateInfoBuilder::set_layouts sets this field to the length of the array passed. If I'm right, it would be helpful for the text to be modified to explain this. Maybe something like:
"A descriptor set allocation is described with a vk::DescriptorSetAllocateInfo struct. You need to specify the descriptor pool to allocate from and the descriptor layout to base them on. The length of the array passed to set_layouts determines the number of descriptor sets to allocate."
On a side note, this is a really excellent tutorial and I'm grateful for the time you've spent creating it. Thanks!

Thanks for the reports, PRs, and kind words!


Problem when run npm run dev or watch

Detailed description
near lines:
@import (reference) "../../bower_components/bootstrap/less/mixins";
@import (reference) "../../bower_components/bootstrap/less/variables";
@import (reference) "variables";
at runLoaders (D:\Usuarios\FretelWEB\Desarrollo\webapps\gTravel\node_modules\webpack\lib\NormalModule.js:192:19)
Context
I dont work with bower so the lines
// @import (reference) "../../bower_components/bootstrap/less/mixins";
// @import (reference) "../../bower_components/bootstrap/less/variables";
dont work
Possible implementation
works when I comment these lines in
bootstrap-social
fullcalendar
select2
Your environment
Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

Version used (e.g. PHP 5.6, HHVM 3):
Operating system and version (e.g. Ubuntu 16.04, Windows 7):
Link to your project:
...
...

This issue has been ongoing for a while. A few months ago the adminlte project changed or introduced a new way of referencing dependencies.
I gave up on having it run through npm and just installed via bower.

Yes is like @jake-harris say. I'm wondering to not compile adminlte by default maybe in following releases...


Vggish feature vs i3d flow visual feature

Hi. I am trying to extract visual and audio features on raw video clips. For visual features,
python main.py stack_size=24 step_size=8 extraction_fps=25 feature_type=i3d
Eg. it gives 112x1024 dimensional rgb and flow features on converted 25fps video using above command.
But for audio features, after converting the video fps to 25
python main.py feature_type=vggish
produces features which don't match with that of visual feature in the first dimension
Eg. It gives 32x128 dim feature only.
Can you please tell what needs to be done so that I can get same 112x128 audio feature?
Thank you

I see. Vggish extracts features from 0.96 sec without overlap. With the command above, I3d extracts features from 0.96 sec with 0.32 sec overlap. hence i3d featues should be 3 times longer but it is not in your case and i don’t know why.
You may want to change the code for vggish feature extraction to support overlap which might solve the issue. You may try to use no overlap for i3d features (step size =24) if your application permits. This should make them of the same size

Thank you,


modernhud notification edit

Added GetResourceState checker for ModernHUD.
If you have it started then it'll display ModernHUD notifications.
If not then it'll be default chat notifications.

Added in core for v2


[Script]: Plant Disease Prediction ML Model with Deployed Frontend Application

Aim
A deep learning ,i.e ,convolutional neural network (CNN) model for plant disease classification using transfer learning on a image dataset
Details
The model is deployed using streamlit, implementing an interface for user interaction.
Record

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

/assign


Add .gemfile to TargetFinder::RUBY_EXTENSIONS

Follow #5365
BTW, I think we should reconsider the list of extensions. Maybe we can remove the extension list from TargetFinder class, and TargetFinder reads the extension list from .rubocop.yml.

BTW, I think we should reconsider the list of extensions. Maybe we can remove the extension list from TargetFinder class, and TargetFinder reads the extension list from .rubocop.yml.

I agree. I think this was discussed in the past as well. The duplication is making updates to the list hard.


feat(wash-cli): add wash app validate subcommand

Feature or Problem

This commit adds a wash app validate subcommand which can be used to check and suggest fixes for WADM manifests.
As the breadth of possible errors with a manifest is wide, it's difficult to enumerate and check every possible error, but validate serves as a starting point in being able to give users proactive advice on WADM manifests.
For now, it checks:

interface names (ex. typos, misnamed host-supported interfaces)
dangling providers/components which aren't linked to anything

Related Issues

https://github.com/wasmCloud/wasmCloud/issues/2009
Release Information

next
Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

NOTE: we're waiting on some upstream changes to wadm but the changes coming have been taken into account here (ex. UndeployModelRequest changes).


Host the app on hemingway

We should host the site our self for dependability, accessibility and troubleshooting.

This might be helpful: https://github.com/arunoda/meteor-up

I did not manage to get Meteor-Up to work, maybe we could migrate to that later (they are developing a version that uses Docker, that could be useful). In the meantime I suggest that we use this guide for digital ocean.

Meteor-Up is now working. Now hosting on hemingway, currently only on port 3030, but waiting for ITK for the dab.radiorevolt.no-domain.


[mat-menu] panelClass input doesn`t work

Reproduction
https://stackblitz.com/edit/angular-kzveua?file=app/menu-overview-example.html
Expected Behavior
Applied class on menu panel.
Actual Behavior
The panelClass directive doesn`t work. Or how to add a custom class to the panel ?
Environment

Angular: 8.1.0
CDK/Material: 8.0.2
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): WIN 10

The input is called class, not panelClass. You can use it like this <mat-menu class="my-custom-class">.


Support imports

Supporting imports is likely to be a really tricky thing. We need to be able to resolve the imports PRIOR to type checking and retrieve them at that point for compilation (with a caller provided resolver/loader). This likely means pre-parsing the file into an AST to grab import statements and resolve them. I don't think there are any explicit security concerns here, but we should think about it.

Going to take a stab at this in the next week or so after a conversation with Joel that more comprehensive support for full filesystem feature set is desired


make test not working locally

Description of the problem
I followed all the instruction on https://mne.tools/stable/install/contributing.html. Here: https://mne.tools/stable/install/contributing.html#running-the-test-suite, I am not able to run make test
Steps to reproduce
run "make test" from the mne-python root folder.

Link to data
No response
Expected results
the tests would run
Actual results
I get:
make: *** No rule to make target test'.  Stop.`
Additional information
Platform             macOS-13.3.1-arm64-arm-64bit
Python               3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:08:41) [Clang 15.0.7 ]
Executable           /Users/chapon01/Programs/miniconda3/envs/mnedev/bin/python
CPU                  arm (12 cores)
Memory               32.0 GB
Core
├☑ mne               1.5.0.dev45+gb92c88d70
├☑ numpy             1.24.4 (OpenBLAS 0.3.23 with 12 threads)
├☑ scipy             1.11.1
├☑ matplotlib        3.7.1 (backend=MacOSX)
├☑ pooch             1.7.0
└☑ jinja2            3.1.2
Numerical (optional)
├☑ sklearn           1.3.0
├☑ numba             0.57.1
├☑ nibabel           5.0.1
├☑ nilearn           0.10.1
├☑ dipy              1.7.0
├☑ openmeeg          2.5.6
├☑ pandas            2.0.3
└☐ unavailable       cupy
Visualization (optional)
├☑ pyvista           0.39.1 (OpenGL 4.1 Metal - 83.1 via Apple M2 Pro)
├☑ pyvistaqt         0.0.0
├☑ ipyvtklink        0.2.2
├☑ vtk               9.2.6
├☑ qtpy              2.3.1 (PyQt5=5.15.6)
├☑ ipympl            0.9.3
├☑ pyqtgraph         0.13.3
└☑ mne-qt-browser    0.5.1
Ecosystem (optional)
├☑ mne-bids          0.13.dev0
├☑ mne-connectivity  0.6.0dev0
└☐ unavailable       mne-nirs, mne-features, mne-icalabel, mne-bids-pipeline

I think we got rid of it at some point but forgot to remove it from the contributing doc. Really you can run pytest in a targeted way or make flake to run the style tests. We should probably recommend these two options. I wouldn't recommend a blanket make test because it will take 10-20 minutes to run locally, whereas if you pytest mne/something/specific it will be done in < 1 minute generally

ok thanks! I guess should update https://mne.tools/stable/install/contributing.html then...

Yeah I think that would be better than adding a generic make test target


Keyboard on screen

Hi, is there any keyboard on screen like Steam Lotus Keyboard for Xbox 360 controller? It would be amazing if there were an integrated virtual keyboard for controls rather than a real keyboard connected. Sometimes it is necessary to write in Chromium and the xbox 360 control is not directly supported and I do not find an extension for it in the Google Chrome Web Store.
Example:

Find me a program that we can use that way and I'll see what I can do.

retropie is not android good luck with that

retropie is not android good luck with that

Hi, so far I have been able to use Chrome-Couch but I can not type address in Chromium's address bar by restricting Chrome itself. So I found this Lotus keyboard but I could not try to use it because I'm out of time.
Soon I will post what I did to work on Chromium.

Reopen if someone finds something useful.


Resize Images

added feature to resize images proportionally weather percent ,max width or max height

Hi, until now, if a user wanted to resize an image, he/she would have to provide a callback that does this particular operation. I do not like this particular feature to be part of ImageUploader. I suggest creating a CallbackGenerator that generates a resizeImageCallback which does the same operation. We can have another file Callback.php for that.
Also, try to follow the coding guidelines used(eg. variables are not in camelCase whereas functions are) and remove extra whitespaces.
Thanks!


Why not put the arch version in AUR for further install and update convenience?

Hi, I was just wondering if this exists in AUR, searched for it and no luck. Are you planning to add it?

hey @HadiLatifi,
I actually didn't plan it. I guess it's good idea. I'll take a look what I can do.
I guess I need to make PKGBUILD or something like that...

yes, actually it's pretty easy and straight forward, you'll need to make a PKGBUILD and then upload it to AUR.
you could use debtap, a script for converting .deb to arch packages. it can help you by producing the PKGBUILD file, just be careful about the dependencies. it creates a lot of unneeded ones.
about creating the PKGBUILD you can see this link
I'd be happy to help

hey @HadiLatifi,
unfortunately still can't find time to work on it. Feel free to make PR with PKGBUILD. I can then add it to AUR.

hey @KryDos,
I've made the PR. just mind the already existing todoist clients on aur. esp for naming. also I'd suggest reviewing my PKGBUILD namings. the .SRCINFO is auto created by makepkg and is required by aur.

Could you please update the AUR package to the latest release?

hey @lokesh-krishna,
I just made a new release (1.21) and pushed that to AUR as well.
I should definitely automate it somehow because I'm always forgetting to update AUR. Thanks for reminding me.


Missing .gitattributes and .gitignore

@nschonni commented on Mon Nov 12 2018
Noticed this because of the encoding issue  ran into from a PR. These should probably be copied from the source repo and normalize the line endings after.
/cc @ktoliver

@CeciAc commented on Tue Nov 13 2018
Hello @nschonni
We truly appreciate your comment and we strive to improve your experience in docs.microsoft.com. However, we need more information in order to be able to address your feedback. Can you please provide more detailed information and clarify your comment?

Kind regards,
Microsoft DOCS International Team

@nschonni commented on Wed Nov 14 2018
The currently https://github.com/MicrosoftDocs/azure-docs/blob/master/.gitattributes tells Git what typo of line endings the files should store when someone saves the file. This is important if you have authors and tools working on different platforms with different line ending preferences (Windows vs. Linux). Most of the diff in https://github.com/MicrosoftDocs/azure-docs.fr-fr/pull/192 was likely because there was mixed line endings in the file, that when changed in the web, had to be normalized to the Linux LF. The more in-dept manual for it can be found https://www.git-scm.com/docs/gitattributes
The .gitignore file tells Git what files and extensions not to track. There is a light one in the main repo https://github.com/MicrosoftDocs/azure-docs/blob/master/.gitignore

closing this issue since the user confirmed the files are missing just in the localized version


Weapon scan index out of bounds error

Current Behavior
Hello,
I installed Kamera <IP_ADDRESS> today, it downloaded an update, then I tried scanning for Weapons, which throws an "index out of bounds" exception. I have attached the log file below.
Expected Behavior
The scanner continues to scan
Reproducing a Behavior
Run the app, set scanning to Weapons only, other settings are default.
Device OS
Windows 7
Genshin Impact Version
4.1
Inventory Kamera Version
<IP_ADDRESS>
Screen resolution, screen mode, and UI scale
1920x1080 fullscreen
Additional notes and remarks
No response
Evidence
InventoryKamera.debug.log
Preflight Checklist

[X] I have checked for similar issues in the issue page, and I have not found any similar to mine.
[X] I am using the latest version of the scanner.
[ ] I tried setting the scanning delay to maximum, and it still doesn't work.
[ ] I have attached the video recording to the bug report.
[X] I have attached the error log to the bug report.
[X] I am available to later explains the issue.
[X] I have disabled all screen filtering software or plugins (i.e. HDR, Image Sharpening) while scanning.
[X] I use default in-game keybindings or have configured keybindings for the scanner.

I'm a dumdum and didn't leave the paimon menu open.


Visualize display

@kdh0324 You should know that your saving method is not depends on self.list
I think it should be fixed. We need to discuss about this methodology.
This commit is about visualizing and part/mood tab

I check this pr in screen share


ZoneIngress without advertisied address

Description
When ZoneIngress do not have advertisied address, it's most likely during the process of retrieving Load balancer IP.
But the IP may never be assigned.
We should do a better job to show to a user that this Ingress is not taken into account for cross-zone traffic.

We’ll be displaying address & advertised address with https://github.com/kumahq/kuma-gui/issues/1388.

Implemented in https://github.com/kumahq/kuma-gui/pull/1412.


[BUG] Memory allocation issue whenever number of voxels increases a certain threshold.

Environment
**Operating System: Ubuntu 20.04.5 via nix-env
**Version / Commit SHA: 9.1 found in nux-env unstable channel
**Other: GCC 11.2, cmake 3.21
Describe the bug
I'm collaborating on the development of an open-source program (recut) that is a program to reconstruct neurons using terabyte-size 3D images of the mouse brain. We use OpenVDB and hit a wall at the moment. Whenever the number of voxel sizes increases more than a certain number, some OpenVDB functions start to find trouble allocating memory. This problem happens in spite of the fact that our computer has 4TB of RAM and our runs barely hit the 1TB ram usage.
The following image shows the gdb output of one of the runs in which our program froze reaching segmentActiveVoxels function of OpenVDB.

I'm not a gdb wizard by to my understanding this is a memory allocation issue.
To Reproduce
Steps to reproduce the behavior:
I might be able to produce a test code as needed.
Expected behavior
segmentActiveVoxels works fine whenever the number of voxels is smaller than ~700,000,000. The program froze when the voxel numbers were more than ~800,000,000.
We expected voxel numbers smaller than 2^32 to work at least, although we can definitely use more voxel numbers if that works.
Additional context
This is a very important university project. :)
The testing hardware is a dual-socket HGX server equipped with AMD Epic CPUs.

Hi @k1moradi,
Unfortnately there's not enough information in that backtrace to diagnose this or even confirm it is a memory allocation issue. I assume we don't want to run your 1TB tests in debug mode, so what we can try doing is adding more debug info to the release builds to attempt to get some more information from the trace. Could you try building your software with: -g -ggdb3 ? That may give us a start to the general area in the tool header that's causing the issue. If that doesn't help you can also try rebuilding VDB with those flags (pass cmake `-DCMAKE_CXX_FLAGS="-g -ggdb3").
Let me know if you're able to get any more details from that.

I compiled recut software with the suggested flags.

Do you understand anything more from these outputs? I'm not a gdb expert but to me, this output is similar to the previous output.

Yes there's unfortunately no new information here - you'll also need to rebuild VDB with these flags too.

An example vdb file.
We use the segmentSDF function like this:
openvdb::io::File file("/path/to/file");
file.open();
openvdb::GridBase::Ptr sdf_grid= file.readGrid(file.beginName().gridName());
file.close();
std::vector<openvdb::FloatGrid::Ptr> components;
openvdb::v9_1::tools::segmentSDF(*sdf_grid, components);


[FLINK-33130]reuse source and sink operator io metrics for task

What is the purpose of the change
Show sources and sinks io metrics(Bytes/Records) correctly at flink webui.
Brief change log
reuse source and sink operator io metrics for task.
Verifying this change

The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)

Documentation

Does this pull request introduce a new feature? (no)

@flinkbot run azure

I experiment with a simple read-write job using the content of this PR, but I notice that the Bytes Sent and Records Sent metrics on the sink are doubled.

@littleeleventhwolf Can you post your code? I'll use your code to check it again


[url_launcher] unable to load the url to open a publicly available application

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Install the flutter version 3.7.12
Add any version of url_launcher (I have tested with 6.1.11, 6.1.1)
add the below snippet to load the URL
It is not able to open the app in Safari

Expected results
url_launcher should open this screen:

Actual results

Code sample
Code sample
try {
   await launchUrl(url.toUri());
} catch (e, s) {
   print(e);
   print(s);
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[log] PlatformException(Error, Error while launching https://apps.apple.com/de/app/towio-messenger/id1562839005, null, null)
[log] #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315:18)
<asynchronous suspension>
#2      WurthUrlLauncher.launchUri (package:photodoc/classes/wurth_url_launcher.dart:19:9)
<asynchronous suspension>

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.7.12, on macOS 13.0 22A380 darwin-arm64, locale en-DE)
    ! Warning: `dart` on your path resolves to /Users/mateen/flutter/bin/cache/dart-sdk/bin/dart, which is not inside your current Flutter SDK checkout at /Users/mateen/fvm/versions/3.7.12. Consider adding /Users/mateen/fvm/versions/3.7.12/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[!] Android Studio
    ✗ Unable to find bundled Java version.
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
[✓] VS Code (version 1.77.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

! Doctor found issues in 2 categories.

Exactly the same thing happens if you try to open that URL yourself in Safari; simulators don't have app store access. This is unrelated to the url_launcher plugin.


Is it possible to minimize budget with constant volume?

From the docs, lightweight_mmm.optimize_media.find_optimal_budget optimize for maximum volume given a fixed budget. However there is no option to minimize budget for a fixed volume. It might be possible to perform binary search on budget such that the expected desire volume is obtained (if convex), but it would be nicer to have them natively implemented

Moved to discussion


Integ and E2E GKE tests fail with "fork/exec /usr/local/bin/envoy: permission denied"

Bug description
Manually run integ tests and E2E tests run against a GKE cluster fail because the istio-proxy sidecar container dies with the following error:
2019-06-11T20:50:57.596010Z	info	Epoch 0 starting
2019-06-11T20:50:57.598533Z	info	Envoy command: [-c /etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 2 --parent-shutdown-time-s 3 --service-cluster echosrv.istio-system --service-node sidecar~<IP_ADDRESS>~echosrv-deployment-1-5589d7bd78-k8tvq.istio-system~istio-system.svc.cluster.local --max-obj-name-len 189 --local-address-ip-version v4 --allow-unknown-fields -l warning --component-log-level misc:error --concurrency 2]
2019-06-11T20:50:57.598999Z	warn	Epoch 0 terminated with an error: fork/exec /usr/local/bin/envoy: permission denied

Investigating more closely, it appears that the executable permissions for the envoy binary are set to 750 instead of 755.
This bug appears to have been introduced in https://github.com/istio/istio/pull/13579. There was some discussion of the impact of removing the chmod statement, but it didn't seem to fail the automatic tests.
Should we re-add the chmod that was removed in the above PR? Should we use some other mechanism to ensure that all packaged executables are 755 before packaging them into Docker containers?
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[X] Test and Release
[ ] User Experience
Expected behavior
Running integ and E2E tests on GKE as documented should work, and needed binaries should be world-executable.
Steps to reproduce the bug

Check out a commit on master on or after a51ebc0d0
make && make docker && make docker.push && make installgen
Start a GKE cluster for testing (using either create_cluster_gke.sh or the steps here
make e2e_simple E2E_ARGS="--skip_cleanup"
Note that the test times out and fails, and that the "echosrv" pods on the test cluster are stuck in a crash loop with the error described above.

Version (include the output of istioctl version --remote and kubectl version)
Tip of master branch (a51ebc0d0 and forward)
How was Istio installed?
Test script automation
Environment where bug was observed (cloud vendor, OS, etc)
GKE

Question: why has this not broken any of the automated tests?

@fpesce, sushicw : shouldn't this be for 1.2 milestone as it breaks local testing for 1.2 using e2e or integration tests...


Jimp.read() can't read an url from a webserver

For example:
Jimp.read("http://www.images.com/0.jpg")
Output:
Error: TypeError [ERR_INVALID_ARG_TYPE]: The "msecs" argument must be of type   number. Received type object

Are you sure that a link you are using has an image file?

I changed some things and now i get this:
Error: socket hang up
Every time i try an url, heres the full log:
log.txt

@jotalanusse your link in the first post does nothing. How are you running jimp? In the browser? Node? Webpack?

the following works for me in all situations
const jimp = require('jimp');

jimp
  .read("https://images.pexels.com/photos/296282/pexels-photo-296282.jpeg?auto=compress&cs=tinysrgb&h=350")
  .then(image => image.getBuffer(jimp.AUTO, (err, res) => console.log(res)));

just tested in all and i got no errors. can you provide the full code?

I run my code in Node, the link I provided was an example. I already tried with every link you posted.

PR #510 helps with catching the errors. The link "http://www.images.com/0.jpg" doesn't actaully lead to an image so this is an expected result.
This link still works fine for me "https://images.pexels.com/photos/296282/pexels-photo-296282.jpeg?auto=compress&cs=tinysrgb&h=350" You get the same error with this link?
What version of jimp are you using?

Problem solved! I was using the Current version of Node (10.8.0) instead of the LTS (8.11.3). Thanks everyone.


Add IPv6 support

Add support for pinging IPv6 hosts, alongside IPv4 hosts if you want
It also adds -4 and -6 options for restricting the addresses resolved by get_ip_addresses to only v4 or v6 addresses respectively
Changes:

instead of passing response_times and errors to functions, an array of destination_info structs is passed instead, which combines the response time, error number and addresses of each destination (so one array rather than 3)
another, separate socket is created for IPv6
different code paths in the ping_all function for sending and receiving the hosts

I'm marking this as a draft because I've only tested it on my machine with my normal internet connection, which has a public IPv6 address (so I can ping IPv6 hosts just fine). I haven't tested it in different scenarios such as having IPv6 disabled or not having a public IPv6 address available, only having v6 addresses, etc.

I tested disabling IPv6 and it worked fine and it also worked fine when I disabled IPv4 (I disabled them through changing the settings for my connection in NetworkManager)


Extract gossiping logic into a type

Rationale: this changes are extracted from #92. I made them, because gossiping is generic and I don't want to duplicate code for Txs, Blocks, Proofs, etc. Moreover, I think this abstraction is a good starting point for #93 - validator function could be added to Gossip struct.

This failing test seems new:
E[2021-09-07|13:35:08.281] errors while stopping node:                  errors="context canceled"
    integration_test.go:47:
        	Error Trace:	integration_test.go:47
        	Error:      	Not equal:
        	            	expected: 10
        	            	actual  : 7
        	Test:       	TestTxGossipingAndAggregation
        	Messages:   	Expected number of calls (10) does not match the actual number of calls (7).

Codecov Report

Merging #95 (5cace4e) into main (4b45d93) will increase coverage by 0.22%.
The diff coverage is 89.18%.

@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
+ Coverage   59.73%   59.96%   +0.22%
==========================================
  Files          23       24       +1
  Lines        1587     1601      +14
==========================================
+ Hits          948      960      +12
- Misses        525      526       +1
- Partials      114      115       +1

Impacted Files
Coverage Δ

p2p/gossip.go
86.20% <86.20%> (ø)

node/node.go
68.18% <100.00%> (ø)

p2p/client.go
75.75% <100.00%> (-1.12%)
:arrow_down:

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 4b45d93...5cace4e. Read the comment docs.

@tzdybal, how handler is set to Gossip? Seems like it is always nil.
Also, semantically, why Gossip and not Gossiper? Gossip feels like concrete gossip, while Gossiper is the one who gossips. If we look at the code, we will see Gossip is the one who gossips and GossipMessage is concrete Gossip.

Handler is set for example in: p2p/client.go.
I agree on semantics - I didn't put enough effort to name it correctly. I'll fix this in #92.

Oh, ok, I see. The thing is, the handler is set avoiding encapsulation. Basically, the Client accesses the private handler field directly. Any reason why you do not pass the handler in the Gossip constructor?


<EMAIL_ADDRESS>No URL Protocol handler for tg://

Bug Report
Package Name: Telegram
Current Behaviour
No response when open tg:// link in browser as there's no protocol handler.

Possible Solution
I added the registry myself, but unable to write the scripts. Here's the export for .reg.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\tg]
@="URL:tg protocol"
"URL Protocol"=""

[HKEY_CURRENT_USER\SOFTWARE\Classes\tg\DefaultIcon]
@="Telegram.exe"

[HKEY_CURRENT_USER\SOFTWARE\Classes\tg\Shell]

[HKEY_CURRENT_USER\SOFTWARE\Classes\tg\Shell\Open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\tg\Shell\Open\Command]
@="\"$SCOOP\\apps\\telegram\\current\\Telegram.exe\" -- \"%1\""

System details
Windows version: 10
OS architecture: 64bit
PowerShell version: 7.2.6

Should this registry protocol also be added for the telegram forks as well. @HUMORCE  @H-Tung

Also, sorry for the necro posting.

Make it an option.


Make bundled assets overridable

This adds a server-assets-folder configuration option which allows overriding the assets bundled to the binary.
This makes iterations on the UI easier and files can be updated without rebuilding and restarting droned.

So as long as you don't embed the files in the binary (ie don't run the make embed command) the static assets are served directly from disk. It is actually one of the selling points of the library we are using:

During development go.rice will load required files directly from disk. Upon deployment it is easy to add all resource files to a executable using the rice tool, without changing the source code for your package. go.rice provides several methods to add resources to a binary.

That being said, this change is important because I want to support themes. People should be able to completely swap out the user interface with their own custom theme.
So I'll definitely merge this change. I don't think it is necessary for local development, but it does allow us to support themes which is really awesome. So thanks!


create JSFiddle does not take into account url params

So if you are viewing an example with the DOM renderer for example, the JSFiddle will be the default canvas renderer instead. Maybe we don't want to support this though. Just opening up for discussion.
http://openlayers.org/en/master/examples/simple.html?renderer=dom

I made it so the exampleNS renderer code is removed from the example JS on purpose. It is mostly a testing feature IMHO, not something we want our users to do. So I'd appreciate if things could stay as they are.

cool, closing as WONTFIX

I see now what you meant. It would be possible to change the map configuration in the example code snippet with client side code to match the renderer specified in the command line. I'm reopening in case someone wants to do this.

A little bit off topic, but what about the "extras files"? Like 'data/kml/2012_Earthquakes_Mag5.kml' loaded in the Earthquake Clusters


Start Animation after element comes into viewport

This will make the make the CSS animation either start before or after it has entered the viewport by scrolling.when an user will scroll to that element by some size animation will happen!

This

Was this meant to be with an example code or PR?


Auto login option is not available in WHMCS client area

User created, package assigned but the client is not able to login to Cyberpanel as the Username is showing as root on welcome email. The actual username created on Cyberpanel is not available anywhere for the Client. Also My Products & services under Client area has no option for auto login to the Cyberpanel as user. Is there any codings available to show "Login to Server/Cyberpanel" button at My products & services under client area?

When clicking on the purchased product at Clent area it shows below error:

Error: Call to a member function setUri() on null in /home/hostingskull.com/billing.hostingskull.com/includes/hooks/a.php:14
Stack trace:
#0 /home/hostingskull.com/billing.hostingskull.com/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\Utility\SafeInclude::{closure}()
#1 /home/hostingskull.com/billing.hostingskull.com/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run()
#2 /home/hostingskull.com/billing.hostingskull.com/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic()
#3 /home/hostingskull.com/billing.hostingskull.com/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): run_hook()
#4 /home/hostingskull.com/billing.hostingskull.com/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit()
#5 /home/hostingskull.com/billing.hostingskull.com/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent()
#6 /home/hostingskull.com/billing.hostingskull.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(41): WHMCS\Http\Message\AbstractViewableResponse->getBody()
#7 /home/hostingskull.com/billing.hostingskull.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(31): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emitBody()
#8 /home/hostingskull.com/billing.hostingskull.com/clientarea.php(0): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit()
#9 {main}
Codes available on /home/hostingskull.com/billing.hostingskull.com/includes/hooks/a.php:
`<?php
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar)
{
$service = Menu::context('service');
$domain = $service->domain;
if (!is_null($primarySidebar->getChild('Service Details Actions'))) {
$primarySidebar->getChild('Service Details Actions')
->getChild('Login to cPanel')
->setUri('http://cpanel.'.$domain);
$primarySidebar->getChild('Service Details Actions')
->getChild('Login to Webmail')
->setUri('http://webmail.'.$domain);
}
});
`

Well, the username should definitely match on cyberpanel and whmcs. Which WHMCS version you are using?

Username is showing as root on welcome email

Both issues seems to be misconfiguration on your part or unsupported version. Also, login to panel feature is already present for both client and admin.

WHMCS version is 8.0.3 which is the latest version. Login to panel for admin is available under WHMCS but for client it's not showing in the client area.
Moreover is there any possible solution for the above error?

Can you please help me to show 'use only letters & numbers' in root password field under server configuration form on order page?
Which file could be edited to show this?

Issue Solved. This was an installation issue. Reinstalled WHMCS and working fine.
Please help me to show 'use only letters & numbers' in root password field under server configuration form on order page.

That's template issue.


[FEATURE_REQUEST] Unify weather and weather forecast widgets

Is your feature request related to a problem? If so, please describe.
Hi! I started using the weather forecast widget and it behaves a bit strangely - see image.

I checked the response from the openweathermap API and it looks like for the forecast the increment is 3 hours, not 1 day. That's probably why the same day gets shown 5 times in my case.

Describe the solution you'd like
Openweathermap migrated to One Call API 3.0, which is also free for <1000 calls/day (more than enough for a regular user), so I think Dashy should, as well.
As an improvement, since the new API returns both current weather and forecast in multiple time period steps, in my opinion the best solution would be to have a single weather widget which can display any type of forecast(hourly/daily/none) based on config.
This also avoids a double call to the API if a user wants all of this info - right now the only option would be having both widgets.
Priority
Medium (Would be very useful)
Is this something you would be keen to implement
None

Just checked the open issues and this is probably a duplicate of #1376.

Hey @bogdanjsx.
Re the incorrect dates, yeah that's a dup of #1376 - But your insight (3 hour increments) is the cause, so thank you for finding that!
In terms of combining the weather + weather forecast widgets, there have been some other tickets relating to the weather widget, and the API and endpoints used. The solution to which is probably going to be re-writing the weather widgets, at which point I'll look into combining current + foretasted weather.
I'm going to find those other tickets and reference/link to your ticket, and then close this issue, just to reduce clutter.

Spent hours, till I finally found out it was the api's fault and time was 3 hour increment ->
https://github.com/Lissy93/dashy/issues/1376#issuecomment-1975280698
👍
@Lissy93
If you plan to fully rewrite it, then i'll probably not make any PR's to this.

Also linking #903 to here.


Monaco editor is not working in Safari 13.1

monaco-editor version: 0.23.0
Browser: Safari 13.1
OS: Mac
Upgrading the Monaco editor in our web application from version 0.21.2 to 0.23.0 has stopped our application loading in Safari 13.1. Updating to the latest version of Safari 14.0.3 does fix the issue. However we need to continue to support Safari 13 in the short-term.
We see the following error:
window.matchMedia("(forced-colors: active)").addEventListener is not a function. (In 'window.matchMedia("(forced-colors: active)").addEventListener("change",(function(){e._updateActualTheme()}))', 'window.matchMedia("(forced-colors: active)").addEventListener' is undefined)
This is reproducible on https://microsoft.github.io/monaco-editor/:

It appears that this is the recent code change that has caused the issue: https://github.com/microsoft/vscode/blob/58faca759ab38b44837c512074fa942f4716a9fa/src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts#L236
I assume that Safari 13.1 does not implement addEventListener on MediaQueryList, so addListener needs to be used instead.

Prior to Safari 14, MediaQueryList is based on EventTarget, so you must use addListener() and removeListener() to observe media query lists.

https://caniuse.com/?search=addlistener


Test workaround in travis-scripts for lcov 1.12 bug

Description of changes:
This build failure is the result of hitting a bug in lcov 1.12. A workaround has been implemented in travis-scripts, at https://github.com/aws-robotics/travis-scripts/pull/65. This draft pull request is for testing it.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Testing complete.


Headset tracking lost when the app is resumed

Overview
In MotionControllerTest scene, the app runs fine on the first run. However, when it is resumed from cliff house, headset tracking lost and the scene/controller moves with your body. This might happen in any scenes that uses MixedRealityCamera.
This only happens in deployed app. Unity's game mode is fine.
Expected Behavior
Tracking should work.
Actual Behavior
Tracking is not working when the app is resumed. Entire scene moves with your head/body.
The symptom shows up only when it is resumed.
Steps to reproduce
Build and deploy MotionControllerTest scene with Visual Studio.
Unity Editor Version
Unity 2017.2.0p1-MRTP4 (64-bit)
Mixed Reality Toolkit Release Version
Latest master clone.

MRTP4 has had issues with tracking lost recovery. Duplicate of #1383, possible duplicate of #1353.

@keveleigh Thank you Kurtis! Glad I am not the only one struggling with this issue! :)


creating a page with a space causes an error.

create a page called 'about us'
create a route to 'about us'
launch the app. you get an error:

=> Errors prevented startup:
While building the application:
both/router/controllers/about_ us/about us_controller.js:1:26: Unexpected
identifier
client/views/about us/about _us.js:1:30: Unexpected identifier
expected result - either the user should not be able to create an "about us" page (instead, aboutus), or that it works

You can name it about_us. Template will be named AboutUs, route name will be about_us, files will be named about_us.html, about_us.js

I'l add check - names should not contains spaces.

P.S. it's normal behavior - we cannot have spaces in javascript indentifiers. Page object has title property and here you can set "About Us" or whatever...

got it. thanks!


Installing libs via composer install --no-dev fails

Cannot composer install --no-dev
Fails on this version of Latest commit 410415a  6 days ago
Fatal error: Uncaught Error: Undefined constant 'Apigility\VERSION' in C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\module\Application\view\layout\layout.phtml:32 Stack trace: #0 C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\vendor\zendframework\zend-view\src\Renderer\PhpRenderer.php(506): include() #1 C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\vendor\zendframework\zend-view\src\View.php(207): Zend\View\Renderer\PhpRenderer->render(NULL) #2 C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\vendor\zendframework\zend-mvc\src\View\Http\DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #3 C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\vendor\zendframework\zend-eventmanager\src\EventManager.php(322): Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent)) #4 C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\vendor\zendframework\zend-eventmanager\src\EventManager.php( in C:\_worthwhile_src\_BTSYNC\_DEV\PROJECTS\zf-apigility-skeleton\module\Application\view\layout\layout.phtml on line 32

Also, i get route not matched if i enable development mode, create a rest endpoint, disable development mode, run composer install --no-dev
after visiting my test endpoint /test
A 404 error occurred
Page not found.
The requested URL could not be matched by routing.

No Exception available
© Copyright 2013 - 2018 by Zend Technologies Ltd.
Apigility version

For more information apigility.org

This makes no sense. With a series of composer install --no-dev and composer install along with enabling and disabling zf admin at random it works.


Is jar file for this lib is available?

I want to use this lib with scenebuilder and netbeans but I couldn't use gradle in netbeans for some reason

You can get the JAR file from Maven Central.
https://search.maven.org/#artifactdetails|eu.hansolo|tilesfx|1.5.6|jar


Am not able to DISABLE the Branch Policy, to bypass PULL REQUEST

I had set Branch Policy for a GIT Branch. Now, when I remove all the selections of Branch Policy and SAVE, still I see the branch policy symbol (icon) on the branch name. Without a PULL REQUEST, Am not able to PUSH any code into the branch.
Is there no option to PUSH code into the branch, without a PULL REQUEST ?

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

ID: 7cd986e0-608c-1d8c-6faf-ecdb12e10bc6
Version Independent ID: d60c996e-187e-dd6b-7f3a-dd056a1603f4
Content: Protect your Git branches with policies - Azure Repos
Content Source: docs/repos/git/branch-policies.md
Product: devops
Technology: devops-code-git
GitHub Login: @apawast
Microsoft Alias: sdanie

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow


Installation fails

It seems cozy has changed their installer and the automatic installation of the cozy cloud is blocked at the point when the type of SSL certificate has to be chosen.

Hello world.
I encountered the same problem.
After the VM’s installation, the apt-get update don’t work due to a mispelled file and a duplicate source in the sources.list.d folder.
After that, a dkpg-reconfigure set the TLS certificate, but the nginx server desn’t respond anyway on the 443 port.
At least I tried to apt-get update and now the nginx server send me a Bad Gateway when I connect.
I will check the sites-avaibles and sites-enabled when I have time, to see where the problem come from.

Hi,
To relaunch the blocked cozy cloud installation, you may type the following commands as a temporary bugfix:
pkill apt-get rm -fr /var/lib/dpkg/lock rm /var/cache/debconf/config.dat rm /var/cache/debconf/passwords.dat rm /var/cache/debconf/templates.dat dpkg --configure

Hello,
I tried to reconfigure broken packets but it still doesn’t work.
Setting up cozy (1.24) ...
Chosen domain name for Cozy: 10 cozy/fqdn doesn't exist
Installing NPM dependencies...
Creating UNIX users...
Generating CouchDB tokens...
Configuring Cozy Controller...
 is running
Waiting for Cozy Controller to start... (1/20)
Waiting for Cozy Controller to start... (2/20)
Waiting for Cozy Controller to start... (3/20)
Waiting for Cozy Controller to start... (4/20)
Waiting for Cozy Controller to start... (5/20)
Waiting for Cozy Controller to start... (6/20)
Waiting for Cozy Controller to start... (7/20)
Waiting for Cozy Controller to start... (8/20)
Waiting for Cozy Controller to start... (9/20)
Waiting for Cozy Controller to start... (10/20)
Waiting for Cozy Controller to start... (11/20)
Waiting for Cozy Controller to start... (12/20)
Waiting for Cozy Controller to start... (13/20)
Waiting for Cozy Controller to start... (14/20)
Waiting for Cozy Controller to start... (15/20)
Waiting for Cozy Controller to start... (16/20)
Waiting for Cozy Controller to start... (17/20)
Waiting for Cozy Controller to start... (18/20)
Waiting for Cozy Controller to start... (19/20)
Waiting for Cozy Controller to start... (20/20)
Cozy Controller is too long to start
dpkg: error processing package cozy (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2ubuntu8.3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
 cozy
E: Sub-process /usr/bin/dpkg returned an error code (1)

fixed with #21


A few additions

Hey, awesome list!
I added more sst projects, dexed and ysfx
also edited the monique-monosynth entry.
(The latest commit message for monique might be somewhat misleading.
It means if you build with juce7 you get an additional lv2
for testing purpose. The pipeline still uses juce6)

Thanks @haenkel!


Need site/something that describes the middleware

More docs, that are place somewhere. A middleware.md is likely to be a good starting point.

Started on my blog, lcoing for now as I will work on it


Hypergraph class

Description
Create the HyperGraph Class
Implementation
Take an segmented graph and transform it into an HyperGraph

Could be cool to use simplify instead of our interpolate for the the segmentation of our skeletton

Try segmentize for the graph segmentation