Patch Gradle-Nexus' publish-plugin

Background
It seems that Gradle-Nexus publish-plugin needs upgrading to support Gradle 8.x.x.
We are currently at 1.1.0, only 2 minor versions behind from latest (1.3.0). So should be a smooth upgrade. However, it seems upgrading might not fully resolve the problem, see: gradle-nexus/publish-plugin/issues/208
Depending on the outcome, we might need to revert back to Gradle 7.x.x if any critical patches are required for Propactive.
Requirements

Upgrade to latest Gradle-Nexus publish-plugin.
If things are still broken for the same reason, consider downgrading back to Gradle 7.6.

Unfortunately upgrading to 1.3.0 did not resolve the issue, so keeping this open until further updates from the Gradle-Nexus maintainers.

Closing this as we have patched it ourselves as no progress been made on https://github.com/gradle-nexus/publish-plugin/issues/208
Our solution is to manually configure the signing tasks to run before the publishing tasks:
// The Gradle Nexus plugin has a bug that requires us to manually
// configure the signing tasks to run before the publishing tasks.
// see: https://github.com/gradle-nexus/publish-plugin/issues/208
val signingTasks: TaskCollection<Sign> = tasks.withType<Sign>()
tasks.withType<PublishToMavenRepository>().configureEach { mustRunAfter(signingTasks) }

There also seems to be a more performant solution:
tasks.withType<PublishToMavenRepository>().configureEach {
    dependsOn(":signArchives")
}

But sticking to the already tried and tested (i.e. successfully deployed 1.2.5 without any manual intervention) patch as nothing much to gain here.


Resolve Corrupted RPM Database

The CentOS guys need to rebuild their image so that updates don't
apply later and corrupt their base image.
This fix seems to work for me.
Fix #7
Signed-off-by: David Brown<EMAIL_ADDRESS>

@dmlb2000 oh shoot, sorry I didn't even see this PR until now, I was having some tunnel vision.

@geerlingguy it's alright, we were really trying to get something working, I'm glad it's fixed.


Are "paths" in tsconfig expected to be respected?

Just took a look.
It's not working because you're using the esm-loader in a CommonJS package. Instead, you should've used the cjs-loader.
Now, you can just use tsx:
tsx tools/golden-games.ts

Closing as there's no tsx bug here.


macOS: creating files in the SD mount doesn't work

not sure why this happens yet. it seems to make the associated ._ properly.

works fine with -onoappledouble. so maybe that's the issue?
also -onoapplexattr fails with a different error:


Return vm sizes

Expose an API to return VM sizes from moc-pkg.

can you revendor this in moccli and update the cmdlet
https://github.com/microsoft/moccli/blob/master/cmd/mocctl/compute/virtualmachine/list_sizes/virtualmachine_list_sizes.go


Printing OOB

PrettyWindow::print and PrettyWindow::fill should never be invoked outside Pane (and especially not outside the PrettyWindow). But right now it seems likely that they might, especially fill.

Will be fixed by https://github.com/justinpombrio/partial-pretty-printer/pull/5

Checklist:

[ ] Check for .len() on strings
[ ] Check for .chars().count()
[ ] Add test case for printing outside bounds, including double width char 1-away and 2-away
[ ] Make sure we have changes everywhere #5 does.

Done!


feat: Audit tooling | NPG-6520

More granular docs will follow in another PR.
Keep in my mind, code from recover.rs has been salvaged from other parts of the code base...

@cong-or
error: failed to compile `cargo-make v0.36.12`, intermediate artifacts can be found at `/tmp/cargo-installsZuhxD`

Caused by:
  package `time v0.3.24` cannot be built because it requires rustc 1.67.0 or newer, while the currently active rustc version is 1.65.0
  Try re-running cargo install with `--locked`
Error: Process completed with exit code 101.

Should we consider updating to the latest stable 1.71.0 ?


cli does not accept git sha for --consumer-version

instead it enforces semver-style versions: https://github.com/pact-foundation/pact-node/blob/8701b4db9bc5fd50bdc1e02cd076e2fe490a77ea/bin/pact-cli.ts#L58
results in the following error:

Error: Invalid value 'd876c1c58dd0f8b8ee50161ffcd83e5c15074e1f' for option --consumer-version.

Thanks @travi. In fact, we actively encourage the use of non-semver in the broker so we should definitely allow other schemes here.
PR welcome ;)

Except, I don't think this is something that pact-node does, but what the
ruby standalone does as part of the publish command.
On Sun, Mar 25, 2018 at 3:35 PM Matt Fellows<EMAIL_ADDRESS>wrote:

Thanks @travi https://github.com/travi. In fact, we actively encourage
the use of non-semver in the broker so we should definitely allow other
schemes here.
PR welcome ;)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pact-foundation/pact-node/issues/79#issuecomment-375944912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjA5L26Ggf8Gq6OXXoG79sueCEl1pORks5thx57gaJpZM4S4JJi
.

It looks like the regex /^\d+\.\d+\.\d+$/ in the pact-cli.ts, but i'd have to take a look properly.

ah shoot, you're right.  Not sure how that got there....

@travi this has been fixed in 6.12.1.  Cheers.

thanks a lot guys! that did fix that issue.
with that resolved, i had a little trouble getting the cli command to find my pact files since i expected the input to --pact-files-or-dirs to be relative to the root of my project since i was running as an npm script. after trying ./pacts, ./pacts/pact-file.json, pacts, and pacts/pact-file.json, i finally tried an absolute path by using the travis env var $TRAVIS_BUILD_DIR/pacts/ and that worked.
is it expected that the absolute path is needed, or should i open a separate issue to discuss that behavior further. even if that is intended, a bit of documentation to make that more clear would probably be helpful.

I think that's a reasonable ask. The issue is we invoke a cli in another directory so it's relative, just not to what you'd expect. It should be easy enough to do, as long as we allow an absolute path for backwards compatibility.
As a start, documenting this would be good.

The issue is we invoke a cli in another directory so it's relative, just not to what you'd expect.

i expected something along those lines.
i opened #80 to track this if you want to make changes for this.


Submission cleanup 2

Various fixes and cleaning in prep for fixing the real cross-queue work tracking problems.

Change looks great and it ran through test farm successfully. One general comment is that you have a mix of variable names using camel case and underscore. I've been trying to standardize on lowercase w/ underscore for the last month or so based on Style Guide Variable Naming

OK, will do a naming pass over all the submission stuff after the dust settles. There's still more to come after this series.

cherry-picked and pushed to master


Incorrect position after rotating

Here is a problem while using rotationControl.
<View>
  <Image name="image" value="$image" rotateControl="true"/>
  <RectangleLabels name="label" toName="image">
    <Label value="Airplane" background="green"/>
    <Label value="Car" background="blue"/>
  </RectangleLabels>
</View>

Draw a rectangle

Rotate Left

Thanks reporting this! We're on it, hopefully will be fixed soon in version >=1.4


Portraits Broken

Hey, just downloaded newest build w/ portrait fix. It is not fixed. Portraits still don't show up (actually first time for me, previous build I have was from 4/14/21 and it worked then). On Windows 10.

@zakary93 hello! I pushed another fix for portraits. Can you check now?

It is good now. Sorry for late reply. I am working on a fork to include Nicknames (which get autocolored with the names if enabled) and fixed a recurring issue with names but the builds from the last 2 days broke other parts so I got absorbed in that. Still trying to track that down.

if you think it is a feature that would benefit more people you could always add it as a feature request issue and/or send a PR. Glad it is finally fixed! Closing this now

I will send a PR when I get it to work properly in the current build. I might make a small one to fix the recurring name coloring issue soon in the meantime though.


BUG-106346 – now able to create rds when a name contains hyphen

BUG-106346 – unable to create rds when a name contains hyphen
A user was unable to create an rds when the url contains a hyphen in the database's name which could easily happen in real life:
For example:
jdbc:postgresql://<IP_ADDRESS>:5432/my-db
or
jdbc:postgresql://<IP_ADDRESS>:5432/ranger-audit-db

You have to merge changes across branches.


refactor: rename vis_cpu to matvis

This PR rename vis_cpu to matvis following the consensus from the paper. It will also require refactoring in hera_sim

I think the GPU tests are failing either because the enterprise server is still down, or because it doesn't have this GLIBC library. I think we need @mkolopanis help on that.


Reworking configuration options

Renaming target_ext to target_extension
e1abf3edd59920b6038961459131bc7db5ab1525
Prior to this commit, we used an abbreviation for an undocumented
method.  To understand purpose, we need to read more about its
implementation.
With this commit, I'm renaming the method/constant to a more verbose
variable.  We have to read it more often than we will ever write it.
Favoring class_attribute over constant
ac4cb0a2cfda49315216589d0539aac3d0fa4e50
Prior to this commit, we were using a constant and class method to
handle the configurability of the target_extension.
With this commit, we remove the constant and provide a class attribute
that allows for configuration and exposes an instance method.
Also, instead of using the terinary args test, I've added a positional
parameter with a default value.

Specs and rubocop passed locally.


Resolve apply conflict

The related issue: https://github.com/open-cluster-management/backlog/issues/14345
Signed-off-by: Yang Le<EMAIL_ADDRESS>

/assign @qiujian16


New release for eo-0.41.3

New release for eo-0.41.3

PR-Codex overview
This PR updates the version from 0.41.2 to 0.41.3 across various files and adds new tests in the tests/org/eolang directory. It also modifies error messages in the rust-tests.eo file.
Detailed summary

Updated version from 0.41.2 to 0.41.3 in multiple files.
Added tests package declaration in various test files.
Introduced new tests for string manipulation in text-tests.eo.
Changed error messages in rust-tests.eo for clarity.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor release, tag is 0.41.3

@rultor release, tag is 0.41.3

@yegor256 OK, I will release it now. Please check the progress here.

@rultor release, tag is 0.41.3

@yegor256 Done! FYI, the full log is here (took me 4min).


Unable to set unauthenticatedClientAction: AllowAnonymous for authsettingsV2 using azureStaticWebApps

Bicep version
Bicep CLI version 0.9.1 (a2950a16df)
Describe the bug
Expected:
Setting "unauthenticatedClientAction: 'AllowAnonymous'" on authsettingsV2 for an Azure Function App sets the restrict access to allow for unauthenticated access.
What happens:
When deploying authsettingsV2 for an Azure Function App trying to set "AllowAnonymous" for the "unauthenticatedClientAction" parameter with a linked Azure Static Web Apps the Authenticaton Settings gives the error :

Unauthenticated traffic is blocked, and requests will receive an HTTP 401 Unauthorized. This is because the app is configured to redirect unauthenticated traffic to an invalid target. You should update the authentication settings either to redirect to a configured provider or to handle unauthenticated requests in a different way.

when using the following resource configuration:

To Reproduce
Deploy and link Azure Function and Static Web App using the following code:
resource hostingPlan 'Microsoft.Web/serverfarms@2020-10-01' = {
  name: hostingPlanName
  location: location
  sku: {
    name: 'Y1'
    tier: 'Dynamic'
  }
}

resource functionApp 'Microsoft.Web/sites@2020-06-01' = {
  name: functionAppName
  location: location
  kind: 'functionapp'
  properties: {
    httpsOnly: true
    serverFarmId: hostingPlan.id
    siteConfig: {
      netFrameworkVersion: 'v6.0'
      ftpsState: 'Disabled'
      use32BitWorkerProcess: false
      http20Enabled: true
      cors: {
        allowedOrigins: [
          staticSite.properties.defaultHostname
        ]
      }
    }
  }
  identity: {
    type: 'SystemAssigned'
  }
}

resource authSettings 'Microsoft.Web/sites/config@2022-03-01' = {
  name: 'authsettingsV2'
  parent: functionApp
  properties: {
    globalValidation: {
      unauthenticatedClientAction: 'AllowAnonymous'
    }
    identityProviders: {
      azureStaticWebApps: {
        enabled: true
        registration: {
          clientId: replace(staticSite.properties.defaultHostname, 'https://', '')
        }
      }
    }
  }
}

resource staticSite 'Microsoft.Web/staticSites@2022-03-01' = {
  name: staticSiteName
  location: location
  sku: {
    name: 'Standard'
    tier: 'Standard'
  }
  properties: {
    allowConfigFileUpdates: true
    enterpriseGradeCdnStatus: 'Disabled'
    stagingEnvironmentPolicy: 'Enabled'
    buildProperties: {
      skipGithubActionWorkflowGeneration: true
    }
  }
}

resource staticSiteUserProvidedFunctionApps 'Microsoft.Web/staticSites/userProvidedFunctionApps@2022-03-01' = {
  name: functionApp.name
  parent: staticSite
  properties: {
    functionAppRegion: functionApp.location
    functionAppResourceId: functionApp.id
  }
}

Additional context

Thanks for the insight @alex-frankel.
In case this is not on bicep, would this be sent through the Azure Portal to reach the Web Resource Provider team?

Yes, the support ticket needs to be created in the azure portal.


feat: Make it possible to release Smoothie on the org.openfoodfacts.scanner listing (iOS and Android)

What
Another branch rename for automatic deployment (needed for iOS)

[x] iOS working
[x] Android: working. had to reencypher key

Supercedes

https://github.com/openfoodfacts/smooth-app/pull/1773

Screenshots
https://user-images.githubusercontent.com/1689815/167269503-da8bf0bc-edd8-4f71-9fe0-1abb8248de74.mp4

What

Make it possible to release Smoothie on the org.openfoodfacts.scanner listing (iOS and Android)

Environments
I've created in addition to the repository secrets (that contain the Smoothie specific secrets) two new environements:

one for Smoothie
one for the classic app

We could otherwise add some logic to make it work for both at the same time, but it seems that environment should require less invasive change (from secrets.SECRETKEY to env.SECRETKEY), instead of (IF: smoothie secrets.SMOOTHIE_SECRETKEY ELSE: secrets.CLASSIC_SECRETKEY)
Places where we should change the package name

[ ] Tweak Fastfile for Android and iOS
[x] packages/smooth_app/android/fastlane/Fastfile
[ ] packages/smooth_app/android/app/src/debug/AndroidManifest.xml
[ ] packages/smooth_app/android/app/src/profile/AndroidManifest.xml
[x] packages/smooth_app/ios/fastlane/Matchfile
[x] packages/smooth_app/android/fastlane/Appfile
[x] packages/smooth_app/ios/fastlane/Appfile
[x] packages/smooth_app/ios/fastlane/Deliverfile
[ ] packages/smooth_app/android/app/src/main/kotlin/org/openfoodfacts/app/smooth_app/MainActivity.kt
[x] packages/smooth_app/ios/fastlane/Fastfile
[ ] packages/smooth_app/android/app/build.gradle
[ ] packages/smooth_app/android/app/src/main/AndroidManifest.xml
[ ] packages/smooth_app/ios/Runner.xcodeproj/project.pbxproj

Signing

[x] Tweak signature for iOS to sign for org.openfoodfacts.scanner
[x] Ensure signing org.openfoodfacts.scanner for iOS works again (certificates out of date)

Open Questions

How do we override package name in Gradle files and pbxproject files (unchecked items above) ?

Feedback
@g123k @M123-dev @philippeauriach @monsieurtanuki would very much like your initial feedback
Part of

The releases to the classic Smoothie listing, which we're actually going to disable

Codecov Report

Merging #2379 (ac8a642) into develop (2ea0da3) will decrease coverage by 1.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2379      +/-   ##
==========================================
- Coverage     8.86%   7.62%   -1.24%
==========================================
  Files          161     200      +39
  Lines         6623    9637    +3014
==========================================
+ Hits           587     735     +148
- Misses        6036    8902    +2866

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
60.00% <0.00%> (-22.98%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.29% <0.00%> (-18.92%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
24.65% <0.00%> (-6.78%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.40% <0.00%> (-3.49%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (-0.88%)
:arrow_down:

... and 199 more

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 5bbbc60...ac8a642. Read the comment docs.


Feature request: several default languages

Hello, I have a website that is maintained by people from several languages, among which en and fr are prevalent over the others. Both fr and en create the entities in their own language, they roughly create 50% each. People with other languages create nothing, they just translate in their own language what is created by fr and en.
I would not like to force fr people to give an en translation, as well as I would not like to force en people to give an fr translation. Then I refuse to give any required_locales.
What I would like is that, when either an en or fr creates an entity, with his own language, all the other communities see the en or fr text given, whichever it is:

An entity created with fr translation (only) is displayed for all in fr...
An entity created with en translation (only) is displayed for all in en...
... until anyone sees that, and enters the translation for its own language: then, after that italians see it instead of the fr or en that was entered at creation.

This looks like having several default_locale instead of one. No problem if giving many would likely result in having an order, such as:
"if my language is not present, then look for translation en, then if not present, look for translation fr, else empty string."
or:
"if my language is not present, then look for default_locale 1, then if not present, look for default_locale 2, (etc. for any other default_locale[]) else empty string."
I hope that's clear enough, please tell me your feeling about this.
Best,

Have you ever found a solution to this, we have the same problem for the same use case

If it helps anyone, I ended up passing the current language to the form and setting the default_locale and required_locale to the current one the user is in for every form ... a bit tedious but it works


feat(ui): support nested tabs, groups, collapsibles and rows in where filters in list view

Closes https://github.com/payloadcms/payload/issues/7020
Now supports deeply nested tabs, groups, collapsibles and rows in the where filters in list view including localised labels.

Good catch on that label @andershermansen


Missing debug documentation

Currently, information about starting and debugging (multiple) Dapr apps from Visual Studio and Visual Studio Code is missing and should be provided.
(outcome from a discussion at https://gitter.im/Dapr/community @LukePammant @lynn-orrell)

@RicardoNiepel currently we don't have any tooling integration, but for debugging you can attach to user app process after it's launched by Dapr cli

I've been doing some Dapr application building in VS Code and am using the following running/debugging pattern.  It's a bit tedious to setup and manage with a lot of services (I'm up to 9 services so far), but it works well enough for now.

When needing to simply run a service (e.g. DeckManager):

Run the DeckManager: Launch task from the command palette

This will rebuild the service due to the dependsOn property
This will then launch the service using the dapr CLI

When needing to debug a service (e.g. DeckManager):

Select and F5 the DeckManager configuration

This will rebuild the service due to the preLaunchTask property
This will then launch the service within the debugger (like any other .NET application)

Run the DeckManager: Dapr task from the command palette

This will run the Dapr "sidecar" process using the daprd CLI, which then binds to the application running in the debugger.

Note that I run the daprd sidecar task after the application's running in the debugger.  I tried to make this a pre-launch dependency of the debug configuration, but couldn't get VS Code to recognize when the task was "complete" (as it's a background/watch type task).  I've still got more investigation to do there.

I don't have a good method of tearing down services, yet. Currently I have to Ctrl+C in each of the terminal windows spawned by each of the launch tasks.  I've run into issues with simply killing the dapr processes; sometimes its wrapped application process fails to get killed and you end up with port-in-use issues on the next startup.
tasks.json:
        ...
        {
            "label": "DeckManager: Build",
            "command": "dotnet",
            "type": "process",
            "options": {
                "cwd": "${workspaceFolder}/src/DaprCards.DeckManager"
            },
            "args": [
                "build"
            ],
            "problemMatcher": "$msCompile"
        },
        {
            "label": "DeckManager: Dapr",
            "command": "daprd",
            "type": "process",
            "args": [
                "--dapr-id", "dapr-deck-manager",
                "--app-port", "5006",
                "--dapr-http-port", "45006",
                "--dapr-grpc-port", "46006",
                "--placement-address", "localhost:50005"
            ],
            "problemMatcher": []
        },
        {
            "label": "DeckManager: Launch",
            "command": "dapr",
            "type": "process",
            "options": {
                "cwd": "${workspaceFolder}/src/DaprCards.DeckManager"
            },
            "args": [
                "run",
                "--app-id", "dapr-deck-manager",
                "--app-port", "5006",
                "dotnet", "run"
            ],
            "problemMatcher": []
        },
        ...

launch.json:
        ...
        {
            "name": "DeckManager",
            "type": "coreclr",
            "request": "launch",
            "preLaunchTask": "DeckManager: Build",
            "program": "${workspaceFolder}/src/DaprCards.DeckManager/bin/Debug/netcoreapp3.0/DaprCards.DeckManager.dll",
            "args": [],
            "cwd": "${workspaceFolder}",
            "stopAtEntry": false,
            "env": {
                "ASPNETCORE_ENVIRONMENT": "Development",
                "DAPR_HTTP_PORT": "45006"
            }
        },
        ...


Live

Test PR

Test PR

Docs Build status updates of commit 645ff17:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Better Components

This PR does the following:
New Components

CenterLayout added. This will position its children in absolute center of the screen
StatefulComponent
LoadingPage
ErrorPage
LoadingState
ErrorState
EmptyState

Other Improvements

Simplified and cleaned up CenterLayout, IndexPage and NotFoundPage components
Rewrote ComponentState component by breaking into subcomponents
Disabled hook warnings. They seem to be broken and misleading at this point

@artalat  pull request build and tests have been fixed and I have added storybook in OS but Stateful component in storybook needs to be tested.

@artalat  @bjavaid this pulll request has been  merged in next branch


Osamaesmail/prometheus adapter

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ ] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
This PR adds prometheus-adapter as an RPM package to use with Prometheus & Kubernetes. It will be used in the prometheus-adapter golden container.
Change Log

Added prometheus-adapter

Does this affect the toolchain?

NO
Test Methodology

Pipeline build id: 313803 (AMD64), 313804 (ARM64)

Can you update the title to something like: "prometheus-adaptor: add new core package"


Fix typo in CLI.swift

Attemping -> Attempting

Thank you for your interest in contributing to this project! However, we are in the early stages of the development of Code Connect and not ready to accept external contributions through PRs yet.
Closing this PR now as this sentence will be updated in a future version.


Add optional --output-path parameter, forcing UTF-8

Adds a optional --output-path parameter, which always encodes in UTF-8.
I brought in argh to do this work, I believe it should be minimal enough.
In #8 I noted that the output needs set to UTF-8. This isn't correct. Turns out that for example, PowerShell (note PowerShell Core) defaults > aka Out-File to UTF-16.
> .\target\debug\gitlab-cargo-audit.exe --help
Usage: gitlab-cargo-audit.exe [--output-path <output-path>]

produces a gitlab consumable cargo-audit report

Options:
  --output-path     an optional output path. contents are written as utf-8
  --help            display usage information

Thanks for the PR! Looks good to me! 👍


background color has no effect if canvas object's height is smaller

I set the width and height according to my content's size, but how can I fill the blank area below.
https://i.imgur.com/V5aYreR.png
Not sure why the background param has no effect, bgColor is set to '#eeeeee' but I see white color?
my full code as below:
import $ from 'jquery'
import jsPDF from 'jspdf'
import canvg from 'canvg-browser'
import html2canvas from 'html2canvas-render-offscreen'

const captureAndDownload = (width, height, delayMs, DOMNode, fileType, fileName, bgColor) => {

		//jspdf requires html2canvas to be attached to the window scope
		window.html2canvas = html2canvas

		$(window).scrollTop(0)

		setTimeout(function(){

			//replace all svgs with a temp canvas
			const replaceSVGwithCanvas = function(callback) {
			  	//find all svg elements in $container
			  	const $container = $('#' + DOMNode);
			  	//$container is the jQuery object of the div that you need to convert to image. This div may contain highcharts along with other child divs, etc
			  	const svgElements = $container.find('svg');
			  	svgElements.each(function() {
				  	let canvas, xml;
				  	canvas = document.createElement("canvas");
				  	canvas.className = "screenShotTempCanvas";
				    //convert SVG into a XML string
				    xml = (new XMLSerializer()).serializeToString(this);
				    // Removing the name space as IE throws an error
				    xml = xml.replace(/xmlns=\"http:\/\/www\.w3\.org\/2000\/svg\"/, '');
				    //draw the SVG onto a canvas
				    canvg(canvas, xml);
				    $(canvas).insertAfter(this);
				    $(this).hide();
				});
			  callback(); //to be called after the process in finished
			};

			replaceSVGwithCanvas(function() {
				html2canvas(document.getElementById(DOMNode), {
					background: bgColor,
					onrendered: function(canvasObj) {

						const pdf = new jsPDF('p', 'mm', [width, height])
						const pdfConf = {
							pagesplit: false,
							background: bgColor
						};

				    	document.body.appendChild(canvasObj); //add page in pdf
				    	pdf.addHTML(canvasObj, 0, 0, pdfConf, function() {
				    		document.body.removeChild(canvasObj);
				    		pdf.save(fileName + '.' + fileType);

				    		window.location.reload();
				    	});
					}
				});
			});

		}, delayMs)
}

export default captureAndDownload

Is this still an issue with v1.0.0? If so, could you please share an example on jsfiddle.

@niklasvh  Not sure if it's helpful, but I had a similar image with all 1.0.0-rcs (1-5). I tried to replicate it in this jsfiddle, without much luck. The issue I was having in my original code was that the background color of the progress-bars weren't rendering properly in image files (they were very, very light, looked like a white background with sparse, tiny colored dots instead of a full background).
However, I did find out that in my personal code (again, couldn't replicate this in the jsfiddle) that if I changed their height from 2em to 25px the issue was solved, so perhaps there's something related to how html2canvas deals with background colors and height units?
Apologies for not being more helpful. The problem seems fixed for me as long as I use px, but I figured I'd post this here for any future people stumbling across a similar issue.


Various modules upgrade

Upgrades post merge of #2534

/cc @leelavg

/cc @Madhu-1

Pls update the commit, PR summary and description.

You might've not performed all the changes in go.mod and commit should reflect that, like, godeps: updated ocs-operator dependency
PR summary Various modules upgrade -> Update ocs-operator dependency for new proto definitions
PR description can be like, Updated ocs-operator dependency to pull in latest proto changes from X

It's fine if you want to go w/ any other phrasing, however the intent is to be clear why is the requirement for dependency upgrade and what is being done.


how to update freescout with docker

Hi Tiredofit,
I was wondering how does your freescout docker container receive updates,
Does your docker container receive updates same time as freescout pushes them or do you manually update the image/container and we need to pull it
sudo docker pull [docker_image]

Hi How do I update this,
every time I do
docker pull tiredofit/freescout
docker compose up - d
the application crashed
Whoops, looks like something went wrong — check logs in /storage/logs
can you please share the recommended way to update application to latest build
Thank You


Counter update not in synchron in status bar and in history list

Describe the bug
Status bar and history entry counters are not the same.
To Reproduce
Steps to reproduce the behavior:

search pattern1
serach pattern2
search pattern1 with other parameters

Expected behavior
Status bar and history should show the same numbers.

Refreshing a search gives different match count every time :zany_face:


for #1316, update delete_with_special_character_without_sharding_value.

Fixes #ISSUSE_ID.
Changes proposed in this pull request:

Pull Request Test Coverage Report for Build 5390

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 65.444%

Totals

Change from base Build 5389:
0.0%

Covered Lines:
7371

Relevant Lines:
11263

💛  - Coveralls


⚠ Samsung has degraded performance

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

HTTP code: 200
Response time: 1619 ms

Resolved: Samsung performance has improved in af889b0.


imgur fails

Using aabc2be693
‰ youtube-dl --verbose http://imgur.com/gallery/Q95ko
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-c', u'--verbose', u'http://imgur.com/gallery/Q95ko']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.28
[debug] Python version 2.7.10 -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg 2.7.2, ffprobe 2.7.2, rtmpdump 2.4
[debug] Proxy map: {}
[Imgur] gallery: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 326, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1860, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib64/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Post the full output of youtube-dl when run with --verbose option.

Fixed; i've incidentally hit Enter.

:*


bugfixes: Sets default values for configurable elements with color picker.

Fixes #175 : This may be a breaking change only for those who are using doctor already with different custom colors other than the default. We now set the default values for all the customizable fields via the dashboard. So you don't have to edit any files in the codebase.
There is no impact to new doctor deployments.

Upgrade steps for existing Doctor Deployments
Step 1 : Make a backup of your current db with ( (use db/doc_dev in development environment or db/doc_prod if production deployment)
pg_dump db/doc_prod > pg_site_backup.sql

Step 2 : Make sure db/doc_dev or db/doc_prod (if production) is not running.
rake db:drop
rake db:create
rake db:migrate

Step 3 : Restore your DB with (use db/doc_dev in development environment or db/doc_prod if production deployment)
psql -d db/doc_prod -a -f pg_site_backup.sql

Step 4 : Use Dashboard's Appearance Tab
Select the colors for your custom site from the Appearance tab inside the Dashboard.

@thiagofigueiro @cbetta - would require your feedback here since this might change the doctor docker image and has potential conflict an existing setup.  Let us know thank you.

@harshavardhana the current Docker image is only useful for someone to have a Doctor up and running quickly for a demo/trial.  The database is dropped and re-created every time docker-compose starts the application.
As such, this PR doesn't affect the current state of affairs.
If there's user interest in running Doctor in Docker for production purposes I'd be happy to have a look one of these weekends.

@harshavardhana the current Docker image is only useful for someone to have a Doctor up and running quickly for a demo/trial. The database is dropped and re-created every time docker-compose starts the application.
As such, this PR doesn't affect the current state of affairs.
If there's user interest in running Doctor in Docker for production purposes I'd be happy to have a look one of these weekends.

@thiagofigueiro - Thanks a lot let us know if you need our help in anyways, we would love to see a production dockerized version.


Multi QoS support for DSCP configuration

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify : Adding support to multi-QoS objects in a single DSCP configuration

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
It is already deployed for a specific user. Change is coming as a result of testing with them.

When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
With 159 release (7/28)

If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[x] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@lirenhe
Going through the exceptions, why am I getting the additional properties exceptions? I'm keeping them there for backwards compatibility
Likewise, why is NrpQosPropertiesFormat getting the exception of requiring type: object if it is meant to be the format? Confuses me as the exception are not being thrown for DscpConfiguration and DscpConfigurationPropertiesFormat. Did the update for NrpQos since that is an object.

@davelasc, could you help to fix all the model validation errors?

@davelasc, could you help to fix all the model validation errors?


Support custom signals for sigaction

sigaction currently only accepts the Signal enum and directly passes it to libc::sigaction as a c_int.
I'm working on a linux system that has custom signals superior to 32. And thus not declared in the Signal enum.
The idea would be to have another sigaction function that accepts directly a c_int.
Something like
pub unsafe fn sigaction_raw_signal(signal_raw: libc::c_int sigaction: &SigAction) -> Result<SigAction> {
    let mut oldact = mem::MaybeUninit::<libc::sigaction>::uninit();

    let res = libc::sigaction(signal_raw,
                              &sigaction.sigaction as *const libc::sigaction,
                              oldact.as_mut_ptr());

    Errno::result(res).map(|_| SigAction { sigaction: oldact.assume_init() })
}

It might be a bit out of scope for this library ... let me know!
I looked into implementing the function myself, but since Sigaction's fields are not public, I cannot have this function inside my own library. So another way would be to make sigaction public, but I feel like it's not ideal.

but since Sigaction's fields are not public, I cannot have this function inside my own library. So another way would be to make sigaction public, but I feel like it's not ideal.

This option isn't that bad, and I think this is something we should do, without this, Nix cannot be used under scenarios where interaction with raw libc types is necessary.
Actually, this has been done to a lot of Nix wrapper types, though the way they did this are not consistent, some types directly expose it, some types have functions like into_raw/from_raw, and some types did it through the From/Into traits...

cc @asomers, do you think we should make the way how our wrapper type interact with the libc types unified? In my mind, I think we should:

Make the wrapper type #[repr(transparent)]
Implement a standard way to convert it between the inner raw type

Yes, definitely @SteveLauC .  That's a good idea.

Thank you very much for your answers!
I'm not very familiar with nix's codebase, but if I can do anything to help, let me know!


Add ETag headers (#573)

Add ETag header support as per #632
PR Checklist

[x] Have you followed the guidelines in CONTRIBUTING.md?
[x] Have you got 100% test coverage on new code?
[x] Have you updated the prose documentation?
[x] Have you updated the reference documentation?

Nicely done


Startup config is not necessary for .net core 2 apps, but this is not clear

Many users will arrive at this page because they are creating a new asp.net core 2 app and wanting to do things correctly.
For example https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/microsoft-logins?view=aspnetcore-2.1&tabs=aspnetcore2x
However the startup section in the tutorial is only applicable for .net core 1. Please can this be updated or at least made clear which step are for which environment.
Bit of a time sink in the otherwise brilliant docs. Thanks for all the hard work.

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

ID: 9c99993c-c983-6fda-6c3a-ce4ec8c1d5db
Version Independent ID: ba688ac2-e90e-fce5-f60d-40c2553c3efd
Content: Safe storage of app secrets in development in ASP.NET Core
Content Source: aspnetcore/security/app-secrets.md
Service: unspecified
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@tomstylesncc  Is the problem with Microsoft Account external login setup  ? It looks like you came from Safe storage of app secrets in development in ASP.NET Core

The problem is with the safe storage of secrets page.
The code referenced on line 100 of the .md file is only required for .net core 1 apps. In .net core 2 the set up is handled by default.
This PR updated some of the sample code for core 2 but the startup config didn't get updated.

Rick, Long time reader first time contributor here. How do you go about updating the docs for this change. In essence the config sections just need removing for core 2 but are still valid in core 1. Do you:

A Write the docs just for core 2
B Write the docs for core 2 but cover core 1 in a separate section
C Just add a note to the existing document that say's you can skip this bit for core 2.

@Rick-Anderson That's accurate. You can also use >= and <=.

Also no need for the tool install anymore as it's bundled in 2.1 by default as a global tool


Allow backup on external drive

Hello @darashenka,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

c1c554a7b7300b1e571193c60ca322537d52c08e - This commit has something that looks like an email address (andrei@darashenka.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hello @darashenka,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

e3dd31470af81c35ba341c97869415d1099c21ae - This commit has something that looks like an email address (github-commit@andrei.darashenka.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hi @darashenka,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


SkypeCallMessage html bug

Calling html on a call message leads do this error:
  File "/usr/local/lib/python3.5/dist-packages/SkPy-0.0.0-py3.5.egg/skpy/msg.py", line 556, in html
  File "/usr/local/lib/python3.5/dist-packages/SkPy-0.0.0-py3.5.egg/skpy/msg.py", line 18, in makeTag
  File "/usr/local/lib/python3.5/dist-packages/bs4/element.py", line 911, in string
    self.append(string.__class__(string))
  File "/usr/local/lib/python3.5/dist-packages/bs4/element.py", line 378, in append
    self.insert(len(self.contents), tag)
  File "/usr/local/lib/python3.5/dist-packages/bs4/element.py", line 346, in insert
    new_childs_last_element = new_child._last_descendant(False)
AttributeError: 'Name' object has no attribute '_last_descendant'

I fixed it by adding a str call to that line of html(), ie:
conTag.append(makeTag("name", str(user.name)))

Good catch!  Looks like the other message types are okay -- stringifying a Name only fails in the body of a bs4 tag, not in attributes...


foreignObject on IE11

I'm building a collapsible tree, where the "nodes" are not circles, but custom HTML boxes (with input fields). Everything works fine so far, but in Internet explorer 11 the used foreignObjects are not rendered. The tree itself is fine and everything else seems to work, but foreignObjects don't show up.
This is an example of how I use it currently:
nodeEnter.append("foreignObject")
        .attr("x", -65)
        .attr("y", -10)
        .attr("width", 130)
        .attr("height", 50)
      .append("xhtml:div")
        .attr("class", "node-div")
        .html(function (d) {
          var parentId;
          if (d.parent) {
            parentId = d.parent.id;
          } else {
            parentId = null;
          }
          return "<input type='text' value='" + d.value + "' id='input-" + d.id + "' data-parent-id='" + parentId + "'>";
        })

and everything works fine, except in IE 11. Is there  a polyfill needed or something like that?
(I use a variation of https://github.com/tutorialhorizon/react-webpack-setup/tree/react-d3-tree)

foreignObject is not supported by IE11.


plugin has a bad effect on the openpifpaf detector?

The contrast test is based on openpifpaf-0.11.9, which in the crowd scene, hardly to find the wrong matches body keypoints. While the test based on openpifpaf-0.12.5 with posetrack-0.3.0 plugin, while in crowd scene(27 persons ), some upper bodies matches the wrong lower bodies.
Needless to say, the test are both based on the shuffflenetv2 model.

Thanks @chaserat . What you are seeing is a tracking error. The persons were overlapping in a previous frame. Are you running with the default parameterization or did you reduce keypoint thresholds or ran with --force-complete-pose?
Alternatively, try to increase --caf-th.
With our latest models and configurations, we haven't seen this type of tracking error in a while. Can you share the video sequence so that we can use it to improve?

Thanks for your patient. I'm sorry to reply so late. The Data I'm not sure it is OK to share, Later, I will look for some similar scene to locate the same problem and share the new video with you.

Thanks @chaserat . I'll close this for now but feel free to reopen when you have more info.


FABN-1657: Retry block event service when no peers available

The build looks to be hanging at completion of the scenario tests. My suspicion is that, as the peers are torn down, the client receives a disconnect error and goes into an infinite reconnect loop. This reconnect loop is not broken by the call to BlockEventListener.close() as the client Gateway is closed.
I think a unit test for the close-during-reconnect will be needed, and then code changes to abort the reconnect when close is called.


generate sbom for c++ project that use custom make file

Hi
have an c++ project that use custom make file to build.
How can I create sbom for this project?
FYI: I don't want to use Cmake.
Any Idea?
Thanks

Hi, could you tell us a bit more about this project? You don't need to use cmake to use syft. You can invoke syft from your build process. If you can show us what you've tried so far, we can help you get going.

@tgerla i have legacy code that can’t change make procedures on it.
This project in c++, and contains several directories that each directory has it’s own make file.
I put script in root of project that “cd” to each directory and run “make; clean make”

@tgerla would please tell me in simple scenario i have 1 directory that contain one make file.
How can i use conan in this simple scenario?

Hi @mehrdad2000, sorry I am not a Conan expert and I'm not sure it's applicable to your project, I just know that Syft can use it as a data source to look for 3rd party C++ packages, if your package already uses Conan to manage dependencies. Think of Conan as NPM for C++, for instance.
Maybe we could take a step back? It sounds like you are trying to create an SBOM for your own project, right? Does your project contain 3rd party C++ dependencies? What is your goal for the SBOM?

We'll go ahead and close this issue, but feel free to re-open or open another one if you need additional help. We are also available in our Slack channel if you'd like to chat. Thanks!


Add coverage

https://about.codecov.io/
https://coveralls.io/

Coveralls needs more permissions than Codecov.


[Fix] Fix MultiTableWriterRunnable can not catch Throwable error

Purpose of this pull request
This PR fix MultiTableWriterRunnable can not catch Throwable error. This bug will let job can not failed normally.

Does this PR introduce any user-facing change?
no

How was this patch tested?
add new test.

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

cc @hailin0 @EricJoy2048


Command Hub Issue, Solar Panels Not Giving Charge

For Anyone with this Issue, Ill explain what is wrong.
I am currently using a Boolean to check if the Command Engine is Connected to the Command Hub.
But, with this Issue, There can ONLY BE ONE Command Hub, as, a Boolean is Set to Static.
To Fix This, I will be using BlockStorage to assign to each one.
Currently Working on Fixing this.

Fixed.
#23

I dont know if this is the same issue as I have but I got the command hub and engine running but I can only link 1 panel to it. Is that intended or is it supposed to be able to link on unlimited panels.

That seems like a Issue, let me see, can you create a separate issue please, then, ill know what to work on.

That seems like a Issue, let me see, can you create a separate issue please, then, ill know what to work on.

I made a bug report about it let me know if you need more info or not

can confirm it still exists as an issue


Add Bosnian (bs) & Serbian (Latn & Cyrl) translation

Ivan, thanks a lot for contributing all these translations. puno hvala and много вам хвала.

Ivan, thanks a lot for contributing all these translations. puno hvala and много вам хвала.


Not saving in the right place if file has been moved

Hi @tblanke
I noticed another bug. If you save a file, but you move it later into another folder. When you open it and save it again, it saves the file in the original location and not the new one, since the filename within the document is not changed.
Best,
@wouterpeere

Hi @tblanke
Nevermind, I think this is something within GHEtool. I will solve it there.
Best,
@wouterpeere

Hi @tblanke
I solved this within GHEtool, but I will add the fix here too.
Best,
@wouterpeere


CQLSH has a cache issue after creating a new keyspace

On ChromeOs's Crostini Debian CQLSH gave me:
Connected to Test Cluster at <IP_ADDRESS>:9042.
[cqlsh 5.0.1 | Cassandra 3.0.8 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cqlsh> drop keyspace quividi;
cqlsh>     create keyspace quividi with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
cqlsh>     use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not
exist"
cqlsh>     use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not
exist"
cqlsh> use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not
exist"
cqlsh> describe keyspaces
system_schema  system_auth  system  system_distributed  system_traces  quividi

cqlsh> use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not

exist"
cqlsh>
bcanet@penguin:~/vidicenter/newvidicenter/scylla/scylla-migration$ cqlsh
Connected to Test Cluster at <IP_ADDRESS>:9042.
[cqlsh 5.0.1 | Cassandra 3.0.8 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cqlsh> use quividi;
cqlsh:quividi>
Debian is upgraded to latest package known this day.

On ChromeOs's Crostini Debian CQLSH gave me:
Connected to Test Cluster at <IP_ADDRESS>:9042.
[cqlsh 5.0.1 | Cassandra 3.0.8 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cqlsh> drop keyspace quividi;
cqlsh> create keyspace quividi with replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
cqlsh> use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not
exist"
cqlsh> use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not
exist"
cqlsh> use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not
exist"
cqlsh> describe keyspaces
system_schema  system_auth  system  system_distributed  system_traces  quividi

cqlsh> use quidivi;
InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace 'quidivi' does not

exist"
cqlsh>
bcanet@penguin:~/vidicenter/newvidicenter/scylla/scylla-migration$ cqlsh
Connected to Test Cluster at <IP_ADDRESS>:9042.
[cqlsh 5.0.1 | Cassandra 3.0.8 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cqlsh> use quividi;
cqlsh:quividi>
Debian is upgraded to latest package known this day.


Are there plans to support sklearn>1.2? In this version, sklearn fully supports pandas data (set_output)

sklearnex natively supports set_output(transform=pandas). At least, the only one transformer patched by sklearnex (PCA) returns pandas DataFrame as expected.


[10.x] Store terminating Middleware class-strings to avoid unnecessary middleware instantiation in Kernel@terminate()

https://github.com/laravel/framework/pull/46888 tweaked this slightly to allow the container to make the middleware again where needed in case bindings have changed during the request lifecycle.

If you want the container to only resolve some middleware once, just bind them as singletons in the container.


Document Hermetic Helm Charts

Need to add documentation around how Ortelius stores hermetic Helm Charts associated to logs so the deployment can be repeated. .

Updates for issue #138

This was a custom feature completed prior to the removal of the deployment engine.


feat(atenlib): add Op(isclose, allclose)

@xiaowuhu I added keepdims=False to ReduceSum to fix

I changed to use INT8 and ReduceMin. Hopefully that's more efficient

@xiaowuhu i think this is ready. Only a minor formatting error


Scrolling going haywire (notably, pulling screen down when it shouldn't)

Hey! First off it should be said that this is a great component, about a million times better than the built in RN ones.
I've recently implemented it with multiline TextInputs and I've noticed some issues. Could be with my configuration but I'm not sure, and have tried many things without luck.
Here is a video of the issue: [https://streamable.com/vks8h]
Currently the first TextInput is autofocused and it often drags the whole scrollview down when focused on (which I figure it should never do?). If I type in the input and it wraps to another line then it visually corrects itself. Also (not shown), if I remove the autofocus it drags the scrollview down to the bottom of the screen. From my tests it appears the issue is due to the scrollToFocusedInput upon size changes, since removing that fixes the issue (but also stops accommodating multiline inputs that expand beyond the keyboard).
Here is some of the code:
`
_scrollToInput (reactNode: any) {
this.scroll.scrollToFocusedInput( reactNode )
}
[...........]
return <KeyboardAwareScrollView
ref={ref => {this.scroll = ref}}
style={{backgroundColor: BG_BLUE}}
resetScrollToCoords={{ x: 0, y: 0 }}
contentContainerStyle={[baseStyle.container, styles.contentContainerStyle]}
>

{input1}
    <Header2 props={this.props2}/>
    {input2}

    <Header3 props={this.props3}/>
    {input3}
  </View>
</KeyboardAwareScrollView>

[...........]
each of the inputs looks like this:
    <View>
      <Text style={baseStyle.labelText}>Input 1</Text>
      <TextInput
        autoFocus={true} // false for other 2 inputs
        value={this.state.input1}
        returnKeyType={'next'}
        placeholder={'Placeholder 1'}
        multiline={true}
        autoCorrect={false}
        onChangeText={this.onInput1Changed}
        onSubmitEditing={this.onInput1Submit}
        style={[baseStyle.bodycopySmaller, styles.inputText]}
        blurOnSubmit={true}
        underlineColorAndroid='transparent'
        onContentSizeChange={(event: Event) => {
          this._scrollToInput(ReactNative.findNodeHandle(event.target))
        }}
      />
    </View>

`
Does anybody know what might be going on here?
Thanks!

I think I may have solved the problem, but will leave it open for now because I want to see if others have run into the same issue (can be closed shortly / as deemed necessary).
The issue seems to be that as I'm rendering 3 TextInputs, as they render their onContentSizeChange triggers, pulling focus to each one and confusing the KeyboardAwareScrollView.
My solution was to modify the onContentSizeChange to pass in the ref to the component as well:
            onContentSizeChange={(event: Event) => {               this._scrollToInput(ReactNative.findNodeHandle(event.target), **this.inputOne**)             }}
Then, in the _scrollToInput method, I can verify if that input is actually focused:
_scrollToInput (reactNode: any, **ref**) {     **ref.isFocused()** ? this.scroll.scrollToFocusedInput( reactNode ) : null   }
If so we trigger the scroll, if not we don't. That seems to fix it!

Hey! Thanks for your feedback. Currently, multiline support is not great, we're aware of it. Will try to provide a solution as soon as I can, but we would love to have some help from anybody that could drop a solution.

I'm using the _updateKeyboardSpace to refocus, I'm using multi-line textbox


No up-to-date image available for odigos UI on dockerhub

Is your feature request related to a problem? Please describe.
There are docker images available for odigos on dockerhub:
https://hub.docker.com/r/keyval/odigos-ui/tags
Following images have all been updated to v1.0.2:
keyval/odiglet-base
keyval/odigos-cli
keyval/odigos-odiglet
keyval/odigos-instrumentor
keyval/odigos-scheduler
keyval/odigos-autoscaler
While odigos-ui has not been released yet.
Describe the solution you'd like
Push a v1.0.2 image of odigos-uiunder the keyval account on dockerhub

@edeNFed it seems I'm having difficulty to even build the latest frontend, am I missing something?

I had some opportunity to work on it too past days (during spare time on conference). It seems to me that this dockerfile that we provisioned in the frontend folder was completely incorrect. So far I've refactored already 50% to make it work and run the code. Locally I can get it to work (without containers) but I came to pretty much the same conclusion.
It's really weird.. Feels like things were rushed and not checked in? :)

Hi @thomaspetit can you please let me know what is the problem with the current Dockerfile?
I can build it successfully by executing:
docker build -t dev/frontend:dev . -f frontend/Dockerfile

from the root directory of the Odigos repository. Also seems like GitHub action is also working

@edeNFed I've wiped my podman vm (deleting all my images) and wiped the git repo I cloned locally and confirm it now builds. Among many issues, this was one of them:
TS2786: 'ThemeProvider' cannot be used as a JSX component.
Its instance type 'Component<ThemeProviderProps<any, any>, any, any>' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.


blocks and run FediFetcher as Admin

Hello,
because it was just asked in the chat and I'm not quite sure, how does FediFetcher actually deal with blocking at user level if you install the tool as admin?

Do you mean what FediFetcher does when you block other users? Or if other users have blocked you?

I’m not sure what chat you are referring to, but in short: FediFetcher acts like search. There is no magic about it. It’s between the two instances to figure out what should be blocked and what should be displayed, and the specifics will probably depend on both the software of your server and of the remote server. Fedifetcher doesn’t and cannot impact this.

Ok, thanks for the answer. So you can't bypass blocks with the fetcher.
@colinstu12 My zenario would have been the following:
User1@instance1 blocks user2@instance2, but now instance2 uses the FediFetcher in the admin context and then it would have been possible to bypass the block via this context.

Admins (or any user) can't magically bypass blocks (if the block is against them). You will see Error 403s when you try to hit links that are attempting to be fetched (both when manually trying to load that link via masto web UI, or in the fedifetcher logs too). I first discovered / reported this in #101 .
If there's another user on your instance that isn't blocked by this person, and they're following them / whatever that is triggering the attempt to pull in these context links, then it could at least retrieve them for your instance, but that content would still be hidden for that user that has been blocked by the other.

thank you for the detailed explanations, for me the issue is now closed.


Added blue ink outputs for more real handwritten pages

Color prints of pages for this, will give actual written looking pages using a ball point pen.
Will add more inks and styles soon.

Perhaps color can be a command line argument instead of a whole new file?

Closing in favour of https://github.com/theSage21/handwritten/pull/5


authentication phoneCodeSent int cannot be null error

Description
When using firebase auth package - phone authentication with ios device, the error occurs below.
Unhandled Exception: type 'Null' is not a subtype of type 'int'
#0      MethodChannelFirebaseAuth.verifyPhoneNumber.

So I changed below
// method_channel_firebase_auth.dart
else if (name == 'Auth#phoneCodeSent') {
          final String verificationId = arguments['verificationId'];
          final int forceResendingToken = arguments['forceResendingToken'];

to
// method_channel_firebase_auth.dart
else if (name == 'Auth#phoneCodeSent') {
          final String verificationId = arguments['verificationId'];
          final int? forceResendingToken = arguments['forceResendingToken'];

This PR solves the type error that ios devices could not sign in with phone.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

I am facing the same issue

I am blocked in this issue too

@nzackoya forceResendingToken is not available on iOS, so definitely can be null here I think. The PR addresses this correctly.

@Salakar, @rrousselGit Can confirm this bug as well. This may have gotten lost during the integration test stage during the event channel work. The fix in #5944 should fix it.
The issue will not be present on non-nullsafe projects (flutter create xxx) and appear immediately after dart migrate.

@rrousselGit Is there anyone working on it? Do you guys have any release plan or we have to downgrade our projects from non-nul safety.

@DhavalRKansara you can refer to this PR in your project like so:
dependency_overrides:
  firebase_messaging:
    git:
      url: https://github.com/JYeop/flutterfire
      path: packages/firebase_messaging
      ref: c39cdb28f21d290f4a72df9829d37468c87a5bc8

That should help to get your project compile until the PR is reviewed, tested, merged..

Anyone who has tested can approve this PR.
*Fixed the title to pass the cla, Sorry!


vpkedit crashes after a bit of time upon starting (Windows 10)

I have guessed so by using task manager. It starts as background process. Once it reaches somewhat 10% of my cpu usage (my base speed is 2.4 GHz), it freezes for a split second, then does nothing (0% usage) for a while until it closes itself. I have every Visual C++ version installed on my machine. Both release types (standalone and installer) fail.

Are you using the latest version (3.6.2)?

yep

@justaguy31 what windows 10 build do you use? for some reason, mine has vpkedit installed on build 20H2 has working fine with version 3.6.2, Do you have all the VC++ 2015-2022 runtime installed though?
Or this could be GPU/OpenGL related problem

@Vinzuerio makes a good point, if you don't have the 2015-2022 redistributables you can download them from the install guide for VPKEdit

i have every Visual C++ version as i said. i use Windows 10 version 10.0.19045 build 19045

(22H2)

I have a test VM running that same version and it works fine. Perhaps your graphics card doesn't support OpenGL 3.3? Can you tell me what DX feature levels it supports: https://www.quora.com/How-do-you-find-out-which-version-of-OpenGL-your-graphics-card-supports

12_1, 12_0, 11_1, 11_0, 10_1, 10_0, 9_3, 9_2, 9_1

@justaguy31 do you have any Source 1 games installed? It looks like the application might crash if it detects Steam but cannot find any Source 1 games (patched in dev)

Sadly, I don't. What do you mean by dev?

I mean its fixed in code, and should be a part of the next beta release

Can you test if the standalone version of the latest beta release (4.0.0-beta.3) launches on your computer? It has the fix

Same story. I wonder if I could look myself what's causing the issue.

Damn, I was sure that was it. I'm not sure how to debug Qt programs on Windows, whenever I try it seems like it has trouble binding to the console. Might need a fix in code

Since this issue has been open for a few months with no way for me to reproduce it and apparently no one else experiencing it, I'm going to close this issue. If you or someone else does find out the cause for the crash, just reopen the issue and let me know what the problem is.


Scatter plot point size

Checklist

[x] I am running the latest version of the card
[x] I checked if there isn't another feature request opened with the same request
[x] I checked that the feature is not already available in the dev branch

Is your feature request related to a problem? Please describe.
The scatter plots render quite large dots. This makes it hard to see subtle changes in high-frequency data as the dots can be too close and render over the top of each other, making it hard to see other nearby readings. It is also problematic with line graphs, although not as bad.
Describe the solution you'd like
It would be nice if we could change the size of the dots in a scatter plot, e.g. a dot that only takes up one pixel would be ideal. Making this user-definable would be great, but really, I don't mind if it's simply a 1px dot and that's the only option.
This would make it a lot easier to see slight changes in adjacent readings.

I don’t seem to have the ability to remove the stale label so here’s a comment instead.

I don’t seem to have the ability to remove the stale label so here’s a comment instead.


IDBBatchAtomicVFS error: TypeError: Cannot read properties of null (reading 'fileSize')

Hi!
Thanks for the awesome library. I'm toying around with it to make a "full-stack" SQLite web application (SQLite persistence in browser and SQLite in the server). However, I encountered a strange error, trying to make IDBBatchAtomicVFS works. My code is something like this:
import * as IDBBatchAtomicModule from 'wa-sqlite/src/examples/IDBBatchAtomicVFS.js'

export async function hello() {
  const module = await SQLiteESMFactory()
  const sqlite3 = SQLite.Factory(module)
  const vfs = new IDBBatchAtomicModule['IDBBatchAtomicVFS']([])
  await vfs.isReady
  sqlite3.vfs_register(vfs, true)
  const db = await sqlite3.open_v2('mydb')
  const queryContent = (await import('../../../queries/01__snippet_creation.sql?raw')).default
  await sqlite3.exec(
    db,
    queryContent,
  )
  await sqlite3.close(db);
}

Where queryContent is something like:
CREATE TABLE IF NOT EXISTS snippets (
    id TEXT PRIMARY KEY,
    "name" TEXT,
    "language" TEXT,
    "text" TEXT,
    "encrypted" BOOLEAN,
    position REAL,
    updated_at DATETIME,
    created_at DATETIME
);

The error is like this:
TypeError: Cannot read properties of null (reading 'fileSize')
    at #xWriteHelper (IDBBatchAtomicVFS.js:247:40)
    at IDBBatchAtomicVFS.xWrite (IDBBatchAtomicVFS.js:232:17)
    at Ic (wa-sqlite.mjs?url:70:51)
    at wa-sqlite.wasm:0x70b37
    at wa-sqlite.wasm:0x57d2c
    at wa-sqlite.wasm:0x57ecf
    at wa-sqlite.wasm:0x2329
    at wa-sqlite.wasm:0x3f6f0
    at wa-sqlite.wasm:0x15241
    at wa-sqlite.wasm:0x5f3f7

Do you have any idea how does this error happen and what can I do to fix it? I'm using Vite, installing the library from GitHub with yarn install rhashimoto/wa-sqlite, but still serving the .mjs and .wasm files as static files.
Many thanks!

For full reproducibility, you can checkout this branch of my code (https://github.com/thanhnguyen2187/crypta/pull/28), then do yarn install, yarn dev, and look at the console log.

Oh I see. That really make sense. I changed the importing to wa-sqlite-async.mjs and it worked. Many thanks for your help!
Maybe a document on how to use the example VFS would be really helpful. What do you think?

There is this entry in the FAQ, and sample application code under demo/. It might be good to add a hello-async demo.


Change license information and documentation url

Hello,
This PR updates the license information (I relicensed euporie under the MIT license a while back).
I've also added a link to the documentation.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@joouha If you are interested, feel free to add yourself as maintainer.

Hi

feel free to add yourself as maintainer

Does this mean adding my name to the Feedstock Maintainers section in the readme?


PsUtil access denied in MacOS

I manage to run the development branch in Ubuntu
But when I try in MacOs I got this error below.
It  seems we need to ask Access Permission in MacOs first?
Thanks
Traceback (most recent call last):
  File "/Users/kosada/chia/chia/venv/bin/plotman", line 8, in <module>
    sys.exit(main())
  File "/Users/kosada/chia/chia/venv/lib/python3.8/site-packages/plotman/plotman.py", line 127, in main
    jobs = Job.get_running_jobs(dir_cfg['log'])
  File "/Users/kosada/chia/chia/venv/lib/python3.8/site-packages/plotman/job.py", line 84, in get_running_jobs
    if is_plotting_cmdline(proc.cmdline()):
  File "/Users/kosada/chia/chia/venv/lib/python3.8/site-packages/psutil/init.py", line 677, in cmdline
    return self._proc.cmdline()
  File "/Users/kosada/chia/chia/venv/lib/python3.8/site-packages/psutil/_psosx.py", line 351, in wrapper
    raise AccessDenied(self.pid, self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=1)

If you want you can try the branch altendky-patch-6.

Tried this under activate :
pip install git+https://github.com/ericaltendorf/plotman@altendky-patch-6
Then run : plotman interactive
still shows the same error

(venv) ➜  chia sed -n '80,85p;86q' /Users/kosada/chia/chia/venv/lib/python3.8/site-packages/plotman/job.py
for proc in psutil.process_iter(['pid', 'cmdline']):
# Ignore processes which most likely have terminated between the time of
# iteration and data access.
with contextlib.suppress(psutil.NoSuchProcess):
if is_plotting_cmdline(proc.cmdline()):
if proc.pid in cached_jobs_by_pid.keys():

Fixed I believe.  We're debugging the next issue on Keybase.
https://github.com/ericaltendorf/plotman/issues/38


Add Ganjacoin

PR for addition of Ganjacoin to KMD BarterDEX:
Official Website:
https://ganjacoinpro.com
Explorer:
http://explorer.ganjacoinpro.com/
BitcoinTalk
https://bitcointalk.org/index.php?topic=2144531.0
Source Code:
https://github.com/legends420/GanjaCoin
Please also add the following parameters to Ganjaproject.conf:
staking=0
masternodeminprotocol=60032

Social Media / Discord:
https://discord.gg/7bGWmua  Dev contact @Legends (Ganjaman#6873)
https://www.facebook.com/HLsmokeshop/
https://twitter.com/ganja_coin

I had a look at the wallet source from https://github.com/legends420/GanjaCoin and it is missing 2 things needed in BarterDEX: gettxout API call and BIP65 (https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki). Without these, it will not work.

Please add gettxout and BIP65 and make a new PR to this repo when done: https://github.com/jl777/coins. It is the new coins database for BarterDEX.


Semgrep user crendential

User credential cannot be written as plain text and must be hidden.
Tracking issue for:

[x] https://github.com/Hellixaz/juice-shop/security/code-scanning/3

False Positive


Add // to macros and math interpreter for resolving constants

Some missing bits to fully support // in all places were / is supported today.
Ref: #2968

Thanks for all the reviews, but the CI wasn't happy.
There are other left overs I've just found regarding the &-ops and //. I will send them in another PR.


Support for Webpacker

Request to add support for Webpacker in place of Asset Pipeline.
NoMethodError: undefined method `assets' for #<Rails::Engine::Configuration:0x00007f83d48bb398>
/Users/natemacinnes/.rvm/gems/ruby-2.7.2/gems/railties-<IP_ADDRESS>/lib/rails/railtie/configuration.rb:96:in `method_missing'
/Users/natemacinnes/.rvm/gems/ruby-2.7.2/gems/exception_handler-<IP_ADDRESS>/lib/exception_handler/engine.rb:35:in `<class:Engine>'
/Users/natemacinnes/.rvm/gems/ruby-2.7.2/gems/exception_handler-<IP_ADDRESS>/lib/exception_handler/engine.rb:15:in `<module:ExceptionHandler>'
...

https://github.com/richpeck/exception_handler/blob/e0e1e427fd2ac9226fec1c932dc20ac71d10066b/app/views/layouts/exception.html.erb#L9
https://github.com/richpeck/exception_handler/blob/e0e1e427fd2ac9226fec1c932dc20ac71d10066b/app/views/layouts/exception.html.erb#L10
https://github.com/richpeck/exception_handler/blob/e0e1e427fd2ac9226fec1c932dc20ac71d10066b/app/views/layouts/exception.html.erb#L13
https://github.com/richpeck/exception_handler/blob/e0e1e427fd2ac9226fec1c932dc20ac71d10066b/lib/exception_handler/engine.rb#L35

One option could be to add config option to copy the assets to packs/ instead of assets.  Use the same option to use asset_pack_pathinstead ofasset_path` and not precompile.
Might be some other steps required too...

Hi Nathan, many thanks for the messages & comprehensive information!
I will need to double check this as the system was working fine up until the latest Rails release, so perhaps the assets methods have been phased out completely? I'll check in a bit for you.
Rich

Oh, the asset pipeline hasn’t been completely phased out. To be clear,
keeping the asset pipeline still works fine.
In my case, the exception_handler gem is the only thing in my project that
leverages the asset pipeline so was hoping to be able to configure it so
that I could remove the sprockets dependency.
On Mon, Apr 12, 2021 at 11:26 Richard Peck @.***> wrote:

This message originated outside your organization.

Hi Nathan, many thanks for the messages & comprehensive information!
I will need to double check this as the system was working fine up until
the latest Rails release, so perhaps the assets methods have been phased
out completely? I'll check in a bit for you.
Rich
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/richpeck/exception_handler/issues/101#issuecomment-817904960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQ4YDDGNHQDPQCGPLD5ABTTIMGKVANCNFSM42ZLJOKQ
.

--
Nate MacInnes
Business Technology Full-Stack Web Developer
Montreal, Canada (Remote)
@.***

Understandable.
Maybe I could add a configuration option for webpacker only?
Rich

On 12/04/2021 16:46 Nathan MacInnes<EMAIL_ADDRESS>wrote:

Oh, the asset pipeline hasn’t been completely phased out. To be clear,
keeping the asset pipeline still works fine.
In my case, the exception_handler gem is the only thing in my project that
leverages the asset pipeline so was hoping to be able to configure it so
that I could remove the sprockets dependency.

On Mon, Apr 12, 2021 at 11:26 Richard Peck<EMAIL_ADDRESS>wrote:

> *This message originated outside your organization.*
>
> ------------------------------
>
> Hi Nathan, many thanks for the messages & comprehensive information!
>
> I will need to double check this as the system was working fine up until
> the latest Rails release, so perhaps the assets methods have been phased
> out completely? I'll check in a bit for you.
>
> Rich
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/richpeck/exception_handler/issues/101#issuecomment-817904960>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJQ4YDDGNHQDPQCGPLD5ABTTIMGKVANCNFSM42ZLJOKQ>
> .
>
--

*Nate MacInnes*

Business Technology Full-Stack Web Developer

Montreal, Canada (Remote)

<EMAIL_ADDRESS>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/richpeck/exception_handler/issues/101#issuecomment-817920146 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINUL5HSM63XFCLN3ARMS3TIMIWFANCNFSM42ZLJOKQ .

@richpeck it would have been great to have it running in webpacker-only mode. The application I am working on also doesn't use sprockets assets pipeline.

I'll look into this, and the eval problem, today
Rich

On 29/07/2021 06:25 Yurii Rashkovskii<EMAIL_ADDRESS>wrote:

@richpeck https://github.com/richpeck it would have been great to have it running in webpacker-only mode. The application I am working on also doesn't use sprockets assets pipeline.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/richpeck/exception_handler/issues/101#issuecomment-888813556 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINULY54PQTEPTWFGBQ763T2DQ5LANCNFSM42ZLJOKQ .

I looked at the eval problem and you were correct -- I don't know why I used eval when send was sufficient.
I have been looking at webpack integration.
Unfortunately, it looks like getting webpacker to work with engines is not cut and dry. I'm trying to figure out how to make the two work side by side (IE if you don't have sprockets, how to get the CSS to compile with webpack).

I'm hitting this error as well when trying to move away from sprockets to propshaft. Rails admin gem, for rails 7 support, move it's current approach and implemented an install task that detects webpack(er) config and attaches the needed configs to it, in case you want to look at some examples

Hi, is there a workaround for that issue? I've added the gem to a Rails 6.1.6 project with webpacker it getting a undefined method assets' for ...`

In our project I removed a gem, which had sprockets-rails as a dependency and suddenly the app failed to start with the same NoMethodError: undefined method assets' .... error. After reintroducing explicitly thesprockets-railsgem it all works again. Is there a reason not to havesprockets-rails` specified as a dependency?


(PUP-5964) Improve how type mismatches are asserted and reported

This PR contains several commits targeted to improve reporting of type mismatches and to make them more consistent. The details are in the commit messages.

Needs to be retargeted to stable for 4.4.1 (but blocked until after we tag 4.4.0)

This is good to be merged once the block is lifted.

Superseded by PR-4723.


Fix compatibility with CUDA Compute Capability <3.2 (issue #320).

The current code is not compatible with CUDA devices withe CC <3.2 due to the use of __ldg intrinsic. A  preprocessor check for CC>=3.2, such as the one proposed here resolves the issue.

Closing the request. Didn't notice that the project doesn't use pull request mechanism at the moment.

Sorry about that -- we already have a change internally that addresses this though.  Will be pushed out soon.

Thanks for letting me know, Vijay. And most of all, thanks for working on
tensorflow and making it openly available!
Cheers,
-Petr
On Tue, Nov 24, 2015 at 12:48 PM, Vijay Vasudevan<EMAIL_ADDRESS>wrote:

Sorry about that -- we already have a change internally that addresses
this though. Will be pushed out soon.
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/pull/340#issuecomment-159400438
.


Logo on Github Dark Background

The present logo does not work well on a dark background. E.g.

It stands out better with a light stroke applied to it, though I'm not sure that I'd say it looks better. I will leave it to the artists to figure out.

Ah, good catch. We can probably use the internal version of the logo: https://github.com/u3d-community/U3D/blob/master/bin/Data/Textures/Logo.png or https://github.com/u3d-community/U3D/blob/master/bin/Data/Textures/FishBoneLogo.png

Fixed.


/ in name of record breaks symbol building

1. Describe the bug
If downloading symbols and a there is a record (might be other objects) that contains a / in its name, the compiler cant read it.
Happens with C/AL Table 823 "Name/Value Buffer".
Considering this is a default table and you can also name objects containing a /, this seems to be a bug.
It seems to happen only as parameter.
You get the message:
Argument 5: cannot convert from 'Record "Name/Value Buffer" temporary' to 'MissingTypeSymbol'
2. To Reproduce
1: Have version of "AL Language extension for Microsoft Dynamics 365 Business Central" greater than version 11.7 (latest correct working version)
2: Have a Table containing a / (like C/AL Table 823 "Name/Value Buffer")
3: Have procedure with that object as a parameter in an extension.
4: Call that procedure from a different extension
5: Execute "AL: Download Symbols" (in pop-up menu)
6: Try to compile
codeunit x "CallingCodeunit"
{
local procedure CallingFunction()
var
        ltrecNameValueBuffer: Record "Name/Value Buffer" temporary;
        lcunCodeunitInOtherExtension: Codeunit CodeunitInOtherExtension;
begin
        lcunCodeunitInOtherExtension.FunctionInOtherExtenstion(ltrecNameValueBuffer);
end;
}

codeunit y "CodeunitInOtherExtension"
{
procedure FunctionInOtherExtenstion(var ptrecNameValueBuffer: Record "Name/Value Buffer" temporary)
begin

end;
}

3. Expected behavior
Correct reference of symbols so it can be compiled
4. Actual behavior
Generates error:
Argument 5: cannot convert from 'Record "Name/Value Buffer" temporary' to 'MissingTypeSymbol'
5. Versions:

AL Language: (Platform/application/runtime) <IP_ADDRESS>/<IP_ADDRESS>/3.2
Visual Studio Code: 1.88.1
Business Central: 14.0.47686.0
List of Visual Studio Code extensions that you have installed:
AL Language Extension: 13.0.971907

Final Checklist
Please remember to do the following:

[X] Search the issue repository to ensure you are reporting a new issue

[X] Reproduce the issue after disabling all extensions except the AL Language extension

[X] Simplify your code around the issue to better isolate the problem

Version 14 aka C/SIDE is not supported anymore.
Official answer:


how should i installed dpth?

I installed conda install cvxpy -c cvxgrp
but i get ModuleNotFoundError: No module named 'qpth' for     from qpth.qp import QPFunction

pip install qpth


YOURLS 1.9+compatibility

Is this theme still compatible with YOURLS 1.9+ ? Thank you

Is this theme still compatible with YOURLS 1.9+ ? Thank you

lets try n error

And is it @Razva ? :)

I see it working


Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
Rtx 3070
GPU VRAM
8gb
Version number
4.2.5
Browser
Chrome
Python dependencies
No response
What happened
I just upgraded from v3.x (standalone) to the latest release 4.2.5, installation went fine but when i tried to launch invoke ive got error 404 in the cmd and in browers it says "not found". I have tried some suggestions, but didnt figured out how to solve the issue
What you expected to happen
If installation is finished with no issues ive expected to invoke to launch it at first try

How to reproduce the problem
No response
Additional context
No response
Discord username
bushido3079

Hi, sorry but we don't support the standalone version via github. The main reason for the standalone version was to facilitate model downloads during installation.
Since v4 onwards, model installs are much smoother and happen from within the app, not during installation. I'd suggest moving to the standard release, which you can download from https://github.com/invoke-ai/InvokeAI/releases/tag/v4.2.4
There's a channel on the discord for the standalone version, if you want to troubleshoot that.


memory leak?

Describe the bug
After running dg_ctl press, RES/VIRT memory from htop goes up and never drop down even dg_ctl stopped
drogon version: Version:1.0.0.beta7.1075 Git commit:8f5c757ce2e0613d70eefa10698cf824d3097c6f
Lubuntu 19.04 / gcc 8.3
drogon Debug build
update
I noticed something new, it only happens when I use certain config.json, file attached
config.json.zip
without loadConfigFile this json config, everything runs smoothly
To Reproduce

create project using dg_ctl create project jps-lcs-smartlab
copy/paste the User::login/User::getInfo code from wiki
use any memory monitor tool
start drogon_ctl press -n 500000 -c 200 -t 4 -q 'http://localhost:8080/demo/v1/User/5/info?token=3'
stress test finished, and memory usage up for few hundres megabytes
repeat 3, the memory usage keeps climbing all the way up and never drop down

Screenshots
before dg_ctl

after just one dg_ctl run

@mo-xiaoming With the configuration file, you enables the session. When the session is turned on, drogon creates new session objects for every single request without session cookies. And the requests sent by drogon_ctl have not any cookies, this means that a lot of session objects are created for these requests(one session for one request). The session is disabled by default, so when you don't load the config.json, everything looks fine.
This is not a memory leak, all sessions would be released when them are expired.

Probably, I found out my self, it is because these two lines
          "enable_session": false,
          "session_timeout": 86400,

those memory usage are for sessions
However, even I change session_timeout to a much smaller value, like 10 mins, RES memory does not change after timeout
Then, if I run dg_ctl press with the same request number, the RES memory goes up just a little bit. Unlike before timeout, if I run dg_ctl press with any number, the memory usage just goes up without exception
Maybe it is the OS to keep those memory for further use?

I think this is due to the memory strategy of standard library containers. When objects in the container are released, only destructors are called, and their memory is reserved for further use. This is the general behavior of most standard library containers

You are absolutely right, I did not notice it is a std::unordered_map

I think this is due to the memory strategy of standard library containers. When objects in the container are released, only destructors are called, and their memory is reserved for further use. This is the general behavior of most standard library containers

Then how can i solve this? I am facing the same issue...


#43 Secured production content

Addressed feedback from review (sorry about the delay), and unit tested the exception expectation.  Build passes.  Merging in.


Update ci workflow

separate main branch from ci workflow

(push) main branch : docker build & push (docker hub)
(push) not main branch : lint, unit test, docker build & push (google cloud)

use docker default tag (latest)
# docker pull taehoio/youtube2notion
Using default tag: latest
Error response from daemon: manifest for taehoio/youtube2notion:latest not found: manifest unknown: manifest unknown

Related https://github.com/taehoio/youtube2notion/issues/14

just to give a little context why I didn't put the latest tag for the container image, I like to specify all kind of versions of tags explicitly. sometimes (often actually) latest tag name occurs image version conflicts which is very hard to track and debug. but in this case, providing latest tag seems to be valid since it's open-sourced and has to support common users' needs.