[BLDKCMF-19] Resolve RDK Compliance Issues

Various changes to comply with RDK licensing and resolve Blackduck issues.
Copyright headers changed from
"Copyright 2020 RDK Management"

to
"Copyright <Year> Sky UK"

Added missing headers where appropriate. Other minor changes to address compliance issues.

Copyright scan failure
Commit: bda71817a2e87a7c48a3fa38826f52cefc14929e
Report detail: https://gist.github.com/df066781a33bfe5737faa6defd0defdd

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 262 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: bda71817a2e87a7c48a3fa38826f52cefc14929e

Report detail: gist

Hi Steve,
Thank you for the impressive turnaround on a lot of files!  Here are a few places which still need attention:
Two Copyrights:
./AppInfrastructure/Common/test/source/Boolean_gtest.cpp
./AppInfrastructure/Common/test/source/ISO8601Test.cpp
./AppInfrastructure/Common/test/source/VersionNumberTest.cpp
./AppInfrastructure/Common/source/Timer.cpp
./AppInfrastructure/Public/Common/Interface.h
./daemon/process/sky-dobby.service
./daemon/init/source/InitMain.cpp
Correct License File name:
: "If not stated otherwise in this file or this component's license file the..." -replace with "...LICENSE file..."
(There are 55 of these, just use grep to locate rather than pasting the list here.)
Agreed this is a fussy point but we are trying to get this consistent across all of RDK.
Missed one file:
rdkcentral/Dobby//develop/vagrant/Vagrantfile
Sorry, I missed this while doing the scan: in README.md, line 281 rename "Licenses.txt" -> LICENSE
Thanks,
Martin

Copyright scan failure
Commit: 12982d3080e7e183b282c619d881ab64e3a26665
Report detail: https://gist.github.com/53beb99229071c58656a9448609c5ae2

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 262 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: 12982d3080e7e183b282c619d881ab64e3a26665

Report detail: gist

Copyright scan failure
Commit: 12982d3080e7e183b282c619d881ab64e3a26665
Report detail: https://gist.github.com/0f68350e3460440f46533824af7f90fc

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 262 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: 12982d3080e7e183b282c619d881ab64e3a26665

Report detail: gist

Hi Stephen,
Thank you for making the changes.  Just two small fixes that were missed:

AppInfrastructure/IpcService/test/build/component.mk line 1: ("license file" - "LICENSE file")
and
Please change LICENSE line 189 to use the generic form exactly as follows:
Copyright [yyyy] [name of copyright owner]

I will set about clearing the issues in the tools so Dobby commits should normally be compliance clean.
Thanks,
Martin

Hi Martin,
Just want to clarify what you mean for point 2 as line 189 of LICENSE currently reads:
   Copyright 2020 Sky UK

This already seems to be in the generic form of Copyright [yyyy] [owner]. I'm not sure what it should be changed to?
Thanks.

Copyright scan failure
Commit: 984dca2d520b2eab95841844783668a25f282e77
Report detail: https://gist.github.com/73f4644bd52a4073247b9b0cc126edc5

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 262 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: 984dca2d520b2eab95841844783668a25f282e77

Report detail: gist

Hi Stephen,
What I want is exactly:
Copyright [yyyy] [name of copyright owner]
meaning this exact text and no mention of a real year or Sky UK.
There's a long story around this usage and it's not a big deal here where there is only one codebase which is Apache licensed.  But often people copy one component's LICENSE as a start, so it may as well be right now from the get-go.
Thanks,
Martin

Copyright scan failure
Commit: c6cc2ad006f6933660796c34ab157ae75f5a2fdf
Report detail: https://gist.github.com/738b45ff0d0dc5bb87f444c557f62bdb

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 262 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: c6cc2ad006f6933660796c34ab157ae75f5a2fdf

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 1 file pending approval, 8 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: c6cc2ad006f6933660796c34ab157ae75f5a2fdf

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 1 file pending approval, 0 files pending identification.

Protex Server Path: /home/blackduck/github/Dobby/8/rdkcentral/Dobby

Commit: c6cc2ad006f6933660796c34ab157ae75f5a2fdf

Report detail: gist


feat: infrastructure agent amazon linux 2 repository new path

As part of the epic to install fluent-bit package as an infrastructure-agent dependency, the Amazon Linux 2 repository location is being changed.

@rubenruizdegauna could you re-create this work from a branch on this repo. The PR automated tests only run with secrets on this repo.

@rubenruizdegauna just making sure you saw my previous comment, please re-create this work from a branch on this repo. The PR automated tests only run with secrets on this repo.

@rubenruizdegauna just making sure you saw my previous comment, please re-create this work from a branch on this repo. The PR automated tests only run with secrets on this repo.

Hey @Julien4218  sorry, I skipped first one. Sure will do, thanks!


Create parent folder when it does not exist

When we set image name pattern like {{fileName}}.assets/image-{{DATE:YYYYMMDD-HHmmssSSS}}  and parent folder {{fileName}}.assets does not exist, the plugin will throw an error. It will be great if it can automatically create the parent folder.
This feature may allow  to customize the parent folder (like waht custom-attachment-location does) and automatically move image to that folder. Thanks in advance!

A possible idea: split filename with / and check if the folder exists. 🧐

This would be great to have.


[now dev] Don't run every build when a v1 builder is detected

Before this, if a v1 builder was detected then every build match was built instead of only the matches that use a v1 builder.

Codecov Report

Merging #2151 into canary will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           canary   #2151   +/-   ##
======================================
  Coverage    4.43%   4.43%
======================================
  Files         243     243
  Lines        8652    8652
  Branches      902     902
======================================
  Hits          384     384
  Misses       8251    8251
  Partials       17      17

Impacted Files
Coverage Δ

src/commands/dev/lib/dev-server.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[HOLD for payment 2024-06-13] CRITICAL: [P2P Distance] [$250] Add blue dot showing current location, and center-on-me button.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Problem:
There is no blue dot to show where the user is on the location in the map
Solution:
Should see a "blue dot" where I am on the map when doing Track distance, along with a button to center the map on my location and orient the top to be North
Context/Examples/Screenshots/Notes:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1712974874670609
Add any screenshot/video evidence

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f4462a45d6a637d7
Upwork Job ID:<PHONE_NUMBER>093390336
Last Price Increase: 2024-04-16
Automatic offers:

nkdengineer | Contributor | 0

Issue OwnerCurrent Issue Owner: @bfitzexpensify / @kadiealexander

Proposal
Please re-state the problem that we are trying to solve in this issue.

New feature:  Add blue dot showing current location, and center-on-me button.

What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?

We can add the below component to this:

                  <Marker

                        longitude={currentPosition?.longitude}
                        latitude={currentPosition?.latitude}
                    >
                        <View style={{backgroundColor: 'blue', width: 12, height: 12, borderRadius: 12}} />
                    </Marker>

What alternative solutions did you explore? (Optional)

NA

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add blue dot showing current location, and center-on-me button.
What is the root cause of that problem?
New feature
What changes do you think we should make in order to solve the problem?

Add GeolocateControl component imported from react-map-gl in here

<GeolocateControl ref={geoControlRef} showAccuracyCircle={true} />

Add below useEffect in MapView component

  useEffect(() => {
      // Activate as soon as the control is loaded
      geoControlRef.current?.trigger();
  }, [geoControlRef.current]);

What alternative solutions did you explore? (Optional)

Couple of proposals ready for review @parasharrajat - this one is CRITICAL so please review asap, thank you!

@parasharrajat Thanks for your feedback. I updated the proposal to explain the results of the changes.

Proposal
Updated Added videos for different platforms .
@parasharrajat The web package supports centering on user location functionality  but the native package not. And that's why I left the default UI for the web and use random icon for native just to show functionality. And since the description of the problem does not indicate a single icon, I did not pay attention to it

@parasharrajat I updated alternative solution

@parasharrajat Just note that @nkdengineer's alternative solution is taken from my comment above.

@shahinyan11 @parasharrajat I add the alternative solution to address the comment:

just render it on the map using native controls

Both my primary and alternative solutions share the same concept of displaying the blue dot based on the currentPosition. The difference lies in how we implement it: in my primary solution, I use Marker, whereas in my alternative solution, I use Layer. As mentioned, the choice between Marker and Layer does not significantly impact performance, since we're only displaying a single dot. Performance concerns would arise if we were to display hundreds of dots.

Just note that @nkdengineer's alternative solution is taken from my comment above.

I haven't had the chance to keep up with other contributors' comments. I've simply updated my proposal based on your latest one, and I've noticed that our main ideas are quite different.
Additionally, since you mentioned using Layer to display a blue dot, I don't think it's accurate to say that my alternative was derived from yours

Just want to add some context from an internal discussion, this is the ideal behaviour:
Blue dot at current location + "center" button that either goes:

To your location if there is no route
To contain the current route if there is one

I update proposal

@parasharrajat No. @nkdengineer's solution for centering is good.

@parasharrajat Yeah. I tested and it will unzoom and center the map

I updated the proposal to add more detail about how can we get the bounds data.
Also, I am building the native app to make sure it works cross-platform. Will update the screenshot once done.

@parasharrajat I updated the evidence videos.

Is this assigned to @nkdengineer?  what is the ETA?  This is very urgent.  Thanks!

@pecanoro can you check this ASAP so @nkdengineer can get the PR submitted?

I was assigned during the weekend, I was still getting through my daily notifications. Assigning @nkdengineer to solve the issue!

@nkdengineer please consider this as your top priority - thank you!

Sure. I am working on it

In the next 2 hours. I need to test a few cases

Can anyone give me a design for the "Blue dot" and "Center" button? @bfitzexpensify @pecanoro

We can tag the design team in the PR and have them review it in case we need to make changes

@parasharrajat PR https://github.com/Expensify/App/pull/40759 is ready. I will fulfill the checklist once the design team supply the design

Still in review!

Still in review. Adding a BZ buddy as I'll be OOO until June 11th.

Regression steps proposed in https://github.com/Expensify/Expensify/issues/404901
Payment summary:
$250 to @parasharrajat for C+ work to be paid via manual request
$250 to @nkdengineer for contributor work to be paid via Upwork
Previous posting is closed and I'm getting constant errors trying to post on Upwork. Will try again in a bit

@bfitzexpensify This is a CRITICAL-priority issue but it seems to miss the High Priority label,  could you help to add it same as this case
Thank you

Appreciate the clarification @nkdengineer.
Payment summary updated, and job offer sent via Upwork

Thanks @bfitzexpensify I accepted the offer!

Payment complete, closing this one out. Thanks everyone!

$500 approved for @parasharrajat


Out of Date

This document is out of date with current self service environments

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

ID: 6465b985-b976-a032-6f05-e540ef844f30
Version Independent ID: d13d8e4c-36cd-21ea-1113-99774093458f
Content: Batch processing and batch servers - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/sysadmin/batch-server-overview.md
Service: dynamics-ax-platform
Product: ****
Technology: ****
GitHub Login: @Peakerbl
Microsoft Alias: peakerbl

@BrianBennet, thanks for making us aware of this issue.
@Peakerbl, please update the content.

@BrianBennet, thanks for making us aware of this issue.
@Peakerbl, please update the content.

I'm no longer the PM for Batch. Right now I do not think there even is one after Reva moved on. @karimelazzouni might now the right person for this task.

I'm no longer the PM for Batch. Right now I do not think there even is one after Reva moved on. @karimelazzouni might now the right person for this task.

Hi @sericks007 , can you please let us know what is the required changes? Just to make the document SF-friendly?

Hi @BrianBennet , I have reviewed the page in question and I cannot see any sections that would not apply to self-service environments. Can you please point out the portions which you thought were outdated?

Sure
Self service environments run batch jobs on new BatchAOS server
There are no AOS1 or 2 to select
[cid:6dab6b95-aa45-4742-9198-27912af13f2f]
Brian Bennet
IT Manager
Email<EMAIL_ADDRESS>Tel: +44 (0) 1243 792600
DDI: +44 (0) 1243 792515
Mob: +44 (0) 7764 960147

From: Karim El Azzouni<EMAIL_ADDRESS>Sent: 01 February 2021 14:02
To: MicrosoftDocs/dynamics-365-unified-operations-public<EMAIL_ADDRESS>Cc: Brian Bennet<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/dynamics-365-unified-operations-public] Out of Date (#3118)
Hi @BrianBennethttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBrianBennet&data=04|01|brian.bennet%40cbg.co.uk|d3d3ab4b2cbb443711ed08d8c6ba05cc|536bbaf6f6384698ae5497632e58dd6e|0|0|637477849551821970|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=KPw7VKVfUStgJsT5tiJ5DsiLaAMBGJ7VKTrGOXskEGk%3D&reserved=0 , I have reviewed the page in question and I cannot see any sections that would not apply to self-service environments. Can you please point out the portions which you thought were outdated?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-unified-operations-public%2Fissues%2F3118%23issuecomment-770878778&data=04|01|brian.bennet%40cbg.co.uk|d3d3ab4b2cbb443711ed08d8c6ba05cc|536bbaf6f6384698ae5497632e58dd6e|0|0|637477849551831923|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=IFGuWSG4PgETy6GJ8smgZi%2B2my%2Be4qKVum1Fd1yi9HU%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASTVVC5NHPGKE2XXI3YAWYTS42X7RANCNFSM4WU4YR7Q&data=04|01|brian.bennet%40cbg.co.uk|d3d3ab4b2cbb443711ed08d8c6ba05cc|536bbaf6f6384698ae5497632e58dd6e|0|0|637477849551831923|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=YgoH23efpv%2FwK8%2FCgGMXlLYt7JqMC08PcQNfjB7DtBo%3D&reserved=0.
This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error, please destroy it immediately. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. If verification is required please request a hard copy version. Copyright of Carte Blanche Greetings Ltd 2009. All intellectual property rights, including design rights, are the property of Carte Blanche Greetings Ltd. Registered in England, no. 2265225 Registered Office: PO Box 500, Chichester, West Sussex, PO20 2XZ

Bug 552137 has been logged to track this issue.

Hey @BrianBennet , thanks for the feedback. Please note that in self-service environment; the batch instances are prefixed with BATCHAOS; but they are still enumerated as such BATCHAOS1, BATCHAOS2, etc...
There are actually environments which have more than one batch node.
The description in the documentation is only given as an example of the naming of multiple batch servers; but the concept of having more than one batch server still applies for self-servicing environments as well.


Start and stop the sqs listener based on user inputs

Question
I am working on spring boot application, it uses docker and k8s for deployment. I need to expose endpoints that would start and stop sqs listener based on user inputs, but I am not sure how to perform this job. Is there a way to disable/enable sqs listener based on user inputs?

Hi @bharatTR,
For @SqsListener containers you can inject the MessageListenerContainerRegistry and call #start and #stop on it to manage all containers, or on any of the containers themselves.
Please let us know it that works for you or if you have any questions.
Thanks.


Add subscription to config

Currently the Azure subscription ID needs to be provided with every invocation of the kedro azureml run command or needs to be set using the environment variable AZURE_SUBSCRIPTION_ID. I think it would be more consistent to add this to the configuration with an option to override via a CLI option.
Am I missing something or would a PR for this be welcome?

Initially we decided to have it in command line as it somehow "is" and "is not" a secret as per answer from https://stackoverflow.com/a/45663968/1955346 , so we decided to hide it from config. What's your opinion on that?
@em-pe  / @mwiewior maybe you can also chip in here.

Thanks for clarifying. To me the subscription ID is quite clearly not a secret as it doesn't allow you to authenticate or obtain any permissions, and is on the same level as the storage account name, resource group, ...
I can see why one would preferably not have this publicly available, but storing them in a repo should be fine. The native Azure ML config.json also stores this information.

OK, that's fine for us - you can create w PR for this :)


shouldn't auto-gen'd storage Usage should be UsageInner?

Filed here: https://github.com/Azure/azure-rest-api-specs/issues/340

Closing as we track the issue in the rest-api-specs.


How to edit MOON or DOOM

How to edit MOON or DOOM?

It's wrong so more.. :)
Thanks for your tool pro

Hi! Please, check last update. I improved predictions method and added combo multiplayer

after update:
2024-08-03 16:54:50 | INFO     | 282 - bae | Balance: 30290
2024-08-03 16:55:04 | ERROR    | 181 - bae | Unknown error while getting boosts | Error: 503, message='Service Unavailable', url=URL('https://www.okx.com/priapi/v1/affiliate/game/racer/boosts?extUserId=7255409818&t=1722678904444')
2024-08-03 16:55:04 | ERROR    | 335 - bae | Unknown error: 'NoneType' object is not iterable


Loading stuck at 0% with single photo

Hey,
I am having a problem, where vue-flux gets stuck at loading with 0% when there is only single image passed to the component.
There aren't any errors in console. Request for image is not being sent either.
Is there something wrong with what I am doing ?
Here are snippets of my code:
template:
<vue-flux                     v-if="images.length > 0"                     :options="fluxOptions"                     :images="images"                     :transitions="fluxTransitions"                     ref="slider">                 <flux-controls slot="controls"></flux-controls>                 <flux-pagination slot="pagination"></flux-pagination>             </vue-flux>             <div v-else>                 <img src="../../assets/no_image_available.svg"/>             </div>
script:
components: {     VueFlux,     FluxControls,     FluxPagination   },   data () {     return {       fluxOptions: {         autoplay: true,         enableGestures: true       },       fluxTransitions: {         transitionBook: Transitions.transitionSwipe       }     }   }
And I am passing into component this array:
["http://localhost:5000/api/advertisements/23/photos/1"]

So there isn't any workaround for this ? Guess I will have to add another v-if with  in it. I won't force users to upload at least two images ;)

Hi @Palum12 did you ever come up with a solution to this?
What I'd like to see is that if there is one image it is shown at the same size as it would have if there were multiple images but with one image there would be no transitions.
If I set $refs.slider.loaded = true in mount() I just get whitespace.
Other option is to have a v-if="images.length===1 and show and img. How would I get the same dimensions that the slider would use?


Type "monthly" does not work if day is < 10

Doesn't trigger mail

now.strftime("%d") gives back day with leading 0 if < 10.


Added afterFlush event

Use-case scenario?

For example, you cannot persist another entity in postPersist. So you schedule these updates after the lifecycle has finished and dispatch it all from the queue


Select Menu not Visible after adding it to Form

Closing for lack of action on the 0.5 version.


Appleseed x Move Frame::write() and Frame::archive() #1

Draft PR, to move Frame::write() and Frame::archive() to separate classes #42
Before I could get working on the issue of Move Frame::write() and Frame::archive() to separate classes #42, I had couple of doubts.
If these can resolved or answered by any of the moderators here, I'd be more than happy to complete this draft PR, and get to the code.
Thanks in advance!

Can I use a method of calling itself once before rendering each frame. Basically like, it'd return true on success, false otherwise.

And, maybe with the help of a function like
int Framearchive(const char* name) and then, moving this function into the main class FrameWriter class.
If it works this way, I can go write a code pertaining to it

Your PR only contains commits by @est77.

I guess I've created a PR in the wrong branch of Appleseed x. I'll rectify this error, and get back to you ASAP


Flask-AppBuilder has upgraded to 1.8.0

According to http://flask-appbuilder.readthedocs.io/en/latest/versionmigration.html#migrating-to-1-8-0 ,
this will fix flask-babel bugs under python 3.5 env.
So, when will caravel upgrade the flask-appbuilder module?

They have released 1.8.1 too

Master is pointing to it. We have a big release coming up soon with tons of good stuff.

@mistercrunch that's REALLY a good news, looking forward to the big release :+1:


Update UserGuide.adoc for v1.1

As per header.

Pull Request Test Coverage Report for Build 64

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

Totals

Change from base Build 62:
0.0%

Covered Lines:
1817

Relevant Lines:
2272

💛  - Coveralls


Add domain name registration functionality

The least thing we want is an extrinsic where a user can register a name. The name must be valid DNS name.

Needs to be billed as well: https://github.com/threefoldtech/info_specs_grid3/blob/development/wiki/specs/networking/webgateway_specs.md


azdo terraofrm task: update deprecated arm warnings

Hi,
AZDO terraform task (task: TerraformTaskV1@0) for azure has deprecated warnings for some time now.
["arm_subscription_id": [DEPRECATED] arm_subscription_id has been replaced by subscription_id
["arm_tenant_id": [DEPRECATED] arm_tenant_id has been replaced by tenant_id
["arm_client_id": [DEPRECATED] arm_client_id has been replaced by client_id
["arm_client_secret": [DEPRECATED] arm_client_secret has been replaced by client_secret
https://github.com/microsoft/azure-pipelines-extensions/blob/master/Extensions/Terraform/Src/Tasks/TerraformTaskV1/src/azure-terraform-command-handler.ts
these 4 lines need updating:
this.backendConfig.set('arm_subscription_id', tasks.getEndpointDataParameter(backendServiceName, "subscriptionid", true));
this.backendConfig.set('arm_tenant_id', tasks.getEndpointAuthorizationParameter(backendServiceName, "tenantid", true));
this.backendConfig.set('arm_client_id', tasks.getEndpointAuthorizationParameter(backendServiceName, "serviceprincipalid", true));
this.backendConfig.set('arm_client_secret', tasks.getEndpointAuthorizationParameter(backendServiceName, "serviceprincipalkey", true));
what is the process to submitt a pr to get the task updated?
regards
Richard Marchesi

there is already PR raised for this https://github.com/microsoft/azure-pipelines-extensions/pull/863. but it would break for the users who are using older version of terraform < 0.12

@AmrutaKawade great thanks, is it likely to get done soon?

@AmrutaKawade Can you please look at #889? It is solving this problem, but as it is a new version previous versions can use that version instead.

Do you know when this new version will be available?
Will this also solve the skip credentials validation warning?
Warning: "skip_credentials_validation": [DEPRECATED] This field is deprecated and will be removed in version 3.0 of the Azure Provider


Govee Smart Plug H5080 Shows as light and not switch entity

Hello,
Hoping this is an easy fix.  I recently got a bunch of Govee Smart outlets (H5080) but when I add them into HAS with the API key the entity domains are all showing as lights instead of switches.  Is there a way this can be corrected?

Did you ever find an issue to this?  I just switched all of mine H5080 from Homebridge to Home Assistant.  The device is discovered as a light and not an outlet.

Still needed

@LaggAt I was considering created a separate HACS integration for the aforementioned Govee WiFi Smart Plugs (H5080). Is that something you would consider including in this integration, or do you intend to keep this one focused solely on lights?


Getting 404 for assets in production bundile

I am creating a bundle in production mode using "npm run build:prod:aot" after adding base href in index.html it is fetching js files but resulting 404 for contents in assets folder. could you please help me out here..

was adding a base ref the only thing you changed?
if not can you show was you have changed or link your repo?

Yes I only added the base href in the index.html of the dist folder content. I did not make any changes in it, download it from git, run npm install and then after that "npm run build:prod:aot". Running the dist command the index.html in dist folder was not having any base href in it, running that dist folder content on server I was getting 404 for assets content, js files were loaded only assets content was getting 404 then I added a base tag in index.html file but that also did not work, still getting the same error.


Enable DataRow/DataRowView adapters in PowerShell Core

Fix #4232
Enable the DataRow/DataRowView adapters in PowerShell Core by moving the implementation from ExtraAdapter.cs to CoreAdapter.cs.
Add basic tests too.

Hi @daxian-dbw
Any idea when can I test this change?  Looking forward to give it a shot.
:)
Thanks,

@MaximoTrinidad The release of beta.5 will on 8/3. But you can build powershell locally to verify the fix.


Complete the Intro to AI/ML tutorial first draft

I think this should also be assigned to Maggie?

@voetberg link is dead. Can we copy/paste the notebook into this repository?


auto-highlight the first line in the history

Adds auto-highlighting of the first line in the history - as per https://github.com/dvorka/hstr/issues/95

@keithwhite Do you think that I can use this PR to implement #95, Keith? I'm just curious why you closed the PR... Thanks!

@keithwhite Do you think that I can use this PR to implement #95, Keith? I'm just curious why you closed the PR... Thanks!

Hi @dvorka - it was down to my own Git inexperience I'm afraid (first time I've done this!) ... started off with the fix to #95 and created the pull request thinking it would be for the commits up until the point I issued the request, but subsequently realised that later commits on my branch (which were for personal comfort) would also get merged.
I've also noticed a couple of instances (e.g. changing view) where it needs adding in, so let me start again - next week I'll re-do and put in a fresh pull request. Thanks!


Table of Contents; new Contenta CMS section

@Al-Rozhkov please review and make suggestions! Thanks.
You'll see in the update README I link to a commented out section in the Starter Package gridsome.config.js. Let me know if you think this is enough.

The documentation is perfectly clear.
Is it ok to use actual link to Contenta CMS api endpoint in commented out section in your starter project gridsome.config.js? Like this:
{
       use: '@gridsome/source-drupal',
       options: {
         baseUrl: 'https://live-contentacms.pantheonsite.io',
         apiBase: 'api',
         exclude: [ ...defaultExcludes ],
         routes: {
           'article': '/articles/:slug',
           'recipes': '/recipes/:title'
         }
       }
     }

Just a shortcut for newbies. Contenta CMS API seems public. What do you think?

@Al-Rozhkov changes made, I believe this is ready to merge when the gridsome team is ready

Looks good now. Thanks, @matt-e-king :)


Lime packages

Shouldn't we move *.tmbundle files and TextMate-Themes to backend\packages? Aren't they coming with limetext on installation or sth like that?
Sublime doesn't use exact *.tmbundle it uses *.sublime-package which is simplified version of the *.tmbundle and its not organized inside like having Commands, Snippets and etc in separate folders will we go with *.tmbundle?
Personally i prefer TextMate bundles they are more complete and functional.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2187942-lime-packages?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

Are there any concrete action items here? Let's make a checklist, if not lets close it

I'll make a checklist or milestone for supporting packages in lime-backend.
At this step I'll try to implement same as sublime functionality based on documentations here.


Don't rebuild the source location -> source file map every time we lookup

We forgot to update the variables that track when we need a rebuild.
Fixes rdar://105092020.

@swift-ci please smoke test


login issue

Hi,
I´m new to docker but started with Blazor few weeks ago.
I´m facing an issue during the login cycle with following message:
SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_AspNetUserRoles_AspNetUsers_UserId". The conflict occurred in database "Timinute", table "dbo.AspNetUsers", column 'Id'. The statement has been terminated.

i tried to do the manual database migration and update, but unfortunatley without success.
Do you have any idea, whats the root cause for this message?
Is it possible to see the database inside the "timinute.sql.server" docker container?

Hi,
I set up the project from scratch and didn’t have this issue. Did you run both setup scripts for Docker and the database? First, run SetupDockerSql.ps1, then MigrateDatabase.ps1. It looks like you forgot to migrate the database.
I logged in on both the master and develop branches and didn’t find any issues.


find an error

i think one line of code "new_model=True" should be added in it just as the picture shows.

no, i make an error. one line of code "new_model=False" should be added in the place just as the picture shows.

good catch


[WIP] synced icon with the latest icon sets from the octicons repo

This PR is planned to do the following:

[ ]  sync with the latest icon set
[ ] add github action for running tests
[ ] add github action to sync the icons from the octicons package weekly

[x]  sync with the latest icon set

[x] added github action to update CHANGELOG


Pass -y to conda update

Fixes #171.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b88f21a) 65.06% compared to head (f3fb76c) 63.66%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
- Coverage   65.06%   63.66%   -1.40%
==========================================
  Files           1        1
  Lines        1500     1500
  Branches      346      346
==========================================
- Hits          976      955      -21
- Misses        429      450      +21
  Partials       95       95

Files
Coverage Δ

src/datalad_installer.py
63.66% <ø> (-1.40%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


After clicking on 'revoke sessions' in Azure B2C user profile, the user still appears logged in in Node app

This issue is for a:
- [  X ] documentation issue or request

I am just learning how to do B2C authentication.
Because I have to frequently test the sign in process, I need to somehow 'sign out', so that I can 'sign in' again.
I thought that I could do this by clicking on 'revoke sessions' in Azure AD B2C > Users > User profile .
But after I do this, restart the Node app, and click on the 'Sign In' link again, 'nothing happens' - or rather the Node app returns the AuthToken value as if the user is already signed in.
Minimal steps to reproduce

Call the signin route and sign in
The user will see the redirect page (this is the desired behaviour)
Go to Azure AD B2C > Users > User profile and click on 'revoke sessions' button
Stop local Node application
Start local Node application
Call the signin route again
Nothing happens on the frontend, but in the backend Node logs the AuthToken value as if the user is already signed in

Any log messages given by the failure
There are no error messages, but calling the signin route the second time returns the AuthToken value (which it shouldn't cause the user should have been signed out).
Expected/desired behavior
When calling the signin route the second time, I am expecting to see the login form again, so the user can sign in again.
Versions
"@azure/msal-node": "^1.14.4",
"express-session": "^1.17.3",

(Edit:  I am able to call the 'signout' route to sign the user out, but would still be interested to know why revoke sessions doesn't force sign the user out)

@oshihirii
Thank you for your feedback! The code sample provides a way to sign out a user. Currently, Azure AD B2C doesn't support user session revocation from the Azure portal. However, you can achieve this task by using Microsoft Graph PowerShell or Microsoft Graph API. #please-close

@oshihirii
Thank you for your feedback! The code sample provides a way to sign out a user. Currently, Azure AD B2C doesn't support user session revocation from the Azure portal. However, you can achieve this task by using Microsoft Graph PowerShell or Microsoft Graph API.


Update sphinx version to fix CI error.

To fix an error in CircleCI, I would like to upgrade Sphinx from 1.4.9 to 1.5.6.

Thanks, I will merge it after test passed.

CI failed becaus of some S3 test failed in Travis.
The cause may be change of minio behavior with new Docker image.
io.digdag.storage.s3.S3StorageTest > putReturnsMd5 FAILED
    java.lang.AssertionError:
    Expected: is "781e5e245d69b566979b86e28d23f2c7"
         but: was "f53be0b5b592614e01a332348f80d593-1"
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert.assertThat(Assert.java:923)
        at io.digdag.storage.s3.S3StorageTest.putReturnsMd5(S3StorageTest.java:71)

I guess we need to downgrade minio or modify the tests.

Fix above error with minio.RELEASE.2019-01-23T23-18-58Z


⚠ Samsung has degraded performance

In ee4efb5, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3567 ms

Resolved: Samsung performance has improved in 12ba072.


Let's Swift 5.0 🚀

TL;DR

Migrate to Swift 5 grammar
Update project settings
Bump RxSwift dependency to 4.5.0

Hi @devxoul ,
I think we need to cut a new release for 5.0. I'm fine with that. But we can't keep the same major version. Can you please update the major version?

@kzaher, sure. Do you want me to include the version bump commit in this PR?

@kzaher, sure. Do you want me to include the version bump commit in this PR? Yep, that would be great.

@kzaher

Made Diff memoize hashValue with the property name cachedHashValue (since hashValue is reserved in Hashable)
Bumped version to 4.0.0

@devxoul @kzaher Can you make this work with RxSwift 5 instead?

@pddkhanh We will, need to release it first.


[BUG?] ZenMode doesnt disable GitSigns

Similarly to #11, entering ZenMode doesnt disable gitsigns for me. I've tried both gitsigns enabled = true and enabled = false just in case, but it doesnt make a difference. I've also tried loading the plugin after gitsigns in my packer config. The plugin that Im using is lewis6991/gitsigns.nvim.
Changing other settings like width or twilight work propperly.

PD: Im using Aniseed to configure vim in fennel. It should't make a difference at all.

same problem

plugins shouldn't be under window. Please check the docs

True, completely my bad sorry


What should be the crate structure

Looking at https://docs.rs/assert_fs/0.3.0/assert_fs/, what should be imported to top-level and what shouldn't?
Examples

It'd be nice if the docs listed all top-level stuff together.
assert contains details that aren't as relevant for most users and shouldn't be top-level

Closed by #35


Converting OpenStruct to Ruby hash

Firstly, thanks for this patch in the original repo. I've already started using this in production and it's unlocked possibilities previously not capable.
Through testing I found that the pagination data passed to Liquid would be unreadable because it would still be an OpenStruct which appears to be incompatible with Liquid. It can iterate over paginate.posts, but cannot read the keys/values of each item. I might be missing something here, and if I am please let me know.
To mitigate my specific issue I've make a change to map any OpenStructs to native Ruby hashes at the last step before the plugin hands off data to Liquid. I've tested and this doesn't break compatibility with old style, non-data posts.

Thanks - I'll take a look this evening. I've got a Jekyll site that has data pagination and regular pagination, so I can do some reasonable testing.
I had a bad second try at making the data & regular collection pagination compatible, so a second pair of eyes is more than welcome :)

I looked at this last night, and there's definitely an issue when a site has data pagination and regular pagination.
I've got a test site that has both. This is the custom data page:
# pagination for a music.md page driven via _data/music.json
layout: page
title: Music I've liked
permalink: /music-i-like/
pagination:
  enabled: true
  per_page: 5

And this is a regular Jekyll tags page:
---
# pagination for posts tagged with bash
layout: page
title: Tags
permalink: /tags/
pagination:
  enabled: true
  tag: bash
  permalink: '/page/:num/'
  per_page: 5

The data pagination works fine - I get 49 pages of paginated music data, and it also generates 3 paginated pages of bash tags for post pagination pages. But this is where the bug is...
The first paginated page /tags/index.html has bash posts on, but pages 2 & 3: /tags/page/2/index.html and /tags/page/3/index.html, have music data content, not post content, so I think I'm mixing/overwriting the page array somewhere. Will do some more tests tonight.

Been a bit busy, so haven't had a chance to properly look yet


Still alive?

Is the library still alive or decaying?

It is very much alive, is there anything specifically you'd like to be done?

Sorry maybe used the wrong way. Just wanted to be sure cause it wasn't changing that much anymore and I was suggesting it to people :)


Fails to install gem on Windows 11

Operating System
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621

Ruby +DevKit
ruby:
  path: C:/tools/ruby30
  version: 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x64-mingw32]
  platform: x64-mingw32
  cc: gcc.exe (Rev2, Built by MSYS2 project) 11.2.0
ruby_installer:
  package_version: 3.0.3-1
  git_commit: 981867a
msys2:
  path: c:\msys64
sh: GNU bash, version 5.2.9(1)-release (x86_64-pc-msys)
os: Microsoft Windows [Version 10.0.22621.2861]

Prism fails to install when building native extentions:
> gem install prism
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing prism:
        ERROR: Failed to build gem native extension.

    current directory: C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/prism-0.19.0/ext/prism
C:/tools/ruby30/bin/ruby.exe -I C:/tools/ruby30/lib/ruby/3.0.0 -r ./siteconf20231221-29380-17fq2o.rb extconf.rb
checking for prism.h in C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/prism-0.19.0/include... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/tools/ruby30/bin/$(RUBY_BASE_NAME)
C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:471:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:613:in `try_cpp'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:1177:in `block in find_header'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:971:in `block in checking_for'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:361:in `block (2 levels) in postpone'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:331:in `open'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:361:in `block in postpone'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:331:in `open'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:357:in `postpone'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:970:in `checking_for'
        from C:/tools/ruby30/lib/ruby/3.0.0/mkmf.rb:1176:in `find_header'
        from extconf.rb:62:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/tools/ruby30/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/prism-0.19.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/tools/ruby30/lib/ruby/gems/3.0.0/gems/prism-0.19.0 for inspection.
Results logged to C:/tools/ruby30/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/prism-0.19.0/gem_make.out

Content of C:/tools/ruby30/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/prism-0.19.0/mkmf.log:
"gcc -o conftest.exe -IC:/tools/ruby30/include/ruby-3.0.0/x64-mingw32 -IC:/tools/ruby30/include/ruby-3.0.0/ruby/backward -IC:/tools/ruby30/include/ruby-3.0.0 -I. -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -O3 -fno-fast-math -fstack-protector-strong conftest.c  -L. -LC:/tools/ruby30/lib -L. -pipe -s -fstack-protector-strong
-m64   -lx64-msvcrt-ruby300  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

Note that upon switching to ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt] , gem was successfully installed.

It's saying You have to install development tools first. on the first one, can you try installing other C extension gems on that version of Ruby to see if it is able to install? I'm trying to narrow down if this is just prism or if it's the installation of that version of Ruby on your machine.

I could install prism with latest version of RubyInstaller2 and Windows 11 Pro.
PS C:\Users\hsbt> ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x64-mingw-ucrt]
PS C:\Users\hsbt> gem -v
3.5.3
PS C:\Users\hsbt> gem i prism
Fetching prism-0.19.0.gem
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
Successfully installed prism-0.19.0
Parsing documentation for prism-0.19.0
Installing ri documentation for prism-0.19.0
Done installing documentation for prism after 31 seconds
1 gem installed

Thanks @hsbt - @iuliu-burtoiu we've not been able to reproduce this, so I'm going to close this for now. If you can reproduce it reliably let me know!

We have the same error on ruby 3.1.4.

@dillonbarker-te have you tried the suggested steps of installing other native gems?

Hey, I'm unable to install prism either, but on Windows 10 instead. Tried installing another native C gem, openssl and that worked. Tried using older versions of prism yesterday, and it wouldn't work passed version 0.17.1. The error message is different though, as it doesn't instruct me to do anything, unlike OP where they were told to install the development tools. Should I open a new issue for this?


Remove --http-port flag from all quit references

Figured I already had everything open and running, so I'd just check everything for references of quit using the --http-port flag (i.e. regex search for quit(.+)?--http-port). Only one other page referred to the flag.
On stop-a-node.md:

Removed --http-port flag reference
Inserted --port flag reference using the definition from start-a-node.md as a reference
Updated examples using same same format of incrementing the default port by 1

Possibly still needed?
Couldn't find any reference to --port having an environment variable that's the equivalent of --http-port's COCKROACH_HTTP_PORT

This change is

@sloisellegd, I just handled this, and similar updates for another command, in a parallel PR: https://github.com/cockroachdb/docs/pull/337. Sorry to have caused you duplicate work here. Would you mind closing this and adding any feedback/comments on 337?


Claim BCD from Trezor

Hello, what should I do in order to permit the login trough Trezor and claim my bitcoin diamond using this version of electrum?
Electrum already had a login through Trezor plugin but this repo is 318 commits behind the original repo, so any update to the trezor plugin interface is outdated. If I push the Trezor plugin updates to this repo, will we be able to claim my BCD linked to my BTC wallet on Trezor??
If it ain't possible, how can we claim bcd from trezor in a safe way, so without exposing our private keys/recovery seeds??
Thank you in advance

Electrum BCD is not support Trezor now, and will be supoorted in the future


Add CHANGEME to mysql_monitor_recipient_email

This failed the pipeline until we specified something here

@sahilm @eamonryan @chentom88 and I ran across an issue where a job failed unless we specified something here.

Thanks @scottmuc for creating this pull request.


Interface password no longer working

The password protection for the web interface is no longer working. Browser behaves like I entered a wrong username/password.

are you sure you're actually inputting the correct information? nothing has changed with the authentication system. tried another browser?

Turs out it stopped working because I recently switched to Cloudflare DNS and Cloudflare apparently breaks HTTP basic auth. Switched back to previous DNS provider and login works again.


0 Length jvm.cfg file.

When building the java-test-image, or adding IMAGE_INSTALL_append += " openjdk-7-vm-jamvm" to my local recipe, the jre/lib/arm/jvm.cfg file becomes empty.  The alternate VM's do work, however, if they are manually added to the empty file, i.e. "-jamvm KNOWN"

meta-java has moved you can find it now under
git://git.yoctoproject.org/meta-java


Packer build failed due to permission error

Hi,
I am trying to implement the vault cluster using the repo.
As first step,  I tried to create AMIs using packer, however I kept getting "permission error" in running vault-install script.
I tried many things only to fail.  So,  as a last resort,  I leave a message.
Can somebody help me with this issue?
Please refer to the log snippets below:
Thank you for your help in advance.
########
2021/01/13 13:51:26 packer.exe plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_7151.sh
2021/01/13 13:51:26 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0
2021/01/13 13:51:26 [INFO] RPC client: Communicator ended with: 0
2021/01/13 13:51:26 [INFO] RPC endpoint: Communicator ended with: 0
2021/01/13 13:51:26 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0
2021/01/13 13:51:26 packer.exe plugin: [DEBUG] Opening new ssh session
2021/01/13 13:51:26 packer.exe plugin: [DEBUG] starting remote command: sudo -S env PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-linux-2-ami'  /tmp/script_7151.sh
2021/01/13 13:51:26 packer.exe plugin: [ERROR] Remote command exited with '1': sudo -S env PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-linux-2-ami'  /tmp/script_7151.sh
2021/01/13 13:51:26 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 1
2021/01/13 13:51:26 [INFO] 109 bytes written for 'stderr'
2021/01/13 13:51:26 [INFO] 0 bytes written for 'stdout'
2021/01/13 13:51:26 [INFO] RPC client: Communicator ended with: 1
2021/01/13 13:51:26 [INFO] RPC endpoint: Communicator ended with: 1
2021/01/13 13:51:26 ui error: ==> amazon-linux-2-ami: /tmp/script_7151.sh: line 2: /tmp/terraform-aws-vault/modules/install-vault/install-vault: Permission denied
2021/01/13 13:51:26 packer.exe plugin: [INFO] 0 bytes written for 'stdout'
2021/01/13 13:51:26 packer.exe plugin: [INFO] 109 bytes written for 'stderr'
2021/01/13 13:51:26 packer.exe plugin: [INFO] RPC client: Communicator ended with: 1
2021/01/13 13:51:26 [INFO] (telemetry) ending shell
2021/01/13 13:51:26 ui: ==> amazon-linux-2-ami: Provisioning step had errors: Running the cleanup provisioner, if present...
2021/01/13 13:51:26 ui: ==> amazon-linux-2-ami: Terminating the source AWS instance...
2021/01/13 13:52:12 ui: ==> amazon-linux-2-ami: Cleaning up any extra volumes...
2021/01/13 13:52:12 ui: ==> amazon-linux-2-ami: No volumes to clean up, skipping
2021/01/13 13:52:12 ui: ==> amazon-linux-2-ami: Deleting temporary security group...
2021/01/13 13:52:12 ui: ==> amazon-linux-2-ami: Deleting temporary keypair...
2021/01/13 13:52:13 [INFO] (telemetry) ending amazon-ebs
2021/01/13 13:52:13 ui error: Build 'amazon-linux-2-ami' errored after 2 minutes 10 seconds: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]
2021/01/13 13:52:13 ui:
==> Wait completed after 2 minutes 10 seconds
2021/01/13 13:52:13 machine readable: error-count []string{"1"}
2021/01/13 13:52:13 ui error:
==> Some builds didn't complete successfully and had errors:
2021/01/13 13:52:13 machine readable: amazon-linux-2-ami,error []string{"Script exited with non-zero exit status: 1.Allowed exit codes are: [0]"}
2021/01/13 13:52:13 ui error: --> amazon-linux-2-ami: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]
2021/01/13 13:52:13 ui:
==> Builds finished but no artifacts were created.
##############

This is most likely a Windows issue related to line endings or permissions issue.
Please check the settings here:

https://stackoverflow.com/questions/10418975/how-to-change-line-ending-settings/40821931#40821931
https://stackoverflow.com/a/6476550/483528

Also, what version of Packer are you using?

This is most likely a Windows issue related to line endings or permissions issue.
Please check the settings here:

https://stackoverflow.com/questions/10418975/how-to-change-line-ending-settings/40821931#40821931
https://stackoverflow.com/a/6476550/483528

Also, what version of Packer are you using?

Could you share what you did to solve it to help other people who hit the same issue?

Could you share what you did to solve it to help other people who hit the same issue?

I used Windows OS, so it looks like there was a  problem with conversion.
I used "dos2unix" command before uploading files to Linux.   I think it resolved the issue that I had.

I used Windows OS, so it looks like there was a  problem with conversion.
I used "dos2unix" command before uploading files to Linux.   I think it resolved the issue that I had.


Reuse module validations from osbs-client

I think it is fine to bump minimal version, as for having check in ODCS, that would mean somebody would have to first do it, and another thing is it would be even slower to request additional things from ODCS than local check @twaugh what do you think?

BR osbs-client version updated in spec file.
There were no requirements  for osbs-client on requirements.txt nor on the python-atomic-reactor package (osbs-client was already required prior this PR).
Hence, those were not changed (I have seen other packager listing dependencies as optinal). If this is to be changed, I believe it would deserve another PR.
requremets-devel.txt does require osbs-client on master branch, so development environments should not be affected.

CI tests break due to latest osbs-client changes. https://github.com/projectatomic/atomic-reactor/pull/1138 fixes them

you should update as well osbs version at lines 149, 208

CI fails because test.sh tries to install packages in BuildRequires with dnf builddep. Since it cannot find the required version of osbs-client, it failt.
IMO, we should not rely on distributed versions of our packages for CI. Any ideas on how to work around that other than using sed to remove osbs-client?
@rcerven, the subpackages on those lines do not require the new osbs-client for this change. Should we change it anyway?

We are merging this without the spec file bumps until a new osbs-client version is released (January). We should update the spec file with new minumum osbs-client versions by then.

Internal changes only. No Release notes added.


Error in guidance = scglue.genomics.rna_anchored_guidance_graph(rna, atac)

Hi, sorry to bother you. When I run guidance = scglue.genomics.rna_anchored_guidance_graph(rna, atac), I got this error as follow:

pycharm The solution given is to install bedtoolds version 2.29.2 and above, but I have installed bedtools version 2.29.2.

Hi @Wang-xin-rui, thanks for your interest in GLUE! Please refer to #22 and see if the discussions there were useful.


peewee_migrate/router.py: module has no attribute 'path'

File "/Users/anaconda3/lib/python3.6/site-packages/peewee_migrate/router.py", line 277, in _import_submodules
if set(package.path) & passed:
AttributeError: module 'model' has no attribute 'path'

Exception has occurred: AttributeError module 'model' has no attribute '__path__'   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/site-packages/peewee_migrate/router.py", line 282, in _import_submodules     if set(package.__path__) & passed:   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/site-packages/peewee_migrate/router.py", line 268, in load_models     modules = _import_submodules(module)   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/site-packages/peewee_migrate/router.py", line 85, in <listcomp>     models = [m for module in modules for m in load_models(module)]   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/site-packages/peewee_migrate/router.py", line 88, in create     return self.logger.error("Can't import models module: %s", auto)   File "/Users/dev/Documents/python/base/pw_migrate.py", line 8, in <module>     router.create(auto=model)   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/runpy.py", line 85, in _run_code     exec(code, run_globals)   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/runpy.py", line 96, in _run_module_code     mod_name, mod_spec, pkg_name, script_name)   File "/Users/dev/.pyenv/versions/3.6.5/lib/python3.6/runpy.py", line 263, in run_path     pkg_name=pkg_name, script_name=fname)
migrate.py
`import model
from peewee_migrate import Router
model.database.connect()
router = Router(model.database,ignore='basemodel')
router.create(auto=model)
router.run
model.database.close()`
I get  same error .

Same here with python3.5 :/:
Traceback (most recent call last):
  File "/bin/pw_migrate", line 10, in <module>
    sys.exit(cli())
  File "/lib/python3.5/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/lib/python3.5/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/lib/python3.5/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/lib/python3.5/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/lib/python3.5/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/lib/python3.5/site-packages/peewee_migrate/cli.py", line 84, in create
    router.create(name, auto=auto)
  File "/lib/python3.5/site-packages/peewee_migrate/router.py", line 85, in create
    models = [m for module in modules for m in load_models(module)]
  File "/lib/python3.5/site-packages/peewee_migrate/router.py", line 85, in <listcomp>
    models = [m for module in modules for m in load_models(module)]
  File "/lib/python3.5/site-packages/peewee_migrate/router.py", line 268, in load_models
    modules = _import_submodules(module)
  File "/lib/python3.5/site-packages/peewee_migrate/router.py", line 282, in _import_submodules
    if set(package.__path__) & passed:
AttributeError: module 'app.models' has no attribute '__path__'

I'm still having this exact same issue today.


Separate Contribution Level From Administration Level

User story
Core Contributor should be marked as such on the collective but should not have Administration rights as it's outside the contributors role in the collective. This also helps with minimizing possible "going rogue" situations if a member of a collective decides they want to harm their collective in any way.
Best solution for this problem
Add a 2nd drop down for "access level" or a way to assign different roles (like copy editing, tier management, expense management).

Yes, we currently have an issue with WWCode that are adding the collective director's as contributors (without admin rights) and they are not showing up in the contributor list.
cc/ @xdamman

I agree it would be nice to have.
Not a simple project though. It will touch on a lot of things in the code.

This should be fixed based on the decision we made to eliminate 'contributors' as a category of team member, and instead have only 'core contributors' and a seperate setting to designate which of them are also admins.


Add support for Bridging header to Flutter Plugin

I was making a Flutter plugin and realised that there is no support for a bridging header to call Obj-C code in Swift for a Flutter plugin. Please add this as a feature because it makes it impossible for developers who know Swift but not Obj-C to make iOS Flutter plugins. Thanks!

Hi @arnavvaryani
Please checkout this possible solution
Thank you

Hi, I have tried this but it doesn't solve my problem, and it doesn't work for all CocoaPod dependencies, its a workaround but not a solution

This isn't a Flutter issue.  Include of non-modular header inside framework module ' is because https://github.com/TapResearch/TapResearch-iOS-SDK/tree/master/TapResearchSDK.framework/Versions/A doesn't support clang modules, which is required to import from Swift.  You can create your own Objective-C plugin bridging headers and set them up in your podspec.

@jmagman The plugin doesn't contain a Bridging header unlike the ios folder a Flutter app. The error comes not only for TapResearch but for other obj-c files I try to import in the .h file of the plugin as well. As I mentioned earlier this was my work-around due to the missing Runner-Bridging-Header.h file of the Flutter plugin template

@arnavvaryani You can add any files you want to your plugin, including a bridging header.  You don't need to just use the default plugin template.

@jmagman Could you suggest how do I add a modulemap for only an Obj-C supported dependency?

@arnavvaryani The dependency itself would need to add the support, so I gather in your case that would be a job for the TapResearchSDK maintainers to become good framework citizens and support Swift.  Since they don't support it, you need to add the bridging header yourself and add it to your CocoaPods podspec.
But Flutter shouldn't need to automatically add a bridging header for Swift plugins, it's up to the plugin authors to decide they need it.

So if TapResearch adds a modulemap it will get recognised in the flutter plugin .h file itself?

Oh, you're trying to import it from your .h, not your Swift file?  That should just work without a bridging header.  I just tried it and it builds fine:
  s.dependency 'TapResearch', '2.0.11'

#import <Flutter/Flutter.h>
#import <TapResearchSDK/TapResearchSDK.h>

@interface TestPlugin : NSObject<FlutterPlugin>
@property TRReward *reward;
@end

To import it to your Swift file either TapResearch needs to add a modulemap, or you need to add a bridging header.

Could you show an example as to how to add a bridging header in a Flutter plugin to call an Obj-C header file in Swift code?

@arnavvaryani I think that's a question for Stack Overflow or another help group.  It's a CocoaPods question, not specific to Flutter.

So this question was asked on Stack before - https://stackoverflow.com/questions/52932436/how-to-add-bridging-header-to-flutter-plugin, but no one seems to have a solution for it. If possible could you give some clarity on this answer?

I'll reopen this as a documentation issue.

@arnavvaryani The link you added already has the answer https://stackoverflow.com/a/60262749.  Look for CocoaPods answers, not specific to Flutter plugins.

Hi @jmagman, so I tried defining the modulemaps myself and it worked perfectly, sorry for all the trouble! Thanks a lot for your help.


OnActivityResult VideoPicker

please help me,
i got some error onActivityResult videopicker.
java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference
for imagepicker, is going so good for me.
but, for videopicker, i got some error like this.
please help me, or fix this bug.

I'll look to it.

it should be fixed with version 2.3.0 #22


refactor(ci): use docker instead of Konlet for GCP deployments in CI

Motivation
This is a workaround for an issue related to disk partitioning, caused by a GCP service called Konlet, while mounting the cached disks to the VM and then to the container.
This has been causing most integration tests to fail when a disk with cached state is needed.
Fixes: #4114
Fixes: #4265
Depends-On: #4254
Solution

Do not run our tests directly by GCP services, instead  manually create a container inside the VM with docker

** Drawbacks **

We won't have the container logs available in GCP, but this is not as important as having the logs available in GitHub Actions, and we're not yet using GCP for reporting.

Review

Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work
Follow up with GCP support ticket to confirm if there's a fix or an unknown workaround which doesn't require us to stop using Konlet.

I've confirm we'll have to use this workaround. The solutions given (which fixed other issues) didn't fix this one.

@teor2345  I've removed everything that's not related to this PR

After merging

https://github.com/ZcashFoundation/zebra/pull/4266

This is the most relevant PR to get lightwalletd CI working


feat: support alter column for table with source

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
While altering column for table with source, this pr will reuse the original source actors by
making original source related fragment as upstream.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Ping me if this PR is ready for review. 🥰


Rustup lists commands multiple times

Problem

Typing rustup prints the commends self and set twice.
Steps

Type rustup
Observe the output

rustup 1.18.0 (8603e2c56 2019-04-22)
The Rust toolchain installer

USAGE:
    rustup [FLAGS] <SUBCOMMAND>

FLAGS:
    -v, --verbose    Enable verbose output
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    show           Show the active and installed toolchains
    update         Update Rust toolchains and rustup
    default        Set the default toolchain
    toolchain      Modify or query the installed toolchains
    target         Modify a toolchain's supported targets
    component      Modify a toolchain's installed components
    override       Modify directory toolchain overrides
    run            Run a command with an environment configured for a given toolchain
    which          Display which binary will be run for a given command
    doc            Open the documentation for the current toolchain
    man            View the man page for a given command
    self           Modify the rustup installation
    set            Alter rustup settings
    self           Modify the rustup installation
    set            Alter rustup settings
    completions    Generate completion scripts for your shell
    help           Prints this message or the help of the given subcommand(s)

DISCUSSION:
    rustup installs The Rust Programming Language from the official
    release channels, enabling you to easily switch between stable,
    beta, and nightly compilers and keep them updated. It makes
    cross-compiling simpler with binary builds of the standard library
    for common platforms.

    If you are new to Rust consider running `rustup doc --book` to
    learn Rust.

Possible Solution(s)

Notes
Output of rustup --version: rustup 1.18.0 (8603e2c56 2019-04-22)
Output of rustup show:
Default host: x86_64-apple-darwin

installed toolchains
--------------------

stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

nightly-x86_64-apple-darwin (default)
rustc 1.36.0-nightly (6d599337f 2019-04-22)

I can confirm this on Linux too.  Interesting.  Thanks for the report

Looks like a bit of a snafu from when we rationalised some of the code, I'll sort a PR to fix this in a few mins.


Allow offline bootstrapping

Is your feature request related to a problem? Please describe.
Yes, I would like to bootstrap vcpkg on a server without Internet access but it fails with the following error:
$ ./bootstrap-vcpkg.sh
Downloading vcpkg-glibc...
curl: (6) Could not resolve host: github.com; Unknown error

There might be other errors as well after this one, but I wouldn't know because the bootstrapping fails at this point.
Proposed solution
I can think of a couple solutions:

Bundle vcpkg-glibc with vcpkg so that it does not need to be downloaded separately.
Add a way to point bootstrap-vcpkg.sh to a local version of vcpkg-glibc (or if this functionality already exists, then print out instructions for activating it when bootstrap-vcpkg.sh fails to download vcpkg-glibc).

Describe alternatives you've considered
I've considered maintaining an offline fork of vcpkg that includes all online dependencies, but this is suboptimal for many reasons, such as:

I have to modify .gitignore so that it does not ignore required dependencies.
The size of the forked repository becomes huge with all of the dependencies checked in.
Maintenance burden of resolving conflicts when pulling from upstream to the fork.

I think you may need to store vcpkg binaries from vcpkg-tool, then download it internal and just rename it to vcpkg. Don't forgot to set permission.
The reason vcpkg is separated from vcpkg-tool is that we don't want a version correspondence.

Thanks for the hint. I just tried building vcpkg-tool offline using cmake and it also failed due to online dependencies, specifically https://github.com/fmtlib/fmt/archive/refs/tags/8.1.1.tar.gz.
Should I submit another issue on the vcpkg-tool repository to add support for offline builds?

If you are using an offline environment, pre-stored binaries are more appropriate I think.

Ok, thank you. I will close this issue for now.


[feature] add function to check file exists

Should implement exists(path: &str) function for:

[x] local storage
[x] http remote
[x] s3 remote

Addressed in #47


Open Source @sap/di.code-validation.js and provide as eslint-plugin

I've noticed that SAP Web IDE uses a SAPUI5/Fiori-specific set of eslint-rules. Those eslint rules are placed in the npm module @sap/di.code-validation.js. As far as I understood it mainly consists of eslint-rules and a custom runner to validate against those rules (which is used in the default grunt-build of some template projects).
I think both the community of SAP developers and customers as well as SAP itself would benefit from having these eslint rules open sourced.
Furthermore it would be a great improvement to have those rules easily consumable as an eslint plugin.
Didn't know where else to address this. Please forward or let me know where to post this feedback.
Thanks and BR
Chris

Forwarded internally for dicussion via #1970273725
And if you are interested, https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/CF/en-US/a3d3182aa1044cf3a0aa577158a977d6.html

Hello @cschuff ,
The reported issue is a feature request that should be addressed by Web IDE.
Please create a feature request in the Web IDE  Customer Influence page: https://influence.sap.com/sap/ino/#/campaign/909
Regards,
Michal

@michawai , why do you say, it is a WebIDE topic?
The feature request in OP was about having the sap-* linting rules available as an eslint plugin. No matter if executed in WebIDE or not.
In particular, this should become a part of SAP UI5 Tooling, shouldn't it?

If you do not mind I opened a separate request for the UI5 tooling: https://github.com/SAP/ui5-tooling/issues/212

A possible solution I have mentioned here

@avizov , please handle.

currently, we are not planning to expose  @sap/di.code-validation.js as an open-source. for further feature request, please use https://influence.sap.com/sap/ino/#/campaign/909 or contact the team product owner


Individual queries don't get removed from the outline view when deleted from the SQL editor

Description
https://github.com/dbeaver/dbeaver/assets/35821147/437e3371-8939-4dcb-938f-a24b8720f238
DBeaver Version
DBeaver 23.3.3
Operating System
No response
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Can't reproduce the issue.


stats: Improve error message for bad snapshot ID (fixes #1933)

What is the purpose of this change? What does it change?
Improves the error handling when restic stats is given a bad snapshot ID.
Was the change discussed in an issue or in the forum before?
Fixes #1933
Replaces #1936
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Not sure if you really need the changelog file for a minor text change -- let me know if that's the case.

Codecov Report

Merging #1942 into master will decrease coverage by 4.5%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1942      +/-   ##
==========================================
- Coverage   50.56%   46.06%   -4.51%
==========================================
  Files         170      170
  Lines       13213    13213
==========================================
- Hits         6681     6086     -595
- Misses       5529     6180     +651
+ Partials     1003      947      -56

Impacted Files
Coverage Δ

internal/restic/backend_find.go
47.22% <ø> (ø)
:arrow_up:

cmd/restic/cmd_stats.go
3.96% <0%> (ø)
:arrow_up:

internal/backend/b2/b2.go
0% <0%> (-78.54%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-73.61%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/backend/s3/s3.go
60.15% <0%> (-2.26%)
:arrow_down:

internal/archiver/file_saver.go
88.59% <0%> (+2.63%)
:arrow_up:

Continue to review full report at Codecov.

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


Add  web push notification.

Individual issue of #3316
Is your feature request related to a problem? Please describe.
Add web push notifications for users.
Describe the solution you'd like
I like to use firebase push notifications.
Are you working on this? (Yes/No)
Yes

@vedant-jain03 can you please assign this ?

This one's a part of GSOC'22 project, pull

Ohh 👀
On Tue, 27 Dec 2022, 11:53 Vaibhav Upreti, @.***> wrote:

This one's a part of GSOC'22 project, pull
https://github.com/CircuitVerse/CircuitVerse/pull/3273
—
Reply to this email directly, view it on GitHub
https://github.com/CircuitVerse/CircuitVerse/issues/3439#issuecomment-1365645299,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANVU24UFQ4IISL2XYYFE3HDWPKDPZANCNFSM6AAAAAATKDMYD4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Configure sampling interval via environment variables and per-url manifest targets

I discovered canaryd a few days ago and have been evaluating it for a project I am helping on. I have been very happy with the project and want to contribute to it on some missing features. I found it lacking that the check interval is hard coded into the source, and cannot be defined per-target for canaryd.
This patch adds support for tuning the sample interval rates in both canary and canaryd, as well as allowing targets to have independent interval rates as defined in the Manifest JSON.
I am relatively new to Golang, so let me know if I have gaping issues, or the changes in here do not follow the style for canary. If this looks good, I will have other PRs for canary as there are some other things I would like to extend.
Thanks

<3!!
Thanks so much.  This is great, and I look forward to future PR's ;)


Only Southbound API displayed on swagger-ui

When I opened the swagger-ui and found only Southbound API is displayed.

Discussed with @wangzhizheng, the programmatic system is installed from debian package, the version is:
root@RackHD:/var/renasar/on-http# cat commitstring.txt
137bb9d.2016-08-25 15:38:01 -0700.Merge pull request #439 from VulpesArtificem/rack-event

I guess the swagger-ui installation fails while building debian package.

When I disabled my firewall and restart the on-http service, all api displayed on the swagger-ui.
I think it is caused by my firewall configuration.

@yyscamper @wangzhizheng This issue has been observed a number of different times under different circumstances.  We definitely should investigate it.  I think I'd start with removing the southbound swagger file altogether since it is not used.

link to story in the Stryker backlog:
https://www.pivotaltracker.com/story/show/129367841

I've seen this in the past too (probably the mention that @brianparry was referencing). Wasn't able to get a consistent reproduction of the issue, and noted that when I restarted the services, this sometimes disappeared. My hypothesis is that swagger-ui doesn't like to represent multiple endpoints in its documentation - only shows one (north or south), in a non-deterministic fashion


Fake profile generator: Ooops, fake profiles are all gone

So I generated about 50 profiles with pictures. Then i did a bulk generator of about 250 profiles, no pictures, etc. Once i realized the profiles had the "website" and "social media" questions, I went through and deleted ALL of the profiles I generated because i don't want those options to be included when new users are completing a profile. (not everybody has a website and not everyone even wants to reveal their social profile publicly, so why are they even in there anyways, and apparently those questions cannot be removed?? I'd love to know how others have dealt with this issue.)
When i tried to generate fake profiles again, i get this message:
" Internal Server Error
The server encountered an error. This is most often caused by a scripting problem, a failed database access attempt, or other similar reasons.
If you are the administrator of the site, please go to your admin panel -> Tools -> Environment Mode and set to "Development", then go back here to see the details of the error. "
Which I did, and the error is:

" Message:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'middleName' in 'field list'

File:
/home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php

Line:
752

Trace:
#0 /home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php(752): PDOStatement->execute() #1 /home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php(718): PH7\UserCoreModel->setInfoFields(Array) #2 /home/cooperas/public_html/_protected/app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php(52): PH7\UserCoreModel->add(Array) #3 /home/cooperas/public_html/_protected/app/system/modules/admin123/forms/AddFakeProfilesForm.php(21): PH7\AddFakeProfilesFormProcess->__construct() #4 /home/cooperas/public_html/_protected/data/cache/pH7tpl_compile/admin123_15f5f0903451a8aa7294045e7e214a26/base/user/addfakeprofiles.cpl.php(19): PH7\AddFakeProfilesForm::display() #5 /home/cooperas/public_html/_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(361): require('/home/cooperas/...') #6 /home/cooperas/public_html/_protected/data/cache/pH7tpl_compile/public_main/base/layout.cpl.phplayout.cpl.php(19): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('user/addfakepro...', '/home/cooperas/...') #7 /home/cooperas/public_html/_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(361): require('/home/cooperas/...') #8 /home/cooperas/public_html/_protected/framework/Mvc/Controller/Controller.class.php(83): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('layout.tpl', '/home/cooperas/...') #9 /home/cooperas/public_html/_protected/app/system/modules/admin123/controllers/UserController.php(108): PH7\Framework\Mvc\Controller\Controller->output() #10 [internal function]: PH7\UserController->addFakeProfiles() #11 /home/cooperas/public_html/_protected/framework/Mvc/Router/FrontController.class.php(660): ReflectionMethod->invokeArgs(Object(PH7\UserController), Array) #12 /home/cooperas/public_html/_protected/framework/Mvc/Router/FrontController.class.php(618): PH7\Framework\Mvc\Router\FrontController->runController() #13 /home/cooperas/public_html/_protected/app/Bootstrap.php(97): PH7\Framework\Mvc\Router\FrontController->runRouter() #14 /home/cooperas/public_html/index.php(46): PH7\Bootstrap->run() #15 {main} "

Can you please tell me which folder or files (and the path to get to it) I should re-upload to get the profiles back in order to regenerate fake profiles with pictures?
Thank you.

Hey @CooperAshley2
THanks very much for your message.
Can you please try to update your _protected/app/system/core/models/UserCoreModel.php file to these changes below
https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/270a4c51ff1fcee6a9c271545792c377fc38249f
It should work again :)

Oops, sorry. I meant this changes https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/a0d98bd91fb35473ceca87e19d661eeeba9cd427

Hey @CooperAshley2
THanks very much for your message.
Can you please try to update your _protected/app/system/core/models/UserCoreModel.php file to these changes below
https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/a0d98bd91fb35473ceca87e19d661eeeba9cd427
It should work again :)

Hello, thanks for responding. I replaced the lines in my file with those in your file and now it's showing this error:

Message:
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens

File:
/home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php

Line:
754

Trace:
#0 /home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php(754): PDOStatement->execute() #1 /home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php(718): PH7\UserCoreModel->setInfoFields(Array) #2 /home/cooperas/public_html/_protected/app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php(52): PH7\UserCoreModel->add(Array) #3 /home/cooperas/public_html/_protected/app/system/modules/admin123/forms/AddFakeProfilesForm.php(21): PH7\AddFakeProfilesFormProcess->__construct() #4 /home/cooperas/public_html/_protected/data/cache/pH7tpl_compile/admin123_15f5f0903451a8aa7294045e7e214a26/base/user/addfakeprofiles.cpl.php(19): PH7\AddFakeProfilesForm::display() #5 /home/cooperas/public_html/_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(361): require('/home/cooperas/...') #6 /home/cooperas/public_html/_protected/data/cache/pH7tpl_compile/public_main/base/layout.cpl.phplayout.cpl.php(19): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('user/addfakepro...', '/home/cooperas/...') #7 /home/cooperas/public_html/_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(361): require('/home/cooperas/...') #8 /home/cooperas/public_html/_protected/framework/Mvc/Controller/Controller.class.php(83): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('layout.tpl', '/home/cooperas/...') #9 /home/cooperas/public_html/_protected/app/system/modules/admin123/controllers/UserController.php(108): PH7\Framework\Mvc\Controller\Controller->output() #10 [internal function]: PH7\UserController->addFakeProfiles() #11 /home/cooperas/public_html/_protected/framework/Mvc/Router/FrontController.class.php(660): ReflectionMethod->invokeArgs(Object(PH7\UserController), Array) #12 /home/cooperas/public_html/_protected/framework/Mvc/Router/FrontController.class.php(618): PH7\Framework\Mvc\Router\FrontController->runController() #13 /home/cooperas/public_html/_protected/app/Bootstrap.php(97): PH7\Framework\Mvc\Router\FrontController->runRouter() #14 /home/cooperas/public_html/index.php(46): PH7\Bootstrap->run() #15 {main}

Hello, thanks for responding. I replaced the lines in my file with those in your file and now it's showing this error:
Message:	SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
File:	/home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php
Line:	754
Trace:	#0 /home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php(754): PDOStatement->execute() #1 /home/cooperas/public_html/_protected/app/system/core/models/UserCoreModel.php(718): PH7\UserCoreModel->setInfoFields(Array) #2 /home/cooperas/public_html/_protected/app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php(52): PH7\UserCoreModel->add(Array) #3 /home/cooperas/public_html/_protected/app/system/modules/admin123/forms/AddFakeProfilesForm.php(21): PH7\AddFakeProfilesFormProcess->__construct() #4 /home/cooperas/public_html/_protected/data/cache/pH7tpl_compile/admin123_15f5f0903451a8aa7294045e7e214a26/base/user/addfakeprofiles.cpl.php(19): PH7\AddFakeProfilesForm::display() #5 /home/cooperas/public_html/_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(361): require('/home/cooperas/...') #6 /home/cooperas/public_html/_protected/data/cache/pH7tpl_compile/public_main/base/layout.cpl.phplayout.cpl.php(19): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('user/addfakepro...', '/home/cooperas/...') #7 /home/cooperas/public_html/_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(361): require('/home/cooperas/...') #8 /home/cooperas/public_html/_protected/framework/Mvc/Controller/Controller.class.php(83): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('layout.tpl', '/home/cooperas/...') #9 /home/cooperas/public_html/_protected/app/system/modules/admin123/controllers/UserController.php(108): PH7\Framework\Mvc\Controller\Controller->output() #10 [internal function]: PH7\UserController->addFakeProfiles() #11 /home/cooperas/public_html/_protected/framework/Mvc/Router/FrontController.class.php(660): ReflectionMethod->invokeArgs(Object(PH7\UserController), Array) #12 /home/cooperas/public_html/_protected/framework/Mvc/Router/FrontController.class.php(618): PH7\Framework\Mvc\Router\FrontController->runController() #13 /home/cooperas/public_html/_protected/app/Bootstrap.php(97): PH7\Framework\Mvc\Router\FrontController->runRouter() #14 /home/cooperas/public_html/index.php(46): PH7\Bootstrap->run() #15 {main}

Very good! You are almost there. Could you also add this changes in that file?
https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/270a4c51ff1fcee6a9c271545792c377fc38249f

So, remove
$rStmt->bindValue(':middleName', (!empty($aData['middle_name']) ? $aData['middle_name'] : ''), \PDO::PARAM_STR);

in _protected/app/system/core/models/UserCoreModel.php, line 742

It worked beautifully! Thanks again!!


[QUESTION] Why does +ivy/switch-workspace-buffer not show EXWM buffers?

I'm using EXWM and when I invoke +ivy/switch-workspace-buffer, buffers of X windows are excluded. +ivy/switch-buffer still shows them. Should I pose this question to the EXWM maintainer or is this a missconfiguration of doom?

I've never used EXWM, so I can only guess that EXWM buffers are named like temporary buffers, i.e. with a leading space or asterix, e.g. *EXWM buffer*. As far as Doom is concerned, these are not "real" buffers, and SPC b b (+ivy/switch-workspace-buffer) only lists real buffers associated with the current workspace.
To get Doom to recognize these buffers, the easiest way is to add doom-mark-buffer-as-real-h to the hook of whatever mode exwm uses for its buffers. Again, not an exwm user, so assuming something like exwm-buffer-mode exists, then this would work:
(add-hook 'exwm-buffer-mode-hook #'doom-mark-buffer-as-real-h)

For detalis on how Doom determines if a buffer is "real", see SPC h f doom-real-buffer-p (or C-h f doom-real-buffer-p if you aren't an evil user).

That worked for me, thanks.
a first class citizen in Doom

It doesn't seem like that does the trick for me. None of the X windows start with *.
Here is a screenshot from regular ivy-switch-buffer which displays X windows (e.g. Firefox, or the gnome-control-center).

@WhatDothLife can you confirm that @hlissner's solution is still working for you?
I have also found this reddit post with a proposed solution, which didn't work for me their. Hopefully this will help me to find a solution.
In the meantime I have remapped SPC b b and SPC . to ivy-switch-buffer.
One last thing, it looks like SPC backtick is also affected by this.

@alaq Try the following:
;; add to ~/.doom.d/config.el
(after! persp-mode
  (remove-hook 'persp-add-buffer-on-after-change-major-mode-filter-functions
               #'doom-unreal-buffer-p))

@hlissner that did it! Thank you so much! :tada:

@alaq This may have some nasty side-effects though. e.g. it may break session persistence in some rare cases when persp-mode tries to serialize special unreal buffers. Perhaps this is a better solution:
(add-hook 'exwm-mode-hook #'doom-mark-buffer-as-real-h)

It's perfect, I tried your most recent solution.
Much appreciated!


Added new section for extended components

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Current test suite is directly querying Blizzard's API

Currently for the test case we are actually query a 3rd party website which may cause problems with the testing. More detailed explanation here: https://us.battle.net/forums/en/bnet/topic/20757486127
We should change this so the test suite only test the library functionality and not impacted by the connection to Blizzard.

Recreated the entire test suite to use mock responses, speeding up the process a lot. Also made it more reliable. We don't have to worry if the Blizzard API is accessible at the time of testing or not.


[Decompiler] Fix issues in gcommon

Floats are now printed like 1.0 if they are an exact integer
Float printing is double checked to make sure it will read correctly.
The #t symbol is printed correctly
set!s on a global symbol should type cast correctly (no test case yet)
set!s on a global symbol at the top level become defines and should type cast correctly (differently from set!, like it should be)
Optional argument for iso_data location if you have the game's files stored outside of jak-project/iso_data.
Bitfield types appear in the decompiled output as deftype
Typesystem typecheck function cleaned up
Support for 64-bit constants
Add (reload) to the compiler to reset all internal state

Pull Request Test Coverage Report for Build 619526308

114 of 304 (37.5%)  changed or added relevant lines in 29 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.2%) to 68.68%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/type_system/Type.h
0
1
0.0%

decompiler/util/data_decompile.cpp
8
9
88.89%

decompiler/util/DecompilerTypeSystem.cpp
4
6
66.67%

goalc/compiler/compilation/CompilerControl.cpp
0
6
0.0%

goalc/compiler/Compiler.cpp
2
9
22.22%

goalc/main.cpp
0
7
0.0%

decompiler/analysis/final_output.cpp
0
12
0.0%

decompiler/IR2/Form.cpp
15
31
48.39%

test/offline/offline_test_main.cpp
0
26
0.0%

decompiler/IR2/AtomicOpForm.cpp
12
58
20.69%

Files with Coverage Reduction
New Missed Lines
%

goalc/compiler/Compiler.cpp
1
55.14%

common/type_system/TypeSystem.cpp
2
72.81%

Totals

Change from base Build 618859605:
-0.2%

Covered Lines:
31020

Relevant Lines:
45166

💛  - Coveralls


Using istio with strict mTLS webhooks are broken

The istio sidecar should be injected to the flagger deployment so it can call other services such as load-tester. When istio is installed with strict mtls, the only way to allow non-istio services (flagger) to call istio enabled services (load-tester in test namespace) is by setting the namespaces (test) individually to permissive. This can be solved by injecting the sidecar in the flagger deployment as well.

Is there a reason why flagger is installed to the istio-system namespace in the guides? This could be easily solved if it had its own namespace with istio sidecar injection enabled.

Hi @MrBlaise
Instead of switching the test namespace to permissive you can disable mTLS only for the loadtester inbound traffic:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: flagger-loadtester
  namespace: test
spec:
  host: "flagger-loadtester.test.svc.cluster.local"
  trafficPolicy:
    tls:
      mode: DISABLE
---
apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
  name: flagger-loadtester
  namespace: test
spec:
  targets:
  - name: flagger-loadtester
    ports:
    - number: 80

Hi @stefanprodan
Thanks for the quick reply, this works indeed and it is much better solution than doing it namespace-wide. That said I believe if istio-proxy is injected to flagger deployment even this isn't necessary and it would be more secure (using mtls).

If you configure Istio so that Flagger outbound traffic would bypass the proxy when talking to the Kubernetes API service and Istio Prometheus service then Flagger should work with the proxy as sidecar. Running a Kubernetes operator inside the mesh is not optimal in my opinion but with proper configuration it should be ok.

@stefanprodan I see, thanks for the info :)


JPEG files do not save in the correct orientation

Currently, after taking an image to be saved as JPEG, the image viewer displays it correctly oriented, but upon saving, the image is always landscape.

Do you save with EXIF-data included? You might look into that, especially the orientation tag. See: https://exiftool.org/TagNames/EXIF.html 🤔

@Ytrog Thank you for the suggestion! I just added #9 to address this.

@Ytrog Thank you for the suggestion! I just added #9 to address this.

Glad I could help ☺


Infinite loading

What happened?
After a long absence of use, it stopped loading. Writes an error when loading:
SendMessage initializeMatrix has no receiver!

Steps to reproduce

Start Unity Hub
Start unity-renderer-desktop from Projects
General Settings - Open Browser on Start & Web Socket SSL checked
Kernel General Settings - Specify "Realm" and "Start In" coordinates
Press Play

Operating System
Windows 10
Wallet
Metamask
CPU
I7-7700
GPU
1050 TI
RAM
16
Kernel Version

Unity Version
2021.3.14f1
Realm
baldr
NameTag
alex_berezin

@bergome Do you still experience the issue


feat(all): Add new GraphQL scalar type Int8

TODO

[x] Add the new scalar to GraphQL
[x] Add the new scalar and data handling to store
[x] Add unit tests to store
[x] Explore if changes are needed in graph-ts (https://github.com/graphprotocol/graph-tooling/pull/1296)
[x] Figure out CI issues with unit tests
[x] Fix for https://github.com/graphprotocol/graph-node/pull/4303 and rebase
[x] Integration tests
[x] Merge https://github.com/graphprotocol/graph-tooling/pull/1296
[x] Release CLI+TS
[x] Update integration test to use the latest CLI+TS

Thanks @lutter . Fixed the unwrap issue and the other things you mentioned. I'll merge when CI clears 🚀


[BUG] Source map exports break Jest output

With the current build, users who create a provider via
import ganache from 'ganache-core'

const provider = ganache.provider()

will experience broken source maps if they're using jest/ts-jest.
This was triaged by removing the following lines/files:

build/ganache.core.node.js
any imports of require("source-map-support/register").

Performing those two steps lead to successful lines being reported during test failures using jest.
Expected Behavior
The expected behaviour is that if a consumer of ganache-core uses Jest/ts-jest, they will not experience mis-matched source lines on their own test failures.
Current Behavior
Mismatched source lines on test failures using ts-jest unless
Possible Solution
Remove the following, or allow the consumer to opt out of them via an environment variable.

build/ganache.core.node.js
any imports of require("source-map-support/register").

Steps to Reproduce (for bugs)

Clone https://github.com/smartcontractkit/repo-ganache-sourcemap-bug
Run yarn
Run yarn jest
Observe source lines mismatch

Context

This issue makes it a lot harder to debug test failures since they consistently point to the wrong lines.

source-map-support will be removed from the shipped version in the next major release of ganache (v7)


Ingested mediapackage name is null

Running OC 3.0, during ingestion log displays:
2017-06-28 09:56:19,394 | INFO | (IngestServiceImpl:520) - Ingesting mediapackage<PHONE_NUMBER>947531776 is named 'null'
Although we scheduled the event with a title:

{id:'title',label:'EVENTS.SERIES.DETAILS.METADATA.TITLE',type:'text',value:'dummytext'}

As @smarquard commented on list:

We see that on our 2.3.x ingest servers, so it’s at least expected if a little misleading.
Probably the ingest code has not loaded the mediapackage Dublin Core from episode.xml so the title is null at that point.
Probably the log line should be changed to just remove the title. There isn’t much value in having it in the ingest node logs.

The decision was made to not migrate to Github but stay with Bitbucket and Jira.
If this  issue still persists, can you please open a ticket at
https://opencast.jira.com