chore: only get bot files from known paths

Description
Load bot files from wildcard glob patterns to paths registered in BotStructureTemplate
for example:
**/*.lg  => language-generation/*/*.lg

Task Item
close #5805

Screenshots

Coverage increased (+0.003%) to 53.892% when pulling 08d9de1f8512ddfa5de104d7c60cb2d4704a79ec on zhixzhan/load-files into bd92e1852a796f43f343c75dc29aedcb3005d06f on main.

This causes imported components that do not live at the root of the dialogs/ folder to be invisible to Composer.  This also increases the rigidity of the folder structure inside the dialogs folder. I think this is a bad idea!


Update README content for NPM package

Overview
Adds README content suitable for NPM package users. Includes instructions for instrumenting a front-end web app using the @newrelic/browser-agent NPM package.

Related Issue(s)

NEWRELIC-7455
NEWRELIC-7476
https://github.com/newrelic/newrelic-browser-agent/pull/434

Testing
The instructions should be attempted and validated.

Codecov Report

Merging #444 (60f7ae5) into main (b02abbd) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #444   +/-   ##
=====================================
  Coverage   3.69%   3.69%
=====================================
  Files        120     120
  Lines       3925    3925
  Branches     968     968
=====================================
  Hits         145     145
  Misses      2981    2981
  Partials     799     799

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix Play Store warning about AD_ID

@shalva97  Is this even relevant anymore?
Cause I can not find such working in play console?


Feature request: Save as Vector / PDF

I really like the way the code is rendered, but I'm a bit hesitant to include just a picture, because the code inside the image cannot be copied by others. I think it would be great if there was a possibility to download it as an SVG file or even a PDF.

I'm interested in the PDF export too.

SVG would allow embedding this in READMEs without sacrificing text selection.

@RationalCoding this is in Progress at #199 😄


[Coverity CID :190946]Null pointer dereferences in /tests/net/utils/src/main.c

Static code scan issues seen in File: /tests/net/utils/src/main.c
Category: Null pointer dereferences
Function: test_utils
Component: Tests
CID: 190946
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

False positive.


dmidecode3.py: Fix ValueError: invalid literal for int() with base 10…

Same issue was with ram()
'No Module Installed' in cpu()

Thank you for your contribution!


Kafka Burrow Docker setup memory keeps on increasing

I have a burrow setup done using docker. It's getting offsets for 2 clusters (2.0 and 0.8). The memory consumed by the burrow is increasing continuously. To the point that I had to setup a cron to periodically kill and restart the process. Screenshots attached.

Please let me know what all data I need to provide?
Note: It's the same case with both docker and standalone.

I am facing the same issue as well running burrow in docker:

I'm also happy to share more information if that is helpful!


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #652   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files           7        7
  Lines        1073     1073
=======================================
  Hits          997      997
  Misses         76       76

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 8bd7b16...0cdb919. Read the comment docs.

Coverage remained the same at 89.74% when pulling 0cdb91915c617e9aceb0267299783cbc321262b2 on template-sync-1 into 8bd7b16e5ba6d5092f88c68574811ff79e67dfac on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Errors out with valid --baseDir option

npm script, using: "format": "tsfmt -r --baseDir ./configs",
I get this usage error
tscli: dev$ npm run format

><EMAIL_ADDRESS>format /home/yadav/dev/projects/tscli
> tsfmt -r --baseDir ./configs

  Usage: tsfmt [options] [--] [files...]

  Options:

    -r, --replace         replace .ts file
    --verify              checking file format
    --baseDir <path>      config file lookup from <path>
    --stdin               get formatting content from stdin
    --no-tsconfig         don't read a tsconfig.json
    --no-tslint           don't read a tslint.json
    --no-editorconfig     don't read a .editorconfig
    --no-vscode           don't read a .vscode/settings.json
    --no-tsfmt            don't read a tsfmt.json
    --useTsconfig <path>  using specified config file insteaf of tsconfig.json
    --useTslint <path>    using specified config file insteaf of tslint.json
    --useTsfmt <path>     using specified config file insteaf of tsfmt.json
    --verbose             makes output more verbose

thank you for your report.
but I can't reproduce your issue.
$ tsfmt -v
5.0.0
$ tsfmt -r --baseDir ./configs
Error: ENOENT: no such file or directory, scandir '/private/tmp/tsfmt-issue84/configs'

Could I get some reproduce code?

ah, I know. thanks!

Awesome, thanks for the quick fix :) it's working on my end, closing issue.


Creation of Custom RigidBodies

Support for RigidBodies formed by user-generated point-constraint structures, has been in development for quite some time now. While I am on it, something I have been puzzled about is the way you would create these objects.
RigidBodies take in UI Elements as their base from which the constraints and points and formed behind the hood, which makes your UI element have physical presence on the screen. But for RigidBodies that you create on your own as per your requirements, say for example a triangle, or an irregular quadrilateral, you would have to create your own constraints and points instead of the library doing the job for you.
There are several methods I have though of, in order to make creation of these objects easier. But first it is important to know what the "point-constraint" structure really is.

In the above image, the green dots are the arbitrary points we chose for our RigidBody, if we pass in a UI element, the 4 dots are automatically placed at its corners, also keeping in mind its rotation. There are 6 lines connecting the points all together. The lines in black are the edges of the RigidBody and the lines in red are "support constraints" which are meant to hold the RigidBody's structure in place and it prevent it from collapsing into nothingness. It is worth noting that support constraints are not used in collision detection. All constraints are rods.
You will have to create those points, edges and support constraints on your own! And to make this process easier, I wish to create API that is feasible and easy to understand. Here are some rough ideas I have thought of, and I would need you to help me with the evaluation of the same. If you have better and cleaner methods you would want to be used, please consider sharing that with me.
Creating Points and Constraints from scratch
You would have to create your own points and constraints from scratch using Create() and then pass in those, as properties of the RigidBody. At first glance, this method is very tedious.
-- an example of a triangle

local function makeTriangle(a: Vector2, b: Vector2, c: Vector2)
      local PointA = Engine:Create("Point", { Position = a })
      local PointB = Engine:Create("Point", { Position = b })
      local PointC = Engine:Create("Point", { Position = c })

      local C1 = Engine:Create("Constraint", { Type = "Rod", Point1 = PointA, Point2 = PointB, Visible = true })
      local C2 = Engine:Create("Constraint", { Type = "Rod", Point1 = PointB, Point2 = PointC, Visible = true })
      local C3 = Engine:Create("Constraint", { Type = "Rod", Point1 = PointA, Point2 = PointC, Visible = true })

      return Engine:Create("RigidBody", {
            Custom = true,
            Collidable = true,
            Anchored = false,
            Points = { PointA, PointB, PointC },
            Constraints = { C1, C2, C3 }
      })
end

local triangle = makeTriangle(Vector2.new(10, 10), Vector2.new(5, 10), Vector2.new(15, 10))

Providing just the Positions of vertices
This method would use delaunay triangulation to form the structure behind the scenes. It will handle both support constraints and edges of the RigidBody. A downside of this is, it lacks initial customization and may result into incorrect structures being formed.
local quad = Engine:Create("RigidBody", {
     Custom = true,
     Collidable = true,
     Anchored = true,
     Points = { Vector2.new(0, 0), Vector2.new(10, 0), Vector2.new(10, 10), Vector2.new(0, 10) }
})

Providing the positions for points of each constraint
We provide a table of dictionaries containing required information for the edges and support constraints of a RigidBody.
local struct = {
    { Point1 = Vector2.new(0, 0), Point2 = Vector2.new(0, 10) },
    { Point1 = Vector2.new(0, 10), Point2 = Vector2.new(10, 10) },
    { Point1 = Vector2.new(10, 10), Point2 = Vector2.new(10, 0) },
    { Point1 = Vector2.new(10, 0), Point2 = Vector2.new(0, 0) },
    { Point1 = Vector2.new(0, 0), Point2 = Vector2.new(10, 10), Support = true },
    { Point1 = Vector2.new(10, 0), Point2 = Vector2.new(0, 10), Support = true }
}

local quad = Engine:Create("RigidBody", {
     Custom = true,
     Collidable = true,
     Anchored = true,
     Structure = struct
})

Let me know about what you think about these creation methods. Which one should I consider? Any other options?

As an uninformed bystander, I think you should support option 2 for ease of use and option 3 for those who need precision.


feat: integrate jobs.query and stateless query for faster queries

Integrate with jobs.query endpoint for faster small queries. Keep using jobs.getQueryResults when pagination is needed.  Fallback to current method of creating a job + jobs.getQueryResults when not possible to use jobs.query.

Hey @alvarowolfx , thanks for contributing this!
I tried using this out but noticed it seems like the types might be incorrect. In particular, when I use jobs.query(query, options) (or jobs.query(query)), it seems to return 3 items of the shape [ResultsArray, {job: IJob}, JobStatistics]. The types indicate the return type is [ResultsArray, IJob] (note in particular that job is not nested under a key "job" for the second value). Does that sound correct to you?

Also do you know if there is a reason jobTimeoutMs cannot be set? Seems like a nice safety net for runaway queries that is unavailable here (unless timeoutMs implicitly stops the query, but it doesn't seem like it)


Add format check for gpr_log and gpr_asprintf, add gpr_strpad

Check the arguments in calls to gpr_log and gpr_asprintf. The arguments should be consistent with the printf style format string arguments.
gpr_strpad pads a string to a given length. This function is introduced for the field width flag is not defined as a standard for printf.
The following use of gpr_log cannot pass the argument check.
gpr_log(GPR_INFO, "% 7s", str);

Instead, gpr_strpad could be used to set the field width.
char *tmp = gpr_strpad(str, ' ', 7);
gpr_log(GPR_INFO, "%s", tmp);
gpr_free(tmp);

I thought that might be worth doing 👍
I'd find a mild amount of humor in renaming gpr_strpad to gpr_leftpad (and even more if @murgatroid99 wrapped it for our node.js version), but otherwise this LGTM.
Feel free to merge on green.

Renamed. Thanks for the review!

Hi @y-zeng and @ctiller, as parse_json.cc is duplicated internally, please add a bug to the "import pony saddlebag" (see go/grpc-import-pony) whenever you modify it or review a PR that modifies it. This way the person doing the import knows to manually copy the change, and the import process isn't delayed unnecessarily. (This change looks like it can't break anything, but now warnings are being treated as errors, and without this change in the duplicated file the build is broken. So better to just always file the bug.)


