Add tags for versioned releases

When working with a specific commit of the repository (e.g. v0.12.13), specifying that by a tag-name instead of commit hash (e.g. a94d31d) for the git checkout command would be much easier. And when cloning, it is possible to directly go to specific tag but not to an untagged commit, e.g. git clone --branch v0.12.13 git://github.com/imyller/meta-nodejs.git.
One can generate a list of commands with:
git log --oneline | \
sed -n 's/\([[:xdigit:]]\+\) .*\(\([[:digit:]]\+\.\)\{2\}[[:digit:]]\+\).*/\2 \1/p' | \
grep -v -e 4127cbc$ -e 64a33f6$ | \
sort -V | \
sed -e '/^.\{13\}$/s/[^ ]*$/ &/' -e '/^.\{14\}$/s/[^ ]*$/ &/' -e 's/^/git tag v/'

Currently, this generates these commands:
git tag v0.8.28  7abfef5
git tag v0.10.26 75aeeee
git tag v0.10.27 3da27dc
git tag v0.10.28 5b960f6
git tag v0.10.30 261eee9
git tag v0.10.31 1b49519
git tag v0.10.32 1797d84
git tag v0.10.33 20f9a28
git tag v0.10.34 ac168aa
git tag v0.10.35 14617df
git tag v0.10.36 a447eac
git tag v0.10.37 bca2997
git tag v0.10.38 bdb1a14
git tag v0.10.39 af20168
git tag v0.10.40 bf4d4bb
git tag v0.10.41 836a8cd
git tag v0.10.42 fefa471
git tag v0.10.43 c92d743
git tag v0.10.44 db8609a
git tag v0.12.0  569079f
git tag v0.12.1  eb7d94d
git tag v0.12.2  bc03adb
git tag v0.12.4  6eb2941
git tag v0.12.5  c1a791d
git tag v0.12.6  396f88b
git tag v0.12.7  c70b4a0
git tag v0.12.8  b6d2f13
git tag v0.12.9  3901c5e
git tag v0.12.10 f63207b
git tag v0.12.11 9e73e76
git tag v0.12.12 8e0bcba
git tag v0.12.13 a94d31d
git tag v1.1.0   d70cc3e
git tag v1.3.0   0889b78
git tag v1.4.1   ab612b0
git tag v1.4.3   dda7c4c
git tag v1.5.0   8050bfc
git tag v1.5.1   b6a1f2c
git tag v1.6.1   d204919
git tag v1.6.2   16a15d6
git tag v1.6.3   c480150
git tag v1.6.4   5c03252
git tag v1.7.1   b589db2
git tag v1.7.7   08d53c4
git tag v1.8.1   f5eb821
git tag v1.8.2   3d86cdf
git tag v1.8.3   d48a1cc
git tag v2.0.0   4870970
git tag v2.0.1   f6a853a
git tag v2.0.2   7734fec
git tag v2.1.0   6b95527
git tag v2.2.1   83e1854
git tag v2.3.0   dd6803f
git tag v2.3.1   883a96f
git tag v2.3.3   9417bb9
git tag v2.3.4   65d629f
git tag v2.4.0   a7da7d3
git tag v2.5.0   facad22
git tag v2.9.1   bdda4aa
git tag v3.0.0   01d1cd3
git tag v3.1.0   c618c64
git tag v3.2.0   d3264da
git tag v3.3.0   82186b6
git tag v3.3.1   86ec95b
git tag v3.9.1   a5e3433
git tag v4.0.0   c85673e
git tag v4.1.0   28b35aa
git tag v4.1.1   fa5cfb1
git tag v4.1.2   38c8673
git tag v4.2.0   8d965dc
git tag v4.2.1   05a64f3
git tag v4.2.2   626d280
git tag v4.2.3   cfebec3
git tag v4.2.4   95461cb
git tag v4.2.5   204a14f
git tag v4.2.6   fbedd13
git tag v4.3.0   ea69835
git tag v4.3.1   4812706
git tag v4.3.2   26e0b18
git tag v4.4.0   1d521a2
git tag v4.4.1   ac01d7d
git tag v4.4.2   17c1112
git tag v4.4.3   c934588
git tag v5.0.0   c372f0c
git tag v5.1.0   2db2f32
git tag v5.2.0   71b1316
git tag v5.3.0   8aedc96
git tag v5.4.1   4d78558
git tag v5.5.0   9cb8659
git tag v5.6.0   af45880
git tag v5.7.0   9438cb3
git tag v5.7.1   555fc5f
git tag v5.8.0   dc87662
git tag v5.9.0   4a6cc57
git tag v5.9.1   1d97c89
git tag v5.10.0  59af074
git tag v5.10.1  634d88e

Yes, 97 tags for 239 commits is a very high percentage, but that is how this repository works...

The problem with tagging Node.js releases in this repo is that this repo also keeps compatibility with OpenEmbedded Yocto releases. For example, once Yocto updates, the recipe for v5.10.1 Node.js could change too and git tag would be left pointing to incompatible version. For example v0.10 or v0.12 recipes are no longer the same they were first released.
So, recipe originally written for specific Node.js version might change multiple times as new Yocto releases come; corresponding versioned tag should also be kept up-to-date.
Tagging only the first commit for specific Node.js release is dangerous and possibly quite misleading for users.
If you have good solution to this, I'm always open for suggestions.

For example v0.10 or v0.12 recipes are no longer the same they were first released.

I was confused here for a second: the actual receipe files for e.g. 0.10.44 or 0.12.13 have not changed. But the used classes did change, so I now see your point now.

So, recipe originally written for specific Node.js version might change multiple times as new Yocto releases come; corresponding versioned tag should also be kept up-to-date.

There are fewer Yocto releases than nodejs releases, so how often is that a problem?
I think tagging a specific version (three-tuple) should be fine because these basically claim that a specific file like e.g. nodejs_0.10.44.bb is available. As these get deleted once the next version comes out (e.g. db8609ae deleted nodejs_0.10.43.bb), there is relatively little change over the availability of that file. And if someone is really interested in having a specific (old) version of nodejs together with a bleeding-edge Yocto, they probably have to patch the repository anyway: they would need to work in master, but checkout the old recipe file.
I can't say about other people, but I could live well with being locked to an old Yocto-version if I insist on an old nodejs version...

Currently meta-nodejs keeps only the most recent version of each release line supported by Node.js project:

5.x.x (Stable)
4.x.x (LTS)
0.12.x (LTS)
0.10.x (Maintenance)
0.8.x (Legacy)

Within release old version is always replaced/removed by the new. My suggestion is that people define their dependencies to specific release line rather than specific version. That fits well with the compatibility promise Node.js makes in their semver-versioning scheme.
In this repo, the more correct approach would be to provide separate branches for each Yocto release (fido etc.) and maintain compatible versions of major Node.js release line within those.
I personally have ability to reliably maintain only for one Yocto release (latest stable), so I haven't ventured there yet.
So, tagging specific Node.js releases is not the way I'd do it but I'm willing to consider maintaining each release line in Yocto release branches. This is the way most Yocto layers do it - including core layers.
Any thoughts on this @olafmandel ?

My suggestion is that people define their dependencies to specific release line rather than specific version. That fits well with the compatibility promise Node.js makes in their semver-versioning scheme.

That is true as far as nodejs or any of the recepies are concerned. It is not true for compatibility of the classes provided by the layer (so if another layer uses those classes) and possibly also not true for backwards-compatibility to older Yocto releases.
I must admit to not having debugged my problems further when I ran into build-problems after a git pull but to simply using the old commit again. This is certainly not ideal in the sense of me using old software (decoupled from security fixes).

In this repo, the more correct approach would be to provide separate branches for each Yocto release (fido etc.) and maintain compatible versions of major Node.js release line within those.

For supporting users with different Yocto versions that always want the newest version: correct. But I came to this issue/request because I was in the process of writing the manual for how to recompile a firmware image and that manual starts like this: "prepare the build-environment like so:"
mkdir -p <dir>
git -C <dir> clone --branch <tag0> <yocto-url>
git -C <dir> clone --branch <tag1> <layer1-url>
git -C <dir> clone --branch <tag2> <layer2-url>

Here I want precisely the same software versions, even if they are old. Currently, the line for meta-nodejs reads like so:
git -C <dir> clone git://github.com/imyller/meta-nodejs.git
git -C <dir>/meta-nodejs checkout <tree-ish>

So (for me) this is less about supporting the newest nodejs version on either the newest or an older Yocto release but it is about recompiling precisely the old firmware.
And yes: it is very difficult to get many of the npm commands to work without network interaction...

Thank you for your case example @olafmandel
I still do not see meta-nodejs tags as a straight solution to your case. If we use specific node versioned tags in this repo and introduce yocto release based branches, the tag could end up pointing to a different place at later time and cause you unexpected change very difficult to detect - making things worse.
What most Yocto distributions do is that they define their dependencies via specific Yocto release branch of the layer repo and then either to HEAD of that branch or specific commit hash. Problem with tags is that they could point to different release branch and/or change the underlying hash.
My use case example of defining firmware repos using the repo tool:
https://github.com/Ambertec/aeos-manifest/blob/jethro/default.xml
If I want to lock specific firmware down, I'd keep the layer repos pointing to the correct Yocto release branch but set locked commit hashes. I wouldn't trust tags, because repos could update those.

