Kubefirst mongodb Username and Password not set for arm builds

I think there might be a bug when using kubefirst for mongodb with arm on 2.2.17. As bitnami don't have an arm image, the gitops catalogue uses the official mongo one. However the official mongo image looks for different env vars for the username and password (MONGO_INITDB_ROOT_USERNAME for the official image but MONGO_ROOT_USER for bitnami as they appear to have some extra logic for primary vs secondary). Specifically, I think the env vars for k3d-arm need to be like so:
helm install mongo-test --version 13.18.1  oci://registry-1.docker.io/bitnamicharts/mongodb --namespace kubefirst  --set image.repository=arm64v8/mongo --set image.tag=7.0.1 --set persistence.mountPath=/data/db  --set "extraEnvVars[0].name=MONGO_INITDB_ROOT_USERNAME" --set "extraEnvVars[0].value=root" --set "extraEnvVars[1].name=MONGO_INITDB_ROOT_PASSWORD" --set "extraEnvVars[1].value=root"
The env vars for the kubefirst 2.2.17 deployed console looks like the below which is ignored. No user is created and so the authentication fails after a pod restart.
    - name: MONGODB_ROOT_USER
      value: root
    - name: MONGODB_ROOT_PASSWORD
      valueFrom:
        secretKeyRef:
          key: mongodb-root-password
          name: kubefirst-initial-secrets

If they were like this I think it works.
    - name: MONGODB_INIT_ROOT_USERNAME
      value: root
    - name: MONGODB_INIT_ROOT_PASSWORD
      valueFrom:
        secretKeyRef:
          key: mongodb-root-password
          name: kubefirst-initial-secrets

Thanks for creating the issue @EamonKeane. Our team will give it a closer look soon!