libaec module missing on Hercules

Describe the bug
The libaec module file is missing from the Hercules spack-stack v1.6.0 installation.  The library installed, but the module file was never generated.
To Reproduce
find /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/unified-env/install/modulefiles -name "libaec"
Expected behavior
The module file would have been generated with the installation.
System:
What system(s) are you running the code on?
Hercules
Additional context
Discovered while testing https://github.com/NOAA-EMC/GSI/pull/684, which fails with netCDF errors.

@DavidHuber-NOAA This is intentional. See https://github.com/JCSDA/spack-stack/blob/08029ed82217ddc6e1e3572a123492cc8ed816b2/configs/common/modules_lmod.yaml#L39 and https://github.com/JCSDA/spack-stack/blob/08029ed82217ddc6e1e3572a123492cc8ed816b2/configs/common/modules_tcl.yaml#L41. We don't produce modules for libaec and several other spack packages to keep the list "short" (well, that is probably not the right term for the number of modules a user is presented at the moment).
If the module is indeed needed, we should remove it from the exclude list so that it is available with the next spack-stack release.
On the other hand, we should look at the list of modules generated for unified-env and add as many as we can to the exclude list to make this more readable.


Can not download and install the C++/WinRT extension!

About this section,I can not download it.
Visual Studio extension for C++/WinRT

    In Visual Studio, select Tools > Extensions and Updates.
    Select Online in the left pane and search for "WinRT" using the search box on the right.
    Select C++/WinRT, click Download, and close Visual Studio.
    Follow the installation instructions, then re-open Visual Studio.

I just tried to download from the https://marketplace.visualstudio.com/items?itemName=CppWinRTTeam.cppwinrt101804264&ssr=false#review-details
It failed too.

I find the reason is because I’m in China.But I can download the other extensions.Can you update the link of the C++/WinRT extension.

Hi SpongeBab,
Can you please provide the error that you see when the failure occurs? Is the download blocked by your browser? Is it a 404?
That will help us troubleshoot.
Thanks,

There is not any error.Because There is no response when I click the download button.
Today it is fixed.I can download it.Maybe someone fixed it.

If the error occurs again I will report to you again.


Automated 'tensor.i'

Please add tests for the changes.
Add following tests in passingTests.txt to make sure, next checkin does not break the functionality.

tensorOperators.py
tensorAssignmentOperators.py
tensorOperatorsGenerated.py


[Bug]: useLocation's pathname and useRouteMatch's url are working differently

What version of React Router are you using?
6.0.0-beta.0
Steps to Reproduce
With React-Router v5: https://codesandbox.io/s/async-microservice-9fc6h?file=/src/App.js
With React-Router v6: https://codesandbox.io/s/xenodochial-cori-g9gxc?file=/src/App.js
useRouteMatch's url and useLocation's pathname are working differently. If this is expected, I apologies. But I can't find match.url is React Router v6 or an equivalent.
Expected Behavior
Let's say <Component /> loads at /home.
In React Router v5, url will be /home.
On click,  a new URL will be pushed: /home/modal and the modal will open.
On cancel, /home will be pushed and the modal will close.
It works as expected
export const Component = () => {
  const { url } = useRouteMatch()
  const history = useHistory()

  const onClick = () => {
    history.push(`${url}/modal`)
  }

  const onCancel = () => {
    history.push(`${url}`)
  }

  return (
      <button onClick={onClick}>Open Modal</button>
      <Route path={`${url}/modal`}>
        <Model
          onCancel={onCancel}
          ...
        />
      </Route>
  )
}

Actual Behavior
In React Router v6, pathname url will be /home.
On click,  we navigate to /home/modal and the modal will open.
On cancel, the pathname will now be /home/modal and the modal will never close.
I am not sure whether it is an issue of pathname and url not working the same way or history.push vs navigate.
export const Component = () => {
  const { pathname } = useLocation()
  const navigate = useNavigate()

  const onClick = () => {
    navigate(`modal`)
  }

  const onCancel = () => {
    navigate(`${pathname}`)
  }

  return (
      <button onClick={onClick}>Open Modal</button>
      <Route path={`modal`} element={
        <Model
          onCancel={onCancel}
          ...
        />
      } />
  )
}

v6 routing is relative. So, you want this:
  const onCancel = () => {
    navigate(`..`) // navigate up one level
  }

@timdorr but how about having nested routes in the modal?
You still need access to the current absolute matched url because whether you are at
ˋ/home/modal/ˋ
ˋ/home/modal/tab2ˋ
or
ˋ/home/modal/tab2/subtab3ˋ
when you close the tab you should come back to ˋ/homè and not necessarily 1 step behind (i.e ˋnavigate('..')ˋ)
How to you handle such situation with relative path?


Let the user know that that whirlpool is a two step process

Once the Tx0 UTXOs have landed in the premix wallet, we need to give the message saying: " You have now completed Step 1 of Whirlpool. Please select a UTXO to mix."
After the mix is done and sats have landed in the postmix wallet and have been confirmed, the first time the user comes to the post mix wallet it should say: "Step 2 of Whirlpool is complete. Please consider remixing sats, before transferring them to the Vault."

Closing as outdated


Disable a test to unblock the CI jobs

Related to rdar://31343594

@swift-ci please smoke test and merge


Ability to sort all taxonomy nodes in the entire tree at once

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included

Description of change
Ability to sort all taxonomy nodes in the entire tree at once. #725

