Update EntityRepository.java

Describe your changes :
Merged Two If statements to increase readability.
Assigned issue - #3790

Type of change :

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@Rounak-28 Thanks for the patch. Please run mvn googleformatter:format@reformat-sources at root of the project and commit the changes


Convert to v1 feedstock and use pixi as conda install tool

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This PR converts the df2gspread-feedstock feedstock to a v1 recipe and switch the conda build tool to rattler-build.
Changes:

[x] 📝 Converted meta.yaml to recipe.yaml
[x] 🔧 Updated conda-forge.yml to use rattler-build and pixi (optional)
[x] 🔢 Bumped the build number
[x] 🐍 Applied temporary fixes for python_min and python_version
[x] 🔄 Rerender the feedstock with conda-smithy ✨

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found some lint.
Here's what I've got...
For recipe/recipe.yaml:

❌ noarch: python recipes are required to have a lower bound on the python version. Typically this means putting python >=3.6 in both host and run but you should check upstream for the package's Python compatibility.

For recipe/recipe.yaml:

ℹ noarch: python recipes should usually follow the syntax in our documentation for specifying the Python version.

For the host section of the recipe, you should usually use python ${{ python_min }} for the python entry.
For the run section of the recipe, you should usually use python >=${{ python_min }} for the python entry.
For the test.requires section of the recipe, you should usually use python ${{ python_min }} for the python entry.
If the package requires a newer Python version than the currently supported minimum version on conda-forge, you can override the python_min variable by adding a Jinja2 set statement at the top of your recipe (or using an equivalent context variable for v1 recipes).

ℹ PyPI default URL is now pypi.org, and not pypi.io. You may want to update the default source url.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12563221789. Examine the logs at this URL for more detail.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/recipe.yaml:

ℹ noarch: python recipes should usually follow the syntax in our documentation for specifying the Python version.

For the host section of the recipe, you should usually use python ${{ python_min }} for the python entry.
For the test.requires section of the recipe, you should usually use python ${{ python_min }} for the python entry.
If the package requires a newer Python version than the currently supported minimum version on conda-forge, you can override the python_min variable by adding a Jinja2 set statement at the top of your recipe (or using an equivalent context variable for v1 recipes).

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12563227268. Examine the logs at this URL for more detail.


Dependancy on one array element to other

Is this possible to do?
{
   "type":"object",
   "properties":{
      "possible_colors":{
         "type":"array",
         "items":{
            "type":"object",
            "properties":{
               "text":{
                  "type":"string"
               },
               "text1":{
                  "type":"string",
                  "template":"{{colors}}",
                  "watch":{
                     "colors":"text"
                  }
               }
            }
         }
      }
   }
}

Wanted to update array item text1 using the content of text ?
I tried this way too - with no luck ....
{
   "type":"object",
   "properties":{
      "possible_colors":{
         "type":"array",
         "items":{
            "type":"object",
            "properties":{
               "text":{
                  "type":"string"
               },
               "text1":{
                  "type":"string",
                  "template":"{{text}}",
                  "source":"colors",
                  "watch":{
                     "colors":"possible_colors"
                  }
               }
            }
         }
      }
   }
}

If possible, let us know your thoughts.

This should be possible to do, I am trying to figure out where we could update it. If anyone can share any related informaiton would be appreciated. Thanks

Dependency on one array elements fields (Basically update test1 using values of text - Is this possible inside and array and be consistent with through out the array)

 -
For example - if you have an array or objects with each having multiple fields - is it possible to auto update another field from the content of a field from the same level of objects. And be consistent with corresponding updates whenever we add new elements etc.
Please let us know if anyone has a solution to this problem


test: minimal bug repros

Description
Please provide the following information:

What changes you made:

Why you made them, and:

Any other useful context:

Make sure to follow the PR preparation steps in CONTRIBUTING.md before submitting your PR:

[ ] format the codebase: from the root, run yarn fmt:prettier.
[ ] update all snapshots (in core & CLI): from the root, run yarn test:update
[ ] add Changeset entry: from the root, run yarn g:changeset and follow the CLI instructions. Alternatively, use the Changeset Github Bot to create the file.

Will work on a fix for this and put up another PR


Invite fix- Close the 'How to invite"

Description
First time user will open the invite page, we should display the 'how to invite' section open, after that the section should be closed and the user will have the option to open the section by clicking on it.

we would cache this state flag in the user props (like we're doing with the good market button first clicked statew)

@Zhigamovsky @sirpy  The "How to invite" section is opened after first opening the Invite page.
After the second opening of the Invite page the "How to invite" section is closed.  The user is able to open the "How to invite" section by clicking on it.
The section is closed after re-login/ re-sign up to the account and opening the invite page.
The section also is closed after login into the same account on another device and opening the Invite page.
Checked on the QA 1.25.1-3
Device: Windows 10 / Google Chrome 86
MacBook Air 13" / Mojave Version 10.14.1 / Safari
Attachment:
https://www.screencast.com/t/mzhmMQD7btLm

Checked on the Prod. The "How to invite" section is displayed opened only after first opening the Invite page.
Checked on the PROD 1.26.3
Device: Windows 10 / Google Chrome 89
Attachment:
https://www.dropbox.com/s/13n6hmpgnnljfc8/Check the how to invite section.mp4?dl=0

@Zhigamovsky @serdiukov-o-nordwhale
[BUG]The "How to invite?" section is displayed on the Invite screen after re-login on the Native.
Preconditions:

The user is logged in

Steps to reproduce:

Go to the Invite screen first time
Click on the "Back" button
Re-login to the account
Go to the Invite screen a second time
Pay attention to the opened "How to invite" section

Expected result: The "How to invite" section should be closed after re-login and opening the second time
Actual result: The "How to invite?" section is displayed on the Invite screen after re-login on the Native.
Attachment:
https://www.dropbox.com/s/l2sarfn0flxetc8/The how to invite section is not closed after re-login on the native.mp4?dl=0

@Zhigamovsky The issue is not reproduced. The "How to invite" section should be closed after re-login and opening the Invite screen a second time on the native
Checked on the Android App [Staging] 1.25.1-7
Device: Xiaomi Mi 8 / Android 9
Attachment: https://www.dropbox.com/s/fdky45of76qern9/How to invite section check on the NAtive.mp4?dl=0

The issue is not reproduced. Probably it was connected to the gun issue that happened before


Update README with GitHub Actions?

Thanks for making this! :)
Would it be possible for you to add an example for GitHub Actions to the README.md?
Maybe something like:
    steps:
      - uses: actions/checkout@v2
      - name: Audit for vulnerabilities
        run: npx audit-ci --moderate

If that's right, I'm happy to open a PR as well.

Thank you, looks good to me! 😄


[Process not executing]

The process does not gets executed. Throws an error. When checked in the console, the error is as follows:
TypeError: Cannot read property 'removeFrom' of undefined
at e.removeControl (deps.wps-js-client.min.js:352)
at wps-js-client-all.min.js:3
at deps.wps-js-client.min.js:143
at m.$eval (deps.wps-js-client.min.js:157)
at m.$digest (deps.wps-js-client.min.js:154)
at m.$apply (deps.wps-js-client.min.js:158)
at HTMLButtonElement. (deps.wps-js-client.min.js:288)
at HTMLButtonElement.dispatch (deps.wps-js-client.min.js:3)
at HTMLButtonElement.r.handle (deps.wps-js-client.min.js:3)

i would like to solve this issue.


Permanently Disable Claude

I do not have access to Claude. Is there a way to permanently disable it so I only see Chatgpt and Bard? I try to move it out of the screen which works fine. But then after I type something, and want to delete the previous thing that I typed, I hit command-A (to highlight the previous text to be deleted) and the Claude screen appears again.

ya i think just go delete it in the code and build from source? is that acceptable? i guess we could figure out how to toggle it in app settings or whatever, would take a PR for that.
sympathies for not having access. i know its frustrating :/
claude truly is good for some code stuff tho. be sure to try it out.

Thanks. I just did this.


[backport] Avoid calling numpy.nonzero on 0-dim arrays in tests

Backport of #2374
Fixes #2370

[automatic post] Jenkins, test this please.

It has been modified for v6 so that the DeprecationWarning won't be raised in cupy.nonzero.

Jenkins CI test (for commit 0e1598e75b541249d3edc15462224b054d0b8d03, target branch v6) failed with status FAILURE.

#2374 will be reverted: #2387


