fix fix coredump of bitmap_from_array caused by null array literal

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run  ut

run beut

run feut


Mjml.PathRepository.NodePath is not used when installing mjml dependency

I have looked at the code and when the node process is initialized it assumes that the node.exe file is in the program folder

Sorry for not answering earlier ... I kind of forgot about this project ... until I needed it again (today).
I'll look into it in the coming days and let you know when it's fixed :-)

Now the NodeProcess class uses the Mjml.PathRepository.NodePath static property as the source for the path to node.exe as expected.


DRPC issue: Preserve Last Known Primary after Hub Recovery

Problem:
DRPC does not preserve the last known primary after hub recovery. This issue arises when the entire zone experiences a catastrophic failure, resulting in both the hub and the managed clusters being down. In such scenarios, there is no reliable source of information available to reconstruct the DRPC status with accurate information.
Potential Solution:
To address this problem, we need to use the S3 store as a last resort to retrieve the Primary VRG. The following steps outline the potential solution:

Introduce a new field in the VRG status, which will store the name of the cluster where the VRG is currently serving as the primary. Instead of introducing a new field, we'll use annotation to store the cluster where the VRG is/was primary.
Add a new field to the DRPC status, possibly named LastKnownPrimaryCluster, that will always hold the name of the primary cluster for the VRG.
On hub recovery, populate the LastKnownPrimaryCluster field from the VRG resource retrieved from the S3 store.

Instead, add an annotation to the DRPC, which is simple to implement and utilize, without introducing any backward compatibility concerns. It is particularly unnecessary for ramen.


PHP 5.2 Error

Hi guys, i'm using your library on our project and i get this issue in PHP 5.2.
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in ./core/libs/Parsedown.php on line 1489

PHP 5.2 is no longer supported: see #286, #297, https://github.com/erusev/parsedown/commit/5f40cab3e796235a3bf6dfd2bddd451ca1019860

Also: http://php.net/supported-versions.php

Yes, support for PHP 5.2 was removed since Parsedown version 1.6.0. You could use an earlier version if you must use such old PHP version, but I urge to update your servers.
PHP 5.2 was released almost 10 years ago and declared EOL (end of life) 5 years ago.

I think we can safely close this one.


fix create-scratch and other runhcs subucommands

runhcs subcommands were missing a call to SetConfidentialUVMOptions after the uVM has been booted. This results in closed door policy to be set for all UVM operations, including (now) execs into UVM. Previously the exec would succeed, UVM exited and we had our scratch.
Additionally GCS has been updated to set the policy to "open door" when both enforcer and security policy options are empty.
Signed-off-by: Maksim An<EMAIL_ADDRESS>

@matajoh @SeanTAllen @KenGordon FYI

This looks ok, although having to call a method called SetConfidentialUVMOptions for a thing completely not to do with a confidential UVM is a bit jarring. Is that really SetUVMConfidentialityOptions? I will look when I am at a PC

This looks ok, although having to call a method called SetConfidentialUVMOptions for a thing completely not to do with a confidential UVM is a bit jarring. Is that really SetUVMConfidentialityOptions? I will look when I am at a PC

yeah, original SetSecurityPolicy evolved... I'll see if I can come up with a better way to handle this.

This looks ok, although having to call a method called SetConfidentialUVMOptions for a thing completely not to do with a confidential UVM is a bit jarring. Is that really SetUVMConfidentialityOptions? I will look when I am at a PC

yeah, original SetSecurityPolicy evolved... I'll see if I can come up with a better way to handle this.

Also, this method name is used on both an instance of a uvm (from the host side) and on an instance of the host (on the guest side) making it all harder to follow.

Also, this method name is used on both an instance of a uvm (from the host side) and on an instance of the host (on the guest side) making it all harder to follow.

suggestions on better names?


Remove Terminal.onDidWriteData

Replaced by vscode.window.onDidWriteTerminalData
Fixes #78574

@Tyriar the serverReadyAction feature no longer works in the integrated terminal since the package.json is missing a "enableProposedApi": true.
I addition I will have to rewrite the code because the old implementation tried to be very careful to only register onDidWriteData only for those terminals that actually used the feature. With the new API this is no longer possible as onDidWriteTerminalData gets all data for all terminals.
I'm not sure that the new API is an improvement. It is definitely not performance-wise.

new API is an improvement. It is definitely not performance-wise.

That's on purpose. For once to align with the global event rules and then the  VSLS use-case is to listen on all terminal anyways, hence no performance difference. Tho, because we are aware that (global and private events are equally dangerous) we have no plans to ever move that API out of proposed.

@weinand no longer works? That was never stable so how did it ever work? @jrieken and I have spoken at length about performance and security and that's why the plan is it leave it as proposed.


fix: Fix ios crash due to AgoraVideoView.dipose call before RtcEngine.setupxxVideo

This PR only addresses the fix for iOS, on Android, this issue does not cause a crash but causes a potential memory leak, will raise another PR for it.

At this time we pass the int ptr of the UIView to Flutter side, and call the setupLocalVideo/setupRemoteVideo of the native sdk via ffi through the IrisMethodChannel. The call of IrisMethodChannel run in the standalone isolate, which is an async call, it's unsafe to direct access the int ptr of the UIView without adding additional reference.
The flow below will crash:
AgoraVideoView  AgoraSurfaceView     IrisMethodChannel
    |               |                      |
    | setupView     |                      |
    | ------------> | int ptr of UIView    |
    |               |--------------------> |
    |               |                      | -- setupLocalView/setupRemoteView
    |               |                      |         |
  dispose --------> |                      |         |
                    |                      |         |
                    | release UIView       |    (long running ...)
                    | (invalid address)    |         |
                    |------------------ >  |         |
                                           |         |
                                           |-- call native sdk setupLocalView/setupRemoteView (execution end)
                                                     |
                                                   CRASH !!!

So we need to manage the UIView with ref count globally(keep referencing the UIView), to ensure the lifecycle of the UIView is as long as the async call.

Examples built:

https://download.agora.io/demo/test/agora_rtc_engine_android_6.1.1-sp.4116_20230721064939.zip
https://download.agora.io/demo/test/agora_rtc_engine_ios_6.1.1-sp.4116_20230721065143.zip
https://download.agora.io/demo/test/agora_rtc_engine_macos_6.1.1-sp.4116_20230721064504.zip
https://download.agora.io/demo/test/agora_rtc_engine_windows_6.1.1-sp.4116_20230721064346.zip

This comment is commented by bot, do not edit it directly

Examples built:

https://download.agora.io/demo/test/agora_rtc_engine_android_6.1.1-sp.4116.banban.2_20230724035711.zip
https://download.agora.io/demo/test/agora_rtc_engine_ios_6.1.1-sp.4116.banban.2_20230724035858.zip
https://download.agora.io/demo/test/agora_rtc_engine_macos_6.1.1-sp.4116.banban.2_20230724035358.zip
https://download.agora.io/demo/test/agora_rtc_engine_windows_6.1.1-sp.4116.banban.2_20230724035406.zip

This comment is commented by bot, do not edit it directly


fix: removing duplicate quotes, author names, unwanted quotes

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

after #39069 there were still two quotes that was requested to remove in #39039
I have also removed a few others duplicated quotes and fixed some mispelled author names (example: there was a Mitch Ratcliffe quote with the author spelled in three different ways)

Thanks, did you sort these strings alphabetically? Not a big deal. I am just curious.

Thanks, did you sort these strings alphabetically? Not a big deal. I am just curious.

Yes, as there was small differences between the various duplicated quotes, it was the only way to be able to check them manually, same for author names. I can scramble them again if needed!
The quotes are sorted alphabetically by the author string, and inside the group alphabetically by the quote string

Nope, that's the way we want it. Thanks for cleaning up the mess, and thinking ahead. 🙂


Switching between workspace on GNOME triggers sometimes Uncaught Error

Open Atom on a new Workspace in GNOME 3
Maximize Atom window
Switch to another workspace
Get back to Atom workspace
Sometimes it triggers this error

Atom Version: 1.7.3
System: linux 4.5.4-1-ARCH, GNOME 3.20.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (/usr/share/atom/resources/atom.asar/browser/objects-registry.js:44:28)
at EventEmitter. (/usr/share/atom/resources/atom.asar/browser/rpc-server.js:318:31)
at emitMany (events.js:108:13)
at EventEmitter.emit (events.js:182:7)
at EventEmitter. (/usr/share/atom/resources/atom.asar/browser/api/web-contents.js:144:25)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:172:7)
At /usr/share/atom/resources/atom.asar/renderer/api/remote.js:170

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (/usr/share/atom/resources/atom.asar/browser/objects-registry.js:44:28)
    at EventEmitter.<anonymous> (/usr/share/atom/resources/atom.asar/browser/rpc-server.js:318:31)
    at emitMany (events.js:108:13)
    at EventEmitter.emit (events.js:182:7)
    at EventEmitter.<anonymous> (/usr/share/atom/resources/atom.asar/browser/api/web-contents.js:144:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
    at metaToValue (/usr/share/atom/resources/atom.asar/renderer/api/remote.js:170:13)
    at BrowserWindow.remoteMemberFunction [as getPosition] (/usr/share/atom/resources/atom.asar/renderer/api/remote.js:110:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (/usr/share/atom/resources/app.asar/src/atom-environment.js:626:29)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (/usr/share/atom/resources/app.asar/src/atom-environment.js:660:36)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (/usr/share/atom/resources/app.asar/src/window-event-handler.js:182:35)
    at /usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61

Commands
     -2:44.4.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -2:44.4.0 core:cancel (atom-text-editor.editor.is-focused)
     -2:42.7.0 core:save (atom-text-editor.editor.is-focused)
     -2:33.6.0 editor:delete-line (atom-text-editor.editor.is-focused)
     -2:32.8.0 core:save (atom-text-editor.editor.is-focused)
     -1:43.3.0 core:delete (atom-text-editor.editor.is-focused)
  2x -1:42.5.0 editor:move-line-up (atom-text-editor.editor.is-focused)
     -1:41.5.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -1:41.5.0 snippets:expand (atom-text-editor.editor.is-focused)
     -1:41.5.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -1:41.5.0 editor:indent (atom-text-editor.editor.is-focused)
     -1:40.9.0 core:save (atom-text-editor.editor.is-focused)
     -1:26.1.0 editor:duplicate-lines (atom-text-editor.editor.is-focused)
 11x -1:25.6.0 editor:move-line-down (atom-text-editor.editor.is-focused)
     -0:02.4.0 core:cut (atom-text-editor.editor.is-focused)
     -0:02.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "autoHideMenuBar": true,
    "closeEmptyWindows": false,
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "Remote-FTP",
      "spell-check"
    ],
    "packagesWithKeymapsDisabled": [
      "standard-formatter",
      "git-projects"
    ],
    "projectHome": "/home/louisbl/Dev",
    "themes": [
      "spacegray-eighties-ui",
      "base16-syntax"
    ]
  },
  "editor": {
    "fontFamily": "Input Mono Narrow",
    "fontSize": 16,
    "invisibles": {},
    "lineHeight": 1.2,
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "showInvisibles": true,
    "softWrap": true,
    "softWrapAtPreferredLineLength": true,
    "softWrapHangingIndent": 2
  }
}