Thank you for showing an example of the repo tool. I may consider its use at a later date (don't want to add another dependency right now) and for the helpful discussion.
I will close the issue now as tags for specific nodejs versions seem to be a bad fit for this layers development/release model.


API rate limit exceeded

Hi
I tried to download a full backup of my GitHub account.
 github-backup -v all -a owner --all -p token  username ./
The script is not able to download issues and fails with the API rate limit exceeded. See traceback below.
I repeat it after more than one hour. It fails with the same error.
I found this issue which can be useful for a fix: https://github.com/PyGithub/PyGithub/issues/1319
Traceback (most recent call last):
  File "/home/mm/.local/bin/github-backup", line 8, in <module>
    sys.exit(main())
  File "/home/mm/.local/lib/python3.8/site-packages/github_backup/github_backup.py", line 133, in main
    process_account(gh, account, args)
  File "/home/mm/.local/lib/python3.8/site-packages/github_backup/github_backup.py", line 305, in process_account
    RepositoryBackup._backup_issues(issues, args, dir)
  File "/home/mm/.local/lib/python3.8/site-packages/github_backup/github_backup.py", line 435, in _backup_issues
    issue_data.setdefault('event_data', []).append(event.raw_data)
  File "/home/mm/.local/lib/python3.8/site-packages/github/GithubObject.py", line 103, in raw_data
    self._completeIfNeeded()
  File "/home/mm/.local/lib/python3.8/site-packages/github/GithubObject.py", line 298, in _completeIfNeeded
    self.__complete()
  File "/home/mm/.local/lib/python3.8/site-packages/github/GithubObject.py", line 305, in __complete
    headers, data = self._requester.requestJsonAndCheck("GET", self._url.value)
  File "/home/mm/.local/lib/python3.8/site-packages/github/Requester.py", line 315, in requestJsonAndCheck
    return self.__check(
  File "/home/mm/.local/lib/python3.8/site-packages/github/Requester.py", line 340, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.RateLimitExceededException: 403 {"message": "API rate limit exceeded for user ID 13673271.", "documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

I've added a rate limit retry ability in my fork, you can see it here.
Also I've submitted a pull request.  It's not a great looking approach, it basically involves wrapping each method, in a method, with a decorator, but seems to work well for me.
If you want to try it out, use
pip install git+https://github.com/mendhak/GitHub-Backup

This is now hopefully fixed by #42

Looks like PyGithub#2387 will make it possible to handle this directly in the library.


Update operator version to latest release branch

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@tmjd or should this be master instead?

Deploy preview for calico ready!
Built with commit 1094ec587cbecbe5cdc0f8a59462d0132da3c64e
https://deploy-preview-3799--calico.netlify.app

@lmm at this point I think this could be master because the next release of operator for Calico will be off the next Enterprise operator release which has not been branched yet and will be off of operator master. I hope that makes sense.

Thanks @tmjd , I've changed the version to master


Process Differed At Step 5 of Start Appliance Setup

We found the configuration process differed from that documented at step 5 of Start Appliance Setup here:
https://docs.microsoft.com/en-us/azure/migrate/tutorial-migrate-vmware-agent#set-up-the-replication-appliance
We were confronted with a UI not documented, that stated the configuration was going to add An Enterprise Application to Azure AD named "MicrosoftASR-AzureRepApp", "Permissions Requested" and "This application is not published by Microsoft".
This should be added to the documentation.

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

ID: 62967601-8035-87b6-afb6-3b8b371f68b2
Version Independent ID: ad05dc9f-328a-f3b5-1b5b-25edf969a2e4
Content: Migrate VMware VMs with agent-based Azure Migrate Server Migration - Azure Migrate
Content Source: articles/migrate/tutorial-migrate-vmware-agent.md
Service: azure-migrate
GitHub Login: @rahug1190
Microsoft Alias: rahugup

Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.


Bug in Networkplayer.cs

Hi!
The method "LoadAvatar" in NetworkPlayer.cs throws errors.
The AvatarMeshHelper.TransferMesh(args.Avatar, gameObject); requires 3 attributes, not 2.
It seems you need to pass the target skinned mesh renderer and the animatior.
Also the readme.md should be updated, because avatar loader is deprecated.
I also had issues with the position of the characters, the poisition was not really updating.
Could you please check?
Thanks!

Hi @srahmel, this issue must be fixed with the latest release now. Can you check and let me know?

Library\PackageCache\com.readyplayerme.netcodesupport@19631dff41\Runtime\NetworkPlayer.cs(66,34): error CS7036: There is no argument given that corresponds to the required formal parameter 'targetAnimator' of 'AvatarMeshHelper.TransferMesh(GameObject, SkinnedMeshRenderer[], Animator)'

What is the version of readyplayerme.core package are you using? This Netcode update will work with v6.1.0+

The NetworkPlayer.cs seems unchanged. The probkem is on line 66 in NetworkPlayer.cs.
The method AvatarMeshHelper.TransferMesh needs GameObject source, SkinnedMeshRenderer[] targetMeshes, Animator targetAnimator. These are three args.
In line 66 you only have 2 args: AvatarMeshHelper.TransferMesh(args.Avatar, gameObject);
If you open project in Unity with Ready Me it will directly throw these errors

AvatarMeshHelper.TransferMesh(args.Avatar, gameObject); is only available in core package 6.1.0+ you will need to update the core package.

The core package is up to date

Never mind. I reimported everything again, now it works

It seems that I had to delete all folders before updating.


🚀 General Project Refactoring

This issue proposes a general refactoring of the project code to improve maintainability, performance, and organization. The refactoring will include, but is not limited to:
•	Dead code removal: Identify and remove unused code.
•	Modularization: Separate code into coherent modules to facilitate understanding and reuse.
•	Adopting design patterns: Apply design patterns (e.g., Singleton, Factory, Strategy) where necessary to improve structure and code clarity.
•	Improving readability and consistency: Review variable, function, and class names to ensure clear and consistent naming throughout the project.
•	Performance optimization: Identify areas where performance can be improved.

Goal
The goal of this refactoring is to make the code cleaner, more modular, and easier to maintain in the long term. This will facilitate adding new features and fixing bugs in the future, as well as helping new contributors to understand the project more easily.
Tasks
•	Analyze the current codebase to find dead code.
•	Modularize parts of the code that are too tightly coupled.
•	Apply design patterns where appropriate.
•	Improve code documentation where necessary.
•	Test all changes to ensure no regressions occur.

How to Contribute
•	If you’re interested in helping with this task, feel free to comment below and discuss specific areas you’d like to refactor.
•	If you have suggestions for additional improvements, please share them!

Notes
•	Before starting, please sync your branch with the latest version of main to avoid conflicts.
•	Ensure the code continues to follow the project’s style guidelines.
•	Make sure all changes are covered by tests.

Hi @jlsneto Can I please work on this issue, I would like to improve the test cases. I would like to separate each test case in its own file, like mathtools.py has missing test cases and its in general tests.py which is not much readable. Apart from that I would like to add the missing test cases to increase the code coverage close to 100%

@mukulbindal  Thanks for offering to improve the test cases 🤩! Your idea of separating test cases into individual files seems like a solid approach, especially for improving readability. Coverage and missing tests, as you mentioned, increasing coverage is also a great idea.
For packages, we can follow a structure that aligns with how the code is organized in the project. Here's what I suggest:

Package-level tests: Each package can have its own directory for tests. For example, if you have a utils package, you can create a tests/utils/ directory. Inside that directory, you would create individual test files for each module.

Test structure: The test files should mirror the package structure.

Feel free to pursue these ideas and let me know if you run into any issues or need more guidance. I look forward to your input!


Updated swagger docs in stable and track1\preview with changes to ImageAnalysis skill

Updated swagger docs in stable and track1\preview with changes to ImageAnalysis skill (new languages and visual features)
This is just a swagger change that did not change the SDK, as per Bruce's instructions.  Data plane API.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[X] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

/azp run automation - sdk

@lmazuel I'm assuming you're the designated Swagger reviewer for this PR. Please be aware that no client libraries have been shipped yet that depend on this spec (shipped libraries depend on specs in the "track1" folder), so breaking changes are not a concern here.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

Closing this pull request and opening new one for this change: https://github.com/Azure/azure-rest-api-specs/pull/8371


Add Microsoft 365 Apps admin center to limitations table

See https://github.com/MicrosoftDocs/OfficeDocs-DeployOffice/issues/989

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

ID: 0767aac4-fcd9-eaac-2c30-8f17d8eadd92
Version Independent ID: a380a828-03f9-e037-3a62-e4165fda7cb6
Content: Azure AD built-in roles - Azure Active Directory
Content Source: articles/active-directory/roles/permissions-reference.md
Service: active-directory
Sub-service: roles
GitHub Login: @rolyon
Microsoft Alias: rolyon

@DavidTaig Thank you for your feedback . We will investigate and update the thread.

Hi @DavidTaig
Thanks for your feedback. I've contacted the Microsoft 365 Apps admin center team and provided your feedback.
Let us know if you have any additional feedback.
thanks

#please-close


MEDIA_DRV_ASSERT issue in line248: media_drv_init.c

For the MEDIA_DRV_ASSERT issue in line248:  The code is bug.  It should be changed to Poitner instead of Integer.
Same master branch. https://github.com/01org/intel-hybrid-driver/blob/master/src/media_drv_init.c#L248 has an:
case VASurfaceAttribExternalBufferDescriptor:
MEDIA_DRV_ASSERT (attrib_list[i].value.type ==
VAGenericValueTypeInteger);
which prohibits using VaGenericValueTypePointer. However, it seems that after that it actually uses it as pointer, not as integer. So maybe this is just a buggy ASSERT only.

Fixed in previous release.


Name of newly created user does not appear in selection list

Via https://opencast.jira.com/browse/MH-11526
Steps to reproduce (Users Page):

Create a new user.
After creation Press on the Filter icon in the filter bar.
Select Name in the drop down.
new user does not show up in the second filter selection drop down.

Actual Results:
The name of the new user does not show up in the second filter selection drop down.
Expected Results:
The name of the new user should show up in the filter drop down.
Workaround (if any):
Remove the filter by name - search is sufficient to find a user by name.

@gregorydlogan I would like to work on this. Please assign this to me.

@gregorydlogan I just got sometime to work on this issue. And I've some questions for you -
On which module should I start working on? And also, how to run this in my local? I shall also add these instructions in the ReadME during my commit.

@gregorydlogan Any updates? I would need to set the app in my local environment.

Hi @sharath2106, the issue in question lives in the admin-ui bundle, specifically in the src/main/webapp directory.  You probably want to start here in terms of UI development.  Building the backend is as easy as mvn clean install -P dev from the clone's directory.  See here for better instructions.

@sharath2106 Happy to see that you are willing to help fixing this!
The symptom indicates that the Admin UI does not reload the filters after a new user has been created.
You can easily verify this by using the inspection feature of your web browsers feature that lists the HTTP requests. The request of question is GET /admin-ng/resources/{resource}/filters.json which loads all filters (including values) for the given page {resource}, e.g. GET /admin-ng/resources/users/filters.json on the page Organization->Users.
This happens whenever you change the page, but it seems not when you create a new user on the page Organization->Users.
The front-end code that runs when you add a new users is https://github.com/opencast/opencast/blob/develop/modules/admin-ui/src/main/webapp/scripts/modules/users/controllers/userController.js#L125.
Hope this helps and good luck!

Fixed by #1735


Disable support for water mask on Mac

I don't have a Mac to test this on, but this should prevent a horrible crash on Mac that seems to be caused by using the water material. In the future once we figure out what's causing it, we may be able to come up with a fix that allows water mask to be supported on Mac.

Thanks for the pull request @nithinp7!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

I just pushed a way to check for Mac platform by storing the Platform Name in a UPROPERTY and doing a check in the EditCondition to see if PlatformName = TEXT("Mac"). If true, the property check box should be (hopefully) disabled.
The other way to do it (which might be more typical UE4 programming style) is to wrap the entire EnableWaterMask in an ifdef, so that the property does not show up at all on Mac. Any usages of EnableWaterMask property would then also have to be wrapped.

Please make sure you open an issue to add the support back.

I don't have a Mac to test this on either, but it looks ok. I'm going to merge it to work toward a final release candidated we can test (including on Mac for real).


Trying to start sway on Gentoo (without systemd) and nvidia driver.

Here is the gist: https://gist.github.com/hnaparst/0fe97aa8be58b8d9158bf936adf728a0
Sway starts correctly if I am in i3 and type sway in an xterm, but not if X is stopped.  Then I get the stuff in the gist.   Thanks in advance.

The nvidia proprietary driver is unsupported. Good luck.

OK, I will try it on nouveau.  I thought the proprietary driver sort of, kind of,  almost worked...guess not. Thanks.

It works for some people, but if you can't get it to work yourself then no help for you is to be found here.

Fair enough.  That is what I get for using a proprietary, closed source driver.

Works fine on nouveau, by the way.  Thanks.

No problem, glad you got it working.


ResultWriter doesn't generate proper log.html file (no info about keywords)

Name of the tool
Robot
Description
In log.html there are no information about used keywords, even with TRACE log level set.
Source
from robot.api import ResultWriter
from robot.api import TestSuite
from robot.conf import RobotSettings
suite = TestSuite('Activate Skynet')
settings = RobotSettings()
RobotSettings.log_level = 'TRACE'
suite.configure()
print(settings.log_level)
suite = TestSuite('Activate Skynet')
suite.set_tags('smoke', persist=True)
suite.resource.imports.library('OperatingSystem')
test = suite.tests.create('setting log level')
test.keywords.create('Set Log Level', args=['TRACE'])
result = suite.run(settings)
write = ResultWriter(result)
print(settings.get_rebot_settings())
write.write_results(settings.get_rebot_settings())
write.write_results(report="Test.html", xunit="xunit.xml", log="log.html")

The reason is that the result object returned by suite.run() doesn't contain any information related to keywords. It's enough to create report or xUnit output, but for functional log you need to pass the output.xml to ResultWriter instead.
I'm not sure where you got this example, but least here in the API docs the need for output.xml file when generating logs is briefly mentioned:
https://robot-framework.readthedocs.io/en/v3.1.2/autodoc/robot.running.html#examples
Please let us know if you have ideas how the docs could be enhanced. The best way to do that is via a PR, but comments here are fine as well.


Add FDP miss counter to reports

Get some stats for weave report when using the FDP. This prints the number of upcalls (ie, misses) as well as the number of flows in the datapath.
Fixes #1592

Please rebase so the tests run against Docker 1.9

Please rebase so the tests run against Docker 1.9

Rebased, but fails because of #1675 ...

Oh, sorry, missed that.

Please try again.

I think we can lose the commit that adds the flow counter, because we already enumerate all flows in detail (see #1525).

I don't think there's any need to introduce the sync atomic - we're already holding the fastdp lock in the miss handler, you can just take that again in the Stats() method to protect the read...

I don't think there's any need to introduce the sync atomic - we're already holding the fastdp lock in the miss handler, you can just take that again in the Stats() method to protect the read, as is done in the equivalent pcap stats method.

@awh I agree on the Miss handler part, but I'm not sure it is worth locking the whole fasdp on Stats just for reading a counter. Why not just return it...?

Why not just return it...?

Reading a 64-bit value is unlikely to be safe on a 32-bit architecture.


search property sync

Hello,
How I can sync input's text ( "search" in vue-multiselect's data ) with my variable in parent component?
I wait to see ":search" property.
Then multiselect can be fully used as an autocomplete. Now the user opened the dropdown (which was selected), he seeing youself entered text instead selected option label.
And I want to set search text in multiselect to selected option's label

Has work been started on this enhancement?
I might be interested on working on it if not.


Error UNMET PEER DEPENDENCY

Hello, i have a problem.
When i execute npm install -g generator-karma i have this error:
C:\WINDOWS\system32>npm install -g generator-karma

dateformat node_modules\generator-karma\node_modules\yeoman-generator\node_modules\dateformat
pretty-bytes node_modules\generator-karma\node_modules\yeoman-generator\node_modules\pretty-bytes
C:\Users\ivan\AppData\Roaming\npm
├──<EMAIL_ADDRESS>└── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>

npm WARN EPEERINVALID<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

I thought it would be solved updating Yeoman, but i've been updated Yeoman to the last version (1.5.0) and i continue having the same problem.
Can anyone help me, please?

Thanks, that's fixed now :)


Wagtail 5.0 Upgrade

PR for Wagtail 5.0 is here: https://github.com/cfpb/wagtail-inventory/pull/73

Maintainer has an inquiry: https://github.com/cfpb/wagtail-inventory/pull/73#issuecomment-1584527147
Waiting for reply

Merged here: https://github.com/cfpb/wagtail-inventory/pull/73#issuecomment-1658469494


Check logged user in firebase with middleware

I've built some auth middleware:
import api from '~/api/Api.js'

export default function ({router, store}) {
  return api.auth().onAuthStateChanged(function (user) {
    store.state.user = user
    if (user) {

    } else {

    }
  })
}

Now, how to actually get access to the user object? When i'm doing this from normal component it's working correctly. Passing to store simple string also works, but any other action no, is there need of some kind of promise? Thx for help.

Also check @nuxtjs/auth and  @nuxtjs/axios in community modules

@ChavaSobreyra ok, the way that i'm using store is a second party thing, right now i can't resolve Firebase request. I think this must be a Promise before the compiler will go further. So when i'm doing this the Promise never finish. My example for now:
import api from './../api/Api.js'

export default function ({store, router}) {
  return new Promise((resolve, reject) => {
    api.auth().onAuthStateChanged((user) => {
      if (user) {
        store.state.user = user
        resolve(user)
      } else {
        reject(Error('It broke'))
      }
    })
  })
}

What is wrong? @Atinux maybe you can help?

Hi @lukasborawski
Can you print a console.log inside the callback of onAuthStateChanged to make sure it's called by Firebase?

@Atinux well i can pass new value to this store object but i can't reach user object from FB. And just like i've said the promise freezing my app.

I know that the Promise is freezing your app, the question is if onAuthStateChanged is never called, the promise is never resolved so it's normal.
I believe that it should not be a middleware but a plugin @lukasborawski
plugins/auth.js
import api from '../api/Api.js'

export default function ({store, router}) {
  api.auth().onAuthStateChanged((user) => {
     store.commit('SET_USER', user)
  })
}

in your nuxt.config.js:
module.exports = {
  plugins: ['~/plugins/auth.js']
}

Then you can have a middleware to check if store.state.user exists, and if not, redirect to /login for example.
it should work with 1.0.0-rc3 since you can have access to context in your plugins by exporting a function.

@Atinux but from which place i should call the plugin?

When do you need to call api.auth()?

@Atinux just before render the page, i want to present private/public content. So the middleware is perfect for this.

@Atinux OK, i've used the plugin for this, and it seams to work fine, but when i'm doing the redirect i have an error: ERR_TOO_MANY_REDIRECTS, my code for now:
import api from '~/api/Api.js'
import { getUser } from '~/api/AuthService'

export default function ({store, redirect}) {
  if (store.getters.loggedUser) {
    return
  } else {
    if (getUser()) {
      store.commit('SET_USER', getUser())
    } else {
      api.auth().signOut()
      redirect('/auth/signup')
    }
  }
}

OK, upgreade to 1.0.0.rc-3 solved this issue.

Hey @lukasborawski, same issue for me, can you please share with us your code in api folder ? Thanks a lot


Fix extrusion form defaults

Fix #367
The default value for Base was a list instead of a string

Nice, thanks!


Validation error displays line number of a concept and name of a spec

Expected behavior
Either show the concept file/name along with the line number or remove the line number.
Actual behavior
It shows the line number from the concept file and name of the spec file.
Steps to replicate

Create a spec

Something
=========
Scenario Heading
----------------
* Step that takes a table1
* Concept Heading37a

Create a concept

# testinghjk "sdf"

* step1
* step1

# Concept Heading37a
* step2
* step2
___
* step2

The validation errors given for this are

[ValidationError] /Users/sswaroop/Downloads/CounterWebApp/g1/specs/example.spec:5: Step implementation not found => 'Step that takes a table1'
[ValidationError] /Users/sswaroop/Downloads/CounterWebApp/g1/specs/example.spec:7: Step implementation not found => 'step2'
[ValidationError] /Users/sswaroop/Downloads/CounterWebApp/g1/specs/example.spec:8: Step implementation not found => 'step2'
[ValidationError] /Users/sswaroop/Downloads/CounterWebApp/g1/specs/example.spec:10: Step implementation not found => 'step2'

The validation errors having step2 have the line numbers from the concept file whereas the name is the spec file
Version
Gauge version: 0.5.1.nightly-2016-06-16

Plugins
-------
html-report (2.1.1.nightly-2016-06-02)
java (0.4.1.nightly-2016-06-16)
xml-report (0.1.2.nightly-2016-05-27)

Fix should be available in nightly >= 13.07.2016


chore: upgrade jenkins-x/jx3-versions to version 1.0.23

from: https://github.com/jenkins-x/lighthouse.git

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign hferentschik
You can assign the PR to them by writing /assign @hferentschik in a comment when ready.
The full list of commands accepted by this bot can be found 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

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

tls
0a5e12b4b28a8dbac2e48ca4e7c1def6503bea39
link
/test tls

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

tls
0a5e12b4b28a8dbac2e48ca4e7c1def6503bea39
link
/test tls

gsm
0a5e12b4b28a8dbac2e48ca4e7c1def6503bea39
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

tls
0a5e12b4b28a8dbac2e48ca4e7c1def6503bea39
link
/test tls

gsm
0a5e12b4b28a8dbac2e48ca4e7c1def6503bea39
link
/test gsm

gsm-kapp
0a5e12b4b28a8dbac2e48ca4e7c1def6503bea39
link
/test gsm-kapp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


App Image Not Toggle Full screen

KDE openSUSE Tumbleweed App Image not toggle full screen.

@anatolinicolae @terkelg Should we keep it this way or not ? as in some linux distros, using a resizable: false for the BrowserWindow object doesn't change anything.
What we can use instead is maybe, forcing the frame to false on linux & windows and add a beautiful close button on the window

Sounds good to me 👍

This by design, we don't want the user to have a full screen window for seeing his feed on instagram; But we will likely implement a zoom on click feature (in the future)


Merge pull request #12 from codecov/master

Master

@Fraules this PR doesn't seem to have any changes.


Issue with the demo website project?

I just downloaded the code from the website and it seems to have a bad reference where it cannot find a module

Did you use yarn for setting up the node_modules?

So I set it up with npm. Do you need yarn to make it all work?

The demo project needs yarn since it is using workspaces as the project is setup as a monorepo. There is more info in https://github.com/rohit-gohri/redocusaurus/blob/main/DEVELOPMENT.md, but lerna is no longer used. Everything is through yarn now

This seems to be an issue with a change in API in latest version of docusaurus, #116 has more details. Closing in favour of that.
Duplicate of #116


Test multiple Cassandra versions

What this PR does:
Tests many Cassandra versions.
Which issue(s) this PR fixes:
Fixes #360
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[ ] CLA Signed:  DataStax CLA

The intent for #360 was to have all of the e2e tests run against different C* versions. Don't get me wrong. I welcome this PR :) When we merge this, I want to make sure the e2e tests don't fall off the radar so I'd be inclined to keep #360 open.

This is finally good to go. A lot of the issues I was observing appear to have been to do with configuring the cluster via kind instead of via kuttl. This may indicate differences in the behaviour of k8s versions that we'll need to watch out for, but they only cause timing issues, not real bugs.

This PR closes tickets #404 #360 and #405.

I second John's comment on the fact that this PR doesn't fix #360 which is about e2e tests (replicating what we have in the k8ssandra project).

I second John's comment on the fact that this PR doesn't fix #360 which is about e2e tests (replicating what we have in the k8ssandra project).

That was the original scope of the ticket, although after discussion Jeff and I agreed that starting with the kuttl tests made the most sense.
Also, (at that time) the e2e tests were very flaky. It seemed that adding to complexity there was only going to exacerbate problems and be a time sink. That situation may have changed over the past 3 weeks.


test: Add test ULSIF RULSIF

Codecov Report

Merging #81 (057ff24) into master (81fe8e5) will increase coverage by 4.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
+ Coverage   88.80%   92.95%   +4.14%
==========================================
  Files          36       36
  Lines        4333     4328       -5
==========================================
+ Hits         3848     4023     +175
+ Misses        485      305     -180

Impacted Files
Coverage Δ

adapt/instance_based/__init__.py
100.00% <100.00%> (ø)

adapt/instance_based/_rulsif.py
85.00% <100.00%> (ø)

adapt/instance_based/_ulsif.py
87.12% <100.00%> (ø)

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


Missing r2 console functionality

After installing esilsolve, there is no options in the r2 command line:

the same problem.

Same problem here. Did you manage to workaround?

No, my guess is that r2pipe was changed or another plugin gets in the way. Probably good to debug by going into the r2pipe component. I can have a look at it next week maybe

Good idea! I'll take a look too...


Rake db:migrate wont run if figaro included in gem file

I added figaro to my project and all worked well until i tried doing a rake db:drop db:create db:migrate
The first two were successful but rake db:migrate wont work. If a comment out figaro in the gem file, it works.
At one point when i migrated my db, it reversed all the migrations to Version=0. I think this is related as well.

After racking my brains out, it turns out me suspicions were right, but not figaro's fault. It was acting like that because i had the following variable in my application.yml
VERSION: '0.0.1'
So i figured rails allows configuration via env variables, but i had no idea this was one of them. Cost me my entire staging db!!!!!
I wonder which others are configurable

There's no telling what ENV variable collisions there could be so I err on the side of explicit rather than generic variable names. Glad you found the cause!


Exception raised when calling run.set_folder_details

The code snippet below raises the exception
Code snippet:
run.set_folder_details('/PyTorch/Demo',
metadata={'environment': 'demo'},
tags=['PyTorch_Simvue_demo'],
description='PyTorch Demo showing events, alerts, folder tags')
Exception:
Exception setting folder details: RetryError[<Future at 0x2a04af00c70 state=finished raised HTTPError>]
can not serialize 'RuntimeError' object
Debugging on the server gives:
pyArango.theExceptions.DocumentNotFoundError: Unable to find document with _key: None. Errors: {'code': 404, 'error': True, 'errorMessage': 'document not found', 'errorNum': 1202}

The fix for this was to add the folder parameter when creating the run.init function

We possibly need to reconsider set_folder_details, as it might be confusing to some users. It's a method of the Run class, but updates a folder which may or may not be associated with the current run (!) So it doesn't make sense at all really.


Exhibitor marking node Down

Running Exhibitor for ZooKeeper v1.5.6. All was working well, until I had to reboot the node. Once rebooted, I can see Exhibitor is up, listening on port 8181 (as per configuration), however in Web UI, it is marked as "down." Journal log entries are reporting this much:
Feb 29 14:01:25 node236.localnet.net polkitd[12364]: Registered Authentication Agent for unix-process:4563:
Feb 29 14:01:25 node236.localnet.net systemd[1]: Stopping Exhibitor Zookeeper Supervisor...
Feb 29 14:01:25 node236.localnet.net systemd[1]: exhibitor.service: main process exited, code=exited, status=143/n/a
Feb 29 14:01:25 node236.localnet.net systemd[1]: Unit exhibitor.service entered failed state.
Feb 29 14:01:25 node236.localnet.net systemd[1]: exhibitor.service failed.
Feb 29 14:01:25 node236.localnet.net systemd[1]: Started Exhibitor Zookeeper Supervisor.
Feb 29 14:01:25 node236.localnet.net systemd[1]: Starting Exhibitor Zookeeper Supervisor...
Feb 29 14:01:25 node236.localnet.net polkitd[12364]: Unregistered Authentication Agent for unix-process:456
Feb 29 14:01:25 node236.localnet.net unshare[4575]: <IP_ADDRESS>
Exhibitor service is displaying "active", and daemon is listening on port :8181
Any clues or ideas?
Thanks,
Alex

Ever figure this out? @akamalov You can contribute your fix now as it is opensource


Application crashes on azure app service with signalr alpha

setup:
server: asp.net core app version 2.0
signalr 1.00 alpha
client: Angular 4.3
symptom: when deploying the server to azure app service, server crashes with 2 connections (the entire app crashes and restarts).
i couldn't receive any exception or error from azure app service, just: application stopped unexpectedly.
when using the same setup only with the old signalR (i know its not certified), the app does not crash.
i think its related to the number of connections, because i see it happens when i am connecting the second client and playing a bit.
sorry i dont have too much details, i tried getting some logs from azure but haven't succeeded after few hours...

When you get some logs, let us know. Turn up the application logs to trace. This isn't very actionable feedback at the moment.

Do you mean the application logs inside the asp.net core app? they are currently on Information for Microsoft. the last logs i saw from the signalr was connection closed and then the application crashes and restarts (on azure). if there was any warning on error i guess i would see it (since its above information).
i will try to reproduce it tomorrow locally, maybe than i will receive something.
Yosi

Any logs you can get, crank up the default logging level to "Trace" and look at either app insights (what I recommend) or use the stdout log

Hey @davidfowl , good news i think i got it.
i reproduced it locally. it happens only on iis (on kestrel works fine). when connecting with 2 clients an exception is thrown inside signalr (i see it stops in visual studio):
{System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager`1.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Travideo.AppsWebService.Hubs.TripPlanSystemViewConnector.d__17.MoveNext() in C:\GitRepos\Backend\AppsWebService\AppsWebService\Hubs\TripPlanSystemViewConnector.cs:line 122}
once this exception is thrown the application is dead (this what caused it to crash on azure).
in the logs i get nothing... even when loglevel for Microsoft and system is debug.
let me know if you need anything else.
Yosi

@yosigolan yes that exception looks pretty deadly 😄 . Can you put your application on a github repository somewhere?

sorry, its a production product, you can view it here: www.seevoov.com
i cant share the code.
but if you want i can show to you on a private session and even we can debug it.
Yosi

If you can provide any details on how the error can be reproduced, it would be great. Can you reproduce it on demand now only when running behind IIS locally?

yes, i can reproduce it on demand on my machine locally using iis express. if you want we can make a conference call and i will let you debug it (you need to connect with the source).
the details i can provide are:

signalR core with default options
javascript client (i am using angular 4)
start 2 connections
send data from the server to the clients
after few seconds the exception is thrown

Yosi

I'd like to figure it out without a conference call (chat in slack might be easier to start with http://tattoocoder.com/asp-net-core-slack-community/) Based on the stack trace there's a null ref in at Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager1.d__11.MoveNext()which looks like it might map to theWriteAsync` call.
Some things that might help:

at Travideo.AppsWebService.Hubs.TripPlanSystemViewConnector.d__17.MoveNext() in C:\GitRepos\Backend\AppsWebService\AppsWebService\Hubs\TripPlanSystemViewConnector.cs:line 122}

What does this method do (at line 122)?

What transports are being used?
Did you turn logging on trace at the application level? Can you provide those logs?

in line 122 there is this code:
await m_Client.InvokeAsync("setTripGeneralData",generalData);
thats all the function do. m_Client is IClientProxy which was created as follows: m_Client = m_TripPlanHubContext.Clients.Client(m_ConnectionId);
it was created in the constructor using the client connection id.
i checked, the connection id is valid (few calls before the crash works fine and arrives to the client)
i am using the defaults so eventually it uses websockes.
i turned logging to trace (i am suing serilog so its debug) but i dont see any log from signalr.

it was created in the constructor using the client connection id.

Do not do that. Just get it in the method every time. The constructor is too early to store anything to do with the hub.

i turned logging to trace (i am suing serilog so its debug) but i dont see any log from signalr.

Then something is wrong. This is what your Program.cs should look like:
WebHost.CreateDefaultBuilder(args)
        .UseStartup<Startup>()
        .ConfigureLogging(logging =>
        {
             logging.SetMinimumLevel(LogLevel.Trace);
        }
        .Build();

That will set the logging to trace. There's an output window in visual studio that will show everything when running on IIS Express:

Thanks for the answer.
| Do not do that. Just get it in the method every time. The constructor is too early to store anything to do with the hub. -
are you saying that this is the cause? why does the constructor is too early? the connection was made earlier in the application lifetime. in the constructor i am injecting the context: IHubContext tripPlanHubContext
and then just to make the methods nicer i am creating the client member from the context.
you saying that this is forbidden? i should do this : var client = m_TripPlanHubContext.Clients.Client(m_ConnectionId);  in every method that wants to send data to the client?
regarding the logs, when using serilog the configuration looks different.
anyway, i do see Microsoft logging (in debug) but not signalr. from signalr i am seeing 1 line (repeatedly) that look like this: Using HubProtocol '"json"'. from Microsoft.AspNetCore.SignalR.HubEndPoint. in info
Yosi

| Do not do that. Just get it in the method every time. The constructor is too early to store anything to do with the hub. -
are you saying that this is the cause? why does the constructor is too early? the connection was made earlier in the application lifetime. in the constructor i am injecting the context: IHubContext tripPlanHubContext

The constructor is too early because none of the hub properties have been set yet. You're injecting the IHubContext into the Hub itself? If yes why?

regarding the logs, when using serilog the configuration looks different.
anyway, i do see Microsoft logging (in debug) but not signalr. from signalr i am seeing 1 line (repeatedly) that look like this: Using HubProtocol '"json"'. from Microsoft.AspNetCore.SignalR.HubEndPoint. in info

Just make sure you add the ConfigureLogging code that sets the level to Trace.
The problem is I can't decipher what your application is doing. I need to see the source code or you need to debug it more so I can get more details. It would help if you wrote the most basic idomatic hub code and see if that reproduces the issue:

Remove the IHubContext from the Hub constructor, it's redundant and not required. There's a property on the Hub that gives you access to the context.
Use Clients.Client(...).InvokeAsync() in each method instead of using a field.

After making those changes, see if the problem can be reproduced.

Let me explain a bit, i think the naming of my classes confused you:

i am not injecting the hub context to the hub.
the flow of my app is to send data to the client upon a call from the client to some method in the rest controller.
since i dident find any way to inject the hub into a controller, my hub code is empty. instead i wrote a different class with the methods that sends that data to the client (lets call it sender). i am injecting the hub context into the controller class and the controller creates the sender with the hub context and the connection id and then initiates a send method on it.
the exception occurred when calling a method on the sender that initiated the action await m_Client.InvokeAsync("setTripGeneralData",generalData);
is there a better way of doing the above?
please note that using kestrel everything works perfectly. with iis it works at start and then fails after few minutes.
also, with the old signal r i am doing the same and it works great.

Yosi

@yosigolan I see. Just do you know, I'm not trying to get you to change your code to fix things, I'm trying to narrow down the problem. There is a bug here, I'm just trying to figure out how I can reproduce the problem so I can fix it. I don't want to force you to debug the SignalR source code yourself so the goal is to narrow the things down so we can figure out what the issue is.

the exception occurred when calling a method on the sender that initiated the action await m_Client.InvokeAsync("setTripGeneralData",generalData);

We need to figure out what's causing the null ref. If you never store m_Client and always resolve the client before calling the method, does it work?

also, with the old signal r i am doing the same and it works great.

Yes, this is an alpha release and there are LOTS of bugs and changes that still need to be made. If you're running it in production that's on you 😄, there is no support for this until it ships. We appreciate the feedback regardless.

Hey.
i am totally with you, just trying to help you find the root cause.
i tried moving the line from the constructor next to the call, it dident help.
i have one more bit of information that might help:
when the client calls the controller method (using the rest method) and asks the server to send him data back (using the signal r connection) the controller starts a background task that eventual uses the hub connection to send the data. so eventually, this task is running after the call to the controller method has ended. maybe it influence the context some how.
i am sorry i cant share to code...
Yosi

Why dont you take the time and create a simple app that replicates your problem without your proprietary IP in it? You are on here asking for assistance but unwilling to share code and giving generic exceptions.... Take the 15 or 20 minutes and setup a simple app to replicate the problem so that the devs here can actually help.

its holidays here. will try shortly.
Yosi

@yosigolan any updates?

Hey @davidfowl
i will only be able to so it on Sunday. Sunday morning i will create full reconstruction and upload it.
Yosi

Hey.
so, i created a full clone of my app without the business logic which reproduces the issue. you can find it here: https://github.com/yosigolan/signalRNullException
before you jump into the code, please read this:
when i created the projects i actually found the problem. the null exception is throw (in my case) when the hub is trying to invoke a client method for a client which was already disconnected (or haven't connected at all before, meaning the connection id is wrong).
the "crash" that i described is related to the fact that i dident handled the exception (from siganlR) correctly and it cause my app to crash. so the crash is not related to signalR.
regarding the exception, i do think that an exception should be thrown but maybe more related to the problem and also if possible give an option to check if the client (with some connectionId) is connected before invoking a method on it.
regarding the code that i uploaded, there are 2 folders, server and client. i used angular client but as you can understand you can use any client to reproduce it, event postman that sends wrong connection id to the post method.
in order to reproduce it with my client, simple start it and once it is connected close it. the server will try invoking a method on the client after 10 seconds and the exception will be thrown since the client is disconected.
hope it helps,
Yosi

Thanks!

This issue should be fixed now and will appear in alpha2


Document custom mouse cursors larger than 128×128 potentially having issues

Follow-up to https://github.com/godotengine/godot-docs/pull/7199.

Thanks!

Cherry-picked for 4.0.3.


New version: Azul.Zulu.21.JDK version 21.32.17

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Default Admin password string doesn't work but "123456" does

FYI, when using the command: python tvt-poc.py --rhost x.x.x.x --getinfo -v and using the credentials: admin:{12213BD1-69C7-4862-843D-260500D1DA40}, this doesn't work, at least for the getinfo command.
TVT & OEM {DVR/NVR/IPC} API RCE (2018 bashis)
[i] Remote target IP: x.x.x.x
[i] Remote target PORT: 80
[!] Trying w/ credentials: admin:{12213BD1-69C7-4862-843D-260500D1DA40}
[>] Get info about remote target
[Verbose] Sending: http://x.x.x.x:80/queryBasicCfg
[Verbose] User: admin Password: {12213BD1-69C7-4862-843D-260500D1DA40}
[<] Request is most likely being blocked (No status line received - the server has closed the connection)
[!] Trying w/ credentials: root:{12213BD1-69C7-4862-843D-260500D1DA40}
[>] Get info about remote target
[Verbose] Sending: http://x.x.x.x:80/queryBasicCfg
[Verbose] User: root Password: {12213BD1-69C7-4862-843D-260500D1DA40}
[<] Request is most likely being blocked (No status line received - the server has closed the connection)
[i] All done
Changing the lines below to use non crypt password seems to work:
credentials = 'admin:123456'	# Default l/p
# credentials = 'admin:{12213BD1-69C7-4862-843D-260500D1DA40}' # Hardcoded
Testing the same system:
Results:
[i] Remote target IP: x.x.x.x
[i] Remote target PORT: 80
[!]
Just need to get that "getcreds" to work now on systems that are not using the default. How to do this?

I understand that you don't get what the PoC script was all about, so enjoy and have a nice day.

Was it not to exploit specific DVR’s? I think you are little mad because your script doesn’t work. Maybe instead of closing the topic why not make a better Readme file that explains how this only works on devices you’ve tested on?  Maybe you can try for yourself using 1 of thousands TVT’s out there from Shodan. But pick one that does have admin/123456 as credentials.

Maybe you should understand what PoC was for, why it was reported to the vendor and why it may been fixed in your device. Then you could also read: https://github.com/mcw0/PoC/blob/master/TVT_and_OEM_IPC_NVR_DVR_RCE_Backdoor_and_Information_Disclosure.txt
You (may) know, there is no need to exploit something that you already know the admin l/p to (i.e. admin/123456).


chore: fix code documentation on TypeVar variables that make Sphinx build fails (#58)

Close #58.

https://github.com/sphinx-doc/sphinx/issues/10700 Might be relevant to the issue we are having.


Undefined Variable: text

What is this feature about (expected vs actual behaviour)?
Getting this error message when using the latest release:
ErrorException: Noticed exception 'ErrorException' with message 'Undefined variable: text' in /mnt/deploy/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:7122
How can I reproduce it?
use the to_utf8 function
Does it take minutes, hours or days to fix?
Probably just a copy/paste error.
Any additional information?

Hi, thank you this report ... I reverted some of the last changes, because we need some tests before adding this.
fixed in version: 3.1.23


New Image Format: WEBP

Hi there! I'm opening this issue to see how many people would like this format to be added. I think it's gonna become common in the future, and we're already having problems in our site given some of our providers use this format for their images.
Currently, python-docx throws a very clear UnrecognizedImageError when trying to add a .webp image to a document.
Some info regarding it: https://developers.google.com/speed/webp/
Thanks a lot!

I expect the long wait will come from Microsoft Word accepting that format.

Checking back again 5 years since this was created 🤣.
It is still the same.

Here is a PR #1423


TypeError: (msg || "").replace is not a function

Can someone explain to me what I am doing wrong with the karma coverage. I am currently developing an angular 2 (RC1) service in typescript and want to not only run unit tests on it but also provide code coverage reports. If running the tests without the coverage reporter all is good and the tests are run. Unfortunately, when I include the coverage reporter karma bails with the following error...
10 06 2016 10:45:49.583:DEBUG [web-server]: serving (cached<EMAIL_ADDRESS>Missing error handler on socket.
TypeError: (msg || "").replace is not a function
at D:\Git@my-namespace\my-service\node_modules\karma\lib\reporter.js:45:23
What I am doing is building typescript into a folder called dist and then exposing this to karma test and coverage
details are below...
... any ideas...?
Expected behavior
karma should run tests and create a coverage file
Actual behavior
10 06 2016 10:45:49.583:DEBUG [web-server]: serving (cached<EMAIL_ADDRESS>Missing error handler on socket.
TypeError: (msg || "").replace is not a function
at D:\Git@my-namespace\my-service\node_modules\karma\lib\reporter.js:45:23
Enviroment Details
Typescript: 1.8.10
Karma version: 0.13.22
Karma coverage: 0.5.5
karma.config.js
module.exports = function(config) {

    // transpiled app JS files
    var appBase   = "dist/";

    // component assets fetched by Angular's compiler
    var appAssets ="/base/dist/";

    config.set({
        autoWatch: true,
        basePath: ".",
        browserNoActivityTimeout: 20000,
        browsers: ["Chrome"],
        colors: true,
        exclude: [
             "node_modules/**/*.spec.js"
        ],
        files: [
            // Standard libs
            "node_modules/systemjs/dist/system-polyfills.js",
            "node_modules/systemjs/dist/system.src.js",
            "node_modules/es6-shim/es6-shim.js",
            "node_modules/reflect-metadata/Reflect.js",
            "node_modules/zone.js/dist/zone.js",
            "node_modules/zone.js/dist/jasmine-patch.js",
            "node_modules/zone.js/dist/async-test.js",
            "node_modules/zone.js/dist/fake-async-test.js",

            // Standard libs with custom patterns
            {pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false},,
            {pattern<EMAIL_ADDRESS>included: false, watched: false},

            // Custom shim
            "karma-test-shim.js",

            // Transpiled application & spec code paths loaded via module imports
            {pattern: 'dist/**/*.js', included: false, watched: true},
            {pattern: 'dist/**/*.js.map', included: false, watched: false}
        ],
        frameworks: ["jasmine"],
        logLevel: config.LOG_DEBUG,
        plugins: [
            "karma-jasmine",
            "karma-chrome-launcher",
            "karma-coverage"
        ],
        port: 9876,
        preprocessors: {
            // source files, that you wanna generate coverage for
            // do not include tests or libraries
            // (these files will be instrumented by Istanbul)
            "dist/**/!(*spec).js": ["coverage"]
        },
        proxies: {
            // proxied base paths for loading assets
            // required for component assets fetched by Angular's compiler
            "/dist/": appAssets
        },
        reporters: ["progress", "dots", "coverage"],
        singleRun: true,
    });
 }

I have tried switching to PhantomJS, exact same error.

Not so sure it is a Karma (config) issue though, because this works:

import {
  beforeEachProviders,
  it,
  describe,
  expect,
  inject
} from '@angular/core/testing';

describe('Test', () => {

  it('True should be true', () => {
    expect(true).toBe(true);
  })
});

In my case, I was doing stuff outside of a describe block. Problem solved (although that error could be a little more descriptive).

I am sorry but this is still not working and needs sorting, either this is a problem with Karma or with Coverage or Both. I will need a viable solution to this 😒 additionally I am building with SystemJS  as module loader as this is the recommended way as per the Angular team.

I also am encountering this problem, also doing test loading via SystemJS

Also having this issue, test loading via systemjs as well. angular 2 typescript. however with mine, didnt seem to matter if anything was outside the describe blocks.

not sure if this is a fix for everyone, but we added "reflect-metadata": "0.1.2" as a package for node.

I'm encountering the same in an Angular 2 CLI project.  I first get the Missing error handler on 'socket'. message described in #1751 and than this one. If I clear the reporters: [...] array in the karma.conf.js file it's gone, but that shouldn't be necessary.

I'm going to close this issue as this is a user problem - it should be noted that there is a starter with coverage all set up properly with https://github.com/preboot/angular2-webpack, primarily maintained by one of the developers on the Angular docs team, so clearly coverage works fine with karma and Angular 2, once one knows all of the important aspects about how Angular 2 works.


nixos/modules/security/rngd: Disable by default

Motivation for this change
rngd seems to be the root cause for slow boot issues, and its functionality is
redundant since kernel v3.17 (2014), which introduced a krngd task (in kernel
space) that takes care of pulling in data from hardware RNGs:

commit be4000bc4644d027c519b6361f5ae3bbfc52c347
Author: Torsten Duwe<EMAIL_ADDRESS>Date:   Sat Jun 14 23:46:03 2014 -0400
hwrng: create filler thread

This can be viewed as the in-kernel equivalent of hwrngd;
like FUSE it is a good thing to have a mechanism in user land,
but for some reasons (simplicity, secrecy, integrity, speed)
it may be better to have it in kernel space.

This patch creates a thread once a hwrng registers, and uses
the previously established add_hwgenerator_randomness() to feed
its data to the input pool as long as needed. A derating factor
is used to bias the entropy estimation and to disable this
mechanism entirely when set to zero.

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Hmm, why did you remove the udev rules?

I removed the udev rules because they were all for hardware that's already handled by the kernel directly.

@nbraud Perhaps we should remove rngd altogether, but this is the only hardware that rngd helps for anyway. If someone explicitly enables it presumably they want it for their devices?

@nbraud Perhaps we should remove rngd altogether, but this is the only hardware that rngd helps for anyway.

Removing the rngd module would make sense at this stage, yes.  It's a fair bit more work (as default configuration, documentation, and other modules need to be updated) and I'm unsure how to deal with it breaking backwards compat (removing the options under security.rngd might cause people's config to fail to evaluate).
It's possible some people might want rngd (the program) to deal with hardware RNGs that the kernel doesn't detect as such (I have a couple such devices, that provide a random stream over (emulated) USB-serial) but it doesn't seem to be a configuration that the module supports anyway (so there would be no loss of functionality)

If someone explicitly enables it presumably they want it for their devices?

Presumably, but (as mentioned above) there doesn't seem to be a way, in the module, to point rngd at a custom device.

removing the options under security.rngd might cause people's config to fail to evaluate

mkRemovedOptionModule IIRC

I'm now strongly confused as to why https://github.com/NixOS/nixpkgs/commit/1ac86e14c746140a7fa9a6e81a3471739655366b is needed then. I would prefer to remove this entirely. Just judging from the evidence presented here that krngd in kernel space should be handing this.

backported fc5f50a94940ce071293aa3cd8b6dcbb685c4181 26c98e742f22c657ac7e31aacc67c8640b62c27d to release-20.09

Thanks @worldofpeace, and sorry for going silent: I've been pretty sick the last month+, and the workstation I installed NixOS on decided to just die.  (I'm currently RMAing the motherboard.  >_>')


create database model for listing resources

As a Developer
I need to create database model for customer data
So that I could store customer information
Assumptions:
-It will need a database management system known as MySQL
Database model will be implemented using python
Acceptance Criteria
When search a query to find out a customer information
Given the customer information like first name, last name, one or more addresses, customer ID
Given the userid and password for all customer
Given the customer ID is the primary key of unique identifier
Then I should retrieve the information of required customer

Hi, maybe we could make make this issue a little bit more specific: add the SQL queries. Since There is already a ticket on the database management system. We can merge the database model part into the #9

Sure, I will
On Thu, Jun 22, 2023 at 2:50 AM Yan Chen @.***> wrote:

Hi, maybe we could make make this issue a little bit more specific: add
the SQL queries. Since There is already a ticket on the database management
system. We can merge the database model part into the #9
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_CSCI-2DGA-2D2820-2DSU23-2D001_customers_issues_9&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=SBG5G8Z7ThaSzY9g3NbQTA&m=u2QnHXFADLs06kJFA8dDOZRGtxlQJoCySUuILBwEHBD7aZub2PMlZc0MMGFlXA9O&s=AmpCnWhoJtCQY-G4c2lg7EmBcLjH92OMblp5WzQv4u0&e=
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_CSCI-2DGA-2D2820-2DSU23-2D001_customers_issues_12-23issuecomment-2D1601694270&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=SBG5G8Z7ThaSzY9g3NbQTA&m=u2QnHXFADLs06kJFA8dDOZRGtxlQJoCySUuILBwEHBD7aZub2PMlZc0MMGFlXA9O&s=gu7He8CubvIRRomGUMM6vscggVBENOsG6zqtLz8Rwxg&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_A5763DUITJLLZEBSEIWCE53XMNQS7ANCNFSM6AAAAAAZPAVIQ4&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=SBG5G8Z7ThaSzY9g3NbQTA&m=u2QnHXFADLs06kJFA8dDOZRGtxlQJoCySUuILBwEHBD7aZub2PMlZc0MMGFlXA9O&s=pOBDMQw_sENGzZsTec5xQhbasNWNRkuuZm3kvhGULsQ&e=
.
You are receiving this because you authored the thread.Message ID:
@.***>


nagios_level field is ignored

Hi,
Several versions of this plugin including the one in Logstash 5.2 the nagios_level field is ignored and only the nagios_level setting in the output configuration is taken into account. If I don't set it in the output configuration it defaults to Critical.
Even a workaround by setting:
 nagios_level => "%{nagios_level}"

won't work because of the configuration check during configuration reload.
Cheers,
Thomas

I'm sorry, we just figured out that this is working indeed. It's just a bit confusing in the documentation that the nagios_level field has to be set to OK, WARNING, etc. and the nagios_level output option needs the numerical version 0, 1, etc.
Sorry for the mess.


Debug Bar Extension?

This plugin offers some debug functions (https://github.com/soberwp/controller#blade-debugging),
wouldn't it make sense to add an extension plugin for the Debug Bar plugin?

Hi @strarsis
I will take a look at the debug bar and see if extending it is possible for Controllers use case.
I'm going to close the issue for now.


Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect for fields with blank=False.

Ticket 26813.

I noticed one more issue, widget can be a class or instance, that's why I moved setting empty_label after Field.__init__().

I noticed one more issue, widget can be a class or instance, that's why I moved setting empty_label after Field.__init__().

Good catch 👍


minor fixes, work towards power_spectrum fix

I commented out an attempt at an implementation using realfft, and used ndrustfft instead, it just seemed easier in this case. I'll delete the code once we confirm one or the other works after fixing some of the other issues


Unable to update any collection

Hi! I created a basic Posts collection like the docs and I can't update any element of the collections, if I clicked on some one from the admin page, a error appear saying
"Cannot read property 'collection' of null" on line 14 of index.js file.

Thanks!

Which versions are you using?

Hi, these are the versions of all orion js related packages:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Thanks!


Update ticketalerts reference in monitoring.yaml

Description
Fix broken reference in monitoring stack.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

@ndmckinley Feel free to merge the branch for testing the cloudformation validation check.


Run mythril on the token

Mythril doesn't provide new API keys for now, reopening when the situation changes.


Test StateMachine

#71

https://github.com/ParkJong-Hun/wihd/commit/df637c49e2aa79dbb558c0c8ab938d2660fbc859
done here. may be


Problem installing pyBigWig

I have also gone through https://github.com/deeptools/pyBigWig/issues/9
however could not resolve issue ..

pip install pyBigWig --target /project/gujar_71/gujar/hg1/software/Python-3.9.0/ --use-feature=2020-resolver

Collecting pyBigWig
Using cached pyBigWig-0.3.17.tar.gz (64 kB)
Building wheels for collected packages: pyBigWig
Building wheel for pyBigWig (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/setup.py'"'"'; file='"'"'/tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pyuxs3vi
cwd: /tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/
Complete output (71 lines):
/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'classifier'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pyBigWigTest
copying pyBigWigTest/init.py -> build/lib.linux-x86_64-3.7/pyBigWigTest
copying pyBigWigTest/test.py -> build/lib.linux-x86_64-3.7/pyBigWigTest
running egg_info
writing pyBigWig.egg-info/PKG-INFO
writing dependency_links to pyBigWig.egg-info/dependency_links.txt
writing requirements to pyBigWig.egg-info/requires.txt
writing top-level names to pyBigWig.egg-info/top_level.txt
reading manifest file 'pyBigWig.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyBigWig.egg-info/SOURCES.txt'
copying pyBigWigTest/test.bigBed -> build/lib.linux-x86_64-3.7/pyBigWigTest
copying pyBigWigTest/test.bw -> build/lib.linux-x86_64-3.7/pyBigWigTest
running build_ext
building 'pyBigWig' extension
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
C compiler: /spack/apps/gcc/8.3.0/bin/gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/libBigWig
compile options: '-DWITHNUMPY -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -IlibBigWig -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/lib/python3.7/site-packages/numpy/core/include -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -c'
gcc: libBigWig/bwRead.cgcc: libBigWig/io.c
gcc: libBigWig/bwStats.c
gcc: libBigWig/bwWrite.c
gcc: libBigWig/bwValues.c
gcc: pyBigWig.c
libBigWig/io.c:2:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
from libBigWig/bwRead.c:1:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
from libBigWig/bwStats.c:1:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
from libBigWig/bwValues.c:1:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
from libBigWig/bwWrite.c:6:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
from pyBigWig.h:3,
from pyBigWig.c:3:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
error: Command "/spack/apps/gcc/8.3.0/bin/gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -DWITHNUMPY -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -IlibBigWig -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/lib/python3.7/site-packages/numpy/core/include -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -c libBigWig/bwRead.c -o build/temp.linux-x86_64-3.7/libBigWig/bwRead.o" failed with exit status 1
ERROR: Failed building wheel for pyBigWig
Running setup.py clean for pyBigWig
Failed to build pyBigWig
Installing collected packages: pyBigWig
Running setup.py install for pyBigWig ... error
ERROR: Command errored out with exit status 1:
command: /spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/setup.py'"'"'; file='"'"'/tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-4do25bze/install-record.txt --single-version-externally-managed --home /tmp/pip-target-i_35toe3 --compile --install-headers /tmp/pip-target-i_35toe3/include/python/pyBigWig
cwd: /tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/
Complete output (71 lines):
/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'classifier'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pyBigWigTest
copying pyBigWigTest/init.py -> build/lib.linux-x86_64-3.7/pyBigWigTest
copying pyBigWigTest/test.py -> build/lib.linux-x86_64-3.7/pyBigWigTest
running egg_info
writing pyBigWig.egg-info/PKG-INFO
writing dependency_links to pyBigWig.egg-info/dependency_links.txt
writing requirements to pyBigWig.egg-info/requires.txt
writing top-level names to pyBigWig.egg-info/top_level.txt
reading manifest file 'pyBigWig.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyBigWig.egg-info/SOURCES.txt'
copying pyBigWigTest/test.bigBed -> build/lib.linux-x86_64-3.7/pyBigWigTest
copying pyBigWigTest/test.bw -> build/lib.linux-x86_64-3.7/pyBigWigTest
running build_ext
building 'pyBigWig' extension
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
C compiler: /spack/apps/gcc/8.3.0/bin/gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/libBigWig
compile options: '-DWITHNUMPY -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -IlibBigWig -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/lib/python3.7/site-packages/numpy/core/include -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -c'
gcc: libBigWig/bwRead.cgcc: libBigWig/io.c
gcc: libBigWig/bwStats.cgcc: libBigWig/bwWrite.c

gcc: libBigWig/bwValues.c

gcc: pyBigWig.c
libBigWig/io.c:2:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
                 from libBigWig/bwStats.c:1:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
                 from libBigWig/bwRead.c:1:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
                 from libBigWig/bwValues.c:1:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
                 from libBigWig/bwWrite.c:6:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
In file included from libBigWig/bigWig.h:1,
                 from pyBigWig.h:3,
                 from pyBigWig.c:3:
libBigWig/bigWigIO.h:2:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
error: Command "/spack/apps/gcc/8.3.0/bin/gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -DWITHNUMPY -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -IlibBigWig -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/lib/python3.7/site-packages/numpy/core/include -I/spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/include/python3.7m -c libBigWig/io.c -o build/temp.linux-x86_64-3.7/libBigWig/io.o" failed with exit status 1

ERROR: Command errored out with exit status 1: /spack/apps/linux-centos7-x86_64/gcc-8.3.0/python-3.7.6-dd2am3dyvlpovhd4rizwfzc45wnsajxf/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/setup.py'"'"'; file='"'"'/tmp/pip-install-47iztnjk/pybigwig_fa75be7a7938497198624c64806dd224/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-4do25bze/install-record.txt --single-version-externally-managed --home /tmp/pip-target-i_35toe3 --compile --install-headers /tmp/pip-target-i_35toe3/include/python/pyBigWig Check the logs for full command output.

ok figured it out somehow i was not using the wright curl directory.

@keh218 I suggest installing with conda.


don't throw exceptions if the view is destroyed before the view is resized

resize() is a promise, and the $destroy event can fire before it finishes, nulling out scrollView which subsequently throws an exception because we are trying to call methods on null.

ping? I'm applying this locally for my team and it is working great.

Yes I also did a pull request but no nobody reacts ...

w00t thanks! Apologies for the delay


Run docker-compose on remote machine

Follow up to PR #25
If the Docker compose stack is running on a remote host, and the
MLX Web UI is running on localhost, export the environment
variable DOCKER_HOST_IP, so that the MLX UI web app running
on localhost can connect to the MLX API running on the Docker host.
export DOCKER_HOST_IP=<IP_ADDRESS>
docker compose up

@romeokienzler
Resolves #26

thanks @ckadner , can you push your changes in a new commit? looks like travis cannot rerun the failed job

Travis got the job done this time. Looks like we have a few pulls remaining in our Dockerhub quota today :-)

@ckadner maybe we can leverage the script we have wrote for kfp-tekton. This way we don't need to build the image if the api/ui code hasn't change

https://github.com/kubeflow/kfp-tekton/blob/master/.travis.yml#L73-L95


disable pedantic with FLATCC_PORTABLE

disable -pedantic flag if FLATCC_PORTABLE is specified

No that is orthogonal.
You can probably make an if then else construct here:
https://github.com/dvidelabs/flatcc/blob/07ae7dca8118f9ab6d900a7d4797881cab708ba6/CMakeLists.txt#L211-L213

No that is orthogonal.
You can probably make an if then else construct here:
https://github.com/dvidelabs/flatcc/blob/07ae7dca8118f9ab6d900a7d4797881cab708ba6/CMakeLists.txt#L211-L213

I thought the issue was happening with clang?

No that is orthogonal.
You can probably make an if then else construct here:
https://github.com/dvidelabs/flatcc/blob/07ae7dca8118f9ab6d900a7d4797881cab708ba6/CMakeLists.txt#L211-L213

Ah my apologies, should have waited for your response in the issue thread!
Im happy to address the GCC version flag disable, but what i was hoping to accomplish was a generalized way to disable pedantic ( in my particular case, im struggling getting flatcc runtime to build for linux-arm / linux-mips with Clang )

We could a add a FLATCC_ flag to disable pedantic. The problem is that every time there is a new GCC release, one or more users report some issue that is is a complete non-issue, and it needs to be investigated and GCC needs to be silenced. And with a flag, the user then needs to be told to add that flag to the build environment. GCC pendantic is just broken in my view.

( in my particular case, im struggling getting flatcc runtime to build for linux-arm / linux-mips with Clang )

Are you saying this a pedantic error raised by Clang?
In that case we need to fix the source of the problem in pattributes because we need clang pedantic since it usually find problematic areas. This is also why we can afford to remove on GCC.

We could a add a FLATCC_ flag to disable pedantic. The problem is that every time there is a new GCC release, one or more users report some issue that is is a complete non-issue, and it needs to be investigated and GCC needs to be silenced. And with a flag, the user then needs to be told to add that flag to the build environment. GCC pendantic is just broken in my view.

Understood. How about a FLATCC_NOPEDANTIC flag, and we set that flag for GCC versions over a specified target?

( in my particular case, im struggling getting flatcc runtime to build for linux-arm / linux-mips with Clang )

Are you saying this a pedantic error raised by Clang? In that case we need to fix the source of the problem in pattributes because we need clang pedantic since it usually find problematic areas. This is also why we can afford to remove on GCC.

Yes, thats correct, this is a clang error im experiencing with fall through.

OK, lets take this dicussion back to the issue.

@mikkelfj  updated as per our discussion

Can you test this with a few different GCC versions? The Travis build has stopped working so I don't have any insights on CI.

Can you test this with a few different GCC versions? The Travis build has stopped working so I don't have any insights on CI.

sure, will test 8, 10, 11

@mikkelfj  , tested (via rikorose/gcc-cmake docker images) gcc 5 , gcc 8, and gcc 11
command used:
cmake -DFLATCC_INSTALL=on -DCMAKE_INSTALL_PREFIX="/test/" -DFLATCC_RTONLY=on -DCMAKE_BUILD_TYPE=Release && make install

Thanks. It would be better if you could run the full tests, or at least a build without RTONLY, see scripts/test.sh, but at least it shows the compilers don't go belly up.

Thanks. It would be better if you could run the full tests, or at least a build without RTONLY, see scripts/test.sh, but at least it shows the compilers don't go belly up.

sure i can do that quick

Tested with gcc 5 and gcc 11, running scripts/test.sh successfully

Thanks, looks good!

@pjr-z I missed your comment on clang, could have saved some effort, thanks for the heads up tho :)


Follow all brigades on social media platforms

Overview
Follow all brigades using the Civic Tech Index social media platforms.
Action Items

[ ] Make twitter list
[ ] Make instagram list
[ ] Make facebook list
[ ] place issue in Ice box with a dependency on launching and update milestone to post launch
[ ] Follow all brigades on instagram
[ ] Follow all brigades on facebook
[ ] Follow all brigades on twitter

Resources/Instructions
brigade list

@DrIffathsultana could you link us to a document listing all of the brigades?

@ladissi
https://docs.google.com/spreadsheets/d/1xiLeyMwZc-n6eB1R_XdCJ00YrarfnR_w/edit#gid=1137923926


Bind methods

Currently one cannot do:
const {gettext} = i18n
gettext('Hello, World.')

As this would return:
TypeError: Cannot read property 'call' of undefined

However it seem fairly important to be able to shorten notations for views/renders with a lot of strings and for clarity of context.
Would it make sense to add a property accessor that would return an object listing those method as bound vs. call? This would also allow destructuring to get the needed methods.

Seems reasonable. Would you be into PRing a solution to this with a test?
Thanks!

In my project i try do the similar thing. I create Jed object in intermediate module and export function are tied to the object.
This functions in library may be ok with simple project, but i think that bindings will be made in user's code to control state of Jed object explicitly.


Gulp task translating json to less improperly when running multiple gulptasks

To build less assets properly, run the gulp task 'dragoman-less' by itself. Notice the output files are in proper .less syntax:
@color-orange: #f26322;

When running multiple translation tasks ('dragoman-web', which runs less, sass, scss, and stylus translations asynchronously) less output is not correct. It appears as if it is being translated in sass format:
$color-orange: #f26322

(no semicolon & using '$' as variable indicator).
This problem is likely happening within the loop, but i'm not sure where, why, or how. Gulp plugin that is used to make translation is gulp-json-css.

Hmmm. I did a checkout of 861d85f3e25468b19786e89fda13beaf02cb638b. This problem existed even before the fix for #25. I'll take a look though and see if I can figure out what is going on.

I wasn't seeing the issue before that commit, but thank you for taking a
look!
Thank you,

Nate

[image: Nate Baldwin]
email   |<EMAIL_ADDRESS>web     |  natebaldw.in
phone  |<PHONE_NUMBER>
On Fri, Sep 30, 2016 at 10:54 AM, Joshua Eagle<EMAIL_ADDRESS>wrote:

Hmmm. I did a checkout of 861d85f
https://github.com/NateBaldwinDesign/Dragoman/commit/861d85f3e25468b19786e89fda13beaf02cb638b.
This problem existed even before the fix for #25
https://github.com/NateBaldwinDesign/Dragoman/issues/25. I'll take a
look though and see if I can figure out what is going on.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NateBaldwinDesign/Dragoman/issues/32#issuecomment-250795975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANUy5jFmRNv0e7iVqx2Ufz2uXGmw6vYDks5qvT6zgaJpZM4KKLOk
.


split_value as an output vector

I was wondering is there a way to return split_value as a vector?

split_value on a node is an Option type of a dimension.  Could you share why do you want it as a vector?


Web.Helix.config transforms also do transforms on /Views/Web.config

As discussed on Slack, Helix transforms are being applied to Web.config, and also Views/Web.config, like so:
Foundation/Module/code/Web.Helix.config exists (contains an  node)
Project/MyWebsite/code/Web.config exists
Project/MyWebsite/code/Views/Web.config exists (the Main layout for the site lives here in Views)
HPP (1.4.0) is added to MyWebsite project, with default settings. I've configured publish-on-build with a publish profile which copies files locally. After a build, the end result is my  nodes being added to both Web.config and Views/Web.config
I believe the Views/Web.config is being included as a candidate for transformation by the CollectWebConfigsToTransform target in Microsoft.Web.Publishing.targets, so not sure if this is an issue with HPP or should be resolved in another way.
I resolved the issue locally by modifying my MyWebsite project to add a target to PreTransformWebConfigDependsOn which explicitly removed Views/Web.config from the WebConfigsToTransform identity.

Resolved and published as 1.4.1


Webhook notification URL size validation check

This PR is regarding issue #3669
I have fixed the issue with the form not validating the URL size and also added max_length in the form to prevent input from being larger than 600 characters.
I had to add conditions to check which form is submitted, as there are two forms in the template projects/project_notifications.html. Maybe we could change it to a single form or separate out the views that handle each POST request?
Please let me know if I made some mistakes.

Hi @stsewd, I have updated the code to display validation error for only the submitted form. Can you please review again?

Thanks, @Chirath02! We'll get to it when we can; Read The Docs is mostly volunteer run. Feel free to ping again in a week if this hasn't been done yet.

Thank @humitos.
I have made the changes that were requested. Running makemigrations showed multiple changes in the projects app, so I omitted migrations from this commit.

Testing this locally and it still doesn't properly do validation. It is saving the object in clean_url without checking the length, and allows me to save something larger than 600 in length. It also could use a test, to confirm the validation works.


Fix data race in request/sendPayment messages

Previously on thread load we

Receive requestPayment and sendPayment messages with no info attached -> store in messageMap
On notification, update in messageMap to add the info

I noticed that sometimes on first thread load some messages would never populate. It turns out that's because step 2 can happen before step 1. In that case, since messageMap doesn't have the message, we would drop the notification and the info would never be populated.
This separates the info in the message body from the one in the notification. In particular,

Adds a map in the store accountsInfoMap to store info that comes in through notifications. Message records aren't populated by the notifications anymore, this map is
Changes getters to check accountsInfoMap before looking in the message

As a bonus this also tweaks the message loading text.
r? @keybase/react-hackers

Can we discuss this. The original idea was to not disconnect these things and it seems like it's been re disconnected

@zanderz it would be possible, but the data could be blown away by later thread loads (likely the one we're racing with)
@chrisnojima yeah sure