Just to be sure, you are taking about installing the kubefirst console UI to create a new cluster (as in the steps listed at https://docs.kubefirst.io/civo/quick-start/install/ui in the "Helm (ARM / M1 Mac / M2 Mac)"  tab, right? If it's the case, it's not using the GitOps catalog: the catalog only helps you to install new applications to your created management cluster.
In the case, when exactly do you get the log-in issue? I tried to replicate, and when following the steps listed in the documentation I shared, even when killing all pods, the console still work as intended. Or is it after you created a cluster with the console UI?

I used the regular cli install. The easiest way to reproduce is to install using the cli, and then port-forward the mongodb container to a database viewer (e.g. Datagrip). Try use the login credentials that are listed on the kubefirst api pod. They won't work, because the user isn't created.

@EamonKeane: oh OK, now I understand, let me check if I can reproduce.

I can reproduce the same on my arm64 (MacBook M1 Pro). Let me check with the engineering team.

For other stumbling on this thread, that would explain that the provisioned services and the catalog in the console app are empty after a pod or cluster restart.

This is fixed with your solution, thanks. It will be available in the next release.


Ability to override imports in imported modules

Something ike this would be incredibly useful to have:
http://doc.crates.io/guide.html#overriding-dependencies

Ok, I think this should fairly easy to implement, we just need to make sure that a fips.yml import definition encountered first will not be overriden by later import definitions in imported modules, that way, a 'frontend project' can override any definitions of imported modules, no matter how far down the dependency tree they are.

This already works this way, isn't?
What I do here is to override things by cloning manually from other repos that have the same name and fips will promptly ignore it the directory already exists (it will check the repo status but not if the repo is indeed the specified one).
This is somewhat a workaround and I think that changing fips.yml to do the override is intrusive, I would prefer something in the line of a fips-overrides.yml that is .gitignore'd and has priority over fips.yml (loaded before and merged with).
But anyway, I'm really fine with doing cloning manually and this is a nice workflow, the problem is that sometimes I forgot that I've overridden something as fips do not print anything as warning for example.

I tried yesterday to use the new rev: feature for fips-glfw in my voxel-test demo, and this seemed to be overriden by other fips-glfw imports in imported modules, I wonder if it worked before (never tried it) and regressed with this commit: https://github.com/floooh/fips/commit/1d0f1a98ec255e0d4baaa8baf9f21d9e74564bb7#diff-bcc0885d174a726105f9bd8b5e888854R252.
I think the importance of 'import order' was not clearly defined before (at least I haven't really thought about this until recently).

If we have two entries fips-glfw how does this temporary file will be generated?
I think the order should not be important (from the project management view), so I think that sorting the import shouldn't matter at the end. But then something will be needed to find the common ground when importing things already imported.
This duplicate dependency resolution is hard, and we should not tackle it as one would expect.
So trying to keep it simple, I would suggest something like:

if imported dep does not have restrictions (branch, rev, tag) and there is another that has, then that one wins preference;
if two imported deps does have restrictions, then we must halt with a error message explaining, and the project maintainer should find the solution accordingly to project needs.

I would think that the top-level project (for instance if I'm creating a stand-alone Oryol demo, which has Oryol as a dependency) should have the last/definitive word on overriding dependencies, even for second-level dependencies (lets say I want to force a specific fips-glfw revision I would add a fips-glfw import to the top-level fips.yml which would override the imports of all dependencies).
True, if dependencies force revisions on their own, then it will become a mess, and an error message is probably best.

...but I guess my suggestion and your suggestion don't actually collide ;)


Add support for loading userdata from secretsmanager

Description of changes:
This change adds the ability for the bootstrap container to load userdata from AWS SecretsManager.
Instead of embedding sensitive data directly inside userdata. We can pass a special crafted userdata (aka. ExternalUserData) that contains a reference to some secret(s) in AWS SecretsManager.
Sample ExternalUserData:
#cloud-config
user_data_type: "ExternalUserData"

user_data_source:
  provider: secret-manager
  prefix: <prefix-placeholder>
  chunks: <chunks-placeholder>

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

/ok-to-test

I sent out a few new commits and refactored the "ExternalUserData" concept to a more flatten one.
Before, I'm thinking the following structure:
ProcessUserData()
{
    if(userdata.type=="ExternalUserData)
    {
        // parseUserData as ExternalUserData
        if (userdata.provider="secrets-manager")
        {
            // handles secrets-manager
        }
    }
    else
    {
        // handles normal userdata
    }
}

After refactoring, we are throwing away the concetp of external user data:
ProcessUserData()
{
    if(userdata.type=="AWSSecretsManager)
    {
        //parse userdata as AWSSecretsManagerUserData
        // handles AWSSecretsManagerUserData
    }
    else
    {
        // handles normal userdata
    }
}

This should makes the handling of userdata a lot cleaner


[Candidate 1v1 White Hell ZH v1] There are no ambient sounds in home base

Issue Description
There are no ambient sounds in home base.
Expected behavior
Map has ambient sounds everywhere.

I don't know who raised this issue, but I can tell that there are no sounds at all, which I simply added now!
See here: https://www.gamereplays.org/community/index.php?showtopic=1048527&st=240&gopid=10403747&#

I checked. Cricket sounds were added. There should be no crickets on snow terrain.

Owls:
Die meisten Eulen sind nachtaktiv.

Fixed with https://github.com/xezon/GeneralsRankedMaps/commit/f67b8fd0b6f4281d77f41388962a1577dff4e2ff


Remove version: 4ngel2769.MessyOrganizer version 1.0.0-beta.1

wrong version
Microsoft Reviewers: Open in CodeFlow

#156801


Add alternative Marshalling Tests for consensus

I finished working on these tests last weekend, but due to unforeseen circumstances, I couldn't submit the pull request.
Today I can finally do it, but I noticed that just yesterday another contributor, who coincidentally worked on some of the same test features as I did, submitted his PR #132
I wasn't sure how to proceed in this situation, so I decided to run test coverage. In my case, the overall coverage percentage was 77.3%, while @chris124567's was 79.8%, which I congratulate him on. However, if we combine our PRs, the rate reaches 80.1%
Chris and I approached the task and code-writing differently, and to be honest, I'm not sure how you'll handle our PRs after comparing and analyzing them; nonetheless, I decided to offer alternative tests for the Marshaler and Unmarshaler functions and submit this PR.

Thanks! :) I plan to merge a combination of #132, #131, and this PR, with all authors receiving credit.

I apologize!  I heard someone was contributing to core but I didn't know where.  Thank you for covering valid and invalid cases (especially the error cases for unmarshaling Work that I missed).  My PR adds tests in a couple other places so the coverage numbers aren't exactly a fair comparison :)

No apologies! Don't worry @chris124567 I blame myself for not having the courage to finish the work on time and submit the PR due to silly made-up problems (the rabbit hole of impostor syndrome turned out to be damn deep and exhausting). This will definitely be the most memorable hacktoberfest (ง’̀-‘́)ง Anyway, in the end, I'm glad that we managed to overcome the 80% barrier (･‿･ ) 人 (･‿･ )

See #132


chore: api keys polish

validate key name uniqueness
fix enter on submit refreshing page
polish copy

📝 Changed routes:

…oard/settings/api-keys

(view full size)

Commit 66c662af6a6cc2031f9f6d156761a3c27b8c4b60 (https://thirdweb-clqvj706w.thirdweb-preview.com).


No data available when interval is less than 24 hours

Hello!
Whenever I'm trying to view metrics in an interval smaller than 24 hours, all CPU dashboards show only 'No data available' message. However, when interval equals 24 hours or greater everything works fine.
Any suggestions?
Thank you in advance!

Have the same issue

That helped. Thank you


Getting CORS errors

Hi, I upload my pdf to my s3 bucket and when trying to assess the url, i get cors errors

Although the request returns a status code of 200

Hi, you should try adjusting the CORS rules in the Amazon S3 console.

Alright. Thank you very much.

Also getting the CORS error with my http server without CORS.
I can access the pdf file in the url or embedded in an  just fine.
Just with this plugin I get the CORS error.

Also getting the CORS error with my http server without CORS. I can access the pdf file in the url or embedded in an just fine. Just with this plugin I get the CORS error.

I am also having this issue.


Add CMakeLists.txt to compile blueprint.cpp as static and/or shared libs

Hi Nick,
Currently using blueprint on linux in a CMake based build system. Would you be open to an MR with a simple CMakeLists.txt that effectively adds targets for a static and shared lib build of blueprint.cpp ?
This could add something along the lines of
add_library(blueprint_static STATIC blueprint.cpp)
add_library(blueprint SHARED blueprint.cpp)

 target_include_directories(
  blueprint_static
  ./yoga
  ./duktape/src-noline
)

This would allow other CMake projects to simpy use something like the following to add blueprint:
add_subdirectory(../Libraries/blueprint/blueprint)
target_link_libraries(MyApp blueprint_static)

Appreciate this could become more developed to add targets for the example plugins etc. etc.

Definitely! I'm personally not too well-versed in CMake, but I totally understand its popularity. I'd be happy to include this to make the project more accessible to CMake users, and honestly I'd like to defer to you about how to best integrate with JUCE 6

@nick-thompson, I think this should probably closed and we should create a new JUCE 6 CMake issue. Compiling to a static lib with juce isn't going to be a great option. Should have thought on that one a little more!


SelectMenu: cannot read property of null

Environment

Operating System: Darwin
Node Version:     v20.9.0
Nuxt Version:     3.10.3
CLI Version:      3.10.1
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      site, app, colorMode, imports, devtools, modules, runtimeConfig, ogImage, routeRules, security, supabase, tailwindcss, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
v2.14.1
Reproduction
https://stackblitz.com/edit/nuxt-ui-4bk2ee
Description
Using Select Menu with a default value of null or undefined is now broken. That's a common use-case for this type of field. It was broken with this recent commit: https://github.com/nuxt/ui/commit/b9fe74bca5f48555e76c16237c2acc868f69e243. The error seems to be coming from here: https://github.com/nuxt/ui/blame/dev/src/runtime/components/forms/SelectMenu.vue#L370. We might want to add a null check in there.
Additional context
No response
Logs
No response

You're absolutely right! Thanks for the report 🙂


Use readlink instead of realpath in packager.sh

Summary
realpath is not available on macOS 12.2 and 12.4. Because of this, the following error is shown when launching an RN app with XCode (which calls packager.sh via launchPackage.command):

I am running Bash 5 but realpath is also not available with zsh.
This issue was introduced in https://github.com/facebook/react-native/commit/bb8ddd6c1247fde230a60c662a318422df52516e#diff-6ca7c99209bdf630550bb9e2946ce8611948c5a23b32ffb25028792ef5d48b8d, which interestingly did not change launchPackage.command. There's a recent comment on that commit that confirms this issue:
https://github.com/facebook/react-native/commit/bb8ddd6c1247fde230a60c662a318422df52516e#commitcomment-77818917

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

Thanks for sending this over @dminkovsky

realpath is not available on macOS 12.2 and 12.4

Do you have a reference? I'm on 12.3 and I effectively have it. I'm wondering why this got removed in 12.3.
Also there are other usages of realpath in other scripts as well in the codebase, we'll have to replace it as well if this is the case.

Hey thanks for taking a look at this @cortinico.
My only reference for 12.4 is that I'm running it, and the other reporter on the breaking commit said they were running 12.2. So, I have no idea about 12.3, but realpath is, generally, to my knowledge, a common but not ubiquitous utility. I don't think it's ever been available by default on macOS or BSD. For example: https://github.com/whatwg/html-build/issues/90 (2016).
In general, though, I find this issue a bit confusing because the breaking commit is from February 22nd, quite some time ago. Why did this only surface now?
So to be honest I don't know what to make of this issue and bb8ddd6 in general. What motivated that commit?

What motivated bb8ddd6?

Happy to provide a bit more context here. (Also cc @IanChilds as the original author).
It seems like our internal Buck setup needed to use realpath to resolve path of some of our paths. What happend was that a search-and-replace was executed on all the .sh files, replacing readlink with realpath.
I think we should be fine by either:

Updating the RN website mentioning coreutils as one of the util to install.
Merge this PR as it is. Specifically the file you're touching is used to kick-off Metro for RN-Tester manually and is never invoked by Buck. We might have other occurrencies of realpath in user facing scripts, so this issue migth surface again in the future.

So, I have no idea about 12.3

FYI, I'm on 12.3.1 and I do have realpath without having to install coreutils. However which realpath ends up being inside the brew folder, so I suspect I have it pulled in because of gnupg.

@dminkovsky Could you rebase?

Sure @cortinico, will be at a computer in a couple hours will let you know.

@cortinico I rebased

(Tried renaming my branch, which didn't go as intended)

Following up here: we decided to merge this as this usage of realpath was user facing and not used in the internal infra so we were good to go. If other occurrencies of realpath are offending a user flow, we will update them as well


Tracking: ServiceWorker interaction

It's not clear how/whether top-level await plays well with ServiceWorkers. See https://github.com/w3c/ServiceWorker/issues/1407 for discussion.

I think we should offer an internal slot on agents to disable this that we can set on service worker agents.
Service worker scripts run with different states and when processing events such as fetch there really shouldn't be anything blocking the execution of its listener callbacks.

// 1
import './this-has-top-level-await';

// 2
const modulePromise = import('./this-has-top-level-await');

// 3
await modulePromise;

In a service worker, 1 and 3 are bad because they delay important events. However, 2 is fine.
Do we want to allow 2? It provides a path to including third party libraries that use top-level-await.

I would like to advocate for "let the user do the bad thing if they want". Remember, top-level await is largely sugar over what would be accomplishable today. (Powerful sugar, because of how it allows dependencies to abstract things away, but still.)
We don't prevent people from doing the following:
(async () => {
  await delay(100);
  self.onfetch = e => ...;
})();

and we should similarly not prevent them from doing the following:
await delay(100);
self.onfetch = e => ...;

Should we have this conversation here or in https://github.com/w3c/ServiceWorker/issues/1407 ? We might be able to engage more ServiceWorker experts in their repository.

Thanks, I'd missed or forgotten about that. I will move my comment there and mark it off-topic for here, as indeed the better discussion seems to be over there.


Update virtual-wan-faq-include.md

updated FAQ

@skishen525 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@skishen525: I'm sorry - only the author of this article, @cherylmc, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#please-close


allow we see the alpha option output the bundle validation in another format

closes: https://github.com/operator-framework/operator-sdk/issues/4562

@camilamacedo86 could use a changelog addition type entry too.

Has anyone actually used the existing alpha JSON format yet? If not we should we consider getting some folks testing with it before we unhide the flag?

Hi @joelanford,
For we use that we need to expose it as alpha. Otherwise, nobody has the chance to know that exists to test and check it. It will be used / required for a proposal that I have been working on.
@estroz @jmrodri can we get it merged?


Update release workflow

As needed in https://github.com/quarkiverse/quarkiverse-devops/issues/210

I rebased the workflow!


Get-MgGroupMember missing ConsistencyLevel parameter for search query

When running Get-MgGroupMember with a search query like below:
Get-MgGroupMember -GroupId "<group_id>" -Search "Id: <id>"

You get the following error:
Get-MgGroupMember_List: Request with $search query parameter only works through MSGraph with a special request header: 'Consistency: eventual'

Unlike other cmdlets, there doesn't seem to be a -ConsistencyLevel eventual option to set this easily. Also checked the documentation: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.groups/get-mggroupmember?view=graph-powershell-1.0 and it doesn't seem to be there either.
Filter queries like below works fine:
Get-MgGroupMember -GroupId "<group_id>" -Filter "Id eq '<id>'"

Closing as resolved.
-ConsistencyLevel is now supported as a parameter on the command. See https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.groups/get-mggroupmember?view=graph-powershell-1.0.


Integrate form-js editor into the app

What should we do?

[ ] form-js editor is integrated into the app

Child of https://github.com/camunda/camunda-modeler/issues/2135

Closed via https://github.com/camunda/camunda-modeler/pull/2179


Add sigdump gem

This allows us to generate thread dumps by sending a signal to the process,
which can be useful for debugging.
Require it in app.rb as this is the entry point for the app. This is also
required by the sidekiq worker.

Actually sidekiq implements this for us, so I don't think there's much need for this gem in rummager.
kill -TTIN [worker_pid]


Modified image extraction to allow for size and CSS modifiers

Image embeds in obsidian can be modified using a pipe syntax.
See:

https://forum.obsidian.md/t/resize-embedded-content/877/23
https://www.reddit.com/r/ObsidianMD/comments/v1fs0f/centering_images_in_reading_mode/

Currently, the regex extracts all the pipes as part of the file name, which means any image modified by pipes can't be  displayed in the timeline. This minor change takes the image name only before the pipe symbol to allow this.
An example:
![[image.png|200X200]] does not appear in the timeline in the current version but does after the change

Hey @oricc, thank you so much for this :pray:
A great contribution, just one thing to fix
You can run npx eslint . --config .eslintrc --ext .js,.jsx,.ts,.tsx to reproduce on your end

Hey @April-Gras, thanks for the quick feedback.
I fixed the issue and verified it still works

Done 😊
@April-Gras


Port label properties app to this repo

A new app for the gallery should be adapted from https://github.com/plotly/canvas-portal/blob/master/apps/object-properties/app.py, with the following improvements:

the existing code does not work with recent versions of dash_table, it should be ported to the new API
the app was written at a time where px.imshow did not exist, using imshow should make the code simpler and more pleasant to read
the app should be styled to have a visual appearance similar to existing apps of the gallery

refactoring this app is also a good time to discuss its specifications. At the moment the interactivity consists in highlighting table rows when hovering over the image, and highlighting parts of the image when selecting some table rows. However, it would also be possible to add some information about labels in the hover information of the figure.

Closed by #518.


remove Maja from codeowners

Description
Changes proposed in this pull request:

remove Maja from CODEOWNERS
add Iwona to CODEOWNERS

Related issue(s)
https://github.com/kyma-project/kyma/issues/16151

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New method to parse VR=AT fields + Tests

While working with multi-frame instances I came across this Frame Increment Pointer (0028,0009) attribute whose value belongs to the "AT" VR group. I thought that reading the value of that attribute from a method of the dicomParser.DataSet object would be the best solution. I also wrote unit tests for that specific scenario.

Looks good to me! Thanks!


question for the seqID classes

hello,
Thank you for your valuable publication. I recently ran the Centrifuger and found our read matching showing just "genus" or "phylum" etc. as seqID. The other seqIDs showed recognizable NCBI IDs and had no problems. However, the indications of "genus" or "phylum" are confusing. Can you explain what this is indicating? I ran against the index file of GTDB you shared.
Best regards,
YJ

This happens when the read can be classified to multiple sequences (strains) with the same score. In this case, Centrifuger will reduce the results to the common ancestors in the phylogeny tree. You can use the option "-k" to control how much entries in the output for reach read. By default, -k=1, so the report is the lowest common ancestor, which is the behavior of Kraken2. Hope this helps.

thank you for your explanation. 👍


maven30 formula has gone

brew install maven30
Error: No available formula with the name "maven30"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.

See https://github.com/Homebrew/homebrew-versions#acceptable-formulae

For those of you who actually need this (because enterprise!) This is the commit that removed it. https://github.com/Homebrew/homebrew-versions/commit/e102cc897ae1330b021c10f128197546b29ac543

I created a tap that contains maven30 for those poor souls who have to use antique maven.
https://github.com/set321go/homebrew-enterprise

Thanks @set321go!


Not working for me at all

I got the friendspatcher running.
I downloaded 5.5.3 and let it update.  I than only checked option for the vertical game images and install.  The images DO NOT Change they are still awful portrait.

It seems there's a new Steam Client update. I'll have a look.

New fixes.txt has been pushed out for the JS tweaks. The OldGlory app should prompt to download it on launch.

Closing this issue as it should be the same one as in #15
If not, the issue can be re-opened.


created the hero component for the conference page

Also created bare sponsor page I could link to and edited the button/a-link styles in our global styles.

close to submit new changes


focus back to textInput after setting clipBoard

@jgranick please check this pr

What is the importance of the Timer here?
@Dimensionscape

without timer it doesn't copy + timer makes sure game doesn't stop when player does spam paste

@player-03 how about this commit?

Without this code, copying selected text in textInput causes textInput to lose focus and client loses ability to input.

I wonder if the function name could be shorter.

refocusTextInput
restoreFocusAfterDelay
restoreInputFocus

But there's always a trade-off. Longer names are explicit, shorter names are easier to remember. Personally, I err on the side of shorter names, adding a comment if I need to explain further.
For example:
var __focusPending = false;

/**
	Restores focus to `textInput`, making sure not to change it too many times in succession. Changing focus multiple times
	per frame can sometimes interfere with copying or pasting text, as browsers may ignore all but the final focus target.
**/
public function focusTextInput():Void
{
	if (__focusPending) return;
	__focusPending = true;

	Timer.delay(function()
	{
		__focusPending = false;
		if (textInputEnabled) textInput.focus();
	}, 20);
}

The comment doesn't have to mention the delay, it just has to explain why the delay exists. (Same with __focusPending.) A good comment explains the problem being solved, so if someone finds a better solution, the explanation still applies.

@joshtynjala could you check this pr? Right now client is unable to input after copying text. This pr solves the problem.


Some effects change root scopes

In this image we can see the effect scope is planet for both this and root but  random_owned_pop changes scope type of root to pop, instead of maintaining the previous root scope type. If anything no effect should change the scope of type of root and scripted effects with disjoint root scope should raise an error if they are mismatched.
Also random_owned_pop also changes scope of prev which should be planet, but the plugin sees it as pop, random_owned_pop changing this scope too, instead of changing it to previous scope.

What's the actual root scope should random_owned_pop be?

If anything no effect should change the scope of type of root and scripted effects with disjoint root scope should raise an error if they are mismatched

And please give an example for this validation / inspection

As you can see near the top near the scripted trigger definition started, the scope for root is planet.
Root scope never changes to my knowledge during a trigger, regardless how many scope changes happen in rest.
The actual scope for root for random_owned_pop should remain unchanged and inherit the one from the place it was invoked then.

Seems to be a code error, ## push_scope is used in related configs and it should be right.

Will be fixed in 1.3.6


search: allowing search param key to be modified

:heart: Thank you for your contribution!
Description
Related to https://github.com/zenodo/zenodo-rdm/issues/890
Makes the searchParamKey configurable to make it more accurate, previously it was set to suggest, which did not work well for certain endpoints e.g. api/awards
https://<IP_ADDRESS>:5000/api/awards?q=micro - returns 10 records containing the word micro in title
whereas, https://<IP_ADDRESS>:5000/api/awards?suggest=micro - returns 0 records
this would cause problems when users are searching for relevant results
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[ ] I'm aware of the code of conduct.
[ ] I've created logical separate commits and followed the commit message format.
[ ] I've added relevant test cases.
[ ] I've added relevant documentation.
[ ] I've marked translation strings.
[ ] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[ ] I've NOT included third-party code (copy/pasted source code or new dependencies).

If you have added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Frontend

[ ] I've followed the CSS/JS and React guidelines.
[ ] I've followed the web accessibility guidelines.
[ ] I've followed the user interface guidelines.

Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

Closed as we will introduce a separate component in the future that doesn't use the suggestion api.


Simplify rule loading based on specific file rather than scanning fol…

…der, as became very complex when attempting to scan nested jars within spring boot uber jar.

@jpkrohling @pavolloffay Could you review please?

Does it mean that all rules from one source (which I guess is jar) have to be in one file?

@pavolloffay yes - but that is probably always going to be the case anyway.

LGTM, once those files become long we might solve this differently.

@pavolloffay Thanks! Hopefully the files shouldn't get too long as only installing the framework integrations.


Support multiple answer types and send them to the Portal Report

PT Story: https://www.pivotaltracker.com/story/show/181516279
[#181516279]
These changes add an open response report item.

@dougmartin @scytacki I've made the discussed changes and added some tests. I don't see a straightforward way to add more coverage for runtime.tsx or report-item.tsx. Is this OK as is? Or should I spend more time on adding coverage?


Encryption Algorithm using Tree or Graph

💥 Proposal
Most Algorithm uses key to encrypt the data.But by using tree or graph and by any suitable method(using xor, ascii , position ) we can encrypt and decrypt data without using keys. Further it will a fun project .
Have you read the Contributing Guidelines on Pull Requests?
YES

I would like to do this in C++ for CH20.

I would like to do this in Java for CH20

I would like to do this in Python


Deny unsafe code in most of the code base

What problem does this solve or what need does it fill?
While undeniably useful and often irreplaceable, unsafe code is inherently challenging to audit and maintain.
Uses of unsafe code outside of the core engine crate should not be necessary; safe APIs for missing functionality should be exposed instead.
What solution would you like?
Add #![deny(unsafe_code)] annotations to most bevy crates at the top of lib.rs.
There are a few clear exceptions:

bevy_ecs

some submodules, like events, should probably forbid unsafe code

bevy_crevice
bevy_derive
bevy_reflect

There are some surprising usages of unsafe that should be handled in one form or another.

bevy_render: used for working with raw window handles
bevy_dynamic_plugin + bevy_app

this functionality is, as far as I'm aware, entirely unused

bevy_core: used for fixed timestep run criteria...
bevy_transform: used for working with entity hierarchies (#3742 please...)
bevy_winit and bevy_ui: used to manually impl Send and Sync for external types
bevy_tasks: used to transmute an executor lifetime to 'static
bevy_log: used to log messages for Android

Each of these should be rewritten if feasible, or explicitly allowed if not.
Alternatives
We could use #![forbid(unsafe_code)] instead, but the ability to allow unsafe in carefully thought-out one-off instances is probably too valuable for many of these crates.

It should be at most #![warn(unsafe_code)]: keeping it at warning won't be a bother when you want to try things out locally, and Bevy CI will deny warnings.
I think this lint is better left to code reviews. It's unlikely unsafe code is going to be accepted without providing a reason for it anyway.

Fwiw, I'm in favour of forbid, but then downgraded to warn (or deny broadly equivalently) if it's needed for that crate. The change from forbid to warn should also be a warning that this PR is doing something spooky.
My counterexample to it being code review would be https://github.com/bevyengine/bevy/blob/4134577e646e0d1017064780bca34bb3fa096216/crates/bevy_core/src/time/fixed_timestep.rs#L193
This should (probably?) not be a manual System implementation. (I've not fixed that myself yet since I have other PRs open which would conflict IIRC, and honestly the whole fixed timestep solution needs a more thorough overhaul)
(That being said, this was added in a cart PR, so it's unclear how thoroughly it would have been reviewed anyway; would the change to warn have been caught?)

#3893 removes the dynamic plugin functionality, and with it a large amount of unsafe.


chore: release 1.2.119

:robot: I have created a release *beep* *boop*
1.2.119 (2022-07-01)
Features

telemetry: experiments with opentelemetry, traces and clickhouse storage (2e404a9)

Bug Fixes

secrets: panic and incorrect behaviour during secrets edit (289400d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.119 :sunflower:


Error of the Stackoverflow Tokernizer example

TensorFlow version: 2.5.3
fedjax version: 0.0.16
jax version: 0.4.8
When I follow the docs (https://fedjax.readthedocs.io/en/latest/fedjax.datasets.html#fedjax.datasets.stackoverflow.load_data) to process the Stackoverflow dataset by using
from fedjax.datasets import stackoverflow
# Load partially preprocessed splits.
train, held_out, test = stackoverflow.load_data(cache_dir='../data')
# Apply tokenizer during batching.
Tokenizer = stackoverflow.StackoverflowTokenizer()
train_max_length, eval_max_length = 20, 30
train_for_train = train.preprocess_batch(
    tokenizer.as_preprocess_batch(train_max_length))
train_for_eval = train.preprocess_batch(
    tokenizer.as_preprocess_batch(eval_max_length))

It has the following error:
2023-05-06 23:46:33.460149: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Could not resolve host: metadata".
Traceback (most recent call last):
  File "test.py", line 26, in <module>
    tokenizer = stackoverflow.StackoverflowTokenizer()
  File "/home/yik/anaconda2/envs/fl/lib/python3.8/site-packages/fedjax/datasets/stackoverflow.py", line 185, in __init__
    self._table = tf.lookup.StaticVocabularyTable(
  File "/home/yik/anaconda2/envs/fl/lib/python3.8/site-packages/tensorflow/python/ops/lookup_ops.py", line 1255, in __init__
    raise TypeError("Invalid key dtype, expected one of %s, but got %s." %
TypeError: Invalid key dtype, expected one of (tf.int64, tf.string), but got <dtype: 'float32'>.
Exception ignored in: <function CapturableResource.__del__ at 0x2b2156f4c040>
Traceback (most recent call last):
  File "/home/yik/anaconda2/envs/fl/lib/python3.8/site-packages/tensorflow/python/training/tracking/tracking.py", line 269, in __del__
    with self._destruction_context():
AttributeError: 'StaticVocabularyTable' object has no attribute '_destruction_context'

Could you please help fix this?

Sorry for the late response. Somehow the email notification slipped through all team members' inboxes.
I cannot reproduce the problem on TensorFlow 2.5.3 installed from pip. Could you tell us how you installed the packages?


Documentation for multi-record engine

Documentation and examples should be up-to-date, so it will be cool to add some examples for the multi-record file engine #10, #11
@petersondrew could you please help me with this?

No problem, I'll add that shortly

Closed in #14


Arguments passing  from command prompt. It can be stored and compare specific argument.

Its not a issue. I want specific feature support using pre built zax-parser library I want compare my string.
Example: assume I am giving inputs from command prompt.
argv[0] argv[1] argv[2]
argv[2] is consider data.
I want to store and compare my string using zaxparser library.  For checking example
if(zaxparser::isData(argv[2]))
like isData type any checking condition pre built one exist please provide me data or already available check condition exist please update if its not exist please create it.
Thanks & Regards,
Sateesh

Hi sateeshmamidala5,
(*a working example is on the second part below.)
As the zax parser is mostly a template library, therefore it can't have a prebuilt package. It targets c++ structures to be serialized and deserialzed, but those c++ structures are created by the user of the library, and the user needs to build its own binary using the already known structures (which only the user can know). An example to start on with what you need I think is something like:
#include <iostream>
#include <string.h>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <vector>
#include "ZaxJsonParser.h"

using namespace std;

struct some_class
{
    int x = 9;
    string name = "some name";
    ZAX_JSON_SERIALIZABLE(some_class, JSON_PROPERTY(x), JSON_PROPERTY(name))
};

int main()
{
    vector<string> parser_output_stream;
    some_class some_obj;
    const char* json_string = R"({"some_int": 7, "name": "new name"})"; /// you can get the value from argv
    if (true) /// true: produces warning output, false: does not produce warning line.
        json_string = R"({"name": "new name"})";

    some_obj.zax_from_json(json_string, &parser_output_stream);
    for (string error_or_warning_line : parser_output_stream)
        cout << error_or_warning_line;
    return 0;
}

This will produce the output:
WARNING: JSON property is missing: 'x'
You can change this code to get the R"(...)" from argv, and then implement a function outside the library to check the output strem lines whether it contains an error or warning regarding your structure menber (you can have range errors for int types for example, but you only can have warnings for strings).
(As this code is dependent on the c++ structures, which needs to be built, this might not be what you want.)

If you want to have your implementation "structure independent", and have a prebuilt app for your arbitrary json strings and keys, then you need to use a more basic parser. In our case this is the ZaxJsonTopTokenizer. You can have for example an application whith this content in the main.cpp:
#include <iostream>
#include <string.h>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <vector>
#include "ZaxJsonParser.h"
using namespace std;

int main(int argc, char **argv)
{
    if (argc == 3)
    {
        const char* json_string = argv[1];
        const char* a_member_to_check = argv[2];
        bool success = false;
        ZaxJsonTopTokenizer* parsed_json = new ZaxJsonTopTokenizer(json_string, false, &success);
        if (!success)
            cout << "ERROR: error parsing JSON: '" << json_string << endl;
        else
        {
            auto it = parsed_json->m_values.find(a_member_to_check);
            if (it != parsed_json->m_values.end())
                cout << "member '" << a_member_to_check << "' found. its value is: " << it->second << endl;
            else
                cout << "member '" << a_member_to_check << "' not found." << endl;
        }
        delete parsed_json;
    }
    else
        cout << "wrong number of arguments. Must be 2." << endl;
    return 0;
}

You can compile this main.cpp if you have the ZaxJsonParser.h and ZaxJsonParser.cpp in the same folder with just issuing:
g++ main.cpp ZaxJsonParser.cpp -o example
by running it like:
./example '{"some_int":7,"name":"new name"}' some_int
you will get the output:
member 'some_int' found. its value is: 7
and by running it like:
./example '{"some_int":7,"name":"new name"}' something
you will get the output:
member 'something' not found.
However, the parser might not be complient with some standards. If you want to comply standards, I would advise to use another parser. This parser is meant to try to do its best to map some json to a c++ structure, and therefore I made some decisions. For eample a string like "7" will also be successfully parsed into an int. I mean:
./example '{"some_int":"7","name":"new name"}' some_int
will also produce:
member 'some_int' found. its value is: 7
without dropping an error or warning.
Br: Tamas

I agree its a templet. But what I am thinking instead of creating new one existing only I want to reuse it in environment. I will just include header files.

You just need to add the ZaxJsonParser.h and ZaxJsonParser.cpp files to your project / build system. The above example can be built with gcc like
g++ main.cpp ZaxJsonParser.cpp -o example
Of course you might have a bigger build system, and you need to add the include path as well.


Being able to bind any key actions to other keys

Description of the new feature/enhancement
When I browse man pages I have to use the arrow keys to move up and down and it's slow. So I wanted to bind shift+mouceweelUP to arowkeyUP but you cannot bind keys to other keys. The command (referring to the command property of the keybindings, not a command entered in a cli) the arrow keys trigger when they are pressed is not available to be assigned to other keys. I also didn't find any way to bind something to the mouse-wheel in https://github.com/microsoft/terminal/blob/master/doc/cascadia/SettingsSchema.md#keys
Proposed (not so)technical implementation "details"
Add all the commands/actions that keys can trigger and add all the keys (and other inputs like a mouse wheel) you could possibly bind things to.

Thanks for the request! I think your request will be solved by combining #1553 and #3799, when they're done.
However, I think your actual bug is a /dupe of #381. The pager that man uses typically enables the alternate buffer mode, and then it enables a "mouse cursor keys" mode that translates your mouse wheel automatically into up/down commands.
Because Terminal is not aware that the "alternate buffer" mode is turned on, it doesn't have the right mouse wheel behavior in the pager.


Coding Leshan with IntelliJ IDEA - interoperability issues

Working on project Leshan with IntelliJ IDEA I found some differences with code generation/formatting between Eclipse and IntelliJ.

Organizing imports - IntelliJ have tendency to reduce imports into import org.example.package.* if there are many classes within the same package.
Imports ordering - IntelliJ order in different way packages like java.util.* - in project these packages are above project packages org.eclipse.*, and IntelliJ orders them alphabetically - below org.eclipse.*

For eclipse we configure :

formatter
organize import
save actions

All this configurations is automatically applied to each project when using : mvn resources:copy-resources@configure-eclipse
(see https://github.com/eclipse/leshan/wiki/Code-&-design-guidelines#eclipse-workspace-setup)
What are the alternative ?
For 1) formatter  you were able to import : eclipse-code-style.xml ?
For 2) I just export the organize import config file, it looks like :
#Organize Import Order
#Mon Aug 02 16:02:33 CEST 2021
3=com
2=org
1=javax
0=java

Is there any way to import this kind of file in IntelliJ ?
My guess is that will not be enough because there is also the .* config which seems not to be in the file :
See

For 2) organized import maybe this could help : https://newbedev.com/is-it-possible-for-intellij-to-organize-imports-the-same-way-as-in-eclipse
But I'm afraid that this will be not so easy for the Number of static imports needed for .* = 2 :grimacing:

@Michal-Wadowski, I changed a little bit the formatter with this PR : #1059, So you should update it.
Sorry for the bad timing, I never changed it since the project began :confounded:

Thank you for the help, imports are organized correctly now :smile:
Here are my import settings:

Reformatting the code witch is too long, for example:

throw new IllegalArgumentException(String.format(
                    "Unable to append Id(%d) to path %s. Resource instance level is the deeper one.", end, this));

is reformatted to:
throw new IllegalArgumentException(
                    String.format("Unable to append Id(%d) to path %s. Resource instance level is the deeper one.", end,
                            this));

For formatting are you using this : https://plugins.jetbrains.com/plugin/6546-eclipse-code-formatter ?

I didn't even think to look for something like this :confused: I thought importing the code style XML should be enough. But this plugin works like a charm :laughing:

But this plugin works like a charm

Good news :relaxed:

Unfortunately I give up and I just write the code in IntelliJ and reformat in Eclipse. Even after customize formatting in IntelliJ the differences in comparison to Eclipse are avoidable. For example IntelliJ removes blank characters at end of lines (which are often present in source headers after *). IntelliJ keeps line breaks in code, Eclipse removes and pus new lines in different places to occupy maximum width, and so on...
I spend a lot of time trying to customize IntelliJ formatter and installed some plugins, but finally generated code differs from generated/reformatted by Eclipse.

OK thanks for the update.


Hook up application level validation classes to API

SchemaValidator needs to connect up with the API and needs to be tested.

Unfortunately I am not going to be able to finish this work by today which was my deadline before handing off. The steps for this to complete are:

[ ] Create the lambda policy for corpora-validation-lambda.
[ ] Ask Jessica to hook up the policy for the above IAM role.
[ ] Implement corpora.lambdas.api.v1.submission.validate_submission
[ ] Set up the lambda to kick off when the above function is called, wrapping the corpora.common.DatasetValidator class.

Happy to answer any questions.

Per the August 3 data portal call, reassigning to Milestone 2.

Per the September 22 Refinement, moving to the Product Backlog to complete the in-progress epic.

This ticket is closing because validation will no longer be served via a separate endpoint and rather be performed as part of uploading a dataset.


feat: Add lambda as additional auth provider

Description
The change allows to use AWS_LAMBDA as additional auth provider. This block is missing in official AWS provider documentation here but the block is supported.
Motivation and Context
We use APIKEY as primary auth method and AWS_LAMBDA as additional.
Breaking Changes
No breaking changes.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested on my production terraform code to validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects
[ ] I have executed pre-commit run -a on my pull request

@antonbabenko Can you do the review, please?

Cool, thanks.


[Sema] Compiler should diagnose non-unique raw values without crashing

Enums with raw type : String  use the case name as the raw value if the case is undefined. So two identical case names causes a "raw value for enum case is not unique" error. Additionally, identical case names will always cause a separate redeclaration error regardless of the declared enum raw type.
enum Foo : String {
    case Bar
    case Bar // two errors:  non-unique raw value error and invalid redeclaration of 'Bar'
    case Bar = "FooBar" // one error: invalid redeclaration of 'Bar' because raw value is FooBar instead of Bar
}

This second error gets diagnosed in CheckRedeclarationRequest in the DeclVisitor. We could add a special case for this situation to ignore the raw value error and defer diagnosing to the DeclVisitor since fixing that error is most correct. For now, I'll fix the crash and let the compiler diagnose both errors.
Fixes rdar://105761206

@swift-ci please smoke test

@swift-ci please smoke test macOS platform

@swift-ci please smoke test macOS platform


Installing BetterDiscord on ChromeOS Freezes [Bug]

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
On ChromeOS when you run the .AppImage everything is fine and dandy until the installation part and it freezes up. I tested BetterDiscord in a Linux VM and it does the same thing.
Expected Behavior
It would just install and everything would be good to go.
Steps To Reproduce

Have ChromeOS or Linux
Have Discord
Attempt to install betterdiscord
That's all

Operating System
Linux
Discord Version
Stable
BetterDiscord Version
Unknown
Anything else?
No response

Could you please be more specific about the installation "freezing up"? Like, does the app go unresponsive, or does the installation bar just stop moving. A video of this would be helpful.
Also, for installer-specific issues, you should use https://github.com/BetterDiscord/installer

We do not officially support ChromeOS


Added TRIE Implementation || Interview Question

This is mainly asked in fang company.
@py3-coder Please merge this PR and add Hacktober fest accepted label to it.

Wouldn't it be great if you'd write the question as well? I've never interviewed before so it'd be interesting.


Adds .travis.yml

Simplest ever

Should be --release on both of these since that's what we tell people to do


I found a data type that does not correspond to the problem.

Thanks @lyn0904 for the catch, fixed it in the dev branch.


data-swup-form not transmitting data

Alright, so I added a data-swup-form to my form which is used to filter content. However when submitting the form the page redirected and all the parameters get added but they do not have a value. I'm not sure if this one is on me or some bug.
<form method="get" action="{{craft.entries.id(1019).one().url}}" class="w-5/6 mx-auto bg-grey-light h-24 -mt-12 z-20 relative flex items-center justify-center filter-form" data-swup-form>
		<input class="mr-1 h-10 text-blue-dark font-bold text-sm pl-4 w-auto w-1/4" type="text" placeholder="Gemeente" name="city" id="city" {% if craft.app.request.getParam('city') %} value="{{craft.app.request.getParam('city')}}" {% endif %}>
		<select name="type" id="type" class="mx-1 h-10 text-blue-dark bg-white font-bold text-sm pl-4 w-auto w-1/8">
			<option value="0" {% if craft.app.request.getParam('type') == 0 or craft.app.request.getParam('type') is empty %} selected="selected" {% endif %}>Type</option>
			<option value="1" {% if craft.app.request.getParam('type') == 1 %} selected="selected" {% endif %}>Te Koop</option>
			<option value="2" {% if craft.app.request.getParam('type') == 2 %} selected="selected" {% endif %}>Te Huur</option>
			<option value="3" {% if craft.app.request.getParam('type') == 3 %} selected="selected" {% endif %}>Over te nemen</option>
		</select>
		<input class="mx-1 h-10 text-blue-dark font-bold text-sm pl-4 w-auto w-1/8" type="text" placeholder="Max. Prijs" name="price" id="price" {% if craft.app.request.getParam('price') %} value="{{craft.app.request.getParam('price')}}" {% endif %}>
		<input class="mx-1 h-10 text-blue-dark font-bold text-sm pl-4 w-auto w-1/8" type="text" placeholder="Slaapkamers" name="bedrooms" id="bedrooms" {% if craft.app.request.getParam('bedrooms') %} value="{{craft.app.request.getParam('bedrooms')}}" {% endif %}>
		<input class="mx-1 h-10 text-blue-dark font-bold text-sm pl-4 w-auto w-1/8" type="text" placeholder="Opties" name="options" id="options" {% if craft.app.request.getParam('options') %} value="{{craft.app.request.getParam('options')}}" {% endif %}>
		<input class="ml-1 h-10 bg-blue-dark font-bold text-sm text-white w-1/8" value="Zoeken" type="submit">
</form>

and in my url i get the following:

Probably because it can't figure out the data from the twig calls? Because the value of my submit button gets transmitted correctly.
EDIT: seems like it's only the select that is not transmitting. Most likely a problem with my code. you can ignore this. :)

Hi @Geestig, just noticed your closed issue.
You're correct, swup ignores select when sending with get method, and that's of course not a correct behavior. Forms are quite new to the swup so there might be some bugs I didn't think of. Good catch! I will fix that ASAP.

Swup now sends values of selects with GET method. Keep in mind that it's still only intended for simple forms so, for example, select with multiple values would still be a problem with GET method, although it would work just fine with POST.


can't install plugins in builder container

It doesn't seem to be possible to build the custom docker image with the latest version that brings the error below, but works fine using builder with image 0.14.1.
luarocks install --tree=system kong-jwt-claims-headers  --only-server=http://localhost:8080
[packer exec] luarocks install --tree=system kong-jwt-claims-headers  --only-server=http://localhost:8080

Error: LuaRocks 3.3.1 bug (please report at https://github.com/luarocks/luarocks/issues).
Arch.: linux-x86_64
/usr/local/share/lua/5.1/luarocks/fs/lua.lua:910: attempt to concatenate local 'downloader' (a nil value)
stack traceback:
	/usr/local/share/lua/5.1/luarocks/fetch.lua:69: in function 'fetch_url'
	/usr/local/share/lua/5.1/luarocks/fetch.lua:33: in function 'fetch_caching'
	/usr/local/share/lua/5.1/luarocks/manif.lua:108: in function 'load_manifest'
	/usr/local/share/lua/5.1/luarocks/search.lua:111: in function 'remote_manifest_search'
	/usr/local/share/lua/5.1/luarocks/search.lua:155: in function 'search_repos'
	/usr/local/share/lua/5.1/luarocks/search.lua:241: in function 'find_suitable_rock'
	/usr/local/share/lua/5.1/luarocks/search.lua:263: in function 'find_rock_checking_lua_versions'
	/usr/local/share/lua/5.1/luarocks/cmd/install.lua:239: in function </usr/local/share/lua/5.1/luarocks/cmd/install.lua:215>
	[C]: in function 'xpcall'
	/usr/local/share/lua/5.1/luarocks/cmd.lua:620: in function 'run_command'
	/usr/local/bin/luarocks:38: in main chunk
	[C]: at 0x55cfd1f91310
failed installing rock: 'luarocks install --tree=system kong-jwt-claims-headers  --only-server=http://localhost:8080 ' failed
ERROR: Service 'kong' failed to build: The command '/bin/sh -c /usr/local/openresty/luajit/bin/luajit /packer.lua -- "$INJECTED_PLUGINS"' returned a non-zero code: 1

Is this resolved? because I too have the same problem with  LuaRocks 3.3.1

@TVenuMadhav it's not, but I could make it work with Kong 1.5.1
check this repo: https://github.com/juliomsilva/kong-container-with-custom-plugins

@hishamhm this seems to be a LuaRocks bug, from the first looks of it only when using the --only-server flag

The problem is actually that and "downloader" for LuaRocks is missing, so adding wget solves this.
Fixed in #411


ATLAS build fail on darwin

i tried to build ATLAS on darwin since it is marked to review in the broken darwin packages page.
build all the dependencies takes about 6 hours and then fails with a Segmentation fault.
my system is OS X 10.9.5 on an Intel Core i5.
cc @jwiegley @pikajude @ttuegel
/nix/store/y4cx4hiv40yc0xkz1as4lkbvk89k9ygg-gfortran-5.1.0/bin/gfortran -fomit-frame-pointer -mfpmath=sse -O2 -msse2 -fPIC -m64 -o xzuumtst zuumtst.o \
                   /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/lib/libtstatlas.a /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/lib/liblapack.a /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/lib/libcblas.a /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/lib/libf77blas.a \
                   /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/lib/libatlas.a -lm
/private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/bin/ATLrun.sh /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/bin xzslvtst -n 167 -r 83 -O 2 c r \
                  >> /private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/bin/sanity.out
/private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/bin/ATLrun.sh: line 4:  2363 Segmentation fault: 11  $atldir/$*
Makefile:9114: recipe for target 'zsanity_test' failed
make[3]: *** [zsanity_test] Error 139
make[3]: Leaving directory '/private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/bin'
Makefile:375: recipe for target 'sanity_test' failed
make[2]: *** [sanity_test] Error 2
make[2]: Leaving directory '/private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build/bin'
Make.top:27: recipe for target 'sanity_test' failed
make[1]: *** [sanity_test] Error 2
make[1]: Leaving directory '/private/var/folders/g0/80z2tlp95k3gdmx68vhslfl80000gn/T/nix-build-atlas-3.10.2-with-lapack.drv-0/ATLAS/build'
Makefile:577: recipe for target 'test' failed
make: *** [test] Error 2
builder for ‘/nix/store/9qzmkqil529v6d6aj6y1b2k3rar2wq2n-atlas-3.10.2-with-lapack.drv’ failed with exit code 2
error: build of ‘/nix/store/9qzmkqil529v6d6aj6y1b2k3rar2wq2n-atlas-3.10.2-with-lapack.drv’ failed

AFAIK most packages have been switched to openblas. It might be easier to switch what you need than to try fix atlas.

Speaking as a maintainer of OpenBLAS and ATLAS in Nixpkgs and a user of both, OpenBLAS is superior to ATLAS in almost every way. This is particularly true from the perspective of binary caches. The binary cache version of ATLAS is optimized for whichever Hydra node it is built on. OpenBLAS uses dynamic architecture detection so the binary cache version will be well-optimized for all the platforms we support. OpenBLAS should be a drop-in replacement for any package using ATLAS; I strongly encourage switching.

then we should not try to fix it and simply remove darwin from the platforms.

It has no platforms set. We might put in some list where it works sensibly (the two Linux platforms?), or perhaps better set broken = true;?


fix(deps): update terraform terraform-ibm-modules/cos/ibm to v8.2.5

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
patch
8.2.1 -> 8.2.5

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v8.2.5
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/kms-all-inclusive/ibm to v4.11.2 (#607) (6728a5e)

v8.2.4
Compare Source
Bug Fixes

deps: update terraform-module (#595) (2168048)

v8.2.3
Compare Source
Bug Fixes

support dynamic resource key names (#604)  * A new optional key_name has been added to var.resource_keys objects. When specified this will be used as the resource key name and can be a dynamic reference. (4e3ed1c)

v8.2.2
Compare Source
Bug Fixes

retention support (#600) (ed4928b)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 0.5.7 :tada:
The release is available on:

GitHub release
v0.5.7

Your semantic-release bot :package::rocket:


Package no longer compatible with the current API provided by terraform

Hi,
I've been using this package for a while now. Since this package doesn't have any releases I build it every time from source. Today I got the following error in my Continuous Integration builds while testing the terraform plan.
Error configuring: 1 error(s) occurred:

* Incompatible API version with plugin. Plugin version: 1, Ours: 2

After struggling for a while, trying to find the bug, I found this.
Terraform has updated its plugin protocol and since this package imports terraform packages directly from source, it's barfing at the moment.

Could this also be addressed by adjusting the terraform in your $GOPATH to match the version of Terraform that you have installed? That is, either check out an older Terraform, or build and install the Terraform you have checked out.
This plugin needs just a small subset of the Terraform source: just the plugin protocol bits. I'm not too keen on vendoring 5000 files to get just that little bit.

@bitglue Thanks for your input. I am not a go developer. I have been using this library for a while and was looking for an easy fix. I'll test it by changing the $GOPATH.

I'm not really a go developer either :)
Let me know if it works. If not, we can explore some other options.

Just ran into this, the issue per this conversation on the terraform mailing list is that the plugin api that is on the terraform head (0.7) is incompatible with the 0.6 API this library expects.
To fix this you will need to either go install an old 0.6 version, or change this project to use a vendored 0.6 terraform package.

Can you please share the output of these two commands?
git -C "$GOPATH/src/github.com/hashicorp/terraform/" describe
terraform version

@bitglue extremely sorry for my delayed response. I was a bit caught up with other work. Here's what fixed for me.
git clone https://github.com/hashicorp/terraform.git
mkdir -p $(echo $GOPATH | cut -d':' -f1)/src/github.com/hashicorp
mv -n terraform $(echo $GOPATH | cut -d':' -f1)/src/github.com/hashicorp/
git -C "$(echo $GOPATH | cut -d':' -f1)/src/github.com/hashicorp/terraform/" checkout tags/v0.6.16

Here's the output of the commands that you mentioned:
git -C "$(echo $GOPATH | cut -d':' -f1)/src/github.com/hashicorp/terraform/" describe:
v0.6.16
terraform version:
Terraform v0.6.15

resolved the go get github.com/hashicorp/terraform  error. The only two commands needed to resolve this issue are
go get github.com/hashicorp/terraform
git -C "$(echo $GOPATH | cut -d':' -f1)/src/github.com/hashicorp/terraform/" checkout tags/v0.6.16


Update dfdsdk/aws-inventory-orchestrator Docker tag to v0.0.56

This PR contains the following updates:

Package
Update
Change

dfdsdk/aws-inventory-orchestrator
patch
0.0.53 -> 0.0.56

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.

CodeScene PR Check Disabled
This PR Integration provider has been deprecated and removed. Please configure the GitHub App Integration provider in CodeScene.


Configure coam Nx app for CI and deployment

Describe the task
Set up COAM CI pipeline and configure containerization deployment to target environment.
Dev Tasks

[ ] create file .github/workflows/build-coam.yaml similar to file .github/workflows/build-dashboard.yaml
[ ] in file .github/workflows/main.yaml add step build-coam: similar to build-dashboard:
[ ] create folder files in helm/cas-bciers/templates/coam similar to helm/cas-bciers/templates/dashboard

Acceptance Criteria

[ ] GitHub CI success for job: main / build-coam / docker-build (pull request)

Additional context

@marcellmueller could you please refine the steps and acceptance criteria above that I may have missed in detailing the how to configure CI\deployment for a new Nx app - thanks very much! :)


Can't pass object as the parameter into action creators created by createActions function.

I found issues when trying to pass object as parameter into action creator using following code:
const {
  getIdeas,
  getIdeasSuccess,
  ...
} = createActions({
  GET_IDEAS: ({ status='', searchText='', limit='', offset='' }) => ({
    status,
    searchText,
    limit,
    offset,
  })
})

When I did so, I got following error:
TypeError: Cannot read property 'status' of undefined...

I want to be able to pass in object as parameters like I did when using ordinary action creator like so:
export const getIdeas = ({
  status='',
  searchText='',
  limit='',
  offset=''
}) => ({
  status='',
  searchText='',
  limit='',
  offset=''
})

so I can have extra flexibility manipulating the parameters pass into the action creator.
Is there any other way that I'm able to achieve such usage?

Can you show how getIdeas is being used and called?

Modifying https://github.com/acdlite/redux-actions/blob/45c3a78270eccb1e92f8a07564f66232cd7a734c/src/tests/createActions-test.js#L85 with
it('should return a map of camel-cased action types to action creators', () => {
  const { actionOne, actionTwo } = createActions({
    ACTION_ONE: (key, value) => ({ [key]: value }),
    ACTION_TWO: ({ first, second }) => ([first, second])
  });

  expect(actionOne('value', 1)).to.deep.equal({
    type: 'ACTION_ONE',
    payload: { value: 1 }
  });
  expect(actionTwo({ first: 'value', second: 2 })).to.deep.equal({
    type: 'ACTION_TWO',
    payload: ['value', 2]
  });
});

passes, so I have to think it's an error in your code.

@yangmillstheory, Thanks for you fast reply.
The following code is how I dispatch action creator in the component:
import { getIdeas } from '../../actions/ideas'

class Ideas extends Component {

  componentDidMount = () => {
    const {
      getIdeas,
      activeTab,
    } = this.props

    getIdeas({
      status: activeTab,
    })
  }
  // ... the rest of the component code...
}

export default connect(mapStateToProps, {
  getIdeas,
  ...
})(Ideas)

and this is my action creator
export const {
  getIdeas,
  ...
} = createActions({
  GET_IDEAS: ({
    status = '',
    searchText = '',
    offset = '',
    limit = '',
  }) => ({
    status,
    searchText,
    offset,
    limit,
  })
})

Im expecting to get an action creator with a format like:
export const getIdeas = ({
    status = '',
    searchText = '',
    offset = '',
    limit = '',
  }) => ({
  type: GET_IDEAS,
  payload: {
    status,
    searchText,
    offset,
    limit',
  }
})

but am still getting error stated in the first post.

This should work based on https://github.com/acdlite/redux-actions/issues/212#issuecomment-301340967, can you post the full stack trace? Where is the error (line of code) being thrown? What happens you set a breakpoint in the browser debugger?

Closing due to lack of response.


[Feature Request] Allow foreign characters into Text Entry

Please Select the game mode your feature request is about.
All Game Modes
Is your feature request related to a problem?
It's impossible at the moment to search for a song which uses special characters used in various languages. The same thing applies in other parts of the game, for example when creating a profile.
Describe the solution you'd like
Being able to type in special characters in text entry
Describe alternatives you've considered
For example in search, being able to type "Lod" and get the result of "Lód"
Additional context
No response

Nice idea, although it'll be a while before I find it very critical. But that's just my experience. Also, Outfox is written mainly in C++ (or so evidence from its Stepmania roots gives me reason to believe), which, as I heard, is heck on earth for programmers. So it may be a while


Mac OS X Build Does Not Work

Installed Mac OS X build from pkg installation,
wget --content-disposition  http://www.pipelinedb.com/download/0.7.7/osx

After installation, attempted to create data directory via:
-> % /usr/lib/pipelinedb/bin/pipeline-init /usr/lib/pipelinedb/data

and got the following output:
The files belonging to this database system will be owned by user "netshade".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /usr/lib/pipelinedb/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /usr/lib/pipelinedb/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
loading PipelineDB extensions ... FATAL:  could not load library "/usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so": dlopen(/usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so, 10): Library not loaded: /Users/pipelinedb/pipelinedb/pkg/osx/build/usr/lib/pipelinedb/lib/libgeos_c.1.dylib
	  Referenced from: /usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so
	  Reason: image not found
STATEMENT:  CREATE EXTENSION postgis;

child process exited with exit code 1
pipeline-init: removing data directory "/usr/lib/pipelinedb/data"

Examining the linked libs for postgis-2.2.so via otool -L /usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so :
-> % otool -L /usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so
/usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so:
	/Users/pipelinedb/pipelinedb/pkg/osx/build/usr/lib/pipelinedb/lib/libgeos_c.1.dylib (compatibility version 10.0.0, current version 10.2.0)
	/Users/pipelinedb/pipelinedb/pkg/osx/build/usr/lib/pipelinedb/lib/libproj.0.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/local/lib/libjson-c.2.dylib (compatibility version 3.0.0, current version 3.1.0)
	/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

The first three libraries linked to are to paths not present on my system.

Hi @netshade, sorry for the hangup. That looks like an old pkg file to me, when did you download it? Can you please download the latest OSX package and give it another try?
http://www.pipelinedb.com/download
Thanks!

From the ticket, I downloaded it via:
wget --content-disposition  http://www.pipelinedb.com/download/0.7.7/osx

which seems like it's the latest version.

Ok, and you downloaded it today?

Yeah, less than 30 minutes ago.

Sorry, make that an hour now.

Thanks, we're looking into it. In the meantime, you should be able to work around this by adding the following to your DYLD_LIBRARY_PATH:
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/lib/pipelinedb/lib

and then running pipeline-init again. If that works, you'll probably want to put that in your ~/.bash_profile.

Unfortunately it's still not working:
-> % DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/lib/pipelinedb/lib /usr/lib/pipelinedb/bin/pipeline-init /usr/lib/pipelinedb/data
The files belonging to this database system will be owned by user "netshade".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /usr/lib/pipelinedb/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /usr/lib/pipelinedb/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
loading PipelineDB extensions ... FATAL:  could not load library "/usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so": dlopen(/usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so, 10): Library not loaded: /usr/local/lib/libjson-c.2.dylib
	  Referenced from: /usr/lib/pipelinedb/lib/pipelinedb/postgis-2.2.so
	  Reason: image not found
STATEMENT:  CREATE EXTENSION postgis;

child process exited with exit code 1
pipeline-init: removing data directory "/usr/lib/pipelinedb/data"

There is no json lib bundled w/ the Mac OS X package:
-> % find /usr/lib/pipelinedb -name "*json*"
/usr/lib/pipelinedb/include/pipelinedb/server/utils/json.h
/usr/lib/pipelinedb/include/pipelinedb/server/utils/jsonapi.h
/usr/lib/pipelinedb/include/pipelinedb/server/utils/jsonb.h

Can you install libjson-c?

I'm not really interested in debugging further, I spun up an instance on AWS for further testing. This should be enough data for you to fix the OS X build.

Sounds good, thanks!


Enable changing volume via slider on crestron connected displays

In a Sony VPL - RMC3 Setup the slider doesn't do anything. Up/Down buttons seem to work fine

On a system loaded with build 13319f6f90828e51e7eb7cb75e24a2e73dc5014e (latest commit to date) in the same configuration, this seems to be working fine. I will try to reproduce the issue with at least one more system before considering this closed.


Missing floating video styles in Video Gallery component

Describe the bug; what happened?
In the Storybook Video Gallery Component the canvas mode has a bug when choosing floatingLocalVideo. The styles disappear and you end up with a floating blank component. This also occurs when implementing the component
What are the steps to reproduce the issue?

go to https://azure.github.io/communication-ui-library/?path=/story/ui-components-videogallery--video-gallery&args=layout:floatingLocalVideo
Notice the floating blank component which is missing the styles for local video

What behavior did you expect?
The floating video layout should have the same styles as when the layout is switched to default
If applicable, provide screenshots:

In what environment did you see the issue?
Online in storybook

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC] MacOS
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox] Google Chrome
Version [e.g. 1.8.0] Not sure

Is there any additional information?

looking into this now thanks for writing this issue

I found this is still broken in beta4 but it will be fixed in beta5 (targeting for a release within the next  couple of weeks along with some other improvements)
We do however have daily alpha builds that are produced and this build 1.0.0-alpha-20210902.0019.0 and any later builds will have the fix.

@alkwa-msft I installed the alpha build you mentioned but now the component renders blank but when I perform an update on the component such as switching from muted to unmuted it renders the video fine. Looks like there is still a bug occurring there.

We seem to have a missing dependency here. Will create a bug for this.
Thanks, @LeugimAtreides for reaching out with update


mongo-cxx builds as dynamic lib using x64-windows-static triplet

Host Environment

OS: Windows 10, Visual Studio 2019

To Reproduce
I'm using a vcpkg.json file with my project in VS2019, my file contains:
	"dependencies": [
		{
			"name": "mongo-cxx-driver"
		}
        ]

Failure logs
When I compile my project, I get an error that I'm missing:
bson-1.0.dll
mongoc-1.0.dll

which suggests to me that the underlying mongo-c-driver was built using .dll settings even with the static triplet.
On another computer using an older vcpkg commit, bson-1.0.dll builds as bson-1.0-static.dll when built properly, so this also suggests that it's being built incorrectly.

Please pass -DVCPKG_TARGET_TRIPLET=x64-windows-static to the cmake command line.

@JackBoosY I'm using vcpkg and the manifest system for Visual Studio, not the command line

Looks like this may be related to: https://github.com/microsoft/vcpkg/pull/20039
I checked out a commit before the above issue (615547c1d5b363d3586d2012c4cd7d075a0516b8) and tried re-building from scratch, no issues.

Can you please edit Triplet item and fill x64-windows-static and try again?

I already have the "Use Static Libaries" option enabled, and with this option enabled I'm still missing the .dll files.
I cleared my vcpkg installed libraries and rebuilt my project with the triplet manually set; I'm still missing the .dll files (which shouldn't be required for a static build).

Sure thing!

Yes; this is the output for my project:
3>------ Build started: Project: mongoConnection, Configuration: Debug x64 ------
3>Installing vcpkg dependencies to C:\Users\Technician\Documents\myProject\vcpkg_installed\x64-windows-static\
3>"C:\Users\Technician\Documents\myProject\dependencies\vcpkg\vcpkg.exe" install  --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "C:\Users\Technician\Documents\myProject\dependencies\vcpkg\\" "--x-manifest-root=C:\Users\Technician\Documents\myProject\\" "--x-install-root=C:\Users\Technician\Documents\myProject\vcpkg_installed\x64-windows-static\\"
3>Detecting compiler hash for triplet x64-windows-static...
3>Detecting compiler hash for triplet x64-windows...
3>The following packages will be built and installed:
3>  * libbson[core]:x64-windows-static -> 1.16.1#3
3>  * mongo-c-driver[core]:x64-windows-static -> 1.16.1#6
3>    mongo-cxx-driver[core]:x64-windows-static -> 3.4.0-5#3

3>Additional packages (*) will be modified to complete this operation.
3>Restored 0 packages from C:\Users\Technician\AppData\Local\vcpkg\archives in 1.749 ms. Use --debug to see more details.

3>Starting package 20/43: libbson:x64-windows-static
3>Building package libbson[core]:x64-windows-static...
3>-- Downloading https://github.com/mongodb/mongo-c-driver/archive/99d422877c5b5ea52006c13ee3b48297251b2b2d.tar.gz -> mongodb-mongo-c-driver-99d422877c5b5ea52006c13ee3b48297251b2b2d.tar.gz...
3>-- Cleaning sources at C:/Users/Technician/Documents/myProject/dependencies/vcpkg/buildtrees/libbson/src/97251b2b2d-9ce11b51a9.clean. Use --editable to skip cleaning for the packages you specify.
3>-- Extracting source C:/Users/Technician/Documents/myProject/dependencies/vcpkg/downloads/mongodb-mongo-c-driver-99d422877c5b5ea52006c13ee3b48297251b2b2d.tar.gz
3>-- Applying patch fix-uwp.patch
3>-- Applying patch fix-static-cmake.patch
3>-- Applying patch disable-source-write.patch
3>-- Applying patch fix-include-directory.patch
3>-- Applying patch fix-static-cmake-2.patch
3>-- Using source at C:/Users/Technician/Documents/myProject/dependencies/vcpkg/buildtrees/libbson/src/97251b2b2d-9ce11b51a9.clean
3>-- Found external ninja('1.10.2').
3>-- Configuring x64-windows-static
3>-- Building x64-windows-static-dbg
3>-- Building x64-windows-static-rel
3>-- Installing: C:/Users/Technician/Documents/myProject/dependencies/vcpkg/packages/libbson_x64-windows-static/share/libbson/copyright
3>-- Installing: C:/Users/Technician/Documents/myProject/dependencies/vcpkg/packages/libbson_x64-windows-static/share/libbson/usage
3>-- Performing post-build validation
3>-- Performing post-build validation done
3>Stored binary cache: C:\Users\Technician\AppData\Local\vcpkg\archives\a7\a7f0e9123969f76e44034f0c5f60c4e198df7331cca5a93fd28c8720f402e29c.zip
3>Installing package libbson[core]:x64-windows-static...
3>Elapsed time for package libbson:x64-windows-static: 9.773 s
3>Starting package 21/43: mongo-c-driver:x64-windows-static
3>Building package mongo-c-driver[core]:x64-windows-static...
3>-- Downloading https://github.com/mongodb/mongo-c-driver/archive/99d422877c5b5ea52006c13ee3b48297251b2b2d.tar.gz -> mongodb-mongo-c-driver-99d422877c5b5ea52006c13ee3b48297251b2b2d.tar.gz...
3>-- Cleaning sources at C:/Users/Technician/Documents/myProject/dependencies/vcpkg/buildtrees/mongo-c-driver/src/97251b2b2d-5bf7672f0a.clean. Use --editable to skip cleaning for the packages you specify.
3>-- Extracting source C:/Users/Technician/Documents/myProject/dependencies/vcpkg/downloads/mongodb-mongo-c-driver-99d422877c5b5ea52006c13ee3b48297251b2b2d.tar.gz
3>-- Applying patch fix-dependency-libbson.patch
3>-- Applying patch disable-static-when-dynamic-build.patch
3>-- Applying patch fix-arm-build.patch
3>-- Applying patch disable-source-write.patch
3>-- Applying patch fix-include-directory.patch
3>-- Applying patch fix-static-cmake.patch
3>-- Using source at C:/Users/Technician/Documents/myProject/dependencies/vcpkg/buildtrees/mongo-c-driver/src/97251b2b2d-5bf7672f0a.clean
3>-- Found external ninja('1.10.2').
3>-- Configuring x64-windows-static
3>-- Building x64-windows-static-dbg
3>-- Building x64-windows-static-rel
3>-- Installing: C:/Users/Technician/Documents/myProject/dependencies/vcpkg/packages/mongo-c-driver_x64-windows-static/share/mongo-c-driver/copyright
3>-- Performing post-build validation
3>-- Performing post-build validation done
3>Stored binary cache: C:\Users\Technician\AppData\Local\vcpkg\archives\61\61b68de10b9384de8577394789b299dc75bf4e694f4f33a79473c7d9adc0c857.zip
3>Installing package mongo-c-driver[core]:x64-windows-static...
3>Elapsed time for package mongo-c-driver:x64-windows-static: 20.32 s
3>Starting package 39/43: mongo-cxx-driver:x64-windows-static
3>Building package mongo-cxx-driver[core]:x64-windows-static...
3>-- Downloading https://github.com/mongodb/mongo-cxx-driver/archive/r3.4.0.tar.gz -> mongodb-mongo-cxx-driver-r3.4.0.tar.gz...
3>-- Cleaning sources at C:/Users/Technician/Documents/myProject/dependencies/vcpkg/buildtrees/mongo-cxx-driver/src/r3.4.0-8643984dea.clean. Use --editable to skip cleaning for the packages you specify.
3>-- Extracting source C:/Users/Technician/Documents/myProject/dependencies/vcpkg/downloads/mongodb-mongo-cxx-driver-r3.4.0.tar.gz
3>-- Applying patch fix-uwp.patch
3>-- Applying patch disable-c2338-mongo-cxx-driver.patch
3>-- Applying patch disable_test_and_example.patch
3>-- Applying patch fix-dependency-libbson.patch
3>-- Applying patch fix-dependency-mongocdriver.patch
3>-- Applying patch github-654.patch
3>-- Applying patch fix-android.patch
3>-- Using source at C:/Users/Technician/Documents/myProject/dependencies/vcpkg/buildtrees/mongo-cxx-driver/src/r3.4.0-8643984dea.clean
3>-- Found external ninja('1.10.2').
3>-- Configuring x64-windows-static
3>CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:433 (message):
3>  The following variables are not used in CMakeLists.txt:
3>
3>      LIBBSON_DIR
3>      LIBMONGOC_DIR
3>
3>  Please recheck them and remove the unnecessary options from the
3>  `vcpkg_configure_cmake` call.
3>
3>  If these options should still be passed for whatever reason, please use the
3>  `MAYBE_UNUSED_VARIABLES` argument.
3>Call Stack (most recent call first):
3>  ports/mongo-cxx-driver/portfile.cmake:42 (vcpkg_configure_cmake)
3>  scripts/ports.cmake:141 (include)
3>
3>
3>-- Building x64-windows-static-dbg
3>-- Building x64-windows-static-rel
3>-- Installing: C:/Users/Technician/Documents/myProject/dependencies/vcpkg/packages/mongo-cxx-driver_x64-windows-static/share/mongo-cxx-driver/copyright
3>-- Performing post-build validation
3>-- Performing post-build validation done
3>Stored binary cache: C:\Users\Technician\AppData\Local\vcpkg\archives\19\19bad2ff557120d16e17b070afcdaaa64008fd648d1a7ca97e661b5fe5db20a6.zip
3>Installing package mongo-cxx-driver[core]:x64-windows-static...
3>Elapsed time for package mongo-cxx-driver:x64-windows-static: 59.17 s

As you can see, vcpkg didn't build the dynamic mongo-cxx-driver. So I think that caused by other reasons.

are you sure that building using the static instructions isn't accidentally creating a dynamic library?
I've been getting around this issue so far by using commit 615547c and I see no issues; when I pull from master I get this issue.  I looked at the commit history and it looks like this issue may be caused by something that was done in #20039?


Is there a way to add manually @Configuration classes to the StaticSpringFactories?

Hi,
I've just migrated from 0.9.0-SNAPSHOT to 0.9.0, and I've added the AOT plugin.
When doing a mvn clean install, the StaticSpringFactories class is created.
With the first execution, I realized that not every @Configuration class was included in the factory, so I added:
<configuration>
	<buildTimePropertiesChecks>default-exclude-all</buildTimePropertiesChecks>
</configuration>

and that solved the problem so far.
But when I added a dependency of mine that has 2 configuration files for 2 different flavors (Reactive and Servlet), only the Reactive Config file is included in the StaticSpringFactories, making the Servlet flavor not operative.
Is there a way to manually include this class? With @NativeHint maybe? or is there another method?

Hello @khaeghar
It's not clear to me which configuration property is covered by the AOT processing and why disabling them all with buildTimePropertiesChecks is your only way out. This AOT configuration should be disabled by default and all configuration properties should be processed at runtime. Maybe there's a bug in our plugin setup.
Now your use case involving a custom dependency shipping support for several web variants is a different problem and we'd like to know more about this.
Could you provide a sample application showing the problem? Something minimal that we can git clone or download would be perfect. Thanks!

I'm working on the reproducer but I'm not getting the same results. Don't know what's changing since there are several layers in this project, but I'm on it.
Anyway, those classes were not the only ones that were present in the StaticSpringFactories file, there were many more of my config files there. That's not the usual behavior, right?
@Configuration(proxyBeanMethods = false)
@AutoConfigureAfter(AuthenticationAutoConfiguration.class)
@ConditionalOnProperty(name = { "security.enabled" }, havingValue = "true", matchIfMissing = true)
@Conditional(ServletOrNotWebCondition.class) //This condition checks if the app is servlet or not web
@EnableConfigurationProperties(WebServiceProperties.class)
@Slf4j
public class WebServiceWebAutoConfig {

The config file annotations looks like this. Don't know if there's something weird in there but since I'm not able to reproduce it in a separate project I'm a bit lost.
May I ask which is the procedure to include classes in the StaticSpringFactories? Or if there's some documentation about it.

@khaeghar the Conditional annotations you're listing here should be supported.
Our AOT process is processing Conditional annotations and doing its best to guess whether they will match at runtime. Currently our model is incomplete and might not reflect 100% the runtime behavior in the JDK - this is why I've asked for a repro project in this case.
At build time, our AOT plugin looks at all factories declared in spring.factories and generates source code as StaticSpringFactories to register those factories without reflection. As long as factories (and in this case auto-configurations) are listed in such files, they're considered by the build plugin. In your case, it looks like it's ignored because our filtering mechanism somehow thinks that it won't be needed at runtime. Note that we're not taking a radical approach here, and that we're only assuming that the classpath of the application is fixed at build time when you're packaging the application. Maybe this assumption doesn't work in your case?
I'm afraid the AOT approach is the path we've chosen to improve our support. We got good results so far with it and we're working on improving it.
Is your project a complete Spring Boot application that's meant to be shipped and run in production, or some kind of library that can be pulled by other applications? I'm a bit curious about why an application would ship auto-configurations for both reactive and servlet variants.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Hi, I'm sorry for the tremendous delay. Right now I'm not able to provide you with the reproducer since my tries have been futile and doesn't reproduce the behavior. The actual project it's really big and the info I gave you guys is all I can give by the moment. I'll try to work on it once we come back again to the GraalVM of the project. Thanks for everything!

Ok thanks please create a new issue later if needed.


Test: mainnet_blocks_from_rpc for OP

Next step for #351.

This should be closed @hai-rise

Thanks! Closed by #446


Respect baseUri for static Targets

it looks like baseUri is ignored when using a GcsTarget as static target @kdambekalns
Neos:
  Flow:
    resource:
      targets:
        googleStaticResourcesTarget:
          target: 'Flownative\Google\CloudStorage\GcsTarget'
          targetOptions:
            bucket: '%env:CLOUDSTORAGE_S3_BUCKET%'
            keyPrefix: 'statictarget/'
            baseUri: '%env:CLOUDSTORAGE_S3_PUBLICURL%'

Neos:
  Flow:
    resource:
      collections:
        static:
          target: 'googleStaticResourcesTarget'

Looks like persistentResourceUris pattern is ignored too 🙈
            persistentResourceUris:
              pattern: '{baseUri}{sha1}/{filename}'

Yes, static resource URIs are built like this: https://github.com/flownative/flow-google-cloudstorage/blob/5.3.1/Classes/GcsTarget.php#L434-L438
Slightly simpler compared to persistent URIs: https://github.com/flownative/flow-google-cloudstorage/blob/5.3.1/Classes/GcsTarget.php#L539-L578
Why is this usually not bad? Your webserver should be very fast when delivering static files. So the response time largely depends on how good the network connection is. In that case using GCS with a CDN can be faster, if your distance to the CDN edge location makes a difference. Without a CDN GCS is usually slower for static resources.
But of course the hardcoded
'https://storage.googleapis.com/' . $this->bucketName . '/' . $this->keyPrefix . $relativePathAndFilename;

could be a bit more flexible…


SR300 depth image and point cloud data is flickering in rviz

System Configuration

Version
Your Configuration

Operating System
ubuntu 14.04

Kernel
4.4.0-040400-generic

ROS
indigo

ROS RealSense
1.7.1

librealsense
1.12.0

Camera Type-Firmware
SR300

Expected Behavior
Get depth image and point cloud data in rviz
Actual Behavior
Depth image and point cloud data is flickering
Steps to Reproduce
roslaunch realsense_camera sr300_nodelet_rgbd.launch
rviz

Add /camera/depth_registered/points as PointCloud2
Add /camera/depth/image as Depth Image

Please update to the one of the released ubuntu kernels by using the steps documented on the ROS wiki:
http://wiki.ros.org/librealsense#Installation_Prerequisites
The "4.4.0-040400-generic" is not supported in the ROS environment -- that was something the librealsense team had documented a while back.

Thanks for replying.
I followed the steps mentioned in the link you provided. But the ubuntu kernel version didn't change. Can you please tell me how can I update to one of the released ubuntu kernels?

@vacky11 After the new kernel install, did you reboot to switch to the new kernel?
What kernel are you running now?
You basically need to remove that XXXX kernel image that you downloaded and installed.
Use dpkg -l | grep 4.4.0-040400 to find the packages for the old kernel, then remove those packages with sudo apt-get purge <packages>.
Here is an example from askubuntu:
http://askubuntu.com/questions/654094/how-to-roll-back-or-downgrade-kernel-on-14-04-re-wine-stopped-working

@vacky11 I see today that the step to actually update to the new kernel was not on the wiki.
Please complete that step:
http://wiki.ros.org/librealsense#Update_to_the_Xenial_kernel
Update to the Xenial kernel
sudo apt-get install linux-image-generic-lts-xenial
sudo reboot

Updating the kernel has solved the problem.
@mdhorn  Thanks a lot.

Hello,
I had exactly the same issue for both Ubuntu 14.04 and 16.04.
@vacky11 which kernel is working for you on Ubuntu 14? After upgrading 14.04 to 4.4.0-78 kernel, I cannot start my Ubuntu anymore...
@mdhorn do you know which kernel is needed for Ubuntu 16? I have 4.4.15 and depth image is flickering like in this issue

@nlyubova
For ubuntu 14.04 with kernel 4.4.0-78, it worked for me.

A hacky workaround for this type of thing is to turn up the "Decay Time" in RViz.


Removes kafkaList + updates to 29.3.14 + adds new test

Maybe we can upgrade to 30.1.3

Maybe we can upgrade to 30.1.3

Indeed. Done!


"mix3" image size coherence

Hi !
I'm using the scraper using the "mix3" image, from ScreenScraper source.
I'm assuming the image is generated by the scraper and it's not the pre-configured "mix" from SS that's grabbed, but maybe I'm wrong.
It works great, except that it seems that it does not resize the screenshot. So, some systems have a very small screenshot area, and others are much larger.
It even varies from game to game, since some screenshots are at the original resolution, and others are stretched.
Is there a way to have always the same screenshot size ? Even if it means the screenshot is stretched ?
I'm willing to spend some time working on it (despite not knowing go, it would be a way to learn it) if you point me in the direction :)
Thanks !

Hi,
You are correct that the scraper generates the mix image. At the time there wasn't a precomputed mix available from the source so if that is available, we could switch.
The existing code is in the file
https://github.com/sselph/scraper/blob/master/mix_experiment/mix.go
I threw it together one night. It has some functions that define how to overlay the images. This is the one for the mix3. It defines the overall image size and the size and position of all the elements in relation to the overall image.
https://github.com/sselph/scraper/blob/master/mix_experiment/mix.go#L78
Then the Draw function here loops through all the elements to draw them on an empty image.
https://github.com/sselph/scraper/blob/master/mix_experiment/mix.go#L145
I think you might be seeing an issue because of the resize.Thumbnail here. This resizes the image but maintains the width:height ratio. This was done for systems with screens that are taller than they are wide. It also has the side effect of not increasing the image size so if someone made a really small screenshot it wouldn't resize it to fill the space.
https://github.com/sselph/scraper/blob/master/mix_experiment/mix.go#L159
So could do something similar to this to preserve the ratio but allow the code to also scale up images if needed.
https://github.com/nfnt/resize/blob/master/thumbnail.go#L38