Update miniupnp to the latest version

So that we can avoid security issues in the present version.

After looking at this, lbrycrd uses the miniupnp client only. I see no significant fixes listed for that.

Follow the upstream bitcoin version.


Going to new route the page reloads on it's own and goes back to previous page

Hello folks, I am new to flow-router and Meteor and I am trying to narrow down where the problem might be. The problem is this: On clicking a button I want the browser to go to a new page, which it does ok, but then it immediately returns to the previous page with any user interaction. I am not sure that this is a flow-router issue, but as I said I am trying to figure out where the problem is and the router seems like a good place to start.
The app is pretty basic, there are just two pages, the first page contains a list of text files with song names represented by an un-ordered list and a second page to display the song when it is selected by clicking on the  element. When the user selects a song it triggers a click event that runs a server method to process the song selection by running an external command an then returns the output to the calling event handler which then runs:  FlowRouter.go('/song/' + song_name) to change pages. The browser navigates to the new page, but immediately returns to the previous dashboard page with the song list.
Following are my routes as defined in the client/routes.js file:
Accounts.onLogin(function () {
FlowRouter.go('/dashboard');
})
FlowRouter.route('/dashboard', {
name: 'dashboard',
action: function(params, queryParams) {
console.log('/lib/routes.js: Page = /dashboard');
BlazeLayout.render("Members", {memberContent: "Dashboard"});
}
});
FlowRouter.route('/song/:name', {
name: 'song',
action: function(pathParams, queryParams) {
console.log('/lib/routes.js: Page = /song/:name');;
BlazeLayout.render("Members", {memberContent: "SongPage"});
},
});
Here are my Templates:

and here are the template helpers:
Template.Members.helpers({
'getTemplateName': function() {
var route = FlowRouter.getRouteName();
if (route === 'dashboard') {
template = 'Dashboard';
}
else if (route === 'song') {
template = 'SongPage';
}
else {
template = 'Dashboard';
}
return template;
},
});
Template.SongPage.helpers({
'getSong': function() {
var currentSong = Session.get('currentSong');
return (currentSong !== undefined) ? Spacebars.SafeString(currentSong) : '';
}
},
});
Any and all help would be much appreciated. If I can provide any further information please let me know. I really need to nail down if the problem is with the routing or some other newbie mistake.
Thanks and Regards,
Daryl