Installed Packages
# User
atom-jinja2, v0.5.0
atom-ternjs, v0.14.1
autocomplete-modules, v1.4.1
base16-syntax, v1.7.0
docblockr, v0.7.3
esformatter, v1.25.0
file-icons, v1.7.12
highlight-line, v0.11.1
highlight-selected, v0.11.2
language-babel, v2.20.10
language-docker, v1.1.6
language-elixir, v0.12.3
language-glsl, v2.0.1
language-haxe, v0.4.3
language-vue, v0.12.0
linter, v1.11.4
linter-docker, v0.1.2
linter-elixirc, v1.1.8
linter-eslint, v7.2.2
linter-glsl, v2.0.2
linter-handlebars, v2.3.4
linter-js-yaml, v1.2.5
linter-jsonlint, v1.2.5
pigments, v0.26.3
pretty-json, v1.4.0
project-manager, v2.9.7
spacegray-eighties-ui, v1.2.0

# Dev
No dev packages

This seems similar enough to #11692 that I'm going to close this as a duplicate.  Thanks for the repro steps though!


[#3580] Fixed accessing github api at startup in web

add download info configuration
Makes api call lazilly

Codecov Report

Merging #3586 into master will decrease coverage by <.01%.
The diff coverage is 43.18%.

@@            Coverage Diff             @@
##           master    #3586      +/-   ##
==========================================
- Coverage    40.1%   40.09%   -0.01%
==========================================
  Files        2186     2189       +3
  Lines       71519    71534      +15
  Branches     9831     9832       +1
==========================================
- Hits        28681    28680       -1
- Misses      40098    40110      +12
- Partials     2740     2744       +4

Impacted Files
Coverage Δ

...point/web/dao/rest/GithubAgentDownloadInfoDao.java
0% <0%> (ø)
:arrow_up:

...int/web/dao/memory/MemoryAgentDownloadInfoDao.java
100% <100%> (ø)

.../pinpoint/web/dao/AgentDownloadInfoDaoFactory.java
100% <100%> (ø)

...m/navercorp/pinpoint/web/vo/AgentDownloadInfo.java
25% <25%> (ø)

...rcorp/pinpoint/web/vo/GithubAgentDownloadInfo.java
43.9% <50%> (+8.51%)
:arrow_up:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ServerClosePacket.java
52% <0%> (-16%)
:arrow_down:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
79.86% <0%> (-4.87%)
:arrow_down:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-2.99%)
:arrow_down:

...p/pinpoint/profiler/sender/AbstractDataSender.java
97.05% <0%> (-2.95%)
:arrow_down:

... and 5 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 00287d2...b1b6213. Read the comment docs.

@emeroad review please :)


Improve types in methods

Currently, there are some methods without types in either parameters or returned values.
Most of them are in the crypto folder
Examples:

https://github.com/nemtech/nem2-sdk-typescript-javascript/blob/master/src/core/crypto/Utilities.ts
https://github.com/nemtech/nem2-sdk-typescript-javascript/blob/master/src/core/crypto/KeyPair.ts#L27 (KeyPar interface or class?)
https://github.com/nemtech/nem2-sdk-typescript-javascript/blob/master/src/core/crypto/SHA3Hasher.ts#L30

This issue is to add types to those methods so the method contract is clear.

already merged


Add link to grammY on Twitter

https://twitter.com/grammy_js

I don't think so.

It says it's also know as 推特, but I am not sure which version is more common. @WingLim?

Even if it is called something else, we haven't done it wrong now, we can replace it if needed anytime.


Change Settings Example Comment Format

It might be better do just do it like..

/*

Enable automatic MIME-type based response encoding through API Gateway.

Binary support is a feature exclusive to AWS API Gateway. It allows for binary uploads and downloads, and will probably work for you out of the box 99% of the time, but if you're doing something a bit funky with binary formats you might just want to turn this off.

Relevant code here:

Default True.
*/
        "binary_support": true,

etc.
But it would be a fair amount of work. Alternatively we use something better but I still think README is king until somebody can convince me otherwise.
Also: Should we switch to YAML as default? I don't likeeeee it. But I do like TOML. But I don't want to make anybody learn another gosh dern config format.

I like this comment format. What do you think about using readthedocs or something like that?
Also, I prefer json as the default format, but we could also support YAML.


Add Sidekiq API

The QueueMetrics struct seems to contain some number of fields. In my instance there were a hundred different ones, that's why I chose to use a map.

Pushed fixes

Nice! Thx!


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Migrates global footer styles to USDS

enables colors in settings file
updates snapshots

closes #640
This ticket is really an epic as it touches all files and components. Now that colors, fonts, spacing, sizing are able to be used from USWDS, the approach is, that each time a component is touched, it will be migrated to use USWDS styles

Yay. Thanks for cleaning this up! A lot of it was a mess that I left behind.

Absolutely! It's still not super clear on how to style.. global vs modules! I'm leaning toward global, might have some repeated styles that could be abstracted


sig#809 - enhance permission validation for Onboarding Service Provider

Precondition

https://github.com/eclipse-tractusx/portal-iam/issues/186
https://github.com/eclipse-tractusx/portal-backend/issues/994

Description
The Onboarding Service Provider Management Page is intended for Onboarding Service Providers (OSPs) only. Therefore, it is necessary to check not only the user's role permissions but also whether the company itself has the Onboarding Service Provider Role.
Otherwise, the page would be visible to company types that have no interest in this information.
To achieve this:
Get the company role from the endpoint GET: /api/administration/companydata/ownCompanyDetails.
Check for the ONBOARDING_SERVICE_PROVIDER role.
Check against the configure_partner_registration permission to ensure that only users of OSP companies are able to execute the endpoints and have the necessary rights.
Overall, it needs to be ensured that no company or role can see this page unless they can use it properly, to avoid frustrating the user during their journey.
Acceptance Criteria
Visibility Restriction:

[ ] The Onboarding Service Provider Management Page is only visible to users who belong to companies with the "Onboarding Service Provider" role.
[ ] Users from other company types cannot access or view the Onboarding Service Provider Management Page.

Role and Permission Checks:

[ ] The system checks the user's role and the company's role when loading the menu to show the Onboarding Service Provider Management Page.
[ ]  The user must have the configure_partner_registration permission to access and perform actions on the Onboarding Service Provider Management Page.
[ ] Users without the required role and permission are denied access to the page and any associated endpoints.

Endpoint Response Handling:

[ ] If a user without the required role and permission attempts to access the Onboarding Service Provider Management Page directly the system responds with an appropriate HTTP status code (e.g., 403 Forbidden) and a clear error message.

Test Cases
--

Verify that the Onboarding Service Provider Management Page is only visible to users who belong to companies with the "Onboarding Service Provider" role.

Test Case 1.1: Log in as a user who belongs to a company with the "Onboarding Service Provider" role.

Expected Result: The Onboarding Service Provider Management Page is visible in the user interface.

Test Case 1.2: Log in as a user who belongs to a company without the "Onboarding Service Provider" role.

Expected Result: The Onboarding Service Provider Management Page is not visible in the user interface.

Verify that users from other company types cannot access or view the Onboarding Service Provider Management Page.

Test Case 2.1: Attempt to access the Onboarding Service Provider Management Page directly via the URL while logged in as a user who belongs to a company without the "Onboarding Service Provider" role.

Expected Result: The user is denied access to the page, and an appropriate error message is displayed.

Verify that the system checks the user's role and the company's role when loading the menu to show the Onboarding Service Provider Management Page.

Test Case 3.1: Log in as a user who belongs to a company with the "Onboarding Service Provider" role and has a role with the permission configure_partner_registration (CX Admin/Company Admin/IT Admin).

Expected Result: The Onboarding Service Provider Management Page is displayed in the menu.

Test Case 3.2: Log in as a user who belongs to a company with the "Onboarding Service Provider" role but has has a role without the permission configure_partner_registration.

Expected Result: The Onboarding Service Provider Management Page is not displayed in the menu.

Verify that if a user without the required role and permission attempts to access the Onboarding Service Provider Management Page directly, the system responds with an appropriate HTTP status code (e.g., 403 Forbidden) and a clear error message.