Looks good, just needs that test refactored.
(And I assume you've tested the performance with some good size taxonomies. Guess we wont know until we see it, but would it need any kind of indeterminate progress indicator in the UI?)

Yes, I tested with large taxonomies, and the time taken is substantial.  It's why I opened up a ticket to run things like that in the background, but that would be a significant architecture change.
You get a "loading" cursor in the UI, and are blocked from pressing anything else until the operation completes.
I did make the automated tests create over 1000 terms (which is not huge) to ensure that it would complete in a reasonable time, but we had to reduce the number of terms to keep Travis from blowing up.


[Bug]: allow list reporting wrong findings

Steps to Reproduce

prowler aws --profile labs -M csv html --verbose -w allowlist.yaml
aws
One account for testing proposes
Using a basic allowlist.yaml as shown bellow:

Allowlist:
  Accounts:
    "*":
      Checks:
        "*":
          Regions:
            - "*"
          Resources:
            - "*"
          Tags:
            - "Compliance=allow"

Expected behavior
list all FAIL/PASS and exception all things defined in the allowlist.yaml.
Actual Result with Screenshots or Logs
I get "everything" is warning; even resources without the specified tag Compliance=allow.
Date: 2024-02-06 23:56:12

Color code for results:
- INFO (Information)
- PASS (Recommended value)
- WARNING (Ignored by allowlist)
- FAIL (Fix required)

This report is being generated using credentials below:

AWS-CLI Profile: [labs] AWS Filter Region: [all]
AWS Account: [XXX] UserId: [FOO]
Caller Identity ARN: [arn:aws:iam::XXX:user/YYY]

Executing 301 checks, please wait...

Check ID: accessanalyzer_enabled - accessanalyzer [low]
      WARNING af-south-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ap-northeast-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ap-northeast-2: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ap-northeast-3: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ap-south-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ap-southeast-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ap-southeast-2: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING ca-central-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING eu-central-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      WARNING eu-north-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
<cut>

without the args -w allowlist.yaml I get the correct FAIL for untagged resource:
<cut>
Executing 301 checks, please wait...

Check ID: accessanalyzer_enabled - accessanalyzer [low]
      FAIL af-south-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ap-northeast-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ap-northeast-2: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ap-northeast-3: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ap-south-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ap-southeast-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ap-southeast-2: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL ca-central-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL eu-central-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
      FAIL eu-north-1: IAM Access Analyzer in account<PHONE_NUMBER>78 is not enabled.
<cut>

How did you install Prowler?
From pip package (pip install prowler)
Environment Resource
Workstation
OS used
macos
Prowler version
3.12.1
Pip version
23.3.1
Context
I was using without problems the allowlist file with some exceptions defined but as soon as I add the Tag based exception - it gives me wrong findings.
One example of working allowlist:
Allowlist:
  Accounts:
    "*":
      Checks:

        "s3_bucket_public_access":
          Regions:
            - "*"
          Resources:
            - ".+com"

        "s3_account_level_public_access_blocks":
          Regions:
            - "*"
          Resources:
            - "*"

        "awslambda_function_no_secrets_in_variables":
          Regions:
            - "*"
          Resources:
            - "rds-c2c-slack"

        "cloudtrail_multi_region_enabled":
          Regions:
            - "*"
          Resources:
            - "*"

Hi @include, as today this is an expected behaviour in the allowlist logic but we are going to review in depth. We'll get back to you as soon as we have a response.
Thanks for using Prowler 🚀

Awesome. Looking forward. Thank you for your help.


Change $repos_ensure to default to false.

The problem with it being true by default is that the majority of production
environments, and any in an isolated nextwork, will not want to get the gpg key,
especially if they have not explicitly configured the module to get the rpm from
the rabbitmq repos.  Having the gpg key pulled in by default while installing
the rpm from distro repos seems inconsistent at best, and at worst, causes an
additional fail point for deployments that are unable to contact this location.
Leaving it true by default forces the majority of production users to have to
override this setting.

@hunner any opinion on this? It sounds like the initial default value was not really a good choice, but this chance is likely now backward compatible...

I want to do a 6.0.0 soon, so it can go in that.

Looks like this needs #451 based on output of the one version of tests that failed - https://travis-ci.org/puppetlabs/puppetlabs-rabbitmq/jobs/116965330

@hunner do we plan to release 6.0.0 soon?

@hunner @EmilienM, sorry to hijack, but would love some feedback on https://github.com/puppetlabs/puppetlabs-rabbitmq/pull/493, which also makes a lot of changes in this area (though still uses the same GPG key when the repo is ensured only). There's been some discussion about it in the Puppet Community Slack; would love to get some more ideas and for people more familiar with the codebase to review the changes. This also gets rid of $version, which wasn't honored / ensured for Apt / Yum anyway, and pulls out some confusing parameters that were already deprecated, like $manage_repos.
If the regular repos for Debian / Ubuntu have a recent-ish package, I'd be fine with switching to using those by default (vs. the RabbitMQ repo); we'd want to add better test coverage for when $repos_ensure is disabled.  I would be Ok with using the EPEL ones (vs. dropping i  If anyone has more ideas about whether SLES has an available package without any special configuration, that would also be helpful.

:+1: Always support isolated environments first. Nobody wants random repositories from the outside world magically showing up in their trust chain. Likewise, don't grab random tarballs from the Internet and install them without explicit permission.

Ok, defaults to false now in https://github.com/puppetlabs/puppetlabs-rabbitmq/pull/493
I wonder if the naming is a little confusing (though I'd be hesitant to deprecate yet another variable, considering we just got rid of $manage_repos).

closing because #493


Referencing objects in the admin's JS files

Sorry if the title is misleading but I'm not sure how I should phrase this. Here is the scenario I have:
I want to make a simple website (with one or more pages) that are made up of sections of different types (hero, pictures list, etc). All sections are defined as different files, but I want them all to have some things in common, such as a slug. Even if I make it a one pager, the slugs are still needed, so I can make the URL change on scroll to reflect the current section.
The slug itself would be a simple field, but I want it to also have a tooltip/info, giving the user some hints about what this is for and how it should look. So the slug 'component' I need is a field plus info.
Now, I see two approaches here:

add the slug as individual fields in each section but the slug info is defined somewhere else
make the slug field + info as a template, referenced in each section

On the first approach I got stuck on getting the actual info from a global object ( I know @@global can reference an object but I don't know how to get the actual data from it, so I can write stuff such as
cms\global\globals.js
{
   tooltips: {
      slug: "This should only include lowercase letters, numbers or '_' and it will be used for....... blah blah ",
      visible: "This section will not be displayed on the site, but its content will still be available for later use"
   }
}

cms\global\templates\sections\clients.js:
{
   header: "",
   $slug_info: "@@global.tooltips.slug"
   slug: ""
}

The second approach (making a separate component) feels a bit more elegant, especially  as it will allow for more complex structures, but I sort of got stuck there too. With something like this
cms\global\templates\admin\slug.js
{
   slug: {
       $slug_info: "This should only include lowercase letters, numbers or '_' and it will be used for....... blah blah",
      slug: "",
   }
}

templates\sections\clients.js
{
   header: "",
   $slug_templatitator: "@@global.slug",
   slug: []
}

This obviously will make slug into an array in the clients section, when I want only one instance of it. Using slug: {} doesn't seem to work. I can use $slug_min and $slug_max: 1 so I can only have one slug element per section ( as needed) but the user would have to click the "+" button first, when instead the option should be there from the start.
I hope this makes sense.
PS: Enduro seems pretty awesome and it has the potential to be my favorite CMS (and I've used a lot of them).

Hey @mirkea, I use a second option as it makes the best experience both while creating content in admin panel and while writing templates for them, but yeah, there is no way to make a default linked option if you need such. If I created such template cms files for someone, I would use a predefined object in it, like this:
{
   header: "",
   $slug_templatitator: "@@global.slug",
   slug: {
      $slug_info: "This should only include lowercase letters, numbers or '_' and it will be used for....... blah blah",
      slug: 'blah'
   }
}

So users get one block to fill in new files, but certainly this isn't quite DRY. Another option is to create a small admin script so it creates a missing object automatically.

Sorry, I read your issue diagonally and missed the main point of using globalizer and templatitators. :sweat_smile:
I think you can create a special component type that just returns a plain text so it can be used as help sections. Then you can place them in objects, templates, or as is in content files, on the top level.
So you could create a file \assets\admin_extensions\helpnotice.js and add some styles:

	\{{context[terminatedkey]}}

Then you could write it in cms as following:
{
   slug: 'lalaland',
   slug_info: 'This should only include lowercase letters, numbers or '_' and it will be used for....... blah blah',
   $slug_info_customtype: 'helpnotice'
}

@CosmoMyzrailGorynych I tried that and it seems to be a solid solution.  Thanks a lot

:+1:
@mirkea If you don't have additional questions, please close the issue for tracking purposes.
Also I think the issue may be called 'Adding tooltips and help notices to admin fields' or so.

sure thing


Python3 safety

Fix the things flagged by pylint --py3k
Fixes #1045

Fixes #1068

Not 1045, which, oops, was another attempt at fixing this that I'd forgotten about. But I think I'll stick to this one.

Seems to work. Merging.


Add missing tests for async_property

When #346 landed it didnt include tests - some should be added

dupe #347 (doh - ill check what ive added before opening..)


Runtime warning: The default Firebase app has not yet been configured

Hello.
Spent a lot of time to build my project for IOS.
and I saved GoogleService-Info.plist in folder ( Project -> Resources )
I cannot find any reason why this would happen. Here is the code:
2020-07-09 09:53:20.006416+1200 pushtest[11839:871372] 6.27.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure]; (FirebaseApp.configure() in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
Thanks.
//=======================================================
// ios environment
//=======================================================
<EMAIL_ADDRESS>with:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Environment:
OS: darwin
Node: v12.16.1
npm: 6.13.4
iOS platform:
Xcode 11.5

It's not an issue, it's a expected warning.
The firebase configuration is slightly delayed to avoid deadlock with Watchdog:
https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated/releases/tag/v4.6.3


Not able to produce the usage message

Hello, Loren
Thanks for making the module.
I am a newbie to the Perl 6 world and still getting my head around it. I started playing with Perl 6 recently. I am writing a command line program. So, I searched Perl 6 module directory for command line parsing modules and found your module. The module looks nice. However, I am having a difficult time understanding the syntax for it. I wrote a simple program as shown below. When I run the program on the command line without mandatory command line arguments, it did not produce the usage message. Can you please help me to understand my mistake/s? Thanks for your help.
``
#!~/.rakudobrew/bin/perl6
use v6.c;
use Data::Dump;
use Getopt::Advance;
use Getopt::Advance::Helper;
use Getopt::Advance::Exception;
my OptionSet $optset .= new();
$optset.push("c|count=i", "set some counter");
&getopt($optset, :autohv, helper => &ga-helper2);
say "Hello Perl 6 !!! \c[BELL]";
exit;
``
I am using Getopt::Advance:ver('0.0.6') and Rakudo version 2017.07
Best,
Tushar

Yeah, the module has a little bug. And sorry about the document is not too much.
I fix the bug of :autohv and ga-helper2 in current version 0.0.8, and will make more document later.
The help message will be produced when command line parse failed or the :autohv is True.
Please use zef  update to the last version, and test your script again.
And Perl6 has a build-in command line tools MAIN, you can try it first.
Thanks

I tried to update the module using zef install Getopt::Advance. After that I tried to find whether it actually update the module or not via zef --installed list | fgrep -w "Getopt::Advance".  Below is the output of the command:
===> Found via /Applications/Rakudo/share/perl6
===> Found via /Applications/Rakudo/share/perl6/site
Getopt::Advance:ver('0.0.6'):auth('github:araraloren')

Does the GitHub repo host the updated codebase? If so, I can try to install it directly.
Thanks for your help.

I tried to install a aspecific version of the module via zef install "Getopt::Advance:ver('0.0.8')" but did not get any success. Below is the output of the command:
===> Searching for: Getopt::Advance:ver('0.0.8')
No candidates found matching identity: Getopt::Advance:ver('0.0.8')

Any thoughts?

Alright!! Finally, I am able to install the updated version of the module. It seems like you updated the module but zef repository is not updated for it and find the olde version all the time. Therefore, I installed the module directly from the GitHub using $ zef -v install https://github.com/araraloren/perl6-getopt-advance/archive/master.zip.
Then, I tried to run my script and following is the output. The script spits out the usage message as expected but did not exit immediately after the failure. It still prints the last statement that I have in my script. This is possibly a bug. Can you please share your thoughts on this?
$ perl6 commandLineHandling.p6
Usage:
commandLineHandling.p6  [-c|--count=<integer>]

-c|--count=<integer> set some counter

Hello Perl 6 !!! 🔔

@tushardave26
You can try zef update first.
Sorry guys, I confused the usage of :autohv. I have AFK a long time.
It should works like this:
When you have a help or version option, it will automate print the help message or version message when it set by user.
Without :autohv, you should deal the help option manually.
I will change the code back.

@tushardave26
And what do you want the script do ?

@araraloren
The script merely print the message, if all the required command line options are provided. If any of the options is not provided, the script should terminate and display the usage message. But in my case, the script displays the usage message and also print the line (i.e. Hello Perl 6 !!!). I hope this makes sense.

If any of the options is not provided, the script should terminate and display the usage message.
No, the script will not terminated. No option provide can means everything is  default behavior of one script.
In my module, the sub &getopt will not terminated the script(by call exit) except module user want print a help or no OptionSet matched.

If you need that behavior, you should write something like:
#!/usr/bin/env perl6

use v6.c;
use Data::Dump;
use Getopt::Advance;
use Getopt::Advance::Helper;
use Getopt::Advance::Exception;

my OptionSet $optset .= new();

$optset.push("c|count=i", "set some counter");
$optset.insert-main(sub main() {
	if True #`[something you want test] {
		&ga-want-helper();
	}
});

&getopt($optset, :autohv, helper => &ga-helper2);

say "Hello Perl 6 !!! \c[BELL]";
exit;

You can test the option or something like @*ARGS(The module not touch this variable, it remain contains all command line arguments), and do what you want .

@tushardave26 So, if you don't have any question now. I close this issue.

@araraloren .. sorry!! yes, please.


Increase Memory Available to Java

Currently, running gradle can lead to the following error:
GeneralStateTests > tests(Pair) STANDARD_OUT
    *** Error reading file "tests/GeneralStateTests/stMemoryStressTest/CREATE_Bounds.json" (Java heap space)

I'm not sure exactly what the issue is, but clearly Java is running out of memory.  I believe we can increase the minimum amount of memory available to a Java process called via gradle, and this might help.

Adding the following option to test in build.gradle appears to do the trick:
test {
    ...
    // Ensure enough memory
    jvmArgs '-Xmx4G'

Currently, the minimal value required to execute all tests is 2G.


Smoother transition between terminal lines

lolcat maps its rainbow gradient into the 2d dimensions of the terminal smoothly, so that neighbouring lines get similar colours. For example (comparison):

It would be nice to do the same thing lolcat does, to have it look something like this instead:

This probably means switching from the generator-based rgb_gen to some sort of function of terminal coodinates.

good idea, righ now im just using a random number to demarcate the transition boundaries,

I hacked up something that works pretty well: https://github.com/nshepperd/gay/commit/c78935c388d54da3c964fbbe8d93046d68534fd0

oh hey thank you, i will go take a look slightly later today :D
thank you so much!

Finally made it happen, thank you so much
https://github.com/ms-jpq/gay/commit/70b508ff463d7e9e882efe2f86516c1c1a726729
I added a flag -i {1d,2d}, --interpolation {1d,2d}, where 1d was the old algo, and 2d is your algo
Gonna release this after I test it a bit more :D


Feature/support for multiple schedulers

Coverage increased (+8.7%) to 86.864% when pulling 6472343eca5ac6de649dbad464ee9f9af49cd7ce on feature/support-for-multiple-schedulers into 436738b17514c1e6f4e421aa13c22b5682ddfb06 on develop.

Coverage increased (+8.7%) to 86.864% when pulling 80940dcffbd58a7494f0e8ac7d51875c29a83696 on feature/support-for-multiple-schedulers into 436738b17514c1e6f4e421aa13c22b5682ddfb06 on develop.

🙏


PaperButton inheritance not seen by darteditor

For some reason PaperButton does not seem to understand that is extends PaperButtonBase and thus DartEditor cannot reason about its properties. Navigating to the source code of PaperButton and using F3 (open definition) on PaperButtonBase does not work.
I have tried re-analizing the project but it does not help. I am not sure if it is a bug of a glitch in Dart editor, so excuse me if this is not the right place to submit this.

This is working for me, did you try restarting the editor?

Yes, restarting fixed it. That was strange... DartEditor does this and not for first time...
Thank you

Ya it does tend to just get in a bad state sometimes :(


make top 5 pools link to details

Preview is available here:http://amm-demo-pr52.previews.kube001.services.stellar-ops.com/

Preview is available here:http://amm-demo-pr52.previews.kube001.services.stellar-ops.com/


[ENHANCEMENT]: AddObject to SignedXml instance

Is your feature request related to a problem? Please describe...
I don't think there is a way to addObject to SignedXml instance. Would be nice to add this functionality. Currently missing it myself.
Describe teh solution you'd like...
(new SignedXml()).AddObject(xmlString) would be easy to use this functionality.
Describe the alternatives you've considered...
I don't think there is any other alternative to addobject in signature xml currently.

Can you please link to the spec?

Have similar functionality in C# and wiling to do same in js. This is C# documentation of generating XML signature and adding the object I am signing inside it:
https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.xml.signedxml.addobject?view=dotnet-plat-ext-8.0

@srd90 , you're always on top of this stuff :) Thanks!
@imedacf , please feel free to put up a PR that aligns with this spec and we'll review it.


Custom builds

I talked about this on Discord a while back but thought I'd make a feature request so we can track it.
Is your feature request related to a problem? Please describe.
I have a software program that I build and release with Conveyor, it's great. But quite often users run into a very specific bug that only affects them at that moment.
This is what I normally do (before conveyor):

I create a fixed version (same version number) and send it over to the user.
They install with the fix and they are happy.
Because it's the same version number, whenever a real update comes out (that has all the fixes including the one I made for them), they are updated and they're back on the normal releases.

The problem is that I can't really recreate that workflow with Conveyor. When I make a custom build and send it to the user, they will run the EXE or launch the APP file, the auto updater kicks in and downloads the official build from the download site.
Describe the solution you'd like
What I would like is a way to send custom builds to my users:

They can install it offline, from the file I sent them
It has the same version number as the current official build
Once a new official version is released, they are auto updated as normal

Describe alternatives you've considered
What would work is just increasing the version number by one patch for each custom build. No new version is downloaded until the version number on the download site is higher. But that's really ugly since the versioning gets holes in it for every experimental build.
Another thing that kind of works is to not send the EXE to the user but the MSI installer. They will need to uninstall the program first or Windows won't allow a reinstall. But when the user quits the program and launches it the normal way, the auto updater kicks in.
A custom build download site is another possible solution I looked at but then the auto updater has no way to know when an official build is released.
Possible solutions and ideas
Would a 4th version number part work? E.g. <IP_ADDRESS> Not sure if that is semver and I've seen tools break on that in the past, but if conveyor understands it then that could work.
A different approach could be a magic string in the filename. Like [CUSTOM BUILD] or maybe even an option so we can choose what the magic string will be. If that string is detected in the filename, the updater would install from the disk (so it won't download from the download site) and it would not update until a new version is found.

The app.revision key is meant for this use case, it sets the last number in the version quad. However, the download page and other user visible places won't show it, so you can use this to increment the version in a way that's less visible.
One way we've thought about to do this is to let the update site URL be different to the upload URL, but this would still require you to leave holes in your versions. We're OK with that for Conveyor because we only use two version segments anyway. Is it really the case that 4 aren't enough?

I'm only using 3 numbers in my version so app.revision sounds like a good solution. I'll give that a try and see how it goes 👍


Introduce Color Jitter (fused) for SSD

Introduce ColorJitter (fused) for SSD
Modify required test suites

@r-abishek : Can you fix this PR. This is needed for the SSD training since the master repo is using the fused version and getting it converged at 50th epoch

@r-abishek can you resolve the conflicts?


[1410] Fix S3DynamoDBLogStore concurrent writer bug

Description
See the full bug explanation at #1410, also this comment in the code explains the problem scenario further.
The existing code had the following bugs and we add the following fixes

the copy T(N) into N.json code path in BaseExternalLogStore was using overwrite=true. This can overwrite existing files and cause data loss. This PR sets overwrite=false.
when "acknowledging" the commit and writing to the external store entry E(N, complete=true, commitTime=now), this let any underlying TTL infra clean up that commit right away, because our docs specified that the TTL key was the commitTime attribute. Instead, we need to add some delay (this PR uses 1 hour) after which the entry can be TTLd and cleaned up. This gives enough time that any future fileSystem.exists(path) call will return true and we don't run into any mutual exclusion issues. This PR also renamed this field to expireTime.
in general, we were not short-circuiting early if overwrite=false and path already exists. This PR now does that.

How was this patch tested?
Added new unit tests. Also, updated integration tests.
Ran integration tests with
# 1.  Enabled TTL on that table
aws dynamodb update-time-to-live \
  --region us-west-2 \
  --table-name scott_test_2022_10_07_000 \
  --time-to-live-specification "Enabled=true, AttributeName=expireTime"

# 3. Configured test params
export DELTA_CONCURRENT_WRITERS=20
export DELTA_NUM_ROWS=50
export DELTA_DYNAMO_TABLE_NAME=scott_test_2022_10_07_000

# 4. Ran integration test
./run-integration-tests.py --use-local \
    --run-storage-s3-dynamodb-integration-tests \
    --dbb-packages org.apache.hadoop:hadoop-aws:3.3.1 \
    --dbb-conf io.delta.storage.credentials.provider=com.amazonaws.auth.profile.ProfileCredentialsProvider \
               spark.hadoop.fs.s3a.aws.credentials.provider=com.amazonaws.auth.profile.ProfileCredentialsProvider

Does this PR introduce any user-facing changes?
Users will need to modify any existing TTL settings to use the new field of expireTime instead of the old field commitTime.
Migrating from old TTL attribute commitTime to new TTL attribute expireTime
Enabling TTL for the first time
If TTL is not enabled but you would like to enabled it, perform
aws dynamodb update-time-to-live \
  --region <region> \
  --table-name <table-name> \
  --time-to-live-specification "Enabled=true, AttributeName=expireTime"

You may wish to clean up old, existing entries, too. It is safe to clean up any entry older than an hour with attribute commitTime set. Any entry with this attribute set will already be completed and written to the file system. Since it is older than an hour, the new fixes in this PR will mean we no longer need DynamoDB to provide the mutual exclusion during the write.
Changing TTL from commitTime attribute to the new expireTime attribute
As the DDB docs say

You cannot reconfigure TTL to look for a different attribute. You must disable TTL, and then reenable TTL with the new attribute going forward.

so first disable the current TTL attribute
aws dynamodb update-time-to-live \
  --region <region> \
  --table-name <table-name> \
  --time-to-live-specification "Enabled=false, AttributeName=commitTime"

and then enable the new TTL attribute
aws dynamodb update-time-to-live \
  --region <region> \
  --table-name <table-name> \
  --time-to-live-specification "Enabled=true, AttributeName=expireTime"

After this, you can perform the same cleanup as described above, for all entries older than an hour with a commitTime attribute set.

Deleting based on the temp file creation time is not safe. If the user stops a write query before copying the temp file to the dest location, and does nothing in 30 days, the table will be broken.

Deleting based on the temp file creation time is not safe. If the user stops a write query before copying the temp file to the dest location, and does nothing in 30 days, the table will be broken.

If we do the deletion ourselves, that will cost users money (S3 API calls). s3 object expiration is free.
should we add a flag that users can set where we DO delete the temp file? After the write has been acknowledged.

should we add a flag that users can set where we DO delete the temp file? After the write has been acknowledged.

Let's solve this separately. We don't need to block this PR for this rare issue.

@ormahler thanks so much for the reviews! Can I include you as a coauthor of this PR? Considering that I used your original PR as a starting point.

@ormahler thanks so much for the reviews! Can I include you as a coauthor of this PR? Considering that I used your original PR as a starting point.

With pleasure!
That would be great, thanks a lot.

@ormahler - great, can you give me your github committer email address? I'll need to push another commit taking you as a coauthor.

@scottsand-db
<EMAIL_ADDRESS>


Enable build on MinGW/MSYS2

Ping? Is this project maintained?

Hey @orgads, stellar work here 😍
You're right, I abandoned the project, but I also didn't do anything with your PR because I wasn't sure if your work is ready for the review and the merge. Now I checked it and it looks good to merge.
Can you please do one last change here: update the AUTHORS file and add yourself to the list of contributors. Please ping me when you're done so that I can merge it in. Thanks!

Done

Thanks a lot, @orgads! Your contribution is appreciated.
Meanwhile, I will clarify in the README that the project is not under active development and is looking for maintainers.

I'm willing to maintain it. Not many issues and not many users anyway :)

Thanks, @orgads. I invited you as a collaborator.


Obtain upstream ApiVersions when proxy is not SASL offloading

Type of change

Enhancement / new feature

Description
If Kroxylicious is not handling SASL offload (currently it never handles SASL offload) then we initiate NetFilter#selectServer if we receive an ApiVersions request and buffer the message. After the connect is successful we send the buffered message to the backend. We also install the ApiVersionsFilter if we are not handling SASL offload so that we are intersecting the Kroxylicious supported versions with the upstream versions without further configuration.
Closes #441
Additional Context
Why:
Currently Kroxylicious responds with a hardcoded ApiVersions response. This is intentional, to support the proxy handling SASL authentication before we make a connection to the upstream broker, protecting the broker from unauthorized requests and enabling NetFilter to use the authorized id as a criteria for backend server selection. The response is hardcoded to the ApiVersions values for a kafka 3.2 broker.
This means that if we are proxying a broker older than v3.2, Kroxy will be declaring it supports api versions that it doesn't know about, causing errors when you try to use a newer client that supports those newer API versions. Conversely if the backing broker is newer and supports new api versions, the client would be told that the broker only supports v3.2 APIs and the client can't take advantage of new APIs.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Make sure all Sonar-Lint warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

Would be good to add an integration test.
Also, unsure if this is the right change. I see it as more of a delaying tactic to offer a smoother integration with Kafka as long as SASL offload is not offered.
We could also say we are happy for now with only supporting brokers >3.2 and using APIs at v3.2. Maybe an ugly way that could still support users accessing newer APIs would be to have a configurable level, virtual cluster abc supports v3.4.
There was also a suggestion in a PR of connecting to all/some brokers in the VirtualCluster to discover their ApiVersions and maintaining these persistent connections to track changes. This might be adequate though there are edge cases around feature flags and broker restarts.

Would be good to add an integration test.

+1
maybe mock server test candidate?
+1 Also, unsure if this is the right change. I see it as more of a delaying tactic to offer a smoother integration with Kafka as long as SASL offload is not offered.
I do think this is the right pragmatic step.

There was also a suggestion in a PR of connecting to all/some brokers in the VirtualCluster to discover their ApiVersions and maintaining these persistent connections to track changes.

I was thinking this was only necessary in the SASL offload case.

Also pushed up a test for a suspicious behaviour of the ApiVersionsFilter. That is that it does not remove unknown ApiKeys returned by the broker. If clients attempted to request these ApiKeys then Kroxylicious would throw an exception in the KafkaRequestDecoder when it's trying to determine what the ApiKey is. I think we should remove filter out unknown ApiKeys, removing them from the response.


python311Packages.dash: 2.16.1 -> 2.17.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.dash is: Python framework for building analytical web applications
meta.homepage for python311Packages.dash is: https://dash.plot.ly/
meta.changelog for python311Packages.dash is: https://github.com/plotly/dash/blob/refs/tags/v2.17.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.17.0 with grep in /nix/store/kz1b6wwyqkf0sx6z19zshcylldmnwc07-python3.11-dash-2.17.0
found 2.17.0 in filename of file in /nix/store/kz1b6wwyqkf0sx6z19zshcylldmnwc07-python3.11-dash-2.17.0

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath

das
picosnitch
python311Packages.dash
python312Packages.dash

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kz1b6wwyqkf0sx6z19zshcylldmnwc07-python3.11-dash-2.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.dash https://github.com/r-ryantm/nixpkgs/archive/81dcb7239caf415e3a6b28efb39dbbb5a93fee53.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/81dcb7239caf415e3a6b28efb39dbbb5a93fee53#python311Packages.dash

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kz1b6wwyqkf0sx6z19zshcylldmnwc07-python3.11-dash-2.17.0
ls -la /nix/store/kz1b6wwyqkf0sx6z19zshcylldmnwc07-python3.11-dash-2.17.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

8 packages built:

das
das.dist
picosnitch
picosnitch.dist
python311Packages.dash
python311Packages.dash.dist
python312Packages.dash
python312Packages.dash.dist

Maintainer pings
cc @antoinerg @TomaSajt for testing.

Result of nixpkgs-review pr 309354 run on x86_64-linux 1

8 packages built:

das
das.dist
picosnitch
picosnitch.dist
python311Packages.dash
python311Packages.dash.dist
python312Packages.dash
python312Packages.dash.dist


asn_oid_arc_t overflow inside OBJECT_IDENTIFIER_get_single_arc function

Expected Behavior
When calling OBJECT_IDENTIFIER_get_single_arc function with buffer containing single arc with size larger than ASN_OID_ARC_MAX.
Function should:

return -1
set errno to ERANGE
not change ret_value.

Actual Behavior
Function actually:

returns value not equal to -1 and larger than sizeof(asn_oid_arc_t),
doesn't set errno to ERANGE
set some value to ret_value.

Steps to Reproduce the Problem
For example, when ber decoding OBJECT IDENTIFIER 1.2.33814396423.8 which in binary format is represented as 06 07 2A FD FB FA FC 07 08, function OBJECT_IDENTIFIER_get_single_arc will be called with arcbuf  containing FD FB FA FC 07 08, and arcbuf_len == 6.
Minimal steps to reproduce problem:

call OBJECT_IDENTIFIER_get_single_arc function as shown:

    static const uint8_t arcbuf[6] = {0xfd, 0xfb, 0xfa, 0xfc, 0x07, 0x08};
    asn_oid_arc_t arc = 0;
    const ssize_t result =
        OBJECT_IDENTIFIER_get_single_arc(arcbuf, sizeof(arcbuf), &arc);

observe result == 5 (and not -1)
observe arc ==<PHONE_NUMBER> (and not 0)<PHONE_NUMBER> is<PHONE_NUMBER>3 value wrapped by uint32_t).
observe errno is not set.

Possible source of problem:
This line is most likely to be source of problem: https://github.com/vlm/asn1c/blob/acefb479328dc05d944f69e644e67e08db9cb86f/skeletons/OBJECT_IDENTIFIER.c#L118
Where ASN_OID_ARC_MAX is https://github.com/vlm/asn1c/blob/acefb479328dc05d944f69e644e67e08db9cb86f/skeletons/OBJECT_IDENTIFIER.h#L17
but type of accum is also asn_oid_arc_t https://github.com/vlm/asn1c/blob/acefb479328dc05d944f69e644e67e08db9cb86f/skeletons/OBJECT_IDENTIFIER.c#L113
so expression accum <= ASN_OID_ARC_MAX is always true, because accum just wrap values lager than ASN_OID_ARC_MAX.

@melg8 could you please check whether my fix (in my fork https://github.com/mouse07410/asn1c.git, branch vlm_master) takes care of this problem?
@velichkov could you please take a look at the code and let me know if it looks right to you?  Thanks!

@mouse07410 yes it fixed problem on original data.


Custom Routes just redirect (not aliases)

The following routes configured on my Grav server:
routes:
  /p/astrobox: /products/p/astrobox-gateway
  /p/cloud-slicer: /products/p/astroprint-cloud
  /3d-printer-manufacturers: /solutions/p/3d-printer-manufacturers

Just redirect one route the other. In the documentation, routes are explained as aliases, which means the browser won't be redirected but it will show the target page instead on the url provided

This works for me when configured in site.yaml. It's not redirecting.  Are you sure you don't have a conflicting entry under redirects?  That would be tackled before the alias.

Here's my config. It doesn't look like it would...
redirects:
  /kickstarter: 'https://www.kickstarter.com/projects/306530051/astroprinttm-wireless-3d-printing-software'
  /account/: 'https://cloud.astroprint.com/account/'
  /js/min/lib/astroprint.import.js: 'https://cloud.astroprint.com/js/min/lib/astroprint.import.js'
  /p/team: 'https://cloud.astroprint.com/p/team'
  /stats: 'https://cloud.astroprint.com/stats'
routes:
  /p/astrobox: /products/p/astrobox-gateway
  /p/cloud-slicer: /products/p/astroprint-cloud
  /3d-printer-manufacturers: /solutions/p/3d-printer-manufacturers

My file is at /user/config/site.yaml. don't know if that makes a difference

Even with your custom routes it just works for me :( . I can't reproduce this. Are you up to date running all the latest?  Do you have any redirects setup in your pages?

Ugh! I just noticed that does actually work on my production environment.
However, it does not work on my development environment (localhost), which uses the file from here: /user/www.astroprint.dev/config/site.yaml (www.astroprint.dev is pointing to localhost)
the file has the same routes and redirects

Cannot replicate it locally. Could be htaccess or other server-level redirects interfering?


Add arxiv_nc and mag_lp inference yaml to support Inference Guide

Issue #, if available:
Description of changes:
Add two new YAML files for inference. The two configuration files support the inference Guide for customers.
Update training_scripts's mag_lp.yaml because we need to have evaluation_frequency == save_model_per_iters.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Shall we move these yaml under examples and also add a script to create mag graph dataset?


Bug: Emissions UI Reporting Period Drop Clearing Out

Issue:
The reporting period drop-down clears out resets to the default when switching between facility tabs and configurations

reporting period drop-down keeps the pre selected data when user transitions back and forth between different screens


Adding Circle Image Slider

please add a description

https://shrit1401.github.io/CircleImageSlider/ this is live preview, all is from pure CSS no JS and I have also pulled a request


Corrupted images due to disk full cannot be deleted with fatal error

it seems that am some point, I got a full disk and this probably corrupted one of my downloaded images.
if if do
[root@172 ~]# docker pull openshift/origin-pod:v0.3.2
Pulling repository openshift/origin-pod
62e681937222: Download complete
7802f45d9ac0: Download complete
FATA[0001] unexpected end of JSON input

If I have a look at my imagesm here is what I have:
REPOSITORY                            TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
<none>                                <none>              a196bdc4d310        22 hours ago        292 MB
openshift/origin-pod                  v0.3.2              62e681937222        11 days ago         957.9 kB

and If I try to delete the image , I got an error:
[root@172 ~]# docker rmi 62e681937222
Error response from daemon: No such image: 62e681937222
FATA[0000] Error: failed to remove one or more images
[root@172 ~]#

does an integrety check exists for images ?
can I force the re-pull of an image? such an option does not seem to exists

I can confirm, had the same issue on a server and had to entirely wipe the /var/lib/docker folder to get started again :(

Is this still an issue.
What graph driver are you using?
Can you provide the output of docker info and docker version?
If using devicemapper with a static docker binary, this is known to cause corruption issues and is no longer supported.

closing because there was no feedback


IIS Web App Manage issue with Windows Server 2022

Required Information
Question, Bug, or Feature?
Type: Bug or redirect to appropriate development team
Enter Task Name: IIS web app manage
AppCmdOnTargetMachines.ps1
function Add-SslCert
{
    ///.....

        $result = Invoke-VstsTool -Filename "netsh" -Arguments $showCertCmd
        $isItSameBinding = $result.Get(4).Contains([string]::Format("{0}:{1}", $hostname, $port))

    ///.....
}

On Windows Server 2022 $result.Get(4) will return an empty string. The correct result for Windows Server 2022 will be gathered by $result.Get(6).
Calling netsh http show sslcert ipport=<IP_ADDRESS>:443 will return on Windows Server 2022
PS C:\Users\Administrator> netsh http show sslcert ipport=<IP_ADDRESS>:443

SSL Certificate bindings:
-------------------------

    IP:port                      : <IP_ADDRESS>:443
    Certificate Hash             : f7eaa06813007460b6fb5ea52696d6fec15afXXX
    Application ID               : {4dc3e181-e14b-4a21-b022-59fc669b0XXX}
    Certificate Store Name       : WebHosting

Calling netsh http show sslcert ipport=<IP_ADDRESS>:443 will return on Windows Server 2019
PS C:\Users\Administrator> netsh http show sslcert ipport=<IP_ADDRESS>:443

SSL Certificate bindings:
-------------------------

    IP:port                      : <IP_ADDRESS>:443
    Certificate Hash             : f7eaa06813007460b6fb5ea52696d6fec15afXXX
    Application ID               : {4dc3e181-e14b-4a21-b022-59fc669b0XXX}
    Certificate Store Name       : WebHosting

There are 2 more line breaks on Windows Server 2022!

Hello ,
Can you please confirm Power shell Version?
Thanks.

Windows Server 2022
> (Get-Host)
Name             : ConsoleHost
Version          : 5.1.20348.320
InstanceId       : 5880cfc6-00f8-40e2-b4c0-15743563aXXX
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : fi-FI
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Hello geskill,
This issue is related to powershell. can you please raise the issue in following repo:
https://github.com/PowerShell/PowerShell/issues
Thanks.

My best guess is, that this is an issue of Netsh show sslcert command for http, because the same issue occours using CMD.

Hello geskill,
We have created the incident for this issue and working with support team. We will update the status once we get it from support team
Thanks.

Hello Geskill, Support team is asking the below details. Can you please provide us.

Whether the netsh command is running in Azure VM or Windows PC?
Please help me with the screenshots of System info window, Windows version window, TPM status , DSREG logs.
Check your TPM stat. Open windows run and enter the command tpm.msc. In the resulting window, at the central pane under Status, make sure that "The TPM is ready for use" is mentioned. Please share that.
Please search for cmd from search tray and type dsregcmd/status. Kindly copy the contents in a notepad and share the file.

Dedicated Server from Hetzner running Windows Server 2019 with hyper-v. One virtual instance is Windows Server 2022.
The TPM is ready for use

Device name	integration
Processor	Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz   3.60 GHz
Installed RAM	29,3 GB
Device ID	FA6FFCFE-4B9B-4B4D-89E8-
Product ID	00453-60520-36961-
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display

Edition	Windows Server 2022 Standard
Version	21H2
Installed on	3.11.2021
OS build	20348.380

+----------------------------------------------------------------------+
| Device State                                                         |
+----------------------------------------------------------------------+

             AzureAdJoined : NO
          EnterpriseJoined : NO
              DomainJoined : NO
               Device Name : integration

+----------------------------------------------------------------------+
| User State                                                           |
+----------------------------------------------------------------------+

                    NgcSet : NO
           WorkplaceJoined : NO
             WamDefaultSet : NO

+----------------------------------------------------------------------+
| SSO State                                                            |
+----------------------------------------------------------------------+

                AzureAdPrt : NO
       AzureAdPrtAuthority : NO
             EnterprisePrt : NO
    EnterprisePrtAuthority : NO

+----------------------------------------------------------------------+
| IE Proxy Config for Current User                                     |
+----------------------------------------------------------------------+

      Auto Detect Settings : YES
    Auto-Configuration URL :
         Proxy Server List :
         Proxy Bypass List :

+----------------------------------------------------------------------+
| WinHttp Default Proxy Config                                         |
+----------------------------------------------------------------------+

               Access Type : DIRECT

+----------------------------------------------------------------------+
| Ngc Prerequisite Check                                               |
+----------------------------------------------------------------------+

            IsDeviceJoined : NO
             IsUserAzureAD : NO
             PolicyEnabled : NO
          PostLogonEnabled : YES
            DeviceEligible : NO
        SessionIsNotRemote : NO
            CertEnrollment : none
              PreReqResult : WillNotProvision

For more information, please visit https://www.microsoft.com/aadjerrors

Hello Geskill, Support team is asking the below details of Windows Server 2022. Can you please provide us.
Kindly help us with the below information from the affected user's machine:
Screenshots:

Click on search>type "access work or school">>open>>take a screenshot and attach it to the ticket.
Click on search and type TPM.MSC and get the screenshot for the status of TPM and attach it to the ticket.
Click on start and type WINVER and get the screenshot of the Windows version screen and attach it to the ticket.

Logs:

System logs:-
a. Select the start button, type Msinfo32 and hit enter
b. This will open the "System Information" pop-up window.
c. Click File > Save and save it on the desktop.
d. Please ZIP the file and attach it on the ticket

DSREGCMD Logs:-
a. Open Command Prompt as Admin
b. Run the command "dsregcmd /status > %USERPROFILE%\desktop\dsregcmdstatus.txt"
c. A file will be created on the user's desktop with the name dsregcmdstatus.txt
d. Attach the file on the ticket.

win-server-2022.nfo.zip
dsregcmdstatus.txt

Thank you Geskill.

Hi Geskill,
Please find the response below from support team.
"please provide the access work or school screenshot from the user We need to know if the device is joined to MS domain or not "

i guess you find this information within the DSREG logs. The vm is not joined nor work or school account connected. It is a local account.

Hi Gesklli,
As discussed with support team, Can you please check with your local IT support team for the windows server 2022 issue as it's not related to MS device they can't support.

Two weeks ago, i implemented a workaround until this issue is fixed.


EoCompileAction.java:46-47: Make compile action complete...

The puzzle 20-10bfcecf from #20 has to be resolved:
https://github.com/objectionary/eo-intellij-plugin/blob/3a34fe81090ee76ca15dd73b906e8f06c1420060/src/main/java/org/eolang/jetbrains/EoCompileAction.java#L46-L47
The puzzle was created by @mximp on 18-Aug-22.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@mximp yours, I guess


cmd/nerdctl: withBindMountHostIPC: slight refactor

porting the changes from https://github.com/moby/moby/pull/44852
Use a switch so that path.Clean() is not called repeatedly, and unify the implementation for both mount paths.

 Renaming my master branch to main was most of the work (apparently it was some time since I last contributed here 😂)


Upload a universal wheel to pypi

Please build a universal wheel using python setup.py bdist_wheel --universal and upload to pyup so it's available for python 2 as well.

ike-0.1.1-py2.py3-none-any.whl uploaded


undefined local variable or method `dotfile' for #AwesomePrint::Inspector:0x...

In our logstash configuration we have a block where - in certain conditions - events are sent to stdout using this configuration:
stdout {
  codec => rubydebug
}

After the upgrade to logstash 5.4.3 (from 5.4.0), this results in a
[FATAL][logstash.runner          ] An unexpected error occurred!

A workaround is to change the stdout output to
stdout {
}

So, the problem is in the rubydebug part. The full backtrace is:
#<NameError: undefined local variable or method `dotfile' for #<AwesomePrint::Inspector:0xfdf5f3>>

"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:163:in `merge_custom_defaults!'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:50:in `initialize'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/core_ext/kernel.rb:9:in `ai'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.2/lib/logstash/codecs/rubydebug.rb:39:in `encode_default'",
"org/jruby/RubyMethod.java:120:in `call'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.2/lib/logstash/codecs/rubydebug.rb:35:in `encode'",
"/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in `multi_encode'",
"org/jruby/RubyArray.java:1613:in `each'",
"/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in `multi_encode'",
"/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:90:in `multi_receive'",
"/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/single.rb:15:in `multi_receive'",
"org/jruby/ext/thread/Mutex.java:149:in `synchronize'",
"/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/single.rb:14:in `multi_receive'",
"/usr/share/logstash/logstash-core/lib/logstash/output_delegator.rb:47:in `multi_receive'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:407:in `output_batch'",
"org/jruby/RubyHash.java:1342:in `each'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:406:in `output_batch'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:352:in `worker_loop'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:317:in `start_workers'"

@olafz - I am trying to reproduce, but can not.
What versions of logstash-output-stdout and awesome_print are installed ?
cat logstash-core/lib/logstash-core/version.rb
and
find vendor -name "logstash-output-stdout*"
and
find vendor -name "awesome_print*"
My relevant results using tar.gz from 5.4.0 -> 5.4.3 and overlaying files via tar xfz logstash-5.4.3.tar.gz -C logstash --strip-components=1
LOGSTASH_CORE_VERSION = "5.4.3"
vendor/bundle/jruby/1.9/gems/logstash-output-stdout-3.1.0
vendor/bundle/jruby/1.9/gems/awesome_print-1.7.0 and vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0
What was your upgrade path ?  (tar/deb/rpm?)

@jakelandis In the meantime I upgraded to 5.5.0, but the issue is still there.
I upgraded logstash using the debian package; it's now running logstash 1:5.5.0-1. This is the same upgrade path as I used to upgrade from 5.4.0 to 5.4.3.
To answer your questions:
$ cat logstash-core/lib/logstash-core/version.rb
# encoding: utf-8

# The version of logstash core gem.
#
# Note to authors: this should not include dashes because 'gem' barfs if
# you include a dash in the version string.

LOGSTASH_CORE_VERSION = "5.5.0"

$ find vendor -name "logstash-output-stdout*"
vendor/bundle/jruby/1.9/gems/logstash-output-stdout-3.1.1
vendor/bundle/jruby/1.9/gems/logstash-output-stdout-3.1.1/logstash-output-stdout.gemspec
vendor/bundle/jruby/1.9/specifications/logstash-output-stdout-3.1.1.gemspec

$ find vendor -name "awesome_print*"
vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0
vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print.rb
vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print
vendor/bundle/jruby/1.9/specifications/awesome_print-1.8.0.gemspec

Just to be thorough: the backtrace in 5.5.0:
#<NameError: undefined local variable or method `dotfile' for #<AwesomePrint::Inspector:0x62782c12>>

"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:163:in `merge_custom_defaults!'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:50:in `initialize'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/core_ext/kernel.rb:9:in `ai'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:39:in `encode_default'",
"org/jruby/RubyMethod.java:120:in `call'",
"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:35:in `encode'",
"/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in `multi_encode'",
"org/jruby/RubyArray.java:1613:in `each'",
"/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in `multi_encode'",
"/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:90:in `multi_receive'",
"/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/single.rb:15:in `multi_receive'",
"org/jruby/ext/thread/Mutex.java:149:in `synchronize'",
"/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/single.rb:14:in `multi_receive'",
"/usr/share/logstash/logstash-core/lib/logstash/output_delegator.rb:47:in `multi_receive'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:420:in `output_batch'",
"org/jruby/RubyHash.java:1342:in `each'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:419:in `output_batch'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:365:in `worker_loop'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:330:in `start_workers'"

Hmm... I replicated the same setup in an Ubuntu 14.04 VM, starting at 5.4.0 -> 5.4.3 -> 5.5.0, and still can not reproduce. I have all the same versions as you do above.
Perhaps the issue only presents itself with specific configuration.  Can you try with my config echo "hi" | nc localhost 51115  and post yours minus any sensitive configuration ?
input {
tcp {
    port => 55115
	}
}
filter {}
output {
  elasticsearch { hosts => ["<IP_ADDRESS>:9200"] }
   stdout {
       codec => rubydebug
      }
}

@jakelandis was able to reproduce it using 5.5.1
Config:
input {
  tcp {
    port => 55115
  }
}

filter { }

output {
  stdout {
    codec => rubydebug
  }
}

Pushed in data using:
echo "hi" | nc localhost 55115
Log:
[2017-08-10T16:59:08,778][INFO ][logstash.pipeline        ] Starting pipeline {"id"=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>250}
[2017-08-10T16:59:08,804][INFO ][logstash.inputs.tcp      ] Starting tcp input listener {:address=>"<IP_ADDRESS>:55115"}
[2017-08-10T16:59:08,817][INFO ][logstash.pipeline        ] Pipeline main started
[2017-08-10T16:59:08,881][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
[2017-08-10T17:04:23,512][FATAL][logstash.runner          ] An unexpected error occurred! {:error=>#<NameError: undefined local variable or method `dotfile' for #<AwesomePrint::Inspector:0x37590338>>, :backtrace=>["/opt/ensighten/app/logstash/current/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:163:in `merge_custom_defaults!'", "/opt/ensighten/app/logstash/current/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:50:in `initialize'", "/opt/ensighten/app/logstash/current/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/core_ext/kernel.rb:9:in `ai'", "/opt/ensighten/app/logstash/current/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:39:in `encode_default'", "org/jruby/RubyMethod.java:120:in `call'", "/opt/ensighten/app/logstash/current/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:35:in `encode'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/codecs/base.rb:50:in `multi_encode'", "org/jruby/RubyArray.java:1613:in `each'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/codecs/base.rb:50:in `multi_encode'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/outputs/base.rb:90:in `multi_receive'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/output_delegator_strategies/single.rb:15:in `multi_receive'", "org/jruby/ext/thread/Mutex.java:149:in `synchronize'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/output_delegator_strategies/single.rb:14:in `multi_receive'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/output_delegator.rb:47:in `multi_receive'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/pipeline.rb:420:in `output_batch'", "org/jruby/RubyHash.java:1342:in `each'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/pipeline.rb:419:in `output_batch'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/pipeline.rb:365:in `worker_loop'", "/opt/ensighten/app/logstash/current/logstash-core/lib/logstash/pipeline.rb:330:in `start_workers'"]}

If i remove codec => rubydebug then everything runs fine and i see the message in the log.
2017-08-10T17:11:56.234Z <IP_ADDRESS> hi

Just an FYI - Same error here.
LOGSTASH_CORE_VERSION = "5.5.0"
Error from Logs:
[2017-08-11T15:47:22,439][INFO ][logstash.pipeline        ] Starting pipeline {"id"=>"main", "pipeline.workers"=>32, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>4000}
[2017-08-11T15:47:22,469][INFO ][logstash.pipeline        ] Pipeline main started
[2017-08-11T15:47:22,474][INFO ][logstash.inputs.udp      ] Starting UDP listener {:address=>"<IP_ADDRESS>:2055"}
[2017-08-11T15:47:22,498][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}
[2017-08-11T15:47:22,507][INFO ][logstash.inputs.udp      ] UDP listener started {:address=>"<IP_ADDRESS>:2055", :receive_buffer_bytes=>"106496", :queue_size=>"2000"}
[2017-08-11T15:47:23,117][FATAL][logstash.runner          ] An unexpected error occurred! {:error=>#<NameError: undefined local variable or method dotfile' for #<AwesomePrint::Inspector:0x4822278a>>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:163:in merge_custom_defaults!'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:50:in initialize'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/core_ext/kernel.rb:9:in ai'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:39:in encode_default'", "org/jruby/RubyMethod.java:120:in call'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:35:in encode'", "/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in multi_encode'", "org/jruby/RubyArray.java:1613:in each'", "/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in multi_encode'", "/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:90:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/single.rb:15:in multi_receive'", "org/jruby/ext/thread/Mutex.java:149:in synchronize'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/single.rb:14:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator.rb:47:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:420:in output_batch'", "org/jruby/RubyHash.java:1342:in each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:419:in output_batch'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:365:in worker_loop'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:330:in start_workers'"]}

same problem here
CentOS 6.9
ELK 5.5.2 from yum repo
[2017-08-25T13:23:03,233][INFO ][logstash.inputs.redis    ] Registering Redis {:identity=>"redis://@<IP_ADDRESS>:7379/2 list:logstash"} [2017-08-25T13:23:03,252][INFO ][logstash.pipeline        ] Pipeline main started [2017-08-25T13:23:03,323][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600} [2017-08-25T13:26:44,839][FATAL][logstash.runner          ] An unexpected error occurred! {:error=>#<NameError: undefined local variable or method dotfile' for #AwesomePrint::Inspector:0x67d6007a>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:163:in merge_custom_defaults!'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:50:in initialize'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/awesome_print-1.8.0/lib/awesome_print/core_ext/kernel.rb:9:in ai'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:39:in encode_default'", "org/jruby/RubyMethod.java:120:in call'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-rubydebug-3.0.3/lib/logstash/codecs/rubydebug.rb:35:in encode'", "/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in multi_encode'", "org/jruby/RubyArray.java:1613:in each'", "/usr/share/logstash/logstash-core/lib/logstash/codecs/base.rb:50:in multi_encode'", "/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:90:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator_strategies/shared.rb:13:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/output_delegator.rb:47:in multi_receive'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:420:in output_batch'", "org/jruby/RubyHash.java:1342:in each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:419:in output_batch'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:365:in worker_loop'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:330:in start_workers'"]} [2017-08-25T13:26:53,632][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=>{:removed=>[], :added=>[http://<IP_ADDRESS>:9200/]}} [2017-08-25T13:26:53,636][INFO ][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>http://<IP_ADDRESS>:9200/, :path=>"/"} [2017-08-25T13:26:53,726][WARN ][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=>"http://<IP_ADDRESS>:9200/"} [2017-08-25T13:26:53,727][INFO ][logstash.outputs.elasticsearch] Using mapping template from {:path=>nil} [2017-08-25T13:26:53,767][INFO ][logstash.outputs.elasticsearch] Attempting to install template {:manage_template=>{"template"=>"logstash-*", "version"=>50001, "settings"=>{"index.refresh_interval"=>"5s"}, "mappings"=>{"_default_"=>{"_all"=>{"enabled"=>true, "norms"=>false}, "dynamic_templates"=>[{"message_field"=>{"path_match"=>"message", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false}}}, {"string_fields"=>{"match"=>"*", "match_mapping_type"=>"string", "mapping"=>{"type"=>"text", "norms"=>false, "fields"=>{"keyword"=>{"type"=>"keyword", "ignore_above"=>256}}}}}], "properties"=>{"@timestamp"=>{"type"=>"date", "include_in_all"=>false}, "@version"=>{"type"=>"keyword", "include_in_all"=>false}, "geoip"=>{"dynamic"=>true, "properties"=>{"ip"=>{"type"=>"ip"}, "location"=>{"type"=>"geo_point"}, "latitude"=>{"type"=>"half_float"}, "longitude"=>{"type"=>"half_float"}}}}}}}} [2017-08-25T13:26:53,771][INFO ][logstash.outputs.elasticsearch] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["//<IP_ADDRESS>:9200"]} [2017-08-25T13:26:53,777][INFO ][logstash.pipeline        ] Starting pipeline {"id"=>"main", "pipeline.workers"=>12, "pipeline.batch.size"=>250, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>3000} [2017-08-25T13:26:53,799][INFO ][logstash.inputs.redis    ] Registering Redis {:identity=>"redis://@<IP_ADDRESS>:7379/0 list:logstash"}

@jakelandis looks like it's solved by https://github.com/awesome-print/awesome_print/issues/316

I was finally able to reproduce this.
unset  HOME then use stdout with the rubydebug codec.
I also tested that this PR fixes the crashing : https://github.com/awesome-print/awesome_print/pull/324/files
The workaround until that gets released is ensure that $HOME is set for the running environment.

Affects me as well.

The real fix for me is to apply this patch which fixed it without setting $HOME.
https://github.com/awesome-print/awesome_print/pull/324/files

Got the same situation when I forgot to turn off stdout rubydebug codec and started the service.

The above workaround did not work for me on Logstash 6.3 (setting HOME did not fix anything).
Commenting out line 50 (the call to merge_custom_defaults!) in logstash-6.3.0/vendor/bundle/jruby/2.3.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb resolves my issue and I'm able to use the rubydebug codec.
¯\_(ツ)_/¯

Having the same problem in Logstash 6.3 on Ubuntu 14.04. Commenting out codec => rubydebug block made the error go away.


Check for package-feeds pubsub SchemaVer field in Scheduler

The package-feeds project now validates & versions its package data output against a json schema https://github.com/ossf/package-feeds/blob/main/package.schema.json
The SchemaVer should follow semantic versioning, as such any minor 1.* release should guarantee compatibility for the current Scheduler expectations (Name, Version, Type). Any major version bump could signal incompatability (see https://github.com/ossf/package-feeds/issues/93 for example) as such this value should be checked before blindly accessing the current fields

Thanks for the head's up!


CSSE SASS, Leaderboard, Local storage

Create Leaderboard for non-working button
Use SASS to design an attractive table
Consider if leaderboard should have per level and all level timing and scoring
Work with team on add scoring for things like coins, killing goombas.
Consider that animations should not count agains scoring, like jumping in tube.
Create a “clear” button for the leaderboard that will reset or delete all of the local storage values saved (note that this will also remove your local storage for gamespeed)
customize the leaderboard (adding tables, filter button to sort what order the values are ordered, color!). You may look at jQuery for table filtering, very easy (search for jQuery on Teacher 2.0) for lessons


Make JsonRpcRequest struct and fields public

I have a situation where I am receiving requests that may or may not be in JSON-RPC format at the same route, so I need to be able to optionally parse to a JsonRpcRequest.

Thank you for pr!


data_demo

Hello, author, I need to ask you the following questions. Do I need to edit the json file in the data_demo folder if I define the data set myself?

Sure, the Json file is used to locate the paths of training images and their corresponding masks. If you want to fine-tune your own dataset, please convert your data to the format of the demo example. However, generating the Json file is not the sole requirement for fine-tuning SAM-Med2D. You need to understand the pipeline of our Dataloader.py.


Update pipeline module metadata commands and Docker container deployment

Change \ssdcHandle to \spherexHandle
Add \difficulty command and display the difficult value on the title page (if set)
Update GitHub Actions docker deployment to always use the image name ghcr.io/spherex/spherex-tex:latest rather than ghcr.io/SPHEREx/spherex-tex:latest (only lowercase image names are allowed in the registry).

I am comfortable continuing to use ghcr.io until we migrate to using the IPAC organization on DockerHub.  I'm nervous about possible stress on the currently-free SPHEREx org's resource limits, if we moved to GitHub Packages.

Here is a sample of a title page featuring the new \difficulty metadata:

I'm not sure if you'd like me to look into a nicer presentation (having all three values appear on the same line by reducing font size, or alternatively embracing a more multi-line appearance by having the values appear in a table?) Let me know.


Disable Automatic Alphabetical Ordering by Key

A possibility to iterate without changing the order of the input object would be very helpful. my objects are being ordered from a-z when iterating through.

There is not an option for this. But you can override getStatesOfChildNodes method:
class YourIterator extends RecursiveIterator {
  constructor(...args) {
    super(...args)
  }
  getStatesOfChildNodes(node, path, deep) {
      // For example, you could replace getKeys() with Object.keys()
      return getKeys(node).map(key =>
          this.getState(node, node[key], key, path.concat(key), deep + 1)
      )
  }
}

for(let state of new YourIterator(root)) {
  console.log(state)
}


Apache Spark 3.0 compatibility

This is meant to be a discussion around preparing xgboost for the upcoming Apache Spark 3.0 release.
I participate in the Apache Spark project and would like to make it easier for xgboost to adapt to Spark's upcoming major release.  For reference, the current Spark dev list discussions indicate these rough dates:

Fall 2019: Spark 3.0 Preview release
Early 2020: Spark 3.0 release
See http://apache-spark-developers-list.1001551.n3.nabble.com/Thoughts-on-Spark-3-release-or-a-preview-release-td27891.html and other "3.0 Preview" mentions in the dev list for reference.

Some questions to get started:

What are reasonable timelines around this?
Any comments about coordination with ongoing efforts around an XGBoost 1.0.0 release + PySpark support?

Notes about Spark 3.0:

Let me know if there are more questions around Spark 3.0 previews, testing, etc.
Overall, I would not expect the newer DataFrame-based API for ML in Spark to change much, but private APIs and the older RDD-based ML API may change.
The other big change will be a shift to Scala 2.12.

Thanks!

CC @CodingCat  :)

Hi, @jkbradley
One of the expectation from 1.0.0 release of XGB is that we should coordinate with Spark 3.0 if possible. specifically, we are looking forward to GPU scheduling, per stage spark.task.cpus, etc.
for the 1.0.0.preview of XGBoost, Scala 2.12 has been the way to go, so I don't worry about it.  But I would think more about whether to support 3.0 preview or stay with 2.4 (or both)
PySpark is something I would like to finish reviewing soon, but i am out of bandwidth (maybe you or @mengxr can help on that ;) )

Sorry for the slow response!  We've been a bit underwater ourselves.  But I talked with Xiangrui, and he recommended we ask @WeichenXu123 to help out with reviewing the PySpark integration.  I've messaged Weichen offline about that, and we can follow up once we know when that can be prioritized.
That's great about Scala 2.12.  For Spark 3.0 coordination, let me (or the dev list) know if you have specific questions!

Closing this, since we upgraded to Spark 3.0.0 for the latest source.


[pipewire] update to 0.3.60

Describe the pull request

What does your PR fix?

update [pipewire] to 0.3.60

Which triplets are supported/not supported? Have you updated the CI baseline?

same as before

Does your PR follow the maintainer guide?

yeah

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

yes

Thanks for the update!


3bot solution backup

Backup

each user gets an account on 2 central linux servers (ssh non shell access), login = 3bot name
user has secret (passwd of non shell access on the 2 linux servers)
backup/restor using restic (same secret used for encryption)
backup to home folder on the 2 linux servers (so always 2 backups)
in admin pannel 3bot user can do following
stop 3bot (means gets deleted, container gone, backup done first)
backup (manual backup action) ? possible via public actor
check last time backup was done ? possible via public actor

The following is needed to use SFTP:

Creating a new group and limiting the ssh access to that group
Creating a new user
Setting up its home directory and make sure that the user's key is in the authorized hosts
A mechanism to limit the amount of repos a user can create

Alternatively we can use an HTTP server as a backend:

User and password for basic authentication need to be provided for the threebot
Each user is limited to only one repo
Will require running the HTTP server on the central linux machines

backup supports rest server & a custom minio endpoint.


v8 regression in F#: Registration of consumers via System.Type broken (workaround available)

Consider this C# code:
using MassTransit;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddMassTransit(x => x.AddConsumer(typeof(MyConsumer)));

interface MyMsgType
{
}

class MyConsumer : IConsumer<MyMsgType>
{
    public Task Consume(ConsumeContext<MyMsgType> context)
    {
        throw new NotImplementedException();
    }
}

It works correctly. Specifically, the call to AddConsumer ends up here, which I assume it should:
https://github.com/MassTransit/MassTransit/blob/b3b048a90b7f8e182a4d2e18782940b1797d328a/src/MassTransit/Configuration/DependencyInjection/RegistrationConfiguratorExtensions.cs#L18-L27
Now look at the equivalent F# code:
open Microsoft.AspNetCore.Builder
open MassTransit

type MyMsgType = interface end

type MyConsumer() =
  interface IConsumer<MyMsgType> with
    member _.Consume(ctx: ConsumeContext<MyMsgType>) =
      failwith "Not implemented"

[<EntryPoint>]
let main args =
  let builder = WebApplication.CreateBuilder(args)

  builder.Services.AddMassTransit(fun (x: IBusRegistrationConfigurator) ->
    x.AddConsumer(typeof<MyConsumer>) |> ignore
  )
  |> ignore

  0

When running this, due to different overload resolution compared to C#, the call to AddConsumer ends up in a different method:
https://github.com/MassTransit/MassTransit/blob/55d596fe54d88d32cbb13a1aef4cac196f1be0af/src/MassTransit/DependencyInjection/Configuration/RegistrationConfigurator.cs#L42-L50
This method is related to IConsumerDefinition, not IConsumer. Consequently, the F# code arrives here and fails:
https://github.com/MassTransit/MassTransit/blob/b3b048a90b7f8e182a4d2e18782940b1797d328a/src/MassTransit/DependencyInjection/Configuration/DependencyInjectionConsumerRegistrationExtensions.cs#L59-L63
This worked fine in MassTransit 7.
Workaround
Force F# to choose the correct overload, for example like this:
x.AddConsumer(typeof<MyConsumer>, consumerDefinitionType = null)

Do you know the fix? I sure don't and probably won't look into it anytime soon.

Short of changing the overloads to be more F# friendly (likely a breaking change), I don't know of anything that can be done. This issue can serve as documentation for other users. Feel free to close.
Pinging @dsyme to notify of an example where a compatible change from a C# perspective in a popular package manages to break F# users.