I can confirm I have same issue.
I am using helper :
{{#if isUpvoted}} Show template A {{else}} Show template B {{/if}}
After user upvotes and helper changes to "true" it the page will refresh the new template then immediately go back to previous template and helper suddenly returns "false". The upvote is correctly changed in MongoDB.
And I recently updated app from 1.2.1 Meteor to latest 1.4. Also updated Flowrouter to latest version.


Add missing model evaluation metrics

Blog post about MLDB Hacktoberfest 2016

Rationale: Many Kaggle competitions use evaluation metrics that are currently not reported by MLDB. This makes it harder to use to solve competitions.
DOD: Add the following metrics to classifier evaluation:

Regression
Mean absolute error: https://www.kaggle.com/wiki/MeanAbsoluteError
Binary classification
Log loss: https://www.kaggle.com/wiki/LogarithmicLoss
Multi-class classification
Log loss: https://www.kaggle.com/wiki/MultiClassLogLoss
Hamming Loss: https://www.kaggle.com/wiki/HammingLoss

They should be added in: https://github.com/mldbai/mldb/blob/master/plugins/accuracy.cc
Internal ticket: MLDB-1968

I can work on this starting with Binary Classification Log Loss


Game softlocks on Dolphin when Frankly tries to remove fence

Every time Frankly goes to remove the fence after leaving his house, the game will softlock when the fence would normally fall off of the screen. The scene never plays but the game still runs and NPCs move around normally.

I'm pretty sure that's an Dolphin issue, try bringing it up with people like Zephiles
#3457 on Discord


fix(counters_stable): intermittent closed target errors (#1240)

READY FOR REVIEW
Fix #1240
The solution is to wait before clicking a button.
Two Strategies

Wait before each click attempt (used by most buttons)
Synchronize navigation and the wait for a button (used only by Add 1000 Counters button)

All buttons except the Add 1000 Counters button use strategy 1. It is not clear why this is a requirement. Switching strategies breaks the test!?

Very odd! But if it works it works. This is not my area of expertise.


Setting the domain isn't possible anymore ?

Hi !
I've installed the latest version of testrpc and seen that the -d option, which was there to set the domaine to something else than localhost, is now used for generating deterministic addresses.
As I need to put my server address, I can't work with this new version
Is there a new command to set the domain ?

Is this still an issue for you? My impression is that with node, this is not needed. If you run the TestRPC on your server, it'll open the port. There should be no need to set the domain.
If I'm wrong and this is still an issue, please reopen.


Add CI + tests + CD container build

Django comes with an inbuilt testing regime so we should probably have some super light CI.

Fixed CD aspect, seperate issue for tests


Dev/t yoigra/open app owns data to sovar clouds

@badariprasad,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot


[Bug] the title of bug report

What did I do
I had three Chinese characters in the text box:

一个人

I tried to switch the format to Base64.
What happened
MQTTX didn't respond anymore.
Expected
Encoded Base64 data like (if those characters are UTF-8 encoded): 5LiA5Liq5Lq6
Environment

OS: MS Windows 10 Enterprise Edition, Version 10.0.18363 Build 18363

MQTTX version, e.g. v1.6.2

More detail
More detail include log information or screenshot:

@MartinL0815   Hello, I have reproduced this problem, thank you for your feedback, we will fix it as soon as possible

This issue is fixed on https://github.com/emqx/MQTTX/releases/tag/v1.7.0
Thanks for your feedback!


es5/build/pdf.worker.js has arrow syntax in 2.7.x

Configuration:

PDF.js version: 2.7.x

Steps to reproduce the problem:

Got here: https://raw.githubusercontent.com/mozilla/pdfjs-dist/master/es5/build/pdf.worker.js
See that arrow function syntax is used throughout.

What is the expected behavior? (add screenshot)
ES5 syntax to be used instead
What went wrong? (add screenshot)
Arrow functions present.

See that arrow function syntax is used throughout.

Browsers and/or environments without array function support is now too old to be supported in PDF.js, regardless of build type; please note the compatibility information at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#browser_compatibility

ES5 syntax to be used instead

This is probably a case of a somewhat misleading naming convention, on the PDF.js side, since the es5-releases simply means "for usage with older browsers/environments" and nothing else at this point in time; note in particular that e.g. IE 11 is now explicitly unsupported.
Unfortunately naming things is a surprisingly difficult problem in general, and I don't know if we can change the es5-part of the build-names to something else (and if so what to use instead?).

See that arrow function syntax is used throughout.

Browsers and/or environments without array function support is now too old to be supported in PDF.js, regardless of build type; please note the compatibility information at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#browser_compatibility

ES5 syntax to be used instead

This is probably a case of a somewhat misleading naming convention, on the PDF.js side, since the es5-releases simply means "for usage with older browsers/environments" and nothing else at this point in time; note in particular that e.g. IE 11 is now explicitly unsupported.
Unfortunately naming things is a surprisingly difficult problem in general, and I don't know if we can change the es5-part of the build-names to something else (and if so what to use instead?).

This is probably a case of a somewhat misleading naming convention, on the PDF.js side, since the es5-releases simply means "for usage with older browsers/environments" and nothing else at this point in time; note in particular that e.g. IE 11 is now explicitly unsupported.

Understood. I'll just have to use an older version then. Thank you for explaining.

Unfortunately naming things is a surprisingly difficult problem in general, and I don't know if we can change the es5-part of the build-names to something else (and if so what to use instead?).

I agree that naming things is difficult.

This is probably a case of a somewhat misleading naming convention, on the PDF.js side, since the es5-releases simply means "for usage with older browsers/environments" and nothing else at this point in time; note in particular that e.g. IE 11 is now explicitly unsupported.

Understood. I'll just have to use an older version then. Thank you for explaining.

Unfortunately naming things is a surprisingly difficult problem in general, and I don't know if we can change the es5-part of the build-names to something else (and if so what to use instead?).

I agree that naming things is difficult.


One error shown when installing 'npm run dev-server'

On my local machine, I ran this command in 'WeVoteServer/web_app':
npm run dev-server
Most everything ran successfully. This message was shown "webpack: bundle is now VALID". But there was one error reported:
ERROR in ./app/containers/ReadmePage.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ./../../README.md in /Users/dalemcgrew/PythonProjects/WeVoteServer/web_app/app/containers
 @ ./app/containers/ReadmePage.jsx 37:26-54

Same issues resolved in #34


Problem adding works to a collection

Bug Report

I'm in the process of uploading individual research posters into ScholarSphere and then adding each work into the Stuckeman School Research Open House collection. I've added 50 works into the collection, but I'm unable to add any additional works.  Are collections capped at 50 works?

Steps from user report:
1- Create and publish a work
2- Go to my dashboard and scroll until I find the entry for the collection
3- Click on Update Collection
4- Click on Works
5- Scroll to bottom of list of works to the 'Add works to the collection' box
6- Click on the down arrow in the box to reveal the title of the work that I just published
7- Scholarsphere shows the list of works I published that are not yet in a collection
-- although the work is published (I double checked), it does not show up in the box.  Instead, I receive this:  "No results found"

Ack - I bet I know why this is happening. After releasing #1203, we now limit the max results in the works dropdown to 50 (previous value was 10000). I incorrectly assumed that no normal user would have more than 50 works.
If all of the first 50 works are in the collection, they get filtered out on the frontend and it looks like no more works are available.
I bet if the user started typing the title for this work, it would eventually appear because at that point we would be doing a new Solr search, filtering the results on title.
A quick fix would be to raise this limit to some number that no normal user would be likely to exceed. Maybe we 10x it to 500? What do you think, @srerickson?

We might also be able to change the text to say something more helpful than just "No Results Found".

Pretty much, yes. If all the works from the unfiltered Solr query (i.e. nothing typed in the search box) were already in the collection, then the user would see "No Results Found". If they started typing, they would see results, but only if the results of that new, filtered Solr query returned works that were not already in the collection.
In thinking about this a bit more, it may also be possible to pass an array of work IDs to exclude from the Solr results, so the initial 50 works returned by the query would exclude works already in the collection. Then we wouldn't have to do the JavaScript filtering and wouldn't have this problem.

To further clarify, currently there are 2 levels of filtering:

on the Solr end, we are filtering the works by title (what the user types into the search box)
on the frontend, we use JavaScript to filter out any works we get from Solr that may already be in the collection


Remove aliases for env package

What does this PR do?
The changes were generated by gopatch. The only real change are locate in pkg/config/aliases.go.
Describe how to test/QA your changes
No code change so running the test should be enough.

/merge


Should be able to configure prefer language in popup window

as same as title

Added in v1.0-beta.2


The url is /admin/plugins/pushbullet on NodeBB v1.0.3

I spent a few minutes Googling things trying to figure this out. I think it would be helpful to have an up-to-date readme file.

Just posting a follow-up on this.

@LukeLaupheimer thanks.


[utils] Add small optimization: composeClasses

I have been doing some more benchmarking on the datagrid and I see that composeClasses makes up around 1.5% of the CPU time during scroll events, but also in general during any rendering-heavy code (e.g. initial mount). I have run the benchmarks with just MUI core components (e.g. 40 buttons, 40 text fields) and the results are the same, which makes sense as we use the same patterns in both codebases.

 `composeClasses` profile

I have applied different optimizations to the original implementation, and was able to get it to run about 3x faster. By using this implementation, we'd reduce our rendering runtime in general by around 1%, which is an interesting result for optimizing just one function.

 optimization rounds results (benchmark code)

The obvious downside is that performance-optimized code is less readable. The table above presents the optimization improvements for each successive step, if the code proposed here is too exotic, you could also propose which optimizations make sense to include. The most impactful by far is avoiding accumulating strings in an array.

Hey, @romgrk! Thanks for working on this 😊
How urgent is this improvement for the X team? I'm asking because we're releasing the last v5 version next week (except for urgent fixes), after which we'll start working on the next branch and release v6 alpha versions. Because of this, we're only merging critical PRs this week and will move all others to the next branch when that's created.
If the X team needs this right away, we'll have to get it reviewed and approved by Monday, which might be too close. If this can wait, we can point the PR to the next branch and keep working on it there.
Besides that, I'm curious: would you expect to avoid forEach and reduce usage and this string concatenation method on the entire codebase? This is important because we want to keep our code consistent and readable. In this regard, would it make sense to create an util for the string concatenation?

Not urgent, it can wait.

would you expect to avoid forEach and reduce usage and this string concatenation method on the entire codebase? This is important because we want to keep our code consistent and readable.

No, as I mentionned performant code is often a tradeoff for readable code. What we do in the datagrid is we avoid expensive code patterns at specific locations, and use more readable patterns where the performance requirements are not as high. For example, anything that runs during scroll events (very tight runtime budget), at the cell level (scales with the number of cells on screen) or during filtering (scales with the number of total rows) is a good candidate for optimization. composeClasses falls in two of those categories but is also just used by nearly all the components. The best option imho is to benchmark first, and optimize when we see something expensive in the profiling results.

In this regard, would it make sense to create an util for the string concatenation?

In this case it's clear that allocating + filling + joining the array is slower, but it depends on the case. In V8 (the most frequent engine by far) this case would probably fall into the ConsString representation where + on string is very efficient, but in other cases other representions could have different performance characteristics.
Sidenote, one unfortunate performance characteric I noted on V8 though is that \MuiButton${n}`is [more expensive](https://jsben.ch/KngY5) than'MuiButton' + n`, and we use string templates everywhere. I'm not sure I would recommend switching though, this kind of microbenchmark comparison can easily switch from one case to the other across updates. However, as part of the style API improvements we could avoid the get-utility-class function though, and skip the repeated function call in most cases.

The code looks good to me. Before approving, I would like to ask @mui/core if anyone can foresee an issue with adding the extra space after the classes. We can move forward if nothing comes up in a couple of days.
The only one I can think of is that hardcoded tests in users' tests might break if they match the class names string without a space or have snapshots that include the strings. We could add this to https://github.com/mui/material-ui/blob/next/docs/data/material/migration/migration-v5/migration-v5.md as a breaking change to be cautious; what do you think, @romgrk?

Yes, that would be possible. Tbh I'm not sure it's worth it at the moment, and I think I can get rid of some of the costs more efficiently without breaking changes once I apply the style API improvement. I'll close it for now, I'll get back to this later.


Integer render target

As used in #479, this adds support for render targets and GPU-side textures using integer data formats. I'm not 100% sold on the naming I chose for the new functions, so other ideas are welcome if you can think of something better.

An alternative to the duplicated functions that I implemented in this PR would be to introduce new wrapper types for u8 and i8 that make them interpreted as normalized fixed point values (the old implementation) instead of as integral values. However, that adds an extra layer of complexity to the primary use case, which I felt would be undesired.

This probably isn't needed anymore?

I really like your effort 🙏  However, it also complicates the code, and so far, I haven't had the need for integer render targets. If someone really wants to have integer render targets, they can create them outside of three-d using the context and still combine it with the rest of the crate. So since it requires more effort to maintain from my side, until some feature really requires integer render targets, I would like to avoid that complexity. Hope that makes sense 🙂

I'll close this for now, since there isn't a motivating need for it anymore.


Launch error in Detect.py

After follow step by step the installation instructions I try to run :
python detect.py images 0.5 0.5 data/images/office.jpg
And I get this error :
File "detect.py", line 39     inputs = tf.placeholder(tf.float32, [batch_size, *_MODEL_SIZE, 3])                                                                  SyntaxError: invalid syntax
( ^ show "*" on *_MODEL_SIZE)
How can I fix that ?

I am having the same issue, did you manage to find a fix?

Yeah facing the same issue.

inputs = tf.placeholder(tf.float32, [batch_size, 416, 416, 3])

Just replace the batch_size with a value of 1. Since the same approach was done in the video, so tried it and it worked.


selectTextOnFocus broken

Bug
on iOS the text is not focused at all and on android the selection behavior is very odd and only selects part of the text when using a currenct mask like so $[9999999].[00]
Environment info

React native info output:
info
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
      Memory: 1.49 GB / 32.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.6.0 - /usr/local/bin/node
      Yarn: 1.17.3 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 23, 25, 26, 27, 28, 29
        Build Tools: 27.0.3, 28.0.2, 28.0.3, 29.0.1
        System Images: android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
    IDEs:
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.10 => 0.59.10

Library version: 1.0.1
Steps To Reproduce

Create an instance of TextInputMask
Pass it props to autoFocus & selectTextOnFocus & mask="$[9999999].[00]"
Try to focus input

Describe what you expected to happen:

Selecting text when focused works as expected on iOS & Android

This is actually fixed in newer versions 👍

"react-native": "0.63.2" - selectTextOnFocus does not work on Android or IOS


Add API calls to manage group/project badges

Enhancement #402 implemented. It add API functions to get, edit, add and remove badges of groups and projects. Unit tests implemented.

I checked the lint job messages. I have trouble to fix the message:
spec/gitlab/client/projects_spec.rb:20:86: C: Style/FormatStringToken: Prefer annotated tokens (like %<foo>s) over template tokens (like %{foo}).       expect(@badges.first.link_url).to eq('http://example.com/ci_status.svg?project=%{project_path}&ref=%{default_branch}') . Do you know how it can be changed in a way to satisfy rubocop? I am not so familar with it. Is it possible to quote the string in some way, so it will no longer recognized as tokens?

ping @fhaefemeier

ping @fhaefemeier

Sorry, I hadn't time to fix the issues yet. I will try to do it in the next days.


Feature request: Include Unwritten Log Entries On Error

Description of the feature request
It would be great if the logger could collect some unwritten logs (maybe a configurable amount that defaults to 10 or something) and if there is an error logged it would also write any logs that were not already written.
Problem statement

I've always hated that the debug logs are never available when I need them. They are typically turned off in a production system, but when there is an error I'd like to have information from those logs. I don't want them most of the time, so really only when an error occurs. Sampling isn't a good option because the error may be intermittent and the logs will not be present for the relevant time.
Summary of the feature

Basically, at the point when the decision is made whether to log it would either log (current functionality) or store the log. If there was an error log it would log the error as well as everything stored (and flush the store).

Code examples

Benefits for you and the wider AWS community

Faster time to resolution on errors
Describe alternatives you've considered

I've looked at doing something like this myself but haven't tried it yet. As I mentioned, sampling doesn't accomplish what I'm looking for.
Additional context

Related issues, RFCs

Thx for your suggestion ! Interesting idea that can definitely help reducing logging cost while having a verbose output on error. we will look into it .

I like this idea very much. It addresses my main use case for sampling rate. But it's more cost-efficient and we don't miss anything.
import { Logger } from '@aws-lambda-powertools/logger';
const logger = new Logger({
   logAllLevelsOnError: true,
});

In this case, the client needs to make sure that they catch any error and print out the log to get it flushed out.
It can be used with Middy's error-logger, to ensure that uncaught error are always handled.

In this case, the client needs to make sure that they catch any error and print out the log to get it flushed out.

Yes, it is definitely dependent on the code catching and logging an error.
Came across this repo, which is doing what I'm talking about here. Doesn't seem too bad in this example, but I haven't looked at the logging code in this repo to see how complex it might be here.

There is a blog about this. Useful for implementation reference: https://dev.to/aws-builders/saving-on-aws-lambda-amazon-cloudwatch-logs-costs-51od
Notice the clear() function or the logs can leak to the next Lambda call.

I really like this idea.
Could I suggest using levelOnError instead of logAllLevelsOnError? This would provide additional flexibility by allowing the developer to set the log level on error instead of assuming they want everything.
Use case:

Set level to WARN and levelOnError to INFO.
Use WARN for warnings that should always be logged
Use INFO for additional information (like the event) that will allow debugging when an error occurs
Use DEBUG for low level debugging (i.e. logging each iteration of a loop)

Why?
Frequently I only need a little extra information, like the event, to be logged on error. By allowing the developer to set the log level on error I can use INFO for the stuff I want to see when something goes wrong but still have DEBUG littered through my code for when I need to do development / debugging. This is particularly helpful if you only keep the last N items to be written on error because I want some things I log (INFO) but not others (DEBUG).

Powertools for Python introduced a somewhat related feature that allows to emit logs when an exception is raised: see docs here.

I really like this feature request and it's a very useful use case. I am in favour of adding this in our backlog.

While the feature was implemented in Powertools for Python, at the moment it seems like it's unstable - awslabs/aws-lambda-powertools-python/issues/1798

Powertools for Python introduced a somewhat related feature that allows to emit logs when an exception is raised: see docs here.

I'm not sure this is the same thing that I'm asking for. It seems that the feature in the Python implementation is to log an exception that wasn't handled. That is very different than logging additional messages (from different log levels) when an error is logged. The issue they are having is related to capturing the uncaught exception. That would not be an issue for what I'm requesting.

My bad, I confused / conflated the two use cases but after re-reading I agree that they are different. Adding back the original labels.

Moving to backlog, as we've got some customer demand. One thing that would be suuuper helpful to prioritize is to have company names, as GitHub doesn't always have that info -- feel free to email us<EMAIL_ADDRESS>if you don't feel comfortable sharing in public.
PS: adding Python issue too so they're linked.


Exceptions aren't displayed correctly when importing Flutter

What happened?
Adding `import 'package:flutter/material.dart'; causes exceptions to stop showing up.
Steps to reproduce problem
Starting with this program:
void main() {
  throw(ExtremelyBadException());
}

class ExtremelyBadException implements Exception {
   String toString() {
     return "ExtremelyBadException";
   }
}

The error shows in the console. But adding a flutter import will cause the console to stop showing the error.
Additional info
Browser
Browser: Chrome
Version: Version 79.0.3945.130 (Official Build) (64-bit)
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)?
Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:
[paste warnings or errors here]

Machine
Operating system: macOS
Version: 0.14.6
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
package:flutter/material.dart
void main() {
  throw(ExtremelyBadException());
}

class ExtremelyBadException implements Exception {
   String toString() {
     return "ExtremelyBadException";
   }
}

DartPad's output
Did DartPad print anything to the console pane? If so, paste it below:
No output
If you were running Flutter code, you can also paste an image of the
Flutter output directly into this bug report.

Duplicate of https://github.com/dart-lang/dart-pad/issues/1365


Batched tf.RaggedTensor with tf.data.Dataset returns invalid ragged tensors

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): public colab instance
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.14.0-rc1
Python version: 3.6

Describe the current behavior
Iterating on a batched dataset made from tensor slices of ragged tensors produces tf.RaggedTensor that seem to be improperly formatted. Specifically, calling RaggedTensor.value_rowids return the row index for every element in RaggedTensor.values. This is inconsistent with the output obtained from calling RaggedTensor.value_rowids directly on the original tensor (or slice of the original), and also inconsistent with the format expected by tf.RaggedTensor. from_value_rowids.
Describe the expected behavior
Given a batched ragged tensor x, manually building a new one using tf.RaggedTensor. from_value_rowids(x.values, x.value_rowids()) should work. Currently this raise an exception at runtime (not during graph construction).
Code to reproduce the issue
import numpy as np
import tensorflow as tf

data_values = tf.RaggedTensor.from_row_splits(
    np.arange(8).reshape((-1, 2)),
    np.array([0, 2, 3, 4]),
)

dataset = tf.data.Dataset.from_tensor_slices(data_values)
dataset = dataset.repeat()
dataset = dataset.batch(3)

iterator = dataset.make_one_shot_iterator()
batch = iterator.get_next()

a = tf.RaggedTensor.from_value_rowids(batch.values, batch.value_rowids())
with tf.Session() as sess:
  sess.run(a)  # this fails due to invalid shapes
  assert np.allclose(sess.run(batch.value_rowids()),  # this will also fail
                     sess.run(data_values.value_rowids()))

This appears to be fixed in tf-nightly (version 1.14.1-dev20190619). This issue is probably safe to close.

Thank you, it seems to work!
I have a related problem, but maybe I should open it as another issue:
I have a dataset from generator, containing uneven tensors. After batching I would expect it to return dataset with RaggedTensors. At present it fails.
Here is a minimal example:
import numpy as np
import tensorflow as tf
from tensorflow.data import Dataset

def get_iterator():
    return map(lambda x: np.ones([x, 1]), range(4))

ds = Dataset.from_generator(get_iterator, output_types= tf.float32,
                            output_shapes=[None, 1])

for x in ds:
    print(x)

print("Batched:")

for x in ds.batch(2):
    print(x)

Sorry, I found probably a more related issue:
https://github.com/tensorflow/tensorflow/issues/27653
and I repated my above comment there.


VS Code does not validate extension content, it causes that all extensions that installed stops working when an invalid vsix extension is installed

Type: Bug
The VS Code doesn't validate the extension's content, if I install an empty extension, all extensions stops working.
At first, I wanted to create an extension by myself, but when I loaded a empty vsix file, it couldn't be installed.
Then, I created the "package.json" file in the "extension" directory and zipped it, rename to "extension.vsix".
The content of "package.json" is just:
{}

But when I install it, no error.

As I think I was success, I found that all extensions stopped working and disappeared.

My extension is:
extension.zip  (please unzip it)
I tried to lookup console, and I found:

By opening "extensions.json" ,deleting the "undefined_publisher.undefined" and restart VS Code, everything became normal.

I think VS Code doesn't validate extension content, so if I install an empty or incorrect extension, it can't deal with them and show errors. Because the extension configurations are saved in "extensions.json", as long as one extension has a serious problem, all other extensions stop working because of "extensions.json" cannot be parsed correctly.
extensions.json.zip
By the way, I installed 26 extensions in total, but when I create the issue, Code shows I installed no extension. It is not true, so please ignore.

These are screenshots while installing:

when I start extension bisect, I got an error message:

The file mentioned is:
extensions.json.zip

    {
        "identifier": {
            "id": "undefined_publisher.undefined"
        },
        "location": {
            "$mid": 1,
            "fsPath": "c:\\Users\\shc07\\.vscode\\extensions\\undefined_publisher.undefined-undefined",
            "_sep": 1,
            "path": "/c:/Users/shc07/.vscode/extensions/undefined_publisher.undefined-undefined",
            "scheme": "file"
        },
        "relativeLocation": "undefined_publisher.undefined-undefined",
        "metadata": {
            "installedTimestamp":<PHONE_NUMBER>327
        }
    }
]

After I deleted it, everything became normal.
VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:22:07.651Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i5-1235U (12 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.73GB (1.58GB free)

Process Argv
--crash-reporter-id fca90ba1-adc4-4215-bca1-9246de38ddb5 --crash-reporter-id fca90ba1-adc4-4215-bca1-9246de38ddb5 --crash-reporter-id fca90ba1-adc4-4215-bca1-9246de38ddb5

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyonecf:30548226
2e4cg342:30602488
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
vsctsb:30748421
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
hideindicator:30785051
pythongtdpath:30769146
i26e3531:30792625
gsofb:30797622
pythonnosmt12:30797651
pythonnoceb:30797650
e537b577:30795824
dsvsc013:30795093
dsvsc014:30797589

/needsMoreInfo

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

/needsMoreInfo

@gjsjohnmurray I added more information. Please lookup them. Thanks

/assign @sandy081

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Milestone report - View

As an analyst
I want to see the read-only version of the milestone reports that were submitted
So that I can view the claims submitted
Description
This ticket is for the user to see the list of claim and be able to download, and edit
Acceptance Criteria:
Private Zenhub Image
Wireframe

[x] After pressing save on the form, this view slides in and the form slides out (same animation as announcements & the funding agreement forms)
[x] Ordered by due date, newest on top oldest on bottom
[x] Q (quarter) is same function as done for the community progress reports, derived from due date on the form not date received
[x] Overall progress is from cell with the same name in the Excel file
[x] Click on "Milestone Report" link in the view begins the download of the original file
[ ] When user clicks the edit on the view page - the add form opens with form data
Progress bar is MUI progress bar - linear with label with custom colours: 1A5A96 for bar and c3d0dc for background
Does not include metabase report link - will be separate ticket

Implementation Details

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @rafasdc

Adding blocked label, this needs the excel import ticket completed first.

@elliottSlee I'm not using the Mui progress bar since it is way overkill for our needs and very fiddly and am making one from scratch since it's fairly simple. I think it's fair to suggest libraries to use in tickets but not require them as acceptance criteria.

@marcellmueller When I try to download the milestone report from the read only view by clicking on 'Milestone Report', it ends up downloading a file without any extention to it.  But when I click edit and then download the file, it does download it properly.
Private Zenhub Image
Private Zenhub Image


MRG: Add MNE commands to OSX build

This adds the MNE-C commands to the OSX Travis build, hopefully to beef up our testing a little bit.

Codecov Report

Merging #4466 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4466   +/-   ##
=======================================
  Coverage   83.54%   83.54%
=======================================
  Files         349      349
  Lines       64838    64838
  Branches    10024    10024
=======================================
  Hits        54172    54172
  Misses       7835     7835
  Partials     2831     2831

Ready for review/merge from my end.

Lgtm


EID Slot and Lock Code

Hi,
as per Eddystone GATT spec, an Eddystone beacon could be configured to not use a Lock Code, by setting the Lock State characteristic to 0x02: UNLOCKED AND AUTOMATIC RELOCK DISABLED.
My question is: with the Lock State characteristic set to 0x02 UNLOCKED AND AUTOMATIC RELOCK DISABLED, could it be possible for a user to configure an Adv Slot as an EID Slot?
If the answer is YES, reading the EID Identity Key characteristic what would give as a result?
The GATT spec says that the EID Identity Key characteristic contains the encrypted EID Identity Key but if the beacon doesn't have a Lock Code how does it encrypt this value?

Good point. Perhaps we should specify that a default lock code is required when the configuration GATT service is implemented. The same problem would arise with factory reset too, since it's not reasonable to perform that without first proving that you're the "owner" of the device.

I agree on specifying a default lock code. Just to clarify though, the beacon shouldn't be required to ship in a 'locked state' as that makes it significantly harder to initially use. Before deployment, of course, the beacon should be locked.

We've tried to keep as much of the core specification as possible agnostic w/r/t deployment requirements, but I'll add the requirement of a default lock state to the manufacturer guidelines at the top of the document. (In looking at early samples from manufacturers most have chosen to ship the devices in a locked state. Of the couple that come unlocked, I haven't seen any that didn't have a code, and our validation tests enforce that it's present and can be changed.)

Hi,
according to this, the default Lock Code should also be used when a user is trying to set a new Lock Code on a beacon that is currently in the 0x02 Lock State, is it right?
The default Lock Code will be choosen by the beacon manufacturer?
If YES, each manufacturer will have a custom (maybe different) default Lock Code and only their configuration apps will know how to treat these situations (this is just to say that it will be difficult to have a single app able to configure the Eddystone GATT completely).

A general utility app (such as Nordic's nRF Master Control Panel or the Beacon Tools iOS and Android apps) must ask the user to enter the lock code. It's a little ungainly asking a human to type in 32 hex characters, but at least it can be cached and reused, unless the user wants to change it to something else.


Not Collecting Emails on GitHub Users

Describe the bug
We are not Collecting Emails on GitHub Users. We should.

@Startrekzky This seems like it is worth looking into more in future iterations.

not sure if we need this?

Resolved.


How to do the POST request using Postman? As I want to consume the Services at External program such as Angular App.

POST /Account/Login HTTP/1.1
Host: localhost:5000
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: ba640100-0a96-6735-2c05-ff1655b149f6
request: { Username: "admin", Password: "serenity" }
How to get anti-forgery token if i want to use Controller to return JSON for my external 3rd party integration web app?
It always return following HTML
**The required anti-forgery form field "__RequestVerificationToken" is not present.**
...
....

Perhaps this is helping :
https://www.ryadel.com/en/http-basic-authentication-asp-net-mvc-using-custom-actionfilter/

Serene has any example implement Basic Authentication instead of cookie base authentication?
Based on C# test script below, it seem required cookie container to store the cookie once authenticate with login credential.
var client = new RestClient("http://localhost:5000/Account/Login");
var request = new RestRequest(Method.POST);
request.AddHeader("Postman-Token", "f60b80e2-8378-829d-47a7-c022418b184c");
request.AddHeader("Cache-Control", "no-cache");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("undefined", "{ Username: "admin", Password: "serenity"}", ParameterType.RequestBody);
client.CookieContainer = new System.Net.CookieContainer();
IRestResponse response = client.Execute(request);
Assert.IsTrue(response.StatusCode == System.Net.HttpStatusCode.OK);
        var hasCookies = response.Cookies.Count > 0;
        var token = response.Cookies[0].Value;

        client.BaseUrl = new Uri("http://localhost:5000/Services/Default/Servicecategories/List");
        var request2 = new RestRequest(Method.POST);
        request2.AddHeader("Postman-Token", "06c39413-0e57-cc4b-83bb-7886b6967710");
        request2.AddHeader("Cache-Control", "no-cache");
        request2.AddHeader("Accept-Language", "en-US,en;q=0.9");
        request2.AddHeader("Accept-Encoding", "gzip, deflate, br");
        request2.AddParameter("undefined", "{\"Take\":1,\"IncludeColumns\":[\"ServiceCategoryId\",\"Name\",\"ParentCategoryId\",\"Image\",\"IsActive\"]}", ParameterType.RequestBody);
        var response2 = client.Execute(request2);
        Assert.IsTrue(response2.StatusCode == System.Net.HttpStatusCode.OK);

I wish to use the service at ionic3+Angular4 which is cordova base. Cookie seem is cannot use inside webkit browser. Any alternative solution?

Closing due to inactivity.


Self-categorization

The directory page is helpful, but it would be nice if groups were broken up in categories, especially adult

Added 18+/NSFW/as:sensitive option

Users can now categorize themselves with hashtags in the bio


rgh-linkify-features should work on PR commits, but not on repo tree

Description

Linkifying it on PR commits with be useful for lint PRs and PRs like https://github.com//refined-github/refined-github/pull/5355
It's not very reliable nor helpful on repo tree (I changed my mind)

Screenshot
No response
Example URL
https://github.com/refined-github/refined-github/tree/main/source

@kidonng Probably unrelated, but the features aren't linkified for me in the body of the PR you linked to:

But they are everywhere else, e.g. https://togithub.com/refined-github/refined-github/pull/4207. Did you do something special with the markup?

Did you do something special with the markup?

It's the URL, look for the double slash


rbd : Fix dataPool in createVolumeResponse

rbd: Fix dataPool in createVolumeResponse
return the dataPool used to create the image instead of the default one provided by the createVolumeRequest.
In case of topologyConstrainedDataPools, they may differ.
Signed-off-by: Sébastien Bernard<EMAIL_ADDRESS>
Describe what this PR does
Onliner to fix the dataPool attribute in the pv object.
Related issues
Fixes: #2828

/retest all

/retest all

jenkins ci was not triggered here earlier at all

@Madhu-1 I don't understand. The e2e failed on cephfs ? The patch is related to rbd not cephfs.

@Madhu-1 I don't understand. The e2e failed on cephfs ? The patch is related to rbd not cephfs.

not related, its an intermediate known failure.

/retest ci/centos/mini-e2e-helm/k8s-1.22

@merigifyio rebase

@mergifyio rebase


lottie: replace cubics with lines where possible

When the loaded control points are zero (in and out), there is no need to apply bezier curves - they can be replaced with straight lines.

@mgrudzinska Does this necessary for rounded corner? I've assumed it would but the performance enhancement for Curve 2 Line is not clear yet. Let's carefully review it before confirming.

@mgrudzinska Does this necessary for rounded corner? I've assumed it would but the performance enhancement for Curve 2 Line is not clear yet. Let's carefully review it before confirming.

@hermet  no it's not necessary for rounded corner.
also it will require some extra checks in the rounded corners implementation if we apply this.
I just wanted to point it out that this is an easier solution then using _curve2line from https://github.com/thorvg/thorvg/pull/2216

mathZero -> ==
will affect the rounded corners


Bug fix: disabling all items in a menu results in failed build

Summary of changes
Add a proper null check to the header menu component along with other upgrades and improvements
Frontend

Update menu graphql query in page.js to retrieve enabled items only
Remove deprecated StaticQuery function in headerMenu.js and replace with useStaticQuery
Add null check for page title in headerMenu.js

Incidental changes

Upgrade packages to latest versions (so other plugins are in line with already-updated gatsby-source-wordpress)
Remove unneeded contentExists function from hero.js

[ x ] My changes are accessible (at minimum WCAG 2.0 Level AA)
[ x ] My changes are responsive and appear as expected on mobile and desktop views.
[ x ] After merging, I will update the Content Hub documentation and ensure the Content Hub trainer understands how my changes will affect users.
Backend
N/A
Test Plan
This PR is set to use https://api.testugconthub.uoguelph.dev/ as the backend where, for test purposes, all items in the Chancellor menu were disabled at the time this feature branch was built.

Go to https://dismenu--test-ugconthub.netlify.app/chancellor and verify the page loads successfully (the usual menu will not appear)
Do the same for https://dismenu--test-ugconthub.netlify.app/chancellor/contact/
Go to https://dismenu--test-ugconthub.netlify.app/grce and verify its menu (which was left untouched) still appears as expected
Do the same for https://dismenu--test-ugconthub.netlify.app/quality-assurance

The pages passed the test case and were also tested for accessibility and responsiveness. They look good.


Error during traversal: The text contains a special token that is not allowed

When I run doc index on the langchain repository, I receive the following error:
⠇ Processing 494 files...Error during traversal: The text contains a special token that is not allowed: <|endoftext|>
Failed to find `autodoc.config.json` file. Did you run `doc init`?
Error: The text contains a special token that is not allowed: <|endoftext|>
    at module.exports.__wbindgen_error_new (/usr/local/Cellar/node/19.8.1/lib/node_modules/@context-labs/autodoc/node_modules/@dqbd/tiktoken/tiktoken_bg.cjs:398:17)
    at wasm://wasm/00b63e2e:wasm-function[15]:0xebb8
    at wasm://wasm/00b63e2e:wasm-function[154]:0x48af5
    at Tiktoken.encode (/usr/local/Cellar/node/19.8.1/lib/node_modules/@context-labs/autodoc/node_modules/@dqbd/tiktoken/tiktoken_bg.cjs:257:18)
    at processFile (file:///usr/local/Cellar/node/19.8.1/lib/node_modules/@context-labs/autodoc/dist/cli/commands/index/processRepository.js:24:40)
    at async file:///usr/local/Cellar/node/19.8.1/lib/node_modules/@context-labs/autodoc/dist/cli/utils/traverseFileSystem.js:42:21
    at async Promise.all (index 2)
    at async dfs (file:///usr/local/Cellar/node/19.8.1/lib/node_modules/@context-labs/autodoc/dist/cli/utils/traverseFileSystem.js:38:13)
    at async file:///usr/local/Cellar/node/19.8.1/lib/node_modules/@context-labs/autodoc/dist/cli/utils/traverseFileSystem.js:25:21
    at async Promise.all (index 0)

I believe this is an issue with autodoc, rather than the langchain repository, as I have followed the instructions in the README file and run doc init in the langchain repository before running doc index.
Here is some information about my environment:

Operating system: macOS Monterey 12.6.3 (21G419)
Node.js version: v19.8.1

Please let me know if there is any additional information I can provide or steps I can take to resolve this issue.

Get the same problem trying to process the microsoft/semantic-kernel repo. Managed to get things working by catching the error, but it's a hack as I don't understand what's throwing it.
src/cli/commands/index/processRepository.ts
    let summaryLength: number;
   try {
     summaryLength = encoding.encode(summaryPrompt).length;
   } catch (error) {
     console.error(
       `Error during encoding of summary prompt: ${(error as Error).message}`,
     );
     // set summaryLength to a default value
     summaryLength = 0;
   }

   let questionLength: number;
   try {
     questionLength = encoding.encode(questionsPrompt).length;
   } catch (error) {
     console.error(
       `Error during encoding of question prompt: ${(error as Error).message}`,
     );
     // set questionLength to a default value
     questionLength = 0;
   }

For langchain, I resolved the issue by deleting docs/modules/agents/toolkits/examples/openai_openapi.yml.
For semantic-kernel, I resolved the issue by deleting dotnet/src/SemanticKernel/Connectors/OpenAI/Tokenizers/Settings/encoder.json.
This issue is related to <|endoftext|> which is used when interacting with OpenAI. Since lanchain and semantic-kernel contain this special character in their repo, the doc index command fails.
Here's a possible fix: https://github.com/hwchase17/langchain/issues/923

Sorry, have been swamped. I'll take a look at this when I get a second.


Allow CMD other than curl and wget

Fixes flask sample which uses python for healthcheck.
We now allow any healthcheck, as long as we can find an "localhost" host URL somewhere in the cmd. Also relaxing the NONE healthcheck to allow for args, since we'd ignore them anyway.

[ ] post-merge: uptake latest defang mod in backend
[ ] update healthcheck parsing in defang_service

Do we have a place in the docs to capture things like this where defang requires something more narrow than docker requires in the compose file?

Do we have a place in the docs to capture things like this where defang requires something more narrow than docker requires in the compose file?

No. Just in our tests. See tests folder. Would be great to document, but that's going to be out of date real fast.


HV-960

The OSGi test still fails on OS X (at least on my machine). See #371. Needs further investigation.

HV-5-MASTER #649 SUCCESS
This pull request looks good

@emmanuelbernard - would you mind building this pull request on your Mac? It keeps failing for me. Before I start barking up the wrong tree, it would be nice to confirm that it is not only a problem on my machine.

@hferentschik, I'm using Mac OS myself and it works nicely for me. Really
curious what this may be about.

I'm using Mac OS myself and it works nicely for me.

Damn, there goes that theory.

Really curious what this may be about.

I guess I need to start debugging. I just have some other higher priority things to clear up first.

@hferentschik, do you see any kind of exception in osgi/integrationtest/target/exam/<%UUID%>/data/log/karaf.log? You also may increase the log level via logLevel( LogLevelOption.LogLevel.DEBUG ), maybe this helps to see where it gets stuck? AFAIU, the exception you pasted is only the consequence on the test client side of the server not starting, so my hope is you find something in the server log.

Or have you maybe changed something about your RMI settings, so that the server actually does come up but the client cannot connect to it?

do you see any kind of exception in osgi/integrationtest/target/exam/<%UUID%>/data/log/karaf.log

It does not even get that far, the exam directory is empty. On the other hand I found this in the surefire '*OsgiIntegrationTest-output.txt':
log4j:WARN No appenders could be found for logger (org.ops4j.pax.exam.spi.DefaultExamSystem).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2015-02-17 20:59:32,610 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.ops4j.pax.url.mvn.cfg
2015-02-17 20:59:32,630 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from jmx.acl.org.apache.karaf.config.cfg
2015-02-17 20:59:32,638 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.log.cfg
2015-02-17 20:59:32,665 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.features.obr.cfg
2015-02-17 20:59:32,681 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from jmx.acl.osgi.compendium.cm.cfg
2015-02-17 20:59:32,688 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from jmx.acl.org.apache.karaf.security.jmx.cfg
2015-02-17 20:59:32,698 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.system.cfg
2015-02-17 20:59:32,703 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from jmx.acl.java.lang.Memory.cfg
2015-02-17 20:59:32,711 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.bundle.cfg
2015-02-17 20:59:32,717 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.config.cfg
2015-02-17 20:59:32,722 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from jmx.acl.org.apache.karaf.bundle.cfg
2015-02-17 20:59:32,729 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.felix.fileinstall-deploy.cfg
2015-02-17 20:59:32,747 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.features.cfg
2015-02-17 20:59:32,770 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.shell.cfg
2015-02-17 20:59:32,777 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.scope_bundle.cfg
2015-02-17 20:59:32,782 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.kar.cfg
2015-02-17 20:59:32,792 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.webconsole.cfg
2015-02-17 20:59:32,858 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.features.repos.cfg
2015-02-17 20:59:32,928 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.jaas.cfg
2015-02-17 20:59:32,931 | INFO  | FelixStartLevel  | fileinstall                      | 7 - org.apache.felix.fileinstall - 3.4.2 |     Creating configuration from org.apache.karaf.command.acl.feature.cfg
2015-02-17 20:59:36,115 | WARN  | FelixStartLevel  | AetherBasedResolver              | 3 - org.ops4j.pax.logging.pax-logging-api -     1.8.1 | Error resolving artifactorg.ops4j.pax.exam:pax-exam-features:xml:4.4.0:Could not find artifact org.ops4j.pax.exam:pax-exam-    features:xml:4.4.0
shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.ops4j.pax.exam:pax-exam-features:xml:4.4.    0
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
	at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:476)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:433)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:411)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:386)
	at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:124)
	at org.apache.karaf.features.internal.FeatureValidationUtil.load(FeatureValidationUtil.java:93)
	at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:58)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:162)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:233)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.initState(FeaturesServiceImpl.java:894)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:906)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_25]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_25]
	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.2]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_25]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:933)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:90)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createListeners(AbstractServiceReferenceRecipe.    java:278)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.ReferenceListRecipe.internalCreate(ReferenceListRecipe.java:77)[15:org.apache.aries.    blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.2]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_25]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[15:org.apache.aries.    blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[15:org.    apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[15:org.apache.aries.blueprint    .core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint    .core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint    .core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.    apache.aries.util:1.1.0]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.    apache.aries.util:1.1.0]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.    aries.util:1.1.0]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.    aries.util:1.1.0]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.    aries.util:1.1.0]
	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.    jar:]
	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.    framework-4.2.1.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_25]
Caused by: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.ops4j.pax.exam:pax-exam-    features:xml:4.4.0
	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)
	... 62 more
2015-02-17 20:59:36,147 | WARN  | FelixStartLevel  | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 |     Unable to add features repository mvn:org.ops4j.pax.exam/pax-exam-features/4.4.0/xml at startup
java.io.IOException: Error resolving artifact org.ops4j.pax.exam:pax-exam-features:xml:4.4.0: Could not find artifact org.ops4j.pax.    exam:pax-exam-features:xml:4.4.0
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:487)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:433)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:411)
	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:386)
	at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:124)
	at org.apache.karaf.features.internal.FeatureValidationUtil.load(FeatureValidationUtil.java:93)
	at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:58)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:162)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:233)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.initState(FeaturesServiceImpl.java:894)
	at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:906)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_25]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_25]
	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.2]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_25]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:62)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:933)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.CollectionRecipe.internalCreate(CollectionRecipe.java:90)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:106)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.createListeners(AbstractServiceReferenceRecipe.    java:278)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.ReferenceListRecipe.internalCreate(ReferenceListRecipe.java:77)[15:org.apache.aries.    blueprint.core:1.4.2]
	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[15:org.apache.aries.blueprint.core:1.4.2]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_25]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[15:org.apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[15:org.apache.aries.    blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)[15:org.    apache.aries.blueprint.core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)[15:org.apache.aries.blueprint    .core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)[15:org.apache.aries.blueprint.    core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294)[15:org.apache.aries.blueprint    .core:1.4.2]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263)[15:org.apache.aries.blueprint.core:1.4.2]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253)[15:org.apache.aries.blueprint.core:1.4.2]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[9:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[9:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[9:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[9:org.apache.aries.util:1.1.0]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[9:org.apache.aries.util:1.1.0]
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.2.1.jar:]
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.2.1.jar:]
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.2.1.jar:]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)[org.apache.felix.framework-4.2.1.jar:]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)[org.apache.felix.framework-4.2.1.jar:]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)[org.apache.felix.framework-4.2.1.jar:]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.2.1.jar:]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_25]

2015-02-17 20:59:36,657 | ERROR | FelixStartLevel  | BootFeaturesInstaller            | 20 - org.apache.karaf.features.core - 3.0.3 | Error Boot feature exam not found
2015-02-17 20:59:36,669 | INFO  | FelixStartLevel  | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature standard 3.0.3
2015-02-17 20:59:37,236 | INFO  | FelixStartLevel  | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature test-dependencies 0.0.0
2015-02-17 20:59:37,237 | INFO  | FelixStartLevel  | FeaturesServiceImpl              | 20 - org.apache.karaf.features.core - 3.0.3 | Installing feature hibernate-validator 5.2.0-SNAPSHOT
2015-02-17 20:59:38,434 | INFO  | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.2 | Bundle org.apache.karaf.features.command is waiting for namespace handlers [http://karaf.apache.org/xmlns/shell/v1.1.0]
2015-02-17 20:59:38,537 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.feature into service ACL configs [org.apache.karaf.service.acl.command.feature.uninstall, org.apache.karaf.service.acl.command.feature.install]
2015-02-17 20:59:38,546 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.jaas into service ACL configs [org.apache.karaf.service.acl.command.jaas.update]
2015-02-17 20:59:38,552 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.config into service ACL configs [org.apache.karaf.service.acl.command.config.property-append, org.apache.karaf.service.acl.command.config.property-delete, org.apache.karaf.service.acl.command.config.property-set, org.apache.karaf.service.acl.command.config.edit, org.apache.karaf.service.acl.command.config.update, org.apache.karaf.service.acl.command.config.cancel, org.apache.karaf.service.acl.command.config.delete]
2015-02-17 20:59:38,593 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.shell into service ACL configs [org.apache.karaf.service.acl.command.shell.java, org.apache.karaf.service.acl.command.shell.new, org.apache.karaf.service.acl.command.shell.edit, org.apache.karaf.service.acl.command.shell.exec]
2015-02-17 20:59:38,622 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.system into service ACL configs [org.apache.karaf.service.acl.command.system.property, org.apache.karaf.service.acl.command.system.shutdown, org.apache.karaf.service.acl.command.system.start-level]
2015-02-17 20:59:38,647 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.scope_bundle into service ACL configs [org.apache.karaf.service.acl.command.scope_bundle.shell, org.apache.karaf.service.acl.command.scope_bundle.packages, org.apache.karaf.service.acl.command.scope_bundle.admin, org.apache.karaf.service.acl.command.scope_bundle.ssh, org.apache.karaf.service.acl.command.scope_bundle.osgi, org.apache.karaf.service.acl.command.scope_bundle.config, org.apache.karaf.service.acl.command.scope_bundle.jaas, org.apache.karaf.service.acl.command.scope_bundle.features, org.apache.karaf.service.acl.command.scope_bundle.log]
2015-02-17 20:59:38,718 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.kar into service ACL configs [org.apache.karaf.service.acl.command.kar.uninstall, org.apache.karaf.service.acl.command.kar.install]
2015-02-17 20:59:38,725 | INFO  | FelixStartLevel  | SecuredCommandConfigTransformer  | 25 - org.apache.karaf.shell.console - 3.0.3 | Generating command ACL config org.apache.karaf.command.acl.bundle into service ACL configs [org.apache.karaf.service.acl.command.bundle.watch, org.apache.karaf.service.acl.command.bundle.update, org.apache.karaf.service.acl.command.bundle.install, org.apache.karaf.service.acl.command.bundle.uninstall, org.apache.karaf.service.acl.command.bundle.refresh, org.apache.karaf.service.acl.command.bundle.restart, org.apache.karaf.service.acl.command.bundle.stop, org.apache.karaf.service.acl.command.bundle.start]
2015-02-17 20:59:38,971 | INFO  | rint Extender: 1 | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.2 | Bundle org.apache.karaf.features.command is waiting for dependencies [(objectClass=org.apache.karaf.features.FeaturesService)]
2015-02-17 20:59:38,990 | INFO  | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.2 | Bundle org.apache.karaf.jaas.modules is waiting for namespace handlers [http://karaf.apache.org/xmlns/jaas/v1.0.0]
2015-02-17 20:59:39,198 | INFO  | FelixStartLevel  | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.4.2 | Bundle org.apache.karaf.instance.command is waiting for dependencies [(objectClass=org.apache.karaf.features.FeaturesService)]
So the problem seems to be the 'org.ops4j.pax.exam:pax-exam-features:xml'. Literally the container has not come up yet.
I tried downgrading org.ops4j.pax.exam:pax-exam and org.ops4j.pax.url:pax-url-aether to align with versions used in the Search Karaf test. To no avail.

Strange, for some reason it doesn't find the features artifact in the Maven repo. Could you try and add the following to your POM so to have the "real" Maven process download it instead of the embedded Aether resolver:
<dependency>
    <groupId>org.ops4j.pax.exam</groupId>
    <artifactId>pax-exam-features</artifactId>
    <version>4.4.0</version>
    <type>xml</type>
</dependency>

Googling a bit, I came across this. Don't you work with a local Nexus, too? In their case Nexus failed for some reason to get that artifact.

Cool. Seems to be a lead at least. I'll try in a bit when I am back at the computer. Would be nice to sort this one out.

I tried specifying the dependency directly to no avail. I am also using Nexus, but it does not seem to be the problem. I removed everything under /org/ops4j from my local repo and then rebuilding using the settings.xml file from the source (just changing the localRepository). Same effect. Right now I did a full new clone of hibernate-validator and checked out the branch, building it pointing it to a virgin directory via settings.xml. Will take a while ...

I tried specifying the dependency directly to no avail. I am also using Nexus, but it does not seem to be the problem.

So if you add it directly as dependency and go to Maven Central directly, it does not work? You get an error then that the artifact is not available? That's really weird.

Same again, clean checkout of source and branch, using checked in settings.xml, creating a new maven repository. The last thing I can think of is that it is not the default location. So now once more, completely out of the box ...

To speed up testing I'd start with a simple empty Maven project and only add this one dependency. If this gets the file pulled into your local repo, you are a big step further. I'm really wondering why it doesn't fetch that file, it's in Maven Central and I can see no reason why it cannot be retrieved.

Btw. I'm getting it via the JBoss repo:

Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/pax-exam-features/4.4.0/pax-exam-features-4.4.0.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/pax-exam-features/4.4.0/pax-exam-features-4.4.0.pom (3 KB at 1.1 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/4.4.0/exam-4.4.0.pom
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/4.4.0/exam-4.4.0.pom (35 KB at 47.7 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/pax-exam-features/4.4.0/pax-exam-features-4.4.0.xml
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/pax-exam-features/4.4.0/pax-exam-features-4.4.0.xml (2 KB at 3.5 KB/sec)

I tried it and it worked. Any suggestion of what else I could do to help?

@hferentschik did you try without your Nexus? kill it?
The reason for me to not run a local Nexus is that if that one happens to cache a corrupted artifact.. you end up in this kind of situation.

did you try without your Nexus

Sure, multiple times. I tries w/ and w/o Nexus, w/ and w/o JBoss repo, just Central, etc. All this is a full rebuild of the local maven repo. Always the same.
For the record, Nexus actually serves up the file. I can download it via wget -  wget http://localhost:8082/nexus/content/groups/jboss-dev-group/org/ops4j/pax/exam/pax-exam-features/4.4.0/pax-exam-features-4.4.0.xml. The same for https://repository.jboss.org/nexus/content/groups/public-jboss/org/ops4j/pax/exam/pax-exam-features/4.4.0/pax-exam-features-4.4.0.xml.
What Maven version are you guys using? I am using 3.2.3.

HV-5-MASTER #689 SUCCESS
This pull request looks good

What Maven version are you guys using?

Also 3.2.3 in my case. 3.0.3 works as well. Have you tried with another machine?

I have no other machine and I know it works for you guys.
Btw, I can start the test via the IDE as well, get a bit nicer log, but in its core it's the same. I also tried adding the dependency again to the pom and double checked the local repo. It is in there. So it is not even a question anymore of remote repositories.

HV-5-MASTER #691 SUCCESS
This pull request looks good

For what it's worth, it works on a Vagrant Virtual Machine.

Rebooting, deleting once more the local repo, ... - all the same result. Since I really would like this to merge for the release, I am making a final attempt to align version and setup with the Karaf test in Search. If that works, I don't care that we are not using the latest version of PaxExam/Karaf.

Yes, sure, it's not necessary to have the latest versions. But it'd be good
to merge it either way to have it done. If it remains a problem on you
machine, you may consider to pull that module into a profile which you can
disable. I would not like to leave it unmerged, given it works an all
systems apart from one :)

I'm using Maven 3.2.3 as well.
You might remember I suggested making it a strong requirement a while back because of the HTTPS based artifact downloads being enforced.
I haven't actually upgraded the requirements in the various pom files yet as I'd like to see we're all able to release while using it first ;-)
Considering it looks like we've all been using it since a while, I'll soon send PRs to make it mandatory.

@hferentschik really puzzling. Something evil like file-system case or sorting maybe?
If you could produce a '-X' enabled Maven log, I'm willing to diff it with mine.

Something evil like file-system case or sorting maybe

that was my hope as well, but Emmanuel and Gunnar also use Mac.

If you could produce a '-X' enabled Maven log,

There is really nothing special in there. As said, I try to align with the Search setup first. I might come back to it though. The problem is that it is not really Maven and/or the maven PaxEam plugin which cause the problem (I think). The PaxExam stuff runs internally its own maven dependency resolution stuff. There is not really anything coming out to the console (even with -X) which is useful.

Merged with a downgraded version of paxexam. The test itself is not effected. We can look into upgrading to the latest version some time later. I still would like to know what exactly the problem is.

that was my hope as well, but Emmanuel and Gunnar also use Mac.

Afaik even among Mac users, you have various options on how you want your filesystem to behave.

Cool you got it working. I don't mind using the previous version, it's really testing infra only.

I don't mind using the previous version, it's really testing infra only.

Right. My thinking as well. Even though, I am for sure giving it another go in a quiet minute.