Test Case 5.1: Attempt to access the Onboarding Service Provider Management Page directly via the URL while logged in as a user who belongs to a company without the "Onboarding Service Provider" role.

Expected Result: The system responds with an HTTP status code of 403 Forbidden and a clear error message.

Test Case 5.2: Attempt to access the Onboarding Service Provider Management Page directly via the URL while logged in as a user who belongs to a company with the "Onboarding Service Provider" role but does not have the configure_partner_registration permission.

Expected Result: The system responds with an HTTP status code of 403 Forbidden and a clear error message.

@lavanya-bmw  is this done and can be tested by @gopalreddy-bmw then please update the status

@MaximilianHauer after discussing with @oyo, martin will further implement generic company role validation mechanism.

@gopalreddy-bmw  can you retest this please.

@lavanya-bmw / @oyo
we aligned today that the current implementation is sufficient. @oyo  will create a new issue to improve the company role handling in a proper and secure manner.
@evegufy  fyi


Test: addBalance test

I rule and have completed some work on Case Manager that's ready for review!
Add integration test for addBalance()
It relates to the following issue #s:

semi-Fixes #1039

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1045   +/-   ##
=======================================
  Coverage   96.26%   96.26%
=======================================
  Files          48       48
  Lines         991      991
=======================================
  Hits          954      954
  Misses         37       37

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 2a0cf99...4e74978. Read the comment docs.

Nicely done, thank you so much!


Stop to execute Navbar query at every change of page

Project management
Based on https://github.com/liteflow-labs/starter-kit/pull/187
Description
I'm trying to understand why the Navbar query is executed at every page change when the user is logged in.
This query is still executed at every page change even with the following modifications:

remove refetch from navbar account query
put lastNotification in a memo

@antho1404 Any idea where it's coming from?
Checklist

[x] Base branch of the PR is dev

I have a good idea of where it's coming from, I answered on your other PR https://github.com/liteflow-labs/starter-kit/pull/187

I have a good idea of where it's coming from, I answered on your other PR #187. If I'm correct, you're on the right direction for the cache, but not entirely, this is mostly the client the issue and not the cache (even tho the cache can also be improved)

I did some investigation also to keep change the way the apollo client is initalised. Initialize it with no dep to jwtToken or props.cache to make sure it's not completely recreated. I then pass the jwtToken and the props.cache in 2 separate useEffect.
But it didn't improve the cache issue. The restore function from the cache is replacing all data in this cache:

Restores the cache's state from a serialized NormalizedCacheObject (such as one returned by extract). This removes all existing data from the cache.
https://www.apollographql.com/docs/react/api/cache/InMemoryCache/#restore

I'm curious to see what you have in mind ;)

closing this PR as it's old and prioritize


msg_amount() is a duplication of balance()

It just calls the function
https://github.com/FuelLabs/sway/blob/e70cb773f873914ec3c9bc24bf82aa67e8af900a/sway-lib-std/src/context.sw#L75-L77
but it has a friendlier name.
We ought to only have 1 implementation.

Remove balance() in favour of msg_amount()


⚠ ClamAV has degraded performance

In 2a4a93d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 56 ms

Resolved: ClamAV performance has improved in 7da08fc after 5 minutes.


feat: release helm charts to grafana/helm-charts

Implements #1732
Uses the same approach as the k6-operator to publish releases to the grafana/helm-charts repo

I'm not entirely sure if I correctly understood the workflow, but seems like, amongst other artifacts, it'll push an OCI artifact to the same repository as we do now, which means we'll push it twice (through helm-oci and helm-charts-repo). What's also important is that the new workflow relies on helm v3.5.2 (was released in Feb 2021), whereas support for OCI graduated to GA only in v3.8.0 (e.g. prior to v3.7.0, helm used a different layer media type), so the artifacts would not be the same. I'm not sure if it'll break anything, but it's certainly not a good practice to use such an old helm version :)

Thanks for this @theSuess . I was suffering the problem you mention in the open issue.


changes made to index.html

i hope i did things right this time, thanks for help

Great Work !!! @hnishal . Keep looking for issues to improve the learning curve.


misposition of cursor

Issue Type: Bug
Cursor does not appear between auto-typed quotation marks.
This makes some errors.
Refer below example. | means cursor position.
expected:
<script src="| "...>
actual:
<script src=""| ...>

VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:20:17.224Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.58GB free)

Process Argv
--crash-reporter-id ca36baa1-8a9e-4c1f-8666-131a9a94c9c7

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

docs-linting
doc
0.0.9

vscode-html-css
ecm
1.11.0

vsc-material-theme
Equ
33.2.2

vsc-material-theme-icons
equ
2.2.1

prettier-vscode
esb
9.2.0

auto-rename-tag
for
0.1.10

copilot
Git
1.7.5003

vscode-language-pack-ko
MS-
1.64.6

indent-rainbow
ode
8.2.2

material-icon-theme
PKi
4.13.0

vscode-css-peek
pra
4.2.0

vscode-commons
red
0.0.6

vscode-yaml
red
1.4.0

LiveServer
rit
5.7.4

html-to-css-autocompletion
sol
1.1.2

open-in-browser
tec
2.0.0

lorem-ipsum
Tyr
1.3.1

JavaScriptSnippets
xab
1.8.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyl392cf:30425750
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dsc:30433058
pythonvs932:30410667
wslgetstarted:30433507
vsrem710:30416614
vsbas813:30436447

Your screenshot:

Can you make a short recording to show where you are clicking and what you are typing?
/gifPlease

Seeing the same thing. Very very frustrating. Screen recording below. I type a quotation mark, the second one is automatically added (correct) but the cursor is moved to after both marks.

@Jadamae77 Does configuring "html.autoCreateQuotes": false ameliorate things?

Yes, it does. Am I misunderstanding the configuration? When that config is false, I wouldn't expect it to create the closing quote automatically, but it still does (and correctly handles the cursor).

When that config is false, I wouldn't expect it to create the closing quote automatically, but it still does (and correctly handles the cursor).

There are two features at play. "html.autoCreateQuotes" is an HTML specific feature where quotes are inserted automatically after accepting an attribute in Intellisense. The other one is probably "editor.autoClosingQuotes" which works in all languages, based on language defined rules. You can also configure "editor.autoClosingQuotes": "never" to disable it.

Thank you!

duplicate of #140698

Thanks all.


Feature/fix issue 437

Fixes issue #437

Coverage remained the same at 100.0% when pulling 71a1f8d5505196e89a033365f831d47beeec97e9 on feature/fix-issue-437 into 7e038ed643dffebc5b5bca5263c2e33de73b4fd0 on develop.


🚀 Feature: Implied Relations visible in catalog-graph plugin

🔖 Feature description
I'd like a feature that is similar to the implied relationships that structurizr provides like: CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy.
See here:
https://github.com/structurizr/java/blob/master/docs/implied-relationships.md
🎤 Context
This is beneficial for situations where we want to look at a higher level of the system. ServiceA --> LibraryX --> ServiceB. If I want to filter out Libraries from catalog-graph, I should still see that ServiceA --> ServiceB.
✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hm.
Should this one be completely automatic, just doing its thing without any kind-specific logic? If you look at the image in that link, the set of possible relations grows quickly and sometimes don't provide a ton of value. What if you have nested systems (so that they can have a parent system) and then domains above that? That's an exponential number of new relations to deal with.
It's almost like you'd want to have the set of generated relations be different depending on where you're focused and/or what "zoom level" you are at.
This seems a bit nontrivial 🤔

You're right, the relationships can get out of control, but are valuable when you want to start looking at higher level pictures (e.g. look only at services but not APIs and Libraries, or look only at domains and filter everything else out). I've used C4 in the past and turned on implied relationships, feed the model to a graph database, and query at the level I want.
I'm exploring backstage and I think there are other GitHub issues (logged here) that discuss not seeing that higher level picture or having that higher level documentation. Spotify had a blog post about an architecture plugin (referenced here) that they use in-house, but I don't think it's publicly available. So just looking at alternative ideas before we commit to backstage adoption.


Add true current tile to tile indicator plugin

Same concept as from this close PR.
In action:
https://streamable.com/4uir6

This would make a lot of content easier. A few obvious examples are Solo raids, ToB maze, and Vorkath.

This would make a lot of content easier. A few obvious examples are Solo raids, ToB maze, and Vorkath.

I would agree if the tile indicator plugin didn't already exist. This is probably less useful over all (the tile indicator plugin can provide the same information as this plugin where it counts and additionally shows you if you've misclicked the wrong tile).

Yeah, that is already bad enough imo. No need to make it even more obvious.

I disagree with it making Vorkath easier, but idk about rest of points you mentioned.

This was added in runelite/plugin-hub#215

Imo this should be merged to master and the external plugin removed

Does someone want to fix this up then?


feat: coco recap command

Add 'recap' command and enhance git log utilities

feat: Add coco recap command to summarize repo changes

Introduce a new 'recap' command that generates a summary of repository changes over a specified timeframe.
Integrate with existing utilities for fetching changes and producing a structured summary.
(6d30a8c)

feat: Add git log utilities and refactor imports

Introduce formatCommitLog to format commit logs.
Implement getChangesByTimestamp and getChangesSinceLastTag to retrieve commits based on time and tags.
Refactor import order in executeChain for consistency.
(c933de6)

test: Add tests for formatCommitLog function

Introduce unit tests for formatCommitLog to ensure it formats single and multiple commit logs correctly.
Validate output format including date, message, body, hash, and author's details.
Enhance code reliability and maintainability by covering various commit scenarios.
(a7f6e8f)

Resolves #144


DC Vocab should be terms, not elements

Right now, the DC vocab in OLS is the old, "elements" namespace:
http://purl.org/dc/elements/1.1/creator
See here how Dublin Core itself talks about this: https://www.dublincore.org/specifications/dublin-core/dcmi-terms/

http://purl.org/dc/terms/ The /terms/ namespace was originally created in 2001 for identifying new terms coined outside of the original fifteen-element Dublin Core. In 2008, in the context of defining formal semantic constraints for DCMI metadata terms in support of RDF applications, the original fifteen elements themselves were mirrored in the /terms/ namespace. As a result, there exists both a dc:date (http://purl.org/dc/elements/1.1/date) with no formal range and a corresponding dcterms:date (http://purl.org/dc/terms/date) with a formal range of "literal". While these distinctions are significant for creators of RDF applications, most users can safely treat the fifteen parallel properties as equivalent. The most useful properties and classes of DCMI Metadata Terms have now been published as ISO 15836-2:2019 [ISO 15836-2:2019]. While the /elements/1.1/ namespace will be supported indefinitely, DCMI gently encourages use of the /terms/ namespace.

In OBO and everywhere, we are trying hard to get rid of the elements namespace. It would be good of OLS could help promoting that as well!

We load dcterms too:
https://www.ebi.ac.uk/ols4/ontologies/dcterms
We have to load both to resolve all the IRIs, as ontologies use both. Maybe we need a way to mark one as deprecated.

Ahh ok! Thanks for the clarification. if the ontology would have been called DCE I might have thought about looking, but doesn't matter. Thanks for the clarification @udp!


std::bad_function thrown when attempting to handle response at client

I was seeing std::bad_function thrown in client.cc.
Catching it in the debugger, it was caused by onDone (callback address) being NULL. Seems to happen when the server side decides to close a connection (perhaps after a period of inactivity?).
On further investigation, the "response" (i.e. the close connection) is happening when inflightRequests is empty.
The current code is doing stuff like:
Connection::handleResponsePacket(const char* buffer, size_t bytes) {
        ...
        auto req = std::move(inflightRequests.front());
        inflightRequests.pop_back();

        ...

        req.resolve(std::move(parser_.response));
        req.onDone();
        ...
}

According to C++ documentation, "Calling front on an empty container is undefined" for std::deque (inflightRequests is a std::deque). What actually seems to happen is that front returns a default-constructed request - which has null onDone.
We could guard all such cases in client.cc by checking for empty inflightRequests and for null onDone, something like this:
Connection::handleResponsePacket(const char* buffer, size_t bytes) {
        ...
        if (!inflightRequests.empty())
        {
        auto req = std::move(inflightRequests.front());
        inflightRequests.pop_back();

        ...

        req.resolve(std::move(parser_.response));
        if (req.onDone)
                req.onDone();
        ...
        }
}

Doing this in the client.cc places where we're pulling from inflightRequests fixes the problem for me.

submit a pull request please ;)
On Fri, Jul 28, 2017 at 6:32 PM dgreatwood<EMAIL_ADDRESS>wrote:

I was seeing std::bad_function thrown in client.cc.
Catching it in the debugger, it was caused by onDone (callback address)
being NULL. Seems to happen when the server side decides to close a
connection (perhaps after a period of inactivity?).
On further investigation, the "response" (i.e. the close connection) is
happening when inflightRequests is empty.
The current code is doing stuff like:
Connection::handleResponsePacket(const char* buffer, size_t bytes) {
...
auto req = std::move(inflightRequests.front());
inflightRequests.pop_back();
    ...

    req.resolve(std::move(parser_.response));
    req.onDone();
    ...

}
According to C++ documentation, "Calling front on an empty container is
undefined" for std::deque (inflightRequests is a std::deque). What actually
seems to happen is that front returns a default-constructed request - which
has null onDone.
We could guard all such cases in client.cc by checking for empty
inflightRequests and for null onDone, something like this:
Connection::handleResponsePacket(const char* buffer, size_t bytes) {
...
if (!inflightRequests.empty())
{
auto req = std::move(inflightRequests.front());
inflightRequests.pop_back();
    ...

    req.resolve(std::move(parser_.response));
    if (req.onDone)
            req.onDone();
    ...
    }

}
Doing this in the client.cc places where we're pulling from
inflightRequests fixes the problem for me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/oktal/pistache/issues/117, or mute the thread
https://github.com/notifications/unsubscribe-auth/AByqeGxm_dtMhm2OKeXnqA2pHMJAJdxdks5sSouTgaJpZM4OnN5X
.

:-)
Done. branch: checkBeforeCallOnDone

Hello.
I'm not sure that checking for empty-ness of the inflightRequests queue is the right thing to do here.
It looks like there is an issue somewhere else.
Basically, we finished parsing a response (the parser return Done) but we do not have any inflight request in queue, which does not really make sense. Are you able to easily reproduce the issue on your side ? If yes, could you try to tcpdump and join the resulting pcap file to the issue so that we can try analyzing more deeply what's happening ?

I could try with the tcpdump, but maybe a little more info will be enough.
The case I am seeing is Connection::handleError called with error: "Connection reset by peer"
The problem happens after several minutes of inactivity on the connection. Stack trace enclosed.
Is what's happening as simple as: Polling::Event is created due to other end choosing to terminate connection, event detected in runOnce, then passed down to Connection::handleError which crashes because it wrongly assumes there must be a inflight request in order for there to be an event on the connection?
Or LMK if you do need a tcpdump :-)
Thanks.
st.txt

Oh I see. I initially thought the problem came from handleResponsePacket.
If it does happen during handleError, then it makes a little bit more sense and I think that checking for inflightRequests empty-ness might be the right thing to do there.
I'll investigate a little bit more but if I come to the same conclusion, I'll merge your PR in.

Sounds good.
Btw checking may be a reasoanable precaution in the non-error cases too IMHO. Just as an example, imagine that a request times out at the exact moment a response is finally received from the server. Then you have a race between the process-response code and the process-timeout code; whichever looses the race is likely to be looking at empty inflightRequests isn't it, since the race winner will have stripped the request from the queue?
Granted I saw the issue in practice in the error case.

I think it can resolve also #104. If u marge place notify me I will test it.

Any update on this issue?


Feature Request: Built-in 360° equirectangular recording option

The title pretty much says it all. Ideally, it would be something similar to the Replay Mod's implementation of 360° equirectangular recording. This would be ideal for someone like me who needs to record a ~2-hour high quality 360° video. This would also remove the artifact of screen space reflections when you combine 6 square videos, and would drastically lower recording times. It would also make it far easier for the average user to record 360° videos with Minema, as most users won't know how to combine 6 videos and stitch them up perfectly, nevermind if the 6 recordings are slightly out of time and therefor ruin the immersion, which won't happen if it's built-in.
If there is already a way to do this (that isn't recording the same thing 6 times then stitching them all together) I'd love to know about it.
Thanks.

If you know how it can be implemented, feel free to try implementing yourself, because I don't know how to render a cube map.

If you know how it can be implemented, feel free to try implementing yourself, because I don't know how to render a cube map.

Ok, I don't either I was just wondering if any of you devs know how to. Maybe daipenger does?

@RYRY1002 this was added by @NyaNLI in the just released update. 🥳


{foo,bar} should match either (1) tuples with proj1 and proj2 or more, or (2) tuples with foo and bar and more, but definitely nothing else!

@jonsterling I would suppose the intended semantics is the first one. Any opinion?

@favonia I just looked, and I guess I forgot how this stuff currently works and was mistaken. The current behavior is to abbreviate let {proj1=foo, proj2=bar} ...; with that said, I don't have a strong preference about how this should work, so you can feel free to change it to how you think it should be, if you want.


Fix lowlighter metrics repo 404 errors

Since lowlighter metrics repo links give 404 errors, I fixed their URL to solve this issue.

Since lowlighter metrics repo links give 404 errors, I fixed their URL to solve this issue.

Thank you for solving this problem 🙏💙


Restrict ENI usage to IPv4

This change is

Coverage decreased (-0.02%) to 44.156% when pulling 6605ef59076d05b4a4b93d9930f8f8f39c011289 on pr/tgraf/eni-ipv6 into ec619537aa3a58721fb7940dfc2bfd6ff44ad839 on master.

test-me-please

test-me-please


added ability to pause hippolyte

sometime i've got to pause hippolyte and i'm too lazy to create all stubs again and again every time to start it, so i've added ability to pause and resume

👌


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cbr/ibm (source)
module
patch
1.22.0 -> 1.22.1

terraform-ibm-modules/kms-all-inclusive/ibm (source)
module
minor
4.11.8 -> 4.13.0

terraform-ibm-modules/secrets-manager/ibm (source)
module
patch
1.13.3 -> 1.13.4

Release Notes

terraform-ibm-modules/terraform-ibm-cbr (terraform-ibm-modules/cbr/ibm)
v1.22.1
Compare Source
Bug Fixes

only allow private COS endpoint access for all services except VPC which will use direct endpoint (#453) (264dc92)

terraform-ibm-modules/terraform-ibm-kms-all-inclusive (terraform-ibm-modules/kms-all-inclusive/ibm)
v4.13.0
Compare Source
Features

key_protect_crn output has been updated to kms_instance_crn and now supports outputting when using an existing KMS instance (#490) (a16c709)

v4.12.1
Compare Source
Bug Fixes

add support_details to the DA (#489) (0dedf43)

v4.12.0
Compare Source
Features

The default value for force_delete_key_ring and force_delete has been updated to false in the keys input variable (#485) (4755ec0)

terraform-ibm-modules/terraform-ibm-secrets-manager (terraform-ibm-modules/secrets-manager/ibm)
v1.13.4
Compare Source
Bug Fixes

add support_details to the DA (#133) (3900f04)

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

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

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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

GitHub release
v1.10.14

Your semantic-release bot :package::rocket:


Prettier tries to correct the changelog.md from auto-release

https://intuit.github.io/auto/ makes Changelog.md
prettier has some different ideas about whitespace and edits the file

It's possible (though I don't know) that this will lead to some bot-tug-of-war every time we release where auto adds the whitespace back in, and then prettier removes it on the next PR. I'd say we just avoid that and

[x] create a .prettierignore file: https://prettier.io/docs/en/ignore.html
[x] add CHANGELOG.md to this file (and so far nothing else)

:rocket: Issue was released in v0.2.0 :rocket:

:rocket: Issue was released in v0.2.0 :rocket:


quodlibet: 4.0.2 -> 4.1.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/quodlibet/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/exfalso had a zero exit code or showed the expected version
/nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/operon passed the binary check.
Warning: no invocation of /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/quodlibet had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/..exfalso-wrapped-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/.exfalso-wrapped had a zero exit code or showed the expected version
/nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/..operon-wrapped-wrapped passed the binary check.
/nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/.operon-wrapped passed the binary check.
Warning: no invocation of /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/..quodlibet-wrapped-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/.quodlibet-wrapped had a zero exit code or showed the expected version
3 of 9 passed binary check by having a zero exit code.
0 of 9 passed binary check by having the new version present in output.
found 4.1.0 with grep in /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0
directory tree listing: https://gist.github.com/296d4e647e2235036b698f635ea58ee1
du listing: https://gist.github.com/78b82ba179474dd128d2bd74355001fe

meta.description for quodlibet is: '"GTK+-based audio player written in Python, using the Mutagen tagging library"'.
cc @coroa @sauyon for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 5835aff59c78deda25a882ebe025017802a4abf0 && nix-shell --pure -I nixpkgs=. -p quodlibet

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: quodlibet
Partial log (click to expand)
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/stdenv/generic/make-derivation.nix:124:17, called from undefined position:
while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/python-packages.nix:10990:10:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/python-modules/pyobjc/default.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating 'makeOverridablePythonPackage' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/python-packages.nix:40:37, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/python-modules/pyobjc/default.nix:3:1:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/python-packages.nix:42:12:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/interpreters/python/build-python-package.nix:27:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:74:12:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/interpreters/python/mk-python-derivation.nix:15:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/interpreters/python/build-python-package.nix:44:4:
pyobjc-4.2.1 not supported for interpreter python3.6m

Success on x86_64-linux (full log)
Attempted: quodlibet
Partial log (click to expand)
Wrapping program /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/quodlibet
shrinking RPATHs of ELF executables and libraries in /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0
gzipping man pages under /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/share/man/
strip is /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/lib  /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin
patching script interpreter paths in /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0
checking for references to /build in /nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0...
wrapping `/nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/.operon-wrapped'...
wrapping `/nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/.exfalso-wrapped'...
wrapping `/nix/store/3p27i5pd743r3jxcpffgm4646xmcx5x7-quodlibet-4.1.0/bin/.quodlibet-wrapped'...

Success on aarch64-linux (full log)
Attempted: quodlibet
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0
gzipping man pages under /nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0/share/man/
strip is /nix/store/qg2agrqkf240s656d207zqhipl0bc2id-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0/lib  /nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0/bin
patching script interpreter paths in /nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0
checking for references to /build in /nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0...
wrapping `/nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0/bin/.quodlibet-wrapped'...
wrapping `/nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0/bin/.operon-wrapped'...
wrapping `/nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0/bin/.exfalso-wrapped'...
/nix/store/m24dq5wcdf0rrvwb2h5z16vz3hy2ng93-quodlibet-4.1.0

This should fix https://github.com/NixOS/nixpkgs/issues/38030 cc @cx405
Changelog: https://quodlibet.readthedocs.io/en/latest/changelog.html#release-4-1-0

I've built the new quodlibet-full and am using it with no issues, and can also set locale correctly.
The darwin bug appears to be due to the fact that pyobjc has python3 disabled because builds were erroring (this probably should have been tested, whoops). It's difficult for me to do anything with pyobjc because it's a darwin-only package and so anybody looking to take that over should probably do so.


Enhancements to Closing CarePlans based on form submission

Describe the feature request.
Closing of CarePlans and associated Tasks using configured PlanDefinitions scoped here is limited to only running fhirpath expressions against a single resource.
There is a need to extend this funcitonality to handle running fhirpath expressions against resources contained inside the bundle generated when a questionnaire is submitted.
Examples of such a fhirpath expressions are

Checking whether a sick child has fully recovered
"%resource.entry.where(resource is QuestionnaireResponse).resource.where(questionnaire = 'Questionnaire/3276f55c-b25e-455b-ae4e-8846fb8fd039').exists() and %resource.entry.where(resource is QuestionnaireResponse).resource.repeat(item).where(linkId = '0e2d8659-22ee-44ca-8c26-bf81cca6b366' and answer.value.code = 'fully-recovered').exists()"
Checking whether an FP visit form has been submitted
"$this is Patient and %resource.entry.where(resource is QuestionnaireResponse).resource.where(questionnaire = 'Questionnaire/450cb100-0c5b-47c6-9f33-2830a79be726').exists()"

Acceptance criteria
@dubdabasoduba see this
Area path
@dubdabasoduba see this
Implementation plan (For Engineers)

[ ] Update FhirCarePlanGenerator.conditionallyUpdateCarePlanStatus function to take in a bundle as a param
[ ] Update the method to run fhirpath expressions against the bundle

Questions @dubdabasoduba @owais-vd

How do we decide when to run the fhirpath expression against the QuestionnaireResponse.subject versus the bundle
Are all resources needed for running the fhirpath expressions present in the bundle. If true seems we may not need fhirPathResource and fhirPathResourceId in the careplanconfig

Questions @dubdabasoduba @owais-vd

How do we decide when to run the fhirpath expression against the QuestionnaireResponse.subject versus the bundle.
We could introduce a boolean (evaluateBundle)  in the carePlanConfig
Are all resources needed for running the fhirpath expressions present in the bundle. If true seems we may not need fhirPathResource and fhirPathResourceId in the careplanconfig

Following discussions with @owais-vd it appears that all fhirpath expressions are run against either the subject or the bundle. Removing fhirPathResource and fhirPathResourceId  appears to be the way forward


Enhancements

Adding functionality for Bessel processes of non-integer dimension
Adding functionality for vertical marginal plots (all processes)
Fixing open issue

Enhancements for new release.


Revert "Options default style fix"

Reverts Expensify/App#7136
It is causing this deploy blocking issue: https://github.com/Expensify/App/issues/7180#issuecomment-1011493889

🚀 Deployed to production by @Jag96 in version: 1.1.29-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


am-time-ago format to 'x hr y mins ago'

I am using am-time-ago directive in my angular app to show the relative time. It displays the time correctly. The only problem is when it comes to hours, it shows like '2 hrs ago' even if it has lapsed 2 hours and 55 mins which gives a wrong impression. I need to change it to display 'x hrs y mins ago'.
I tried below option to set for the 'h' and 'hh' option, but I'm not getting the minutes value inside the function.
`h:function (number, withoutSuffix, key, isFuture){
//number coming here is hours value
}
Is there any easy way to format hours to 'x hr y mins ago'.. I already put one question on SO two weeks ago, still no luck there.

Any luck figuring this out? I'm struggling with the same issue.


Add possibility of mounting all the filesystem as read-only to avoid SD corruptions as much as possible

The aim is to have an optional feature to build an image with read-only filesystems , with the only exceptions of a partition dedicated to logs, because some processes might need to log stuff somewhere. the /var/log system should be a ramdisk to avoid SD writings and the size should be selectable when building the image (this might require to have syslog configured to not exceed the specified size).
Reminder: do not forget to document any new stuff, options and provide a simple example.

I think I FINALLY have an idea that is working on this one, it's going to take a lot more testing and it's going to be pretty fragile as it'll aha etc read from the fstab file and make a few assumptions.  But it's in the works finally.

can you send me an example fstab of an RO build?

From my experience, the simplest way would be to mount the rootfs as overlayfs with upper dir in tmpfs. Only mounting root as read-only requires too much fiddling with files that various programs want to write to, and would never work well with a wide array of different installed packages, as each has its own locations and files it writes to and would need moving...
What works great for me is this: https://gist.github.com/sbonfert/7044eced553ea5c5c2346bcde6bb12e7
It's a script that automatically sets up the overlayfs on boot (it runs in the initramfs), and you can even disable it with a cmdline parameter, so that you can still start the system in standard rw-mode when you want to modify something.

if you'd like I can turn that script into a plugin for you?

I've added this overlays as a plugin in the disabled section.  I have not personally tested it yet, but I plan to, I assume at this point I'd need to have an option for a new mount point, maybe for /home or some place.  But for now this should work and I like that it uses an fs file or codlin option to enable/disable it.  The plugin auto makes the fs file needed to enable it, this might break other plugins that require r/w on initial boot, like resizes, sshkeys etc etc. So maybe having it enabled by default might be a poor choice.  If either of you have a chance to test it before me please report back I'd be interested in hearing how it works.

I can try making the plugin, I need it for my own project anyway.
I'm not so sure that it would work the way it is implemented now, I haven't tested it, but I see two issues immediately:
-the script needs to be in /etc/initramfs-tools/scripts/init-bottom/root-ro
-an initramdisk must be built, cmdline.txt and config.txt changed (as per the instructions in the script itself)
I agree it is best left disabled by default, users can opt to enable it on their own.
The problem with ssh keys generation could be solved by a systemd service and target that only run on first boot. (after the ssh keys are succesfully generated, deletes the disable-root-ro file and disables itself by switching back to the normal target, then rebooting)
Does the ssh_check_keys.service (part of sshkeys plugin) work correctly on Raspbian? It says it may not work due to missing time.
Also, is there a way to make changes to /boot/*.txt inside the plugin scripts? I could do the changes on first boot in the same systemd service, but that seems uglier to me.

the plugin is made it's in the repo in the disabled folder just move it out, and test it, I just haven't had a chance at all to test it honestly.
I didn't know about the placement of the script I'll have a look at it and rework it, as for making an ignited it should be as easy as installing initramfs-tool and running it, but I"ll write all that up as soon as I can, gonna be a busy day but I'll try and get it done.
I have a few tricks but really you'd just have to delete a file in root, pretty easy to add to rc.local I could add that too.

Well, I already started to work on it, I just got stuck at modifying cmdline and config.txt from within the plugin scripts.
If I understand this correctly, I can just modify /boot from within chroot directly, as it is copied to the boot partition later after the rootfs scripts are done. If that's true then that's simpler than what I thought :)

I'm just about to push my changes, sorry we overlaped

try that and let me know please, it doesn't auto go to ro after first boot yet I need to mod a few of the other plugins first.

okay I just added to set to ro after all other things run code.  None of this has been tested at all, I'm trying to build an image as we speak.

Line 11 of postinst should end with '> /boot/cmdline.txt', otherwise you just add a new line without modifying the previous one. And you probably don't need ramfsfile and ramfsaddr in config.txt because initramfs initrd followkernel already specifies both. It works for me without them.
Can I ask, what are the reasons for using lsb init scripts if we already have systemd? (for backwards compatibility with distros that don't use systemd?)

thanks that is what happens when you do things in a hurry without testing ;)
Yeah I didn't know I just following the instructions form the file if you say it's safe I'll remove em.
mostly backwards compat and I'm still learning systemd stuff so it's just quicker for me right now till I convert everything.

I mean in this case I could have used systemd for sure, guess I did it for constancy till I convert some of the others.

mkinitramfs is failing with unable to find file or directory error (sorry, I hosed my terminal history so can't give you full error), it is trying to make kernel for my running machine (4.4.0) instead of the version installed in chroot, which is 4.4.38+ (4.4.38-v7+). The version has to be specified manually, e.g. 'mkinitramfs -o /boot/initrd $version', the only way I see this could be done is by getting the version from directory names in /lib/modules, then selecting the appropriate one (how, I don't know, according to some sources -v7 is for rpi2&3 and the one without is for rpi1, so we would need to know if this is being built for rpi v1 or v2/v3)
I have some typo fixes and an added feature ready, I can give you a pull request if that would be fine with you.

Yes, jjakob, please do if it's fine for TheSin

yeah please do a PR, I wish I had more time ATM, but I'm in the middle of selling my house, buying a new one all in 30 days :. But I'll do what I can and if not, likely in 45 days when the dust has settled I'll be able to help test and working this.

so it was a little longer then 45 days ;) but I'm back at it.  Anyone have any luck with testing this?  I didn't see a PR so can I assume it's working?


Release 0.1.1

### v0.1.1

* Update some doc API headings. #72
* Fix min and max position unraveling. #75
* Optimizations for minimum_position and maximum_position. #76
* Use iterable range in core tests. #77
* Rewrite sum with labeled_comprehension. #38

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.


feat(ngMock): add sharedInjector() to angular.mock.module

Allows users to opt-in to using a shared injector within a describe() context, via angular.mock.module.sharedInjector().
This enables Jasmine 2.x/mocha's beforeAll()/before() hooks to be used with Angular, fixing issue #10238 as previously discussed.
Beyond the tests added to angular-mocksSpec.js, I've also created JSFiddles with the new behaviour working alongside:

Jasmine 2.x
Mocha
Jasmine 1.x (to simply demonstrate it doesn't break anything - 1.x doesn't have beforeAll so can't use sharedInjector)

The verification tests above contain tests suggested by @lgalfaso. cc/@petebacondarwin. The unit tests added contain a little test framework stub, as it was nigh on impossible to test this feature without interference from the rest of the Angular test machinery. Testing inception!

I'll review this later this week. Thanks

@timruffles - nice one Tim! A couple of minor documentation points to deal with but it seems good to me.
I think it is also worth updating the testing guide with this new feature (https://docs.angularjs.org/guide/unit-testing)

@petebacondarwin thanks for reviewing. Have updated docs as per your suggestions, and added a section to guide. The fiddles are also updated.

Can you run grunt test on the PR and fix the JSCS issues?

Yup, fixed! Sorry about that.

Just ran into this bug today and am delighted to see the fix is in. Thanks @timruffles ! :+1:

@petebacondarwin let me know if there's anything else you like me to do on this!

No problem. I'll deal with it today


Update toneprint to 3.1.03

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Hey @piotrpachalko,
Your changes looks good to me!


For the update commands, do not display the updated object as JSON by default.

Running rhoas kafka topic update will by default print the topic configuration to stdout. This is a massive object and it is unlikely that the user needs to see it. We should default to printing a simple success message by default, and allow users to use the output flag to output the object.

@rkpattnaik780 @wtrocki thoughts on this?

+1. I had the same question on service registry and settled with message instead of printing json

Something like the following would be good:
Kafka instance {{Name}} updated successfully. Run "rhoas kafka describe --name {{Name}} to view configuration details."


Please add "type": "module" to package.json

To fix Cannot use import statement outside a module error
Thanks :)

closing until more information is provided

I finally got around to producing a minimal example and the latest release has fixed my use case, thanks!


Here Map support

Is there a way to use "Here api geocoding" with ol3-geocoder? or is in todo list?
i'm modify the ol3-geocoder-debug.js but i think it's no a good idea...

Have you tried Bing API? Is there a real difference?

Yes, i used Bing or Google, but now we have to use Here for licensing issues...

I see. I'll try to implement this new provider as soon as possible. Ok?

Ok. Don't be in a hurry, for the moment im use my own ol3-geocoder-debug.js.
Thanks in advanced, if you need some information you can tell me.

Well, you could come up with a PR for this provider. That'd be great.

hi,
I did the pull request. This is the first time I use github, sorry if there is something wrong...
For implement de Here api we need two "keys", app_id and app_code, i decided to send together joined by # under the 'key' option...
tell me if i need to change something, and one more time sorry if something is wrong

Closing this issue since #98 is closed.


[AUTO] Update screenshots

Update screenshots

Updated with the latest images from playwright generated in PR 346
Auto-generated by create-pull-request

Isn't this a bit weird that this action opens PRs on someone's behalf? I didn't submit this but somehow it ends up in my notifications 😬
Can it be changed so it uses github-actions[bot] or something?

I guess this is due to my PAT token being used for the cross-repo submissions.

@kcpevey this has been opened for a while what needs doing?

The PR on the UI side needs to be finished up before this can be resolved. It has been open for an embarrassing amount of time - sorry!


Updates to the C++ code

This is a series of relatively small updates to the zenoh-cpp port.  In particular:

Change the storage of the GID from a std::vector to a std::array, since it is always a fixed size.
Remove the now completely unnecessary ClientData init method; we can do all of the work in the constructor.

Fix a bad string print in rmw_service_data.cpp
Rewrite how we connect to the router so that it only prints when we fail.

With this in place, I'm now happy with the state of #327.  @ahcorde FYI

thank you for the updates :+1:


Added cycle setting information to action bar

Adds #218.
When pressing a hotkey for a non-cycle ability, it functions exactly the same as before. But now when pressing the hotkey for a cycle ability (currently, the only one in the mod is Hammer), it will display the cycle mode it is on now.
Before, when using a T4 pickaxe with the hammer ability (supports off, 3x3, 5x5, and 7x7), the information shown in the action bar would be:
Ability: Hammer - Disabled
Ability: Hammer - Enabled
Ability: Hammer - Enabled
Ability: Hammer - Enabled
With this PR, it's now
Ability: Hammer - Disabled
Ability: Hammer: 3x3 - Enabled
Ability: Hammer: 5x5 - Enabled
Ability: Hammer: 7x7 - Enabled
Works with the other tiers of pickaxes as well.
It also uses the same translations used by the buttons.
Please note that if more cycle abilities are added, they will need to follow the same ability number/localization format that was used for the hammer ability.

Just tested - works great - thank you! :)

I'm glad you like it :)


Login with Amazon - Did't redirect to app after Login

I have implemented Login with Amazon in android app.
Everything works fine in android Marshmallow and i can get IdentityID.
But i am facing problem in android KitKat, the app did't redirect after successfully Login.
I am using the following snippet to authrize
AuthorizationManager.authorize(                     new AuthorizeRequest.Builder(requestContext)                     .addScopes(ProfileScope.profile(), ProfileScope.postalCode())                     .build());
The page load with error

This site can't be reached.

Note : App works fine with Amazon shopping App, problem occurred in external browser(chrome and default browser)

This repo is for AWS SDK's. For Login with Amazon i support you open a discussion @ http://login.amazon.com/support


Proposals System Utility

A member puts in a command to initiate a new proposal, PV bot provides all the necessary documents proposing the campaign

State Leads would have the ability to approve starting the process - The member is provided access to the proposals channel

Specially designated members (Zenthia and Camcam for now) in the proposals channel will have the ability to iterate the proposal though the proposal process

Bot would have a command for displaying all active proposals

Bot would have a command for displaying all approved proposals during a certain time period

Bot would have a command for displaying all campaigns we are working with

Reliant on https://github.com/Progressive-Victory/PVSite-MVP/issues/244 to create a shared endpoint for this to hit on crm-backend

To differentiate this from the previous comment, https://github.com/Progressive-Victory/PVSite-MVP/issues/244 is a different process related to voting on things, like actions. Proposals is entirely independent where people bring up things that have nothing to do with voting. These would require separate backend routes and tables set up.
This is being REWORKED by one of the directors so this ticket is currently pending for those changes to be released and finalised.
A proposal table may look like this:
id: number, pk, autoincrement
document: string, not nullable
creator: string (discord user id)


Disable analysis of auto generated files

I am getting warnings for auto generated files, e.g.

Resources.Designer.cs
.NETFramework,Version=v4.5.2.Assembly.Attributes.cs

Is it possible to provide a way to ignore certain files by name, I don't really want to add a global suppression file for every project in my solution

Which warnings do you see there? Usually analyzers ignore generated files. I also haven't seen any warnings when opening a usual project with some generated files (like Resources.Designer.cs or Settings.designer.cs).

@kempust Do you have a repro for us? Because otherwise we'll close this issue.


Segmentation fault 139 on subsequent calls of toBuffer / toFile

What is the output of running npx envinfo --binaries --languages --system --utilities?

  System:
    OS: Linux 4.9 Debian GNU/Linux 9 (stretch) 9 (stretch)
    CPU: (2) x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
    Memory: 240.88 MB / 1.95 GB
    Container: Yes
    Shell: 4.4.12 - /bin/bash
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.16.0 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  Utilities:
    Make: 4.1 - /usr/bin/make
    GCC: 6.3.0 - /usr/bin/gcc
    Git: 2.11.0 - /usr/bin/git
  Languages:
    Bash: 4.4.12 - /bin/bash
    Perl: 5.24.1 - /usr/bin/perl
    Python: 2.7.13 - /usr/bin/python

I'm going to apologize ahead of time, because this one was a doozy to debug and I'm still not quite sure what's going on.
What we're experiencing
Our server is currently crashing with the following on subsequent calls to sharp's toBuffer or toFile methods. It works completely fine on the first call:
Segmentation fault
npm ERR! code ELIFECYCLE
npm ERR! errno 139

The backtrace that gdb gives me is the following:
Thread 10 "node" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd39b3700 (LWP 32)]
0x00007fffd8e19bc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgs.so.9
(gdb) bt
#0  0x00007fffd8e19bc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgs.so.9
#1  0x00007fffdeb4ebae in TIFFWarningExt () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5
#2  0x00007fffdeb1ca9d in ?? () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5
#3  0x00007fffdeb20d24 in TIFFReadDirectory () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5
#4  0x00007fffdeb45d76 in TIFFClientOpen () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5
#5  0x00007fffdeb51ff8 in TIFFFdOpen () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5
#6  0x00007fffdeb52066 in TIFFOpen () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5
#7  0x00007fffdf91e54d in vips.tiff_openin () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42
#8  0x00007fffdf92546e in vips.istifftiled () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42
#9  0x00007fffdf925ee0 in ?? () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42
#10 0x00007fffdf919a9a in ?? () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42
#11 0x00007fffdf951ac8 in vips_object_build () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42
#12 0x00007fffdf95db68 in vips_cache_operation_buildp () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips.so.42
#13 0x00007fffdfde0a4c in vips::VImage::call_option_string(char const*, char const*, vips::VOption*) ()
   from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42
#14 0x00007fffdfde0ff6 in vips::VImage::new_from_file(char const*, vips::VOption*) ()
   from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42
#15 0x00007ffff4144df3 in sharp::OpenInput(sharp::InputDescriptor*, VipsAccess) () from /var/app/node_modules/sharp/build/Release/sharp.node
#16 0x00007ffff415b095 in PipelineWorker::Execute() () from /var/app/node_modules/sharp/build/Release/sharp.node
#17 0x0000000000a6a4fe in worker (arg=0x0) at ../deps/uv/src/threadpool.c:122
#18 0x00007ffff6f1a4a4 in start_thread (arg=0x7fffd39b3700) at pthread_create.c:456
#19 0x00007ffff6c5cd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Context and hunches
This requires some initial context setting about what our app is doing, because the bug seems to be due to an interaction between a number of things (primarily ghostscript4js and maybe Node streams).
Our application does the following (for reasons I won't get into here):

Runs within Docker, using the node:10 base image.
Uses a WriteStream to pipe a remote file to the tmp/ directory for further processing.
Uses sharp to rotate, resize, and convert image files to JPEGs.
Uses pdfkit to generate a PDF with the new JPEG images
Uses ghostscript4js to convert this new PDF to a multi-page TIFF image.

Hunches
We've observed a few things that have fixed the crash:

If we reference an already existing file by its path, rather than using a WriteStream to create it, the app no longer crashes.
Or, if we remove the execution of the GhostScript command, the app no longer crashes. (But now we no longer have multi-page TIFF images, which we need.)
The issue seems limited to TIFF files, and potentially only certain TIFF files. I haven't been able to recreate the issue with JPEG or PNG images.

I'm creating this as a sharp issue primarily because when I stepped through the code in inspect mode, the app crashes around the following line of sharp code, when our system calls sharp's toBuffer method.
Other things we've tried:

I've tried doing sharp.cache(false) based on things I've read in other issues, and the app continued to crash.
I've tried globally installing the latest version of libvips, and the app continued to crash.

Proof of concept and example
I've created a slimmed down proof of concept, available here
Demo of proof of concept showing the seg fault:

Hi, thank you for the detailed report including a very useful stacktrace.
#0  0x00007fffd8e19bc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgs.so.9
#1  0x00007fffdeb4ebae in TIFFWarningExt () from /var/app/node_modules/sharp/build/Release/../../vendor/lib/libtiff.so.5

These first two lines suggest that the globally-installed libgs has somehow managed to register itself as the warning handler for the sharp-provided libtiff but has run into what appears to be an ABI version clash.

I've tried globally installing the latest version of libvips, and the app continued to crash.

My best advice would be that if you're relying on a globally-installed libgs for ghostscript4js then you should also rely on a globally-installed libvips for sharp. Please can you provide a stacktrace of the error when using a globally-installed libvips.

@lovell Do you have any tips for installing libvips globally for Debian? It looks like installing it using apt-get install libvips only installs 8.4.x which is too old for sharp. I had tested a global libvips in Alpine, but moved away from Alpine to rule out musl quirks.

https://sharp.pixelplumbing.com/en/stable/install/#linux

For 32-bit Intel CPUs and older Linux-based operating systems such as Centos 6, compiling libvips from source is recommended. https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball

Here's the backtrace when I install libvips 8.7.4 globally:
2⃣  Converting image to JPEG buffer with sharp() { imagePath:
   '/tmp/sharp-pdf-ghostscript/image-e6aed24a-c99b-43ac-a210-ca4d02500b5d.tif' }

Thread 10 "node" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffceb44700 (LWP 32)]
0x00007fffd367ebc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgs.so.9
(gdb) bt
#0  0x00007fffd367ebc9 in ?? () from /usr/lib/x86_64-linux-gnu/libgs.so.9
#1  0x00007fffde7563eb in TIFFWarningExt () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
#2  0x00007fffde7248cd in ?? () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
#3  0x00007fffde727ce1 in TIFFReadDirectory () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
#4  0x00007fffde74b1fc in TIFFClientOpen () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
#5  0x00007fffde7586d5 in TIFFFdOpen () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
#6  0x00007fffde758737 in TIFFOpen () from /usr/lib/x86_64-linux-gnu/libtiff.so.5
#7  0x00007fffdf930b25 in vips__tiff_openin (path=path@entry=0x7fffc8000900 "/tmp/sharp-pdf-ghostscript/image-e6aed24a-c99b-43ac-a210-ca4d02500b5d.tif") at tiff.c:166
#8  0x00007fffdf9361c6 in vips__istifftiled (filename=0x7fffc8000900 "/tmp/sharp-pdf-ghostscript/image-e6aed24a-c99b-43ac-a210-ca4d02500b5d.tif") at tiff2vips.c:2380
#9  0x00007fffdf9368c0 in vips_foreign_load_tiff_file_get_flags_filename (filename=<optimized out>) at tiffload.c:147
#10 vips_foreign_load_tiff_file_get_flags (load=<optimized out>) at tiffload.c:160
#11 0x00007fffdf928f1a in vips_foreign_load_build (object=0x7fffc80020d0) at foreign.c:908
#12 0x00007fffdf957d29 in vips_object_build (object=0x7fffc80020d0) at object.c:367
#13 0x00007fffdf962c58 in vips_cache_operation_buildp (operation=operation@entry=0x7fffceb410c8) at cache.c:866
#14 0x00007fffdfdddedc in vips::VImage::call_option_string (operation_name=operation_name@entry=0x7fffdf9a35d2 "VipsForeignLoadTiffFile", option_string=option_string@entry=0x7fffceb42100 "",
    options=0x7fffc8009c10) at VImage.cpp:513
#15 0x00007fffdfdde062 in vips::VImage::new_from_file (name=<optimized out>, options=<optimized out>) at VImage.cpp:560
#16 0x00007ffff4145103 in sharp::OpenInput(sharp::InputDescriptor*, VipsAccess) () from /var/app/node_modules/sharp/build/Release/sharp.node
#17 0x00007ffff415b80a in PipelineWorker::Execute() () from /var/app/node_modules/sharp/build/Release/sharp.node
#18 0x0000000000a6a4fe in worker (arg=0x0) at ../deps/uv/src/threadpool.c:122
#19 0x00007ffff6f1a4a4 in start_thread (arg=0x7fffceb44700) at pthread_create.c:456
#20 0x00007ffff6c5cd0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

For others who may come across this thread, this is how I compiled libvips from source in my Dockerfile, mostly copied from here.
# Install libvips from source
ARG VIPS_VERSION=8.7.4
ARG VIPS_URL=https://github.com/libvips/libvips/releases/download

# libvips installs to /usr/local by default .. /usr/local/bin is on the
# default path in ubuntu, but /usr/local/lib is not
ENV LD_LIBRARY_PATH /usr/local/lib

RUN wget ${VIPS_URL}/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.gz \
  && tar xzf vips-${VIPS_VERSION}.tar.gz

RUN cd vips-${VIPS_VERSION} \
  && ./configure \
  && make \
  && make install

Thank you for checking this, it looks like libgs is somehow hooked into libtiff's warning handler. The next step would be to look at the source of libtiff's TIFFWarningExt to discover how this could occur.
(My current best guess would be that there is a mis-configuration or possible bug in libgs, unrelated to sharp or libvips.)

The segfault is occurring in the gs_tifsWarningHandlerEx function - http://git.ghostscript.com/?p=ghostpdl.git;a=blob;f=base/gstiffio.c;h=e69ad145e4ae224150d5149b60eac1a0acaed316;hb=HEAD#l172

This looks like a multi-threading bug within ghostscript. It registers a libtiff warning handler but assumes  it will be the only shared library using it. When libvips comes along and opens a TIFF file that triggers a warning, the ghostscript warning handler is called, but from a libvips-managed thread = :boom:

@lovell Really appreciate your help debugging this. I've opened up a ticket on the GhostScript bugzilla board here with these findings, fingers crossed! https://bugs.ghostscript.com/show_bug.cgi?id=701313

Yes, this is a well-known problem in the libtiff API and is often discussed on the libtiff mailing list, for example:
https://www.asmail.be/msg0055435683.html
Has various important devs chiming in with possible solutions, none of which are complete. The proper fix is sadly a redesign of libtiff.
In the meantime, you can't really do anything in the tiff error or warning handlers other than capturing the message to some global buffer.

(and excellent detective work here!)

... I added a note to the GS bugzilla.

fwiw, gdk-pixbuf had the same problem in the past. They've omitted the collection of any error/warning messages from libtiff (so no logging either), see:
https://github.com/GNOME/gdk-pixbuf/commit/68349864941597053c5bba8a909a9022d904fc0c

That's an interesting commit Kleis. An even more extreme position than libvips :)

I'll close this issue as it is a Ghostscript bug and any potential fixes can be tracked at https://bugs.ghostscript.com/show_bug.cgi?id=701313


Unable to recursively parse multiple poetry.lock files

Given the following directory and file structure below, when I run cdxgen -r I receive the below output:
app/
├─ python1/
│  ├─ pyptoject.toml
│  ├─ poetry.lock
├─ python2/
│  ├─ pyptoject.toml
│  ├─ poetry.lock

BOM includes 0 components
{
  "bomFormat": "CycloneDX",
  "specVersion": "1.4",
  "serialNumber": "urn:uuid:acfe3e89-49dd-48b1-864a-c9e25f980c48",
  "version": 1,
  "metadata": {
    "timestamp": "2022-02-03T11:13:29.105Z",
    "tools": [
      {
        "tool": {
          "vendor": "AppThreat",
          "name": "cdxgen",
          "version": "4.0.1"
        }
      }
    ],
    "authors": [
      {
        "author": {
          "name": "Team AppThreat",
          "email"<EMAIL_ADDRESS>        }
      }
    ]
  },
  "components": []
}

If a translate the poetry.lock files to requirement.txt files it is able to parse and aggreate findings just fine, like an example below
{
  "bomFormat": "CycloneDX",
  "specVersion": "1.4",
  "serialNumber": "urn:uuid:41a864bf-31ee-4b7b-a8c7-f6f9bf8de1a4",
  "version": 1,
  "metadata": {
    "timestamp": "2022-02-03T11:18:24.472Z",
    "tools": [
      {
        "vendor": "AppThreat",
        "name": "cdxgen",
        "version": "4.0.1"
      }
    ],
    "authors": [
      {
        "name": "Team AppThreat",
        "email"<EMAIL_ADDRESS>      }
    ]
  },
  "components": [
    {
      "group": "",
      "name": "requests",
      "version": "2.19.0",
      "description": "Python HTTP for Humans.",
      "hashes": [
        {
          "alg": "SHA-256",
          "content": "421cfc8d9dde7d6aff68196420afd86b88c65d77d8da9cf83f4ecad785d7b9d6"
        }
      ],
      "licenses": [
        {
          "license": {
            "id": "Apache-2.0",
            "url": "https://opensource.org/licenses/Apache-2.0"
          }
        }
      ],
      "purl"<EMAIL_ADDRESS>      "externalReferences": [
        {
          "type": "website",
          "url": "https://requests.readthedocs.io"
        }
      ],
      "type": "library",
      "bom-ref"<EMAIL_ADDRESS>    },
    {
      "group": "",
      "name": "requests",
      "version": "2.20.1",
      "description": "Python HTTP for Humans.",
      "hashes": [
        {
          "alg": "SHA-256",
          "content": "65b3a120e4329e33c9889db89c80976c5272f56ea92d3e74da8a463992e3ff54"
        }
      ],
      "licenses": [
        {
          "license": {
            "id": "Apache-2.0",
            "url": "https://opensource.org/licenses/Apache-2.0"
          }
        }
      ],
      "purl"<EMAIL_ADDRESS>      "externalReferences": [
        {
          "type": "website",
          "url": "https://requests.readthedocs.io"
        }
      ],
      "type": "library",
      "bom-ref"<EMAIL_ADDRESS>    }
  ],
  "externalReferences": [
    {
      "type": "other",
      "url": ".",
      "comment": "Base path"
    },
    {
      "type": "other",
      "url": "/Users/ca-mbp-645/dev/test/protobuf/python-betterproto/requirements.txt, /Users/ca-mbp-645/dev/test/protobuf/python/requirements.txt",
      "comment": "Package file"
    }
  ]
}

However, if I do cdxgen -r python1/ python2/ it works as expected. 🤔

@prabhu . Yeah the library I'm working with is a little wonky. I'll see if I can get an PR tomorrow or over the weekend. Didn't have much time to investigate the code too deeply.
Thanks for you all your hard work, by the way.


Bump to Dart SDK 1.22.0-dev.10.6

Bump to keep up w/ DDC cherry picks.
Sorry for the quick refresh but dev.10.5 didn't have all the DDC fixes.
@tvolkert @Hixie @goderbauer

LGTM!


Add support for extend self to handle_module_operation

By adding the instance methods as class methods through the singleton mixin operations, we are able to get all instance methods "copied" over into the class methods implicitly.
I don't think it's necessary to test whether this extend self applies when the module is opened after being closed again, or re-opened in another file, but we can add that as well if preferred.
Motivation
Closes #2782
Implementation
I simply allowed a SelfNode as an argument to enter the handle_module_operation method and then utilized
an Include entry to include the methods onto the singleton.
Automated Tests
Added tests checking that the method resolves as an instance method to the class as well as a class method. Further, we also test the inheritance tree for the singleton class.
Manual Tests
Tried a test file and ensured that methods were represented as class methods:

Thanks for your contribution!

 Great you meet you and @andyw8 at the conf!


Tern out of heap - Emacs hangs

First sometimes now regularly tern crashes randomly and hangs my emacs with it. Using tern --verbose gave me this output:
<--- Last few GCs --->

[12548:0379F560]   392882 ms: Mark-sweep 705.8 (939.1) -> 705.8 (929.1) MB, 1456.3 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 1456 ms) last resort GC in old space requested
[12548:0379F560]   394355 ms: Mark-sweep 705.8 (929.1) -> 705.8 (929.1) MB, 1473.4 / 0.0 ms  last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0609631D <JSObject>
    1: /* anonymous */(aka /* anonymous */) [C:\Users\Philipp\AppData\Roaming\npm\node_modules\tern\lib\def.js:~239] [pc=07452926](this=2E2841A1 <undefined>,_self=19DF6A1D <JSObject>,args=19DF6BC5 <JSArray[1]>)
    2: CallExpression(aka CallExpression) [C:\Users\Philipp\AppData\Roaming\npm\node_modules\tern\lib\infer.js:~1898] [pc=0744C39D](this=2E2841A1 <undefined>,node=2D020691 <Node map = 35B48679>...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

My Tern-version is 0.21, my Emacs-version is 24.5.1 i686-pc-mingw32, my Emacs-tern-plugin is version 20170925.1333, my Emacs company-tern version is 20161004.1147, OS is Win 10 64bit with 16GB RAM. All of them (except for emacs) are the latest as far as i see.
I know there is another issue concerning a similar problem (https://github.com/ternjs/tern/issues/583). My particular issue is (besides tern crashing) that tern takes my emacs with it. It hangs for a minute or so before becoming responsive again. As this is happening quite regularly now that renders my setup kind of useless.
I sadly can not provide you with the code i am using. If you need my .emacs file, etc. take a look at https://github.com/phuhl/emacs.d, especially https://github.com/phuhl/emacs.d/blob/master/starter-kit-js.org (nothing fancy there, though).
Nevertheless, thank you for the general awesomeness of tern and providing it.

To unfreeze Emacs, start hitting C-g multiple times. It will unfreeze because this is universal "stop what are u doing now" command to emacs elisp core.
To "fix" this better, add some timeout into code which is responsible for contacting tern in elisp layer. You may either advise such function or do monkey patch.