[SPARK-33756][SQL] Make BytesToBytesMap's MapIterator idempotent

What changes were proposed in this pull request?
Make MapIterator of BytesToBytesMap hasNext method idempotent
Why are the changes needed?
The hasNext maybe called multiple times, if not guarded, second call of hasNext method after reaching the end of iterator will throw NoSuchElement exception.
Does this PR introduce any user-facing change?
NO.
How was this patch tested?
Update a unit test to cover this case.

Test build #132645 has started for PR 30728 at commit 51e4652.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37247/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37247/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37247/

Test build #132645 has finished for PR 30728 at commit 51e4652.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132645/

Test build #132656 has started for PR 30728 at commit 51e4652.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37260/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37260/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37260/

Test build #132656 has finished for PR 30728 at commit 51e4652.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132656/

retest this please

Test build #132748 has started for PR 30728 at commit 51e4652.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37348/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37348/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37348/

Test build #132748 has finished for PR 30728 at commit 51e4652.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132748/

retest this please

Test build #132761 has started for PR 30728 at commit 51e4652.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37363/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37363/

Test build #132836 has started for PR 30728 at commit f52d851.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37439/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37439/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37439/

Test build #132836 has finished for PR 30728 at commit f52d851.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132836/

retest this please

Test build #132864 has started for PR 30728 at commit f52d851.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37466/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37466/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37466/

Test build #132864 has finished for PR 30728 at commit f52d851.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132864/

Just happen to find the error and I've submitted a PR(https://github.com/apache/spark/pull/30823) to fix the flaky test in Github Action :)

#30823

Just happen to find the error and I've submitted a PR(#30823) to fix the flaky test in Github Action :)

Very thanks..

retest this please

Test build #133022 has started for PR 30728 at commit f52d851.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37621/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37621/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37621/

Test build #133022 has finished for PR 30728 at commit f52d851.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133022/

Merged to master/3.1/3.0/2.4

thanks, sean


Add graphFetchChecked with batch size parameter

What type of PR is this?
Improvement
What does this PR do / why is it needed ?
Add graphFetchChecked function which takes in batchsize parameter

@aziemchawdhary-gs Can we add a test here to confirm if batch size is being respected ?
https://github.com/finos/legend-engine/blob/3375b9cd580d9919478671a049f151443771b137/legend-engine-language-pure-dsl-service-execution/src/test/java/org/finos/legend/engine/language/pure/dsl/service/execution/TestServiceRunner.java#L757

Done


Git default branch is not honored when using --path

Here is my template in case this is relevant.
The good case
using cargo-generate with the --git flag works fine:
cargo generate --destination /tmp --git https://github.com/chevdor/cargo-templates.git cli

and the git repo defaults to master as setup on my system.
The bad case
cargo generate --path /path/to/cli --destination /tmp/

however generates a repo where the default branch is main instead of master.

This is currently by design!
When using --path, cargo-generate doesn't look for or expect anything related to git from the template folder - the user has specified the source as a plain folder after all.
To work around this, just use --git <path to repo> instead.
Of course that may lead you to other discoveries, as the template repo may be dirty, and cargo-generate will now use a checkout of it, which will not include dirty files.

But I am not talking at all about anything remote.
The default branch setting is local to my system, I would expect that, even using --path, if a repo is initialized, the local system's config is honored.


clean card rendering up and make mobile layout

Before:

After:

@mmoutenot looks great. FYI on the call today it was suggested that we only show first initial of last name. I'm not sure how feasible that is given the format we're receiving names in, but I guess we could just split on the first space and truncate the rest?

@mmoutenot looks great. FYI on the call today it was suggested that we only show first initial of last name. I'm not sure how feasible that is given the format we're receiving names in, but I guess we could just split on the first space and truncate the rest?

T'will be hacky but I'm sure we can come up with something :)


Add automated testing

Is your feature request related to a problem? Please describe.
Even with not that many features, it already take some time to test all the endpoints when making changes.
Describe the solution you'd like
Automated testing is necessary, and using CI to test before merging PR's would be a huge plus

[ ] Writing tests
[ ] Using CI to test before PR merge

Obviousely, testing against the test routes ("/api/test") is not needed, as these endpoints will not be staying very long and it would just be a waste of time.
For now, just test against all the auth routes


[filter] Time Grain dropdown in filter layout in Dashboard

Screenshot

Description
Usually all filter dropdown have layout above the filter chart in dashboard, making them easy to use and scroll. But In case of Time Grain dropdown, it opens inside the Filter chart box of the dashboard, making it hard to use and scroll.
Design input
I would suggest to keep behavior of Time Grain dropdown same as others.

Hi @kamalkeshavani-aiinside , we have moved on from the FilterBox to Dashboard filter and are only making improvement on Dashboard native filter. Please try 1.3 or latest master with feature flag  "DASHBOARD_NATIVE_FILTERS_SET": True. let us know what you think. thanks!

@junlincc, Thanks for the update. I was not aware of this decision of moving from FilterBox to Native Filters.
Is there any way I can propose to continue with both options? A lot of our dashboards have filters with limited scope, although I understand that scoping is possible in Native Filters as well, but it makes using filters very difficult for end users.
Consider a case where I have 8 tabs in dashboard, each with its own filter for whole tab and some extra filters for only limited charts in tab. By placement of filterbox, it is very easy for end users to understand the scope of the filter, but it may get complicated with native filters. Our users will be confused looking at so many filters in native filter pane, trying to understand which filter works for which tab and chart!!

Consider a case where I have 8 tabs in dashboard, each with its own filter for whole tab and some extra filters for only limited charts in tab. By placement of filterbox, it is very easy for end users to understand the scope of the filter, but it may get complicated with native filters. Our users will be confused looking at so many filters in native filter pane, trying to understand which filter works for which tab and chart!!

@kamalkeshavani-aiinside native filters actually moves filters that don't apply to the currently active tab into a "Filters out of scope" collapsible panel (collapsed by default). See the attached video:
https://user-images.githubusercontent.com/33317356/128840236-0e46d5ac-4ee4-4c13-ba62-b35e09d58206.mp4
There is a feature flag DASHBOARD_FILTERS_EXPERIMENTAL which makes it possible to place native filters on the dashboard much like the filter box, but as of right now it's not clear in what form this feature will be supported going forward. So keep in mind that there may be breaking changes related to that feature if you consider using it in production.


creating using ai tools

Do I understand correctly that there is still no “creating using ai tools” option in the api.
But maybe there is some other solution to implement this function?
And in general, will there be any sanctions if I publish materials without this tag?

is_ai_generated parameter has been added to core/stash/publish.


How to handle errors in reducers?

I need in some way to handle errors from reducers and save it in logger. How can I do it?
Thanks !!!

Let me try to improve your question:
How to write a log to each cases in switch statements? or how to inject service into reducer?
What I mean for example is I have this code in the reducer:
switch(action) {

  case ACTION:
      try {
        .....
      }
      catch(e) {
      logger.log('ACTION', e);
     }

   case OTHERACTION:
      try {
        .....
      }
      catch(e) {
         logger.log('ACTION', e);
      }
}

My answer to your question is: You should
do meta-reducer like ngrx-logger .
or catch in effects
or verify that your payload is cannot be null or invalid data.

thanks


ServiceWorker not built in 4.x (next)

Describe the bug
./build/service-worker.js is no longer generated at all (and there are no error messages) with the latest versions of CRA (4.x) using @next.
Did you try recovering your dependencies?
Yes.
Which terms did you search for in User Guide?
N/A
Environment

(paste the output of the command here.)
Steps to reproduce

(Write your steps here:)

npx create-react-app test
cd test
npm install --save react-scripts@next
npm run build
ls -la ./build

Expected behavior
./build/service-worker.js should be present.
Actual behavior
The file is missing. This causes a problem with apps which are upgrading from prior CRA versions, as they continue to reference the cached service worker (so the web app continues to cache old assets).
Reproducible demo
Just run the commands above.

@zaneclaes I deployed it to netlify. Do you know how can I fix this issue without having a build folder locally?

This does not only affect @next. I just reproduced it by downgrading from next to the newly released 4.0.0 from 4 days ago.
Steps to repro:

npx create-react-app cra-no-sw --template typescript
cat ./cra-no-sw/build/service-worker.js
cat: ./cra-no-sw/build/service-worker.js: No such file or directory

@Empty2k12 Yes, exact same problem here.
Also the familiar section for registering the service worker in src/index.js is gone
This is no longer there 👇
import * as serviceWorker from './serviceWorker';

...

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.register()

Actually, I think SW is replaced by reportWebVitals. We need to create our own service workers

The 4.0.0 changelog says:

We've switched to the Workbox InjectManifest plugin...

But I think I need more information. When I make a fresh project, it doesn't create a service worker either with the normal template or with --template typescript, nor are there instructions in the code to add one.
Is this an incomplete feature in 4.0.0?

Turns out you need to create your own service-worker.js file. There was no mention of it in the release notes, and even the new docs aren't super clear on this.
I haven't investigated this fully, so in the interim I just copy/pasted what CRA@3 was building and modified it to use the new manifest accessible from self.__WB_MANIFEST. You can check it out here: https://github.com/excalidraw/excalidraw/pull/2320/files

Turns out you need to create your own service-worker.js file.

This is surprising, and disappointing (?). I loved using create-react-app because it always created a solid, installable PWA without having to worry about rolling a service-worker.js, which can be a bit of a minefield.
I really hope CRA doesn't drop the excellent ready-made service worker. 🥺

I believe that there are more complaints about forcing a service worker by default than not, but it is extremely simple to continue using serviceWorker.
npx create-react-app my-app --template cra-template-pwa

So I think there is no way except for making a custom service worker

It would be nice if there were a decent upgrade path, here. Or just a documented one.
For those upgrading to 4.x in an existing project, this is an extremely confusing change. In my case, it transparently broke my application due to a sudden lack of service workers. As others have noted, the upgrade docs are woefully insufficient.
In any case, my "fix" was to create a dummy app:
npx create-react-app my-app --template cra-template-pwa-typescript

And copy over the relevant code:

reportWebVitals.ts
service-worker.ts
serviceWorkerRegistration.ts

As well as the initialization code in index.tsx.

I can confirm @adueck's findings as well. These files are not in the base template at all.
I am new to React and working to port a small microsite from Jekyll just to get a feel for things. The import in index.js and the register function are there, but that's it.
Maddening.

not quite resolved

Are there plans to re-include the ServiceWorker in 4.x onwards? @kivervinicius recommended using npx create-react-app my-app --template cra-template-pwa but that's an old template and seems unmaintained. I would really, really love for there to be a nice built in service worker available like in the good old days of CRA 3.x 🙇♂

It would be nice if there were a decent upgrade path, here. Or just a documented one.
For those upgrading to 4.x in an existing project, this is an extremely confusing change. In my case, it transparently broke my application due to a sudden lack of service workers. As others have noted, the upgrade docs are woefully insufficient.
In any case, my "fix" was to create a dummy app:
npx create-react-app my-app --template cra-template-pwa-typescript

And copy over the relevant code:

reportWebVitals.ts
service-worker.ts
serviceWorkerRegistration.ts

As well as the initialization code in index.tsx.

I tried these steps but it didn't work for me. Do I need to follow any more steps?

It would be nice if there were a decent upgrade path, here. Or just a documented one.
For those upgrading to 4.x in an existing project, this is an extremely confusing change. In my case, it transparently broke my application due to a sudden lack of service workers. As others have noted, the upgrade docs are woefully insufficient.
In any case, my "fix" was to create a dummy app:
npx create-react-app my-app --template cra-template-pwa-typescript

And copy over the relevant code:

reportWebVitals.ts
service-worker.ts
serviceWorkerRegistration.ts

As well as the initialization code in index.tsx.

I tried these steps but it didn't work for me. Do I need to follow any more steps?

I have just tried a new CRA with service worker and works fine, we just need to add as mentioned above, the following:

add src/service-worker.js and serviceWorkerRegistration.js
add import * as serviceWorker from './serviceWorkerRegistration' in index.js
index.js - register serviceWorker.register();

Here's my package.json
`"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"

},`
re-Run yarn build.
Check build folder,  you should now have the compiled service-worker.js & service-worker.js.map files.
Did the same for an existing project, imported new files, but updated react scripts to v4.
It now works fine.
Hope that helps someone.

I have just tried a new CRA with service worker and works fine, we just need to add as mentioned above, the following:

add src/service-worker.js and serviceWorkerRegistration.js
add import * as serviceWorker from './serviceWorkerRegistration' in index.js
index.js - register serviceWorker.register();

Here's my package.json
`"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"

},`
re-Run yarn build.
Check build folder,  you should now have the compiled service-worker.js & service-worker.js.map files.
Did the same for an existing project, imported new files, but updated react scripts to v4.
It now works fine.
Hope that helps someone.

Yeah that's an effective way to do it but with the command npx create-react-app my-app --template cra-template-pwa does that automatically. But without web vitals

I had to uninstall and reinstall my global packages and update my project's Node version - mostly as a way of getting around CRA being really out of date - but I can confirm the pwa template approach @max-programming suggests does in fact, work.

Just a guess but perhaps the issue being encountered is related to an issue resolved in this PR: https://github.com/facebook/create-react-app/pull/11640

This is still an issue.


Interfaces can be implemented by more than just object expressions and classes.

This page claims that "There are two ways to implement interfaces: by using object expressions, and by using class types."
This is not correct. Interfaces can be implemented by other types as well. Notably records and DUs. Examples should be given.
Two examples that use LINQPad for output, so should be slightly modified to print to console instead.
type MyInterface =
    abstract member GetSomeName : unit -> string

type MyRecord =
    { FirstName: string; LastName: string }
    interface MyInterface with
        member x.GetSomeName() = x.FirstName + " " + x.LastName

let myRecord: MyInterface = { FirstName = "Aa"; LastName = "Bbb" } :> MyInterface

(myRecord.GetSomeName()).Dump()

type MyDu =
    | One
    | Two
    | Three
    interface MyInterface with
        member x.GetSomeName () =
            match x with
            | One -> "One"
            | Two -> "Two"
            | Three -> "Three"

let myDu: MyInterface = Two :> MyInterface

(myDu.GetSomeName()).Dump()

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

ID: 5b72f12d-fd7a-b7cd-b08c-5ece2ff7c131
Version Independent ID: e5c4e836-1765-9bdd-656c-c0aa019ab604
Content: Interfaces in F#
Content Source: docs/fsharp/language-reference/interfaces.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: dotnetcontent

In my opinion this change is not sufficient. How will people know that interfaces can be implemented by anything other than class types? The rest of the page still gives a very clear impression that only class types can implement interfaces. The change is only a vague indication there might be more to it.


template content in external files

Is it possible to put the template content into an external file like templates/table.tpl or something similiar?

If you are loading jsrender in the browser, then since the javascript in the browser does not have access to the file system, you can't load template files from the client. But you can access template files on the server, using $.get or $.getScript, as shown here: https://www.jsviews.com/#compiletmpl@fromserver
If you are running jsrender on the server, (Node.js) then yes. See https://www.jsviews.com/#node/filetmpls and also https://github.com/BorisMoore/jsrender-node-starter.

Thank you for the advice!


Update create-a-phone-system-auto-attendant.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/4283
Fixed link

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kenwith  PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


modules/registry: use generics to constrain types

We can use generics to constrain the types of module constructors and pointers at compile time to avoid having to check them at runtime.

Codecov Report

Merging #60 (939909f) into master (ce18e82) will increase coverage by 0.00%.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master      #60   +/-   ##
=======================================
  Coverage   53.08%   53.08%
=======================================
  Files          70       70
  Lines        6403     6395    -8
=======================================
- Hits         3399     3395    -4
+ Misses       2724     2722    -2
+ Partials      280      278    -2

Flag
Coverage Δ

unittests
53.08% <66.66%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

modules/registry.go
48.21% <66.66%> (-0.23%)
:arrow_down:

blockchain/blockchain.go
83.67% <0.00%> (-7.15%)
:arrow_down:

consensus/chainedhotstuff/chainedhotstuff.go
83.92% <0.00%> (-5.36%)
:arrow_down:

consensus/consensus.go
61.07% <0.00%> (-2.40%)
:arrow_down:

synchronizer/synchronizer.go
81.46% <0.00%> (-1.73%)
:arrow_down:

twins/network.go
84.21% <0.00%> (-1.58%)
:arrow_down:

crypto/cache.go
65.62% <0.00%> (-1.57%)
:arrow_down:

crypto/ecdsa/ecdsa.go
61.97% <0.00%> (+2.08%)
:arrow_up:

crypto/base.go
79.34% <0.00%> (+3.26%)
:arrow_up:

consensus/votingmachine.go
81.81% <0.00%> (+20.77%)
:arrow_up:

Continue to review full report at Codecov.

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


Rolling restarts done via cronjob

Signed-off-by: Matt Halder<EMAIL_ADDRESS>Description:
This PR adds the ability to enable or disable a rolling restart of the hedera-json-rpc-relay deployment
Related issue(s):
Fixes #
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Codecov Report

Merging #489 (906f04d) into main (4c3191c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #489   +/-   ##
=======================================
  Coverage   76.38%   76.38%
=======================================
  Files          12       12
  Lines         923      923
  Branches      144      144
=======================================
  Hits          705      705
  Misses        165      165
  Partials       53       53

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


animationGroup go to frame

Please don't merge for now

ok, done with this class.

Tiny problem with the build regarding jsdoc

I'll fix it and merge


[turborepo] Tasks in the pipeline always complete successfully

What version of Turborepo are you using?
1.9.9
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Linux
Describe the Bug
With nodejs version 20.2.0, tasks in the pipeline always complete successfully. The same thing happens with eslint and in packages. At any error, the pipelining terminates successfully.
Log:
> build
> turbo run build

• Packages in scope: docs, eslint-config-custom, tsconfig, ui, web
• Running build in 5 packages
• Remote caching disabled
docs:build: cache miss, executing 807e0c7a16ea603f
web:build: cache miss, executing 51645d36093d8cd5
web:build:
web:build: ><EMAIL_ADDRESS>build
web:build: > next build
web:build:
docs:build:
docs:build: ><EMAIL_ADDRESS>build
docs:build: > next build
docs:build:
web:build: - info Creating an optimized production build...
docs:build: - info Creating an optimized production build...
docs:build: - info Compiled successfully
docs:build: - info Linting and checking validity of types...
web:build: - info Compiled successfully
web:build: - info Linting and checking validity of types...
docs:build: Failed to compile.
docs:build:
docs:build: ./app/page.tsx:4:9
docs:build: Type error: Type 'number' is not assignable to type 'string'.
docs:build:
docs:build:   2 |
docs:build:   3 | export default function Page() {
docs:build: > 4 |   const a: string = 1;
docs:build:     |         ^
docs:build:   5 |
docs:build:   6 |   return (
docs:build:   7 |     <>
docs:build: npm ERR! Lifecycle script `build` failed with error:
docs:build: npm ERR! Error: command failed
docs:build: npm ERR!   in workspace<EMAIL_ADDRESS>docs:build: npm ERR!   at location: /home/vnva/Projects/work/my-turborepo/apps/docs
web:build: - info Collecting page data...
web:build: - info Generating static pages (0/3)
web:build: - info Generating static pages (3/3)
web:build: - info Finalizing page optimization...
web:build:
web:build: Route (app)                                Size     First Load JS
web:build: ─ ○ /                                      742 B          77.8 kB
web:build: + First Load JS shared by all              77 kB
web:build:   ├ chunks/7fd0f9f1-5a083fab1aca0cd0.js    50.5 kB
web:build:   ├ chunks/9-4337614fd7041396.js           24.7 kB
web:build:   ├ chunks/main-app-cffaa53839f2cd62.js    211 B
web:build:   └ chunks/webpack-8074fabf81ca3fbd.js     1.61 kB
web:build:
web:build: Route (pages)                              Size     First Load JS
web:build: ─ ○ /404                                   178 B          83.8 kB
web:build: + First Load JS shared by all              83.6 kB
web:build:   ├ chunks/main-ff72784f162fd151.js        81.8 kB
web:build:   ├ chunks/pages/_app-415a5670032b79f5.js  190 B
web:build:   └ chunks/webpack-8074fabf81ca3fbd.js     1.61 kB
web:build:
web:build: ○  (Static)  automatically rendered as static HTML (uses no initial props)
web:build:

 Tasks:    2 successful, 2 total
Cached:    0 cached, 2 total
  Time:    17.644s

Expected Behavior
Pipeline should end with an error.
To Reproduce
Use Node.js 20.2.0
Initialize monorepo with:
npx create-turbo@latest

Make mistake in app
Run:
npm run build

Reproduction Repo
No response

I can reproduce this with 1.9.9, and 1.9.8, but not with 1.9.7. Looking into what happened since the diff is not very big https://github.com/vercel/turbo/compare/v1.9.7...v1.9.8

I've confirmed this is an issue with npm workspaces + node 20, I can reproduce it without turbo or next.js or anything: https://github.com/mehulkar/turbo-issue-5098. Looks like a similar issue has already been reported in https://github.com/npm/cli/issues/6506 as well, so I'm going to close this down.


Adds @VisibleForTesting annotation for methods only used in tests.

Describe the solution you'd like
As a save action for class, it check all fields/methods that are only used in tests source and add @VisibleForTesting annotation to it.
For what product
Intellij, java.

Hello @zhanghaze, thank you for your interest in the plugin (sorry I missed this issue during triage). I won't have time to implement this, but you can submit a PR anytime, see contributing guide in the README. Cheers

Moved to ideas https://github.com/dubreuia/intellij-plugin-save-actions/projects/2


RateLimiter update timestamp if rate limit exceeded

For discussion
Is this behavior correct with the timestamp update, when $allowance < 1?
https://github.com/yiisoft/yii2/blob/e9b33916b61ecabbe7a754aac7d9f945e4699038/framework/filters/RateLimiter.php#L119-L123
What steps will reproduce the problem?
class DeviceRateLimit implements RateLimitInterface {
    //...
    public function getRateLimit($request, $action)
    {
        return [2, 120];
    }
}

$i = 1;
$API->request();
/**
 * 200 OK
 * `$current = time();` -<PHONE_NUMBER>
 * DeviceRateLimit::saveAllowance($request, $action, 1,<PHONE_NUMBER>);
 */
sleep(59);

$i++; // 2
$API->request();
/**
 * 200 OK
 * `$current = time();` -<PHONE_NUMBER>
 * DeviceRateLimit::saveAllowance($request, $action, 0,<PHONE_NUMBER>);
 */
sleep(59);

$i++; // 3
$API->request();
/**
 * 429 Too Many Requests <=== correct behavior
 * `$current = time();` -<PHONE_NUMBER>
 * DeviceRateLimit::saveAllowance($request, $action, 0,<PHONE_NUMBER>);
 */
sleep(59);
$API->request();
/**
 * 429 Too Many Requests <=== correct behavior ???
 * `$current = time();` -<PHONE_NUMBER>
 * DeviceRateLimit::saveAllowance($request, $action, 0,<PHONE_NUMBER>);
 */
sleep(59);
while(true) {
    $i++;
    $API->request();
    /**
     * 429 Too Many Requests <=== correct behavior ???
     * `$current = time();` -<PHONE_NUMBER> + $i * 59
     * DeviceRateLimit::saveAllowance($request, $action, 0, $current);
     */
    sleep(59);
}

In this case, if you set limits [2, 120] (2 requests for 2 minutes), and send a request to the API every 59 seconds, then after the first 2 requests ALL subsequent (not only the 3rd, 6th, ...) will be with 429 code due to timestamp overwrite.
What is the expected result?

Request time
Rresponse
allowance:timestamp(saveAllowance)

1554207300
200 OK
1:1554207300

1554207359(+59)
200 OK
0:1554207359

1554207418(+59)
429 Too Many Requests
0:1554207359

1554207477(+59)
200 OK
0:1554207477

First 2 response with 200 OK, 3rd - 429 Too Many Requests, 4th - 200 OK
What do you get instead?

Request time
Rresponse
allowance:timestamp(saveAllowance)

1554207300
200 OK
1:1554207300

1554207359(+59)
200 OK
0:1554207359

1554207418(+59)
429 Too Many Requests
0:1554207418

1554207477(+59)
429 Too Many Requests
0:1554207477

1554207536(+59)
429 Too Many Requests
0:1554207536

...
...
...

First 2 response with 200 OK, 3rd - 429 Too Many Requests,  4th - 429 Too Many Requests, ...

Q
A

Yii version
2.0.16

PHP version
7.2

Operating system
Ubuntu 16.04

Is this behavior correct or is it better to leave the timestamp of the last successful request?

Yes. That is expected. The filter is based on http://en.wikipedia.org/wiki/Leaky_bucket and 120 is the window size. It could be drawn as the following:


Using stdio to resolve now dev Ready

This PR using stdio to resolve now dev ready state.

Codecov Report

Merging #2597 into canary will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           canary   #2597      +/-   ##
=========================================
+ Coverage    7.92%   7.93%   +0.01%
=========================================
  Files         258     257       -1
  Lines        9373    9359      -14
  Branches     1061    1058       -3
=========================================
  Hits          743     743
+ Misses       8580    8566      -14
  Partials       50      50

Impacted Files
Coverage Δ

src/commands/update.ts
0% <0%> (ø)
:arrow_up:

src/util/get-update-command.ts

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 19dd33b...c539d36. Read the comment docs.

The tests are passing. What's the status on this one @sophearak?

@TooTallNate There are few more tests I want to include from example that recently added https://github.com/zeit/now-examples
Should be able to wrap this up today.


syft attest command missing --key flag

What happened:
I tried to perform an attest with a local cosign key but the --key flag is not found as shown in the output below.
 ~  >> syft attest --output cyclonedx-json --key cosign.key ubuntu:latest
unknown flag: --key

What you expected to happen:
I expected the ---key flag to be available so i can use my  local cosign key
Steps to reproduce the issue:

Install the latest version  of Syft, 0.103.1
Create a cosign key in your current directory

 ~  >> cosign generate-key-pair
Enter password for private key:
Enter password for private key again:
Private key written to cosign.key
Public key written to cosign.pub

Use the syft attest command in combination with the --key flag.

 ~  >> syft attest --output cyclonedx-json --key cosign.key ubuntu:latest

Anything else we need to know?:
Environment:
 ~  >> syft version
Application: syft
Version:    0.103.1
BuildDate:  2024-01-31T17:09:14Z
GitCommit:  377538e4a692b8070716eb091456b112ccc2cb81
GitDescription: v0.103.1
Platform:   linux/amd64
GoVersion:  go1.21.6
Compiler:   gc

 ~  >> cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

And finally i want to thank you guys for this project :)

This has been fixed in the latest syft (via https://github.com/anchore/syft/pull/2551)


Language Settings

Hi,
First of all, thank you for the great work!
I went through the instructions of both searchinghost and searchinghost-easy, but I could only find out that laguage settings are availalbe in searchinghost.
However, I really like searchinghost-easy and its basic template without feature images.
My blog will be written in English and Korean. Would you give me an advice to use searchinghost-easy with language settings?
Or if I must use searchinghost, could you let me know how to integrate the basic template with it?
I am looking forward to hearing from you. Thank you!

Hi @eddy-hj-kim,
Thank you, very happy to see that you are playing (and reading the docs!) with these solutions 😃
It is probably not clear enough in the documentation of SearchinGhostEasy but as it is built on top of SearchinGhost any existing configuration parameter in SearchinGhost is also available in its "Easy" version.
Basically, I think you will end up with a configuration that looks like this one:
new SearchinGhostEasy({
    contentApiKey: '<CONTENT_API_KEY>',
    // ... your custom config params
    searchinghostOptions: {
        indexOptions: {
            split: /\s+/,
            encode: function(str) {
                var regexp_replacements = {
                    "a": /[àáâãäå]/g,"e": /[èéêë]/g,"i": /[ìíîï]/g,"o": /[òóôõöő]/g,
                    "u": /[ùúûüű]/g,"y": /[ýŷÿ]/g, "n": /ñ/g,"c": /[ç]/g,"s": /ß/g,
                    " ": /[-/]/g,"": /['!"#$%&\\()\*+,-./:;<=>?@[\]^_`{|}~]/g," ": /\s+/g,
                }
                str = str.toLowerCase();
                for (var key of Object.keys(regexp_replacements)) {
                    str = str.replace(regexp_replacements[key], key);
                }
                return str === " " ? "" : str;
            }
        }
    }
});

Let me know if that works for you

Hi @gmfmi,
Thank you for the prompt response.
I am happy to say that I have successfully installed SearchinGhostEasy in my blog as following your guide.
It is very cool as I expected. I hope a lot of Ghost users use this.
As far as I know, the current search plugins don't support Korean, except for yours.
I would like to promote SearchinGhostEasy to Korean Ghost Users if I have a chance,
Again thank you for sharing this good plugin!
(You may be able to close this issue.)

Thank you for the nice words. I don't know if there is "a lot" of Ghost users using SearchinGhost but the number is growing according to the statistics 🙂
OK, so I close the issue.


[Code Health] Params tests don't assert initial state

Objective
[ What? Describe the issue in 1-2 sentences]
Origin Document
[ Why? Justify the issue in 1-2 sentences. Consider adding a link or a screenshot.]
Goals

Goal #1
Goal #2
...

Deliverables

[ ] Deliverable #1
[ ] Deliverable #2
...

Non-goals / Non-deliverables

Non-goal #1
Non-deliverable #2
...

General deliverables

[ ] Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
[ ] Testing: Add new tests (unit and/or E2E) to the test suite.
[ ] Makefile: Add new targets to the Makefile to make the new functionality easier to use.
[ ] Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: [GitHub handle of issue owner]
Co-Owners: [OPTIONAL - GitHub handle of co-owner(s)]

@bryanchriswhite Can you please update this w/ a screenshot or reference when you have a chance?

Closing as this will likely be resolved on a per-module basis as msg_update_params_test.go files are updated alongside changes to modules' params.


Add highlight for Unaccounted description on box click

Show formula and data for Unaccounted box when clicking on cell

Update: 10/03
Fixed info icon and click to display information.
Need to process data correctly and adjust data alignment


GL Render states

Lazy setup for render states to reduce driver state changes.

Nice, thanks @karimnaaji!


Docs 5493 delay queues and message timers hn

Hi -
The main file for review is this one: modules/ROOT/pages/mq-queues.adoc
@steveCluster - please review or assign.
@kbostrom - please focus on this file. I made a lot of changes to others but they're not ready for scrutiny.
I need to finish this up before I leave for vacation on Monday.

Thanks for updating the outdated screenshots!

Do not merge until 10-Aug (or until @steveCluster says feature is released).


Low urgency feature request - refresh button on live log

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[-] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
YES
[-] I have searched the existing issues and I'm convinced that mine is new.
YES
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
NO ISSUE - Feature enhancement request.
Describe the solution you'd like
Hello again, sorry to bother you again with another feature request for the live log page, I use this page a lot and notice missing features as I am always using it. Apologies again this request is low urgency as it doesnt stop me from using the product effectively but would be a nice to have.
On the firewall log there is no manual refresh button to refresh just 1 time. I can only tick the auto refresh and untick it. On larger amounts of logs this is not always desirable as I want just a snapshot in time for me to review while autorefresh can sometimes refresh more than the single time I am looking for. Also when changing between number of entries shown, if auto refresh is off, nothing is shown when selecting a different amount of logs because there is no way to one time refresh the entries.
I have attached a screenshot of the intrusion detection page which has a button that allows a single 1 time refresh.
I would ask for a single time refresh button be added like the intrusion detection page so I dont have to use auto refresh (which can be a slow script when there are a large number of logs) and can click the refresh button just one time.
To be clear this is a low urgency request and does not impact daily use of the product. I am only asking for this feature if it is very easy to implement and does not stress anyone out.
An alternative option would be if the auto refresh is turned off, when changing the number of entries shown (eg: from 25 to 100 say) that the entries refresh a single time so something is displayed rather than nothing. Either option would work for me personally although a button to click to refresh would be nicer.
Describe alternatives you've considered
No other option currently exists. To reiterate if this request is too hard to do then that is fine. Im only asking if its easy as it is a feature enhancement. The product works correctly without the feature but it would help to have a refresh button.

Additional context
Add any other context or screenshots about the feature request here.
Thank you for taking the time to read my request. If it is too difficult to add that if fine :)
Hope you had a good Christmas and have a happy new year :)
-P

@pallebone https://github.com/opnsense/core/commit/7331b2717bc54dd197d5032073273c8d50a5a31d should do the trick, there was room for an extra button available, so easy fix I would say.

Thank you very much for this. Have a good new year :)

you're welcome, best wishes for 2021 to you too!


  Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\npart of dart.core;\n\n/// A collection of values, or \"elements\", tha…
[14:38:11] [Analyzer] [Info] ==> Content-Length: 202
[14:38:11] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///Users/dimannich/Desktop/flutter/bin/cache/dart-sdk/lib/core/iterable.dart"}},"clientRequestTime":1674815891374}
[14:38:11] [Analyzer] [Error] Unhandled exception:
Bad state: Expected to link dart:core and dart:async together: [dart:core/iterable.dart, dart:core]
#0      LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:246:9)
#1      LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:265:20)
#2      AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1712:22)
#3      AnalysisDriver._applyPendingFileChanges (package:…
[14:38:11] [Analyzer] [Info] Spawning /Users/dimannich/Desktop/flutter/bin/cache/dart-sdk/bin/dart with args ["language-server","--protocol=lsp","--client-id=VS-Code","--client-version=3.58.0"]
[14:38:11] [Analyzer] [Info]     PID: 60789

not sure what exactly caused that, but maybe you can spot it.
Dart 2.19

@bwilkerson @scheglov sorry for the ping, but maybe I can provide additional details? I hit this issue few times a day, gets a bit annoying.

If you know how to reproduce it, this would help a lot.

Unfortunately, I don't have the exact steps, but I think it sometimes appears on hover or cmd + click navigation (but after the restart all the same actions don't lead to another restart). I'll try to pay closer attention to how it can be reproduced.
Meanwhile, maybe you have a hint what might cause it?

I have the same issue, no idea what causes it, simply happens on code navigation

In some cases it happens for me when I copy some code

Same here

I'm adding another crash log in case this of any use. I frequently run into this while working on https://github.com/flutter/flutter.    Please see the AUTHORS file\n// for details. All rights reserved. Use of this source code is governed by a\n// BSD-style license that can be found in the LICENSE file.\n\npart of dart.core;\n\n// Frequently used character codes.\nconst…
[1:43:49 PM] [Analyzer] [Info] ==> Content-Length: 208
[1:43:49 PM] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"textDocument/didClose","params":{"textDocument":{"uri":"file:///Users/andrewkolos/Documents/GitHub/flutter/bin/cache/dart-sdk/lib/core/uri.dart"}},"clientRequestTime":1705959829666}
[1:43:49 PM] [Analyzer] [Info] ==> Content-Length: 355
[1:43:49 PM] [Analyzer] [Info] ==> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///Users/andrewkolos/Documents/GitHub/flutter/packages/flutter_tools/lib/src/asset.dart","version":480},"contentChanges":[{"range":{"start":{"line":397,"character":0},"end":{"line":402,"character":0}},"rangeLength":268,"text":""}]},"clientRequestTime":1705959829687}
[1:43:49 PM] [Analyzer] [Info] ==> Content-Length: 263
[1:43:49 PM] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":440,"method":"textDocument/definition","params":{"textDocument":{"uri":"file:///Users/andrewkolos/Documents/GitHub/flutter/packages/flutter_tools/lib/src/asset.dart"},"position":{"line":396,"character":36}},"clientRequestTime":1705959829708}
[1:43:49 PM] [Analyzer] [Error] Unhandled exception:
Bad state: Expected to link dart:core and dart:async together: [dart:core/uri.dart, dart:core]
#0      LinkedElementFactory.removeLibraries (package:analyzer/src/summary2/linked_element_factory.dart:283:9)
#1      LibraryContext.remove (package:analyzer/src/dart/analysis/library_context.dart:274:20)
#2      AnalysisDriver._removePotentiallyAffectedLibraries (package:analyzer/src/dart/analysis/driver.dart:1919:22)
#3      AnalysisDriver._applyPendingFileChanges (package:analy…
[1:43:49 PM] [Analyzer] [Info] Spawning /Users/andrewkolos/Documents/GitHub/flutter/bin/cache/dart-sdk/bin/dart with args ["language-server","--protocol=lsp","--client-id=VS-Code","--client-version=3.81.20240117"]
[1:43:49 PM] [Analyzer] [Info]     PID: 12428

Dart diagnostic information
Interestingly, upon running the Dart: Collect Diagnostic Information command in VSCode after the analyzer crashed, I got a notification saying that my Dart SDK has been upgraded. Another notification one asked if I wanted to run pub get. This is interesting, because nothing should have changed about my Dart SDK. I don't know if this is relevant to anything, but it was interesting enough to note.

Workspace Environment
Dart Code extension: 3.81.20240117
Flutter extension: 3.81.20231227 (activated)

App: Visual Studio Code
App Host: desktop
Version: mac 1.85.1

Workspace type: Dart, Flutter (LSP)

Dart (3.4.0-16.0.dev): /Users/andrewkolos/Documents/GitHub/flutter/bin/cache/dart-sdk
Flutter (3.19.0-5.0.pre.9): /Users/andrewkolos/Documents/GitHub/flutter (macOS (darwin/macos))

Output from 'dart info'
/Users/andrewkolos/Documents/GitHub/flutter/bin/cache/dart-sdk/bin/dart info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info

Dart 3.4.0-16.0.dev (dev) (Wed Jan 10 16:04:09 2024 -0800) on "macos_arm64"
on macos / Version 14.2.1 (Build 23C71)
locale is en

Process info

Memory
CPU
Elapsed time
Command line

6 MB
0.0%
05-01:44:50
dart devtools --machine --allow-embedding

27 MB
0.0%
01:58:30
dart devtools --machine --allow-embedding

874 MB
0.0%
32:10
dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.81.20240117

11 MB
0.0%
05-01:44:50
dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.81.20240117

53 MB
0.0%
01:58:30
flutter_tools.snapshot daemon

Output from 'flutter doctor'
/Users/andrewkolos/Documents/GitHub/flutter/bin/flutter doctor -v
Failed to run flutter doctor (exit code 254):
STDOUT
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0  214M    0  229k    0     0   536k      0  0:06:50 --:--:--  0:06:50  536k
 11  214M   11 24.2M    0     0  16.9M      0  0:00:12  0:00:01  0:00:11 16.9M
 22  214M   22 49.2M    0     0  20.2M      0  0:00:10  0:00:02  0:00:08 20.2M
 33  214M   33 72.5M    0     0  21.1M      0  0:00:10  0:00:03  0:00:07 21.1M
 44  214M   44 96.0M    0     0  21.3M      0  0:00:10  0:00:04  0:00:06 21.3M
 52  214M   52  112M    0     0  20.8M      0  0:00:10  0:00:05  0:00:05 22.5M
 63  214M   63  136M    0     0  21.2M      0  0:00:10  0:00:06  0:00:04 22.5M
 76  214M   76  163M    0     0  22.0M      0  0:00:09  0:00:07  0:00:02 22.9M
 87  214M   87  187M    0     0  22.2M      0  0:00:09  0:00:08  0:00:01 22.9M
100  214M  100  214M    0     0  22.8M      0  0:00:09  0:00:09 --:--:-- 24.3M
Resolving dependencies...
Got dependencies.

STDERR
Downloading Darwin arm64 Dart SDK from Flutter engine f20657354d8b53baafcec55650830ead89adf3e9...
Building flutter tool...
packages/flutter_tools/lib/src/asset.dart:399:13: Error: The getter 'transformers' isn't defined for the class 'ManifestAssetBundle'.
 - 'ManifestAssetBundle' is from 'package:flutter_tools/src/asset.dart' ('packages/flutter_tools/lib/src/asset.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'transformers'.
        if (transformers.isNotEmpty) {
            ^^^^^^^^^^^^
packages/flutter_tools/lib/src/asset.dart:414:27: Error: The getter 'transformers' isn't defined for the class 'ManifestAssetBundle'.
 - 'ManifestAssetBundle' is from 'package:flutter_tools/src/asset.dart' ('packages/flutter_tools/lib/src/asset.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'transformers'.
            transformers: transformers,
                          ^^^^^^^^^^^^


Rust Applications built on Centos7 cannot run on Centos6

I have a develop machine with Centos7 where I build little applications to run on Centos7 and Centos6 target machines.
Now trying to run my "hello-world" application on Centos6 and it crashes:
fn main() {
    println!("Hello, world!");
}

$ ./hello-world
./hello-world: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./hello-world)

the target system is:
$ cat /etc/centos-release
CentOS release 6.10 (Final)

the glibc package provides:
$ rpm -q --provides glibc|grep -i "GLIBC_"
libc.so.6(GLIBC_2.10)(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.12)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.2.6)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.5)(64bit)
libc.so.6(GLIBC_2.6)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libc.so.6(GLIBC_2.9)(64bit)

So I am wondering why the Rust Library requires GLIBC_2.14 and cannot run with GLIBC_2.12 ?
Needless to mention that Applications compiled with other Languages do run on both Centos7 and Centos6 systems.
Another Application built with another Compiler on Centos7:
$ ./hello-world_fpc.run
Hello, world!
$ ./hello-world_fpc.run -h
Usage: /path/to/hello-world_fpc.run -h

This repo only provides FFI bindings.
The actually glibc version that gets dynamically linked to the pre-packaged libstd in the x86_64-unknown-linux-gnu components is chosen in rust-lang/rust, so you'd need to ask there why are they using a linux image that uses glibc 2.14 and not some older linux version.
Have you tried re-compiling the standard library in your system? (applications compiled with other languages might be doing that).

Needless to mention that Applications compiled with other Languages do run on both Centos7 and Centos6 systems.

Those applications might be dynamically linked against a glibc 2.12. You can recompile your application in your system down to libstd using cargo xbuild to get it to link your system glibc version. A binary compiled against glibc 2.12 is forward compatible with glibc 2.14, so if libstd supports glibc 2.12, then that should work.


document how to disable unifi.sh service and how to remove it

Two sections are missing from the documentation:

how to disable service so it would not auto-start
how to remove the service

I am asking this because I am migrating from running unifi controller on pfsense router to running it as a docker container on Synology, as that variant sorts two important issues: free upgrades (due to container architecture), and reliability on system upgrades. pfsense still has its role as is used as a frontend which redirects all ports used by unify and also provides SSL encryption (haproxy) for the two ports needing it.

Uninstall Instructions are listed under the readme.md now...

Uninstall Instructions are listed under the readme.md now...


fix(launcher): support https for browserURL endpoint

Hey there 👋
We'd like to deploy Puppeteer to internal Kubernetes (which serves everything via https, at least in our setup), but apperently browserURL is limited to http requests at the moment. I wonder if there's any particular reason behind it?
I'm not sure how to setup https case for testing, but happy to work on it with some guidance.
Thanks!

which serves everything via https, at least in our setup

How's this possible? Do I understand correctly that k8s launches a chrome instance with a remote debugging exposed on a particular port, and then this port is re-exposed with K8s over https?

@aslushnikov ah sorry, actually https is enforced on a different level for our whole infra. But yeah, in general we deploy a container with a puppeteer w/ remote debugging enabled to k8s. There's minor hijack required to compensate #2242, but overall it works as expected :)

@aslushnikov thanks!


Add new pullrequests to protocol design project board

Add new action to move any PRs created for the specs internal repo to the in progress column on the protocol design project board. Its a separate action to the issues in order to be able to turn off in the Github UI if it becomes too noisy on the project board. They may want to be merged to a single action at a later date.

@gordsport I was under the impression that the intention was for this (public) specs repo to contain no Issues, PRs, CI etc. Instead, all that is done in specs-internal, and this repo receives automated updates from there.

@ashleyvega, in the future the community may open issues and it was discussed that adding this will allow us to triage these in the event issues/PRs are created by the community.

The CI is failing, and there is a bug for it: https://github.com/alex-page/github-project-automation-plus/issues/39 - but no solution, or guidance, what might cause it.


Unexpected step over/into behavior in files using async/await

Using VS 2015 Update 1 and TypeScript 1.7.4, I create a new "HTML Application with TypeScript", set ECMAScript version to ES6 in project properties, and replace app.ts with the following:
async function makeAsync(n: number) {
    return n;
}

async function doAsync() {
    var n1 = await makeAsync(10);
    var n2 = await makeAsync(5);

    return n1 + n2;
}

doAsync().then(x => console.log(x));

Running the program in Chrome, setting a breakpoint at the first await line, and refreshing the page causes the debugger to stop at the correct line. After pressing F10 (step over), however, the execution jumps to the closing brace of the doAsync function, while I'd expect it to jump to the next line. The next step over takes me into the generated app.js file, inside the __awaiter function.
The behavior is the same in an NTVS console application, except that instead of jumping to the js file, the execution cursor jumps around in the ts file in a seemingly random pattern.

This is because of a bug in chrome which prevents it from stepping over generators correctly. Track this bug in the chromium bug tracker.

thanks @weswigham


Thumbnails are shrunk on home page

Off:

On:

Even though the thumbnails are rounded, but the thumbnails and margins are also shrunk which shouldn't be the case.

It's a feature. I did that because I prefer not have margins than have them. 😂


Bootstrap-oss error

I am trying to get the pointfree code running locally and I ran into an issue while trying to boostrap.
❯ make bootstrap-oss
test -f .env \
		|| cp .env.example .env
test -d Sources/Server/Transcripts/ \
		|| cp -r Transcripts.example/ Sources/Server/Transcripts/
cp: directory Sources/Server/Transcripts does not exist
make: *** [mock-transcripts] Error 1

I see that the git submodule for episode-transcripts lives inside Sources/Pointfree, but since that's done in bootstrap-common, it happens after the mock-transcripts task attempts to copy. I tried running git submodule update --init --recursive which is when I realized that it appears the episode-transcripts repo is no longer public (or no longer exists).
It's very likely I messed something up on my end. It's not urgent but I'd really appreciate a push in the right direction!

Looks like in some of our most recent work to clean things up (#229) we forgot to update the bootstrap! We'll have a fix shortly...

I was going to report this last night but I thought maybe I was just doing something wrong! I saw Steven’s commit but still just thought I was missing something 🙈

This should be fixed by https://github.com/pointfreeco/pointfreeco/pull/233 !
Gotta step out for a bit, but when y'all get a moment give it a shot!

Confirmed fixed for me!


[bug]: <IP_ADDRESS> host not working (black browser window)

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6GB
What version did you experience this issue on?
3.1.0
What happened?
I have no idea about this stuff, so I'll just show you the console log. This is what is displayed to me in the terminal:
[2023-08-31 22:08:59,644]::[uvicorn.error]::INFO --> Application startup complete.
[2023-08-31 22:08:59,644]::[uvicorn.error]::INFO --> Uvicorn running on http://<IP_ADDRESS>:9090 (Press CTRL+C to quit)
[2023-08-31 22:09:01,048]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59668 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgDp HTTP/1.1" 200
[2023-08-31 22:09:01,058]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59668 - "POST /socket.io/?EIO=4&transport=polling&t=OfDDgDy&sid=0iIqaYay8oKJB168AAAA HTTP/1.1" 200
[2023-08-31 22:09:01,060]::[uvicorn.error]::INFO --> ('<IP_ADDRESS>', 59669) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=0iIqaYay8oKJB168AAAA" [accepted]
[2023-08-31 22:09:01,061]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59668 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgDz&sid=0iIqaYay8oKJB168AAAA HTTP/1.1" 200
[2023-08-31 22:09:01,063]::[uvicorn.error]::INFO --> connection open
[2023-08-31 22:09:01,070]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59668 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgEA&sid=0iIqaYay8oKJB168AAAA HTTP/1.1" 200
[2023-08-31 22:09:02,026]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59671 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgT7 HTTP/1.1" 200
[2023-08-31 22:09:02,034]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59671 - "POST /socket.io/?EIO=4&transport=polling&t=OfDDgTD&sid=ZzgB94rI1u4s8wGSAAAC HTTP/1.1" 200
[2023-08-31 22:09:02,037]::[uvicorn.error]::INFO --> ('<IP_ADDRESS>', 59672) - "WebSocket /socket.io/?EIO=4&transport=websocket&sid=ZzgB94rI1u4s8wGSAAAC" [accepted]
[2023-08-31 22:09:02,038]::[uvicorn.error]::INFO --> connection open
[2023-08-31 22:09:02,039]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59671 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgTE&sid=ZzgB94rI1u4s8wGSAAAC HTTP/1.1" 200
[2023-08-31 22:09:02,046]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59671 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgTR&sid=ZzgB94rI1u4s8wGSAAAC HTTP/1.1" 200
[2023-08-31 22:09:02,103]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59671 - "GET /socket.io/?EIO=4&transport=polling&t=OfDDgUH&sid=ZzgB94rI1u4s8wGSAAAC HTTP/1.1" 200
[2023-08-31 22:09:02,106]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59673 - "GET /api/v1/models/?base_models=sd-1&base_models=sd-2&base_models=sdxl&model_type=main HTTP/1.1" 200
[2023-08-31 22:09:02,109]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59671 - "GET /api/v1/models/?model_type=lora HTTP/1.1" 200
[2023-08-31 22:09:02,111]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59673 - "GET /api/v1/app/version HTTP/1.1" 200
[2023-08-31 22:09:02,116]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59674 - "GET /api/v1/models/?model_type=controlnet HTTP/1.1" 200
[2023-08-31 22:09:02,119]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59675 - "GET /api/v1/models/?model_type=vae HTTP/1.1" 200
[2023-08-31 22:09:05,239]::[InvokeAI]::INFO --> NSFW checker initialized
[2023-08-31 22:09:05,240]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59676 - "GET /api/v1/app/config HTTP/1.1" 200
[2023-08-31 22:09:05,243]::[uvicorn.access]::INFO --> <IP_ADDRESS>:59677 - "GET /api/v1/models/?model_type=embedding HTTP/1.1" 200
In a stack overflow post, I learned that I need to change the host to "localhost" to solve the issue. I have had this problem since 3.0 and would like to ask if there is a simple solution to this (other than changing the host in the .yaml file).
Screenshots
No response
Additional context
No response
Contact Details
No response

Please follow these steps to reset the UI:

Start the InvokeAI UI and open it in your browser
Follow these instructions to open the browser's console
Copy and paste localStorage.clear() into the console and press Enter to run the command
Refresh the page

Thank you!


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Created a contact info block


{audacious, audacious-plugins}: 4.3.1 -> 4.4, port to qt6

Description of changes
https://audacious-media-player.org/news/59-audacious-4-4-released
https://github.com/audacious-media-player
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

3 packages built:

audacious
audacious-plugins
gjay


Emberfire Applicable Instructions? LinkedIn Auth, others

As a longtime Firebase developer using Emberfire I am beyond excited for Functions.
Are there going to be any Emberfire specific integration examples? @tstirrat @jamesdaniels
Thanks to everyone involved. This is truly amazing stuff.
Brendan

Hey Brendan, the Functions launch is actually why I've not had a lot of time to dedicate to Emberfire lately, as I'm a DevRel on this project. Glad you're excited :)
I think third party auth w/Emberfire would be a good example, I'll tinker a bit later this week.

@jamesdaniels I am willing to write up a blog post / video walkthrough on implementing the following in an Ember App.

[x] Emailing Users w/ Mailgun
[ ] Create Thumbnails on Image Upload
[ ] Update Child Count on HasMany updates
[ ] LinkedIn Auth
[ ] Instagram Auth
[ ] Stripe Processing

Cross-post: https://groups.google.com/forum/#!msg/firebase-talk/s6GWGZTPI0I/CS6I0nxoAwAJ

Yeah child count would be a great ember integration point.

I'm going to close the issue for now but let's keep the conversation going here.


Adds arbitrary date parsing

Inspired by a recent discussion @ slack channel, where a user was complaining that he can't compare dates stored as strings in a way other than lexicographical.
This PR adds a procedure that accepts a (string) value and an optional DateFormat-compatible pattern and returns a unixtime of date parsed from value with the given format. null input => null output.
Real-life example:
MATCH (p:Person)
WITH p
CALL apoc.date.unixtime(p.born)
YIELD value AS dob
RETURN p
ORDER BY dob

will order people by dates given that their 'born' field are compatible with the default EEE MMM dd HH:mm:ss zzz yyyy format.
Since procedure methods can't be overloaded, there's a difference in names: unixtime(date) vs unixtime_f(date, format), which is totally disputable.

It would be cool to have the inverse function (unix-time->long) too.
And perhaps something that splits either date type into a map format with entries for all parts.
Could you add the section / function(s) to the readme too?

@jexp, I'll simplify tests and add docs.
On account of default format, "yyyy-mm-dd HH:MM:SS" seems reasonable, although I choose the current one on account that it's the one produced by Date#toString(), so I'm not 100% sure.
On account of the

inverse function (unix-time->long) too.

do you mean unixtime to date?

we shouldn't care about Java internal formattings :) neither in Cypher nor Neo
yes unixdate to string date

@jexp I addressed your comments, all except the one about parts. I'm not sure how to approach it in a universal way (looks like there's no nice way to iterate through Calendar's values), so I guess, I'll have to think on that a little.

I'd like to merge it, but love to have nicer names.
(Also the names for procedures are camel-case not lower-case-underscore).
I love if the names flow, like apoc.date.parse or apoc.date.toString, apoc.date.from/toUnix,apoc.date.from/toMillis, or apoc.date.unixToString`.
I'm also not sure if we should put "unix" in the name? Perhaps rather seconds/millis (and document that they are since Jan 1st 1970). Btw. what for parse / format we need to set a locale and timezone too. I'm not sure that it defaults to UTC, I think it defaults to the local TZ.

@jexp, I've addressed all the comments.
The only conceptually questionable thing is the apoc.date.listFields now. I decided not to anchor pattern names to values (i.e. yyyy => 2016, MM => Jan), but rather use a universal Months, Seconds etc.

Amazing thanks so much. Looks great. I'll change listFields to just fields and lowercase the field names.

merged manually


Parent organization page not  properly load when switch back from sub organization.

Describe the issue:
Parent organization page not  properly load when navigate from sub organization.
https://github.com/wso2/product-is/assets/39077751/e50a7c68-4119-4f59-a785-2ffbc6160970
How to reproduce:

Login to console
Create organization
Switch to sub organization
Switch back to parent org to from sub org

Expected behavior:
Parent org oage should be load properly.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version:  wso2is-7.0.0-rc1-SNAPSHOT-4964-
OS: [e.g., Windows, Linux, Mac]
Database: Postgres
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Looks like this is happening when read permission is given to the Getting Started page (https://github.com/wso2/carbon-identity-framework/pull/5258/files#diff-ccd8d78f18b752f00ba42b5384248d7b8e8c6cc965a44569e2654ca6ce5bb616R1180)
Passing an empty array seems to be fixing the issue. But we can't keep this as empty since it'll break RBAC.
console]
getting_started.scopes.read = []

Possible Solutions

Looks like route filtering logic is interrupting the /o/ord_id removing logic. Need to revisit.
A quick fix if the above doesn't work is to treat Getting Started page like we do for 404. (https://github.com/wso2/identity-apps/blob/98520537bea59165863e8adcc63f854787c7b280/apps/console/src/features/core/utils/route-utils.ts#L58)


Transactioninfo retryNumber field is always 0

Description:
$subject
     transactions:Info transInfo;
     retry(3) transaction {
         transInfo = transactions:info();
         retryValRWC = transInfo.retryNumber;
         var e1 = check dbClient->execute("Insert into Customers (firstName,lastName,registrationID," +
                 "creditLimit,country) values ('James', 'Clerk', 210, 5000.75, 'USA')");
         var e2 = check dbClient->execute("Insert into Customers2 (firstName,lastName,registrationID," +
                     "creditLimit,country) values ('James', 'Clerk', 210, 5000.75, 'USA')");
         stmtAfterFailureExecutedRWC  = true;
         check commit;
     }

Here retryValRWC variable is always 0 even though it should be 3 in this case.

@niveathika For the moment please proceed disabling the test. Will get it fixed soon

Ack.
Disabled tests,
https://github.com/ballerina-platform/module-ballerina-sql/pull/58/commits/4fe6daca480a4f5c8cc631f6f50b345259dd41ec

@niveathika Please enable the disabled tests.

The above PRs enables the test cases again


Match statements doesn't work with constant references that are qualified references

Description:
$title.
Steps to reproduce:
public const int MAX_VALUE =<PHONE_NUMBER>854775807;

public function main() {
    int x = 202;
    match x {
        'int:MAX_VALUE => { // error: unsupported match pattern
            return;
        }

        MAX_VALUE => { // works
            return;
        }
    }
}

Affected Versions:
slalpha1, slalpha2-SNAPSHOT

This is fixed in #29063.


Fix adaptation options no. of days < 15

There is a problem with some data in the database... I think the adaptation_cost_benefit.avoided_eael_* values? These values are multiplied by eael_days, which is sent from the FE. The adaptation_cost_benefit.avoided_eael_* values are corrected with a fudge factor on eael_days.
This fudge factor is now applied in validation rather than in the FE, addressing #78 -- allowing no. of days < 15.
This fix should be removed asap and the data in the database corrected.

N.B. I attached a debugger to the check the value of eael_days is as expected when making a query in add_adaptation_value_query.

Looks good - just removed one other instance of the fudge factor and added a TODO for the other remaining one.


Update cpu_power.csv

Add Intel Xeon Silver 4208, 85 to the list

I still don't see the CPU in the list. when will I be able to use that specific CPU to run my experiments and obtain energy measurements with codecarbon? @inimaz

Thanks, @inimaz. When will you publish it so that I can run my code on this specific CPU?


Settings menu doesn't open anything

Environment
Windows build number: Microsoft Windows NT 10.0.18363.0

Steps to reproduce

Install Windows Terminal (Preview) from Microsoft store
Open Terminal
Click the down caret on the top bar
Click on settings

Expected behavior

A settings menu pops up
Actual behavior

The cursor goes into loading for a while and then returns to normal with no menu or GUI opening or anything else to change the settings.

There isn't a UI for the settings yet - that's issue #1564. However, the settings menu should open the profiles.json file (which contains the settings) in whatever editor you have associated with json files. If it's not doing anything, you'll probably need to reset that file type in your Windows settings.

For the record, when you don't have a .json editor set by default, the system is doing something. It's trying to figure out what your .json editor is. Once it eventually determines that there isn't one, it'll pop this dialog

The real problem here is that there's a pretty substantial delay between clicking the settings button and that dialog opening. I'm not sure how much we can really do about this. The easy workaround is just to make sure to set some application as the default editor for .json files, until #1564 lands.
This is also some combination of #1422 #1586 #2599 #2895 #2036 #1928 #1786 #1704 #1460 #1664 #3592 #3244 #3240 #2969


[FEA] add intra-mcu communication example.

As microxrcedds is a agent-based dds, every node inside/outside mcu will need to exchange info with each other through the agent.
Besides the agent-less solution of embeddedRTPS, there is a PR that can help to do intra-mcu communication, and an example is needed.
Thanks.
Hi @eden-desta! So, @pablogs9 has been working hard on a new Shared Memory feature, about which you can read in this PR. The implementation is complete and only pending to be merged. Basically, now the same Client with two entities matching internally can be aware of it and proceed with the communication without the Agent having to mediate it.
It would be great if you could test it and give us some feedback, also regarding whether this feature addresses your use-case. We are excited to know what you guys think of it! Hopefully, it fits your needs!
Originally posted by @FranFin in https://github.com/micro-ROS/micro-ROS-Agent/issues/37#issuecomment-823969052
EDIT:
Glad to see it an offically supported feature. https://micro.ros.org/docs/overview/ROS_2_feature_comparison/

This is awesome! I will definitely give it a test! Thank you all for your efforts!

This feature can be enabled on compilation time with the Micro-XRCE-DDS middleware UCLIENT_PROFILE_SHARED_MEMORY flag: detail.
Then you can just create a set of pub/sub or service server/client on the same topic and they will communicate internally.
At this moment there is not a tutorial specific doc about this feature, but that may change soon. Stay tuned!


Add "Qt6 QML Book" by Johan Thelin, Jürgen Bocklage-Ryannel, Cyril Lorquet (HTML, PDF)

What does this PR do?
Add resources
For resources
https://www.qt.io/product/qt6/qml-book/preface-preface - HTML
https://www.qt.io/hubfs/_website/QML Book/qt6book-with-frontpage.pdf - PDF
Description
Add QML Book (Qt6) as book resource to "by language" QML section
Why is this valuable (or not)?
See https://www.qt.io/product/qt6/qml-book/preface-preface#welcome
How do we know it's really free?
It's released under Attribution-NonCommercial-ShareAlike 4.0 license and available on github
For book lists, is it a book? For course lists, is it a course? etc.
It's a book
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


plugin(quay): initial migration

Hey, I just made a Pull Request!
Initial Migration of the quay plugins from janus-idp/backstage-plugins
This will be added to the same workspace as quay-actions: https://github.com/backstage/community-plugins/pull/1897
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

@karthikjeeyar please add a line item for your new workspace to the https://github.com/backstage/community-plugins/blob/main/.github/CODEOWNERS file so you can control your own PRs and releases (without needing a repo admin to merge stuff for you)

Closed this and opened another PR: https://github.com/backstage/community-plugins/pull/1912 as was running into an issue where "Recent pushes are still being processed".  Discussion here: https://github.com/orgs/community/discussions/78775 suggested opening another PR which seems to have worked.


Exp is actually valid for expected invalid cert

https://github.com/eu-digital-green-certificates/dgc-testdata/blob/14741a336586772bba4b4e7b18c2170e62be02fb/common/2DCode/raw/CO17.json
The exp value is 5/5, while the clock is 5/3. This is valid, thus the test fails.

Pinging @nodh

Same for CO16

Adding here my own confusion, seeking clarifications.
For CO16, the expected error is INVALID: validation clock before "ISSUED AT". So the expected error is not about exp, but about iat.
However, the validation clock is at the exact second of iat field: 2021-05-03T18:00:00Z
Is this supposed to fail? Verifiers MUST NOT accept certificates issued at the exact second of iat (like that is possible, but anyway)?
If that is the case, then DGC3.json (at least) MUST also fail, suffering from the same issue.

Good point. IAT validation is not part of the Swift tests (yet).
Since all entries in the hcert actually have a date of issuance in the payload, it seems redundant and not really needed. But we can add it nonetheless

The intention for CO16.json was to set the VALIDATIONCLOCK to some date in 2021, and the ISSUED_AT in the CWT (inside the COSE) to some date in 2023. Apparently, the resulting test file did not capture this, so I'll update that. Thanks for spotting the error!


Use quiet flag for windows

Cassandra 3.0 on Windows uses -NoNewWindow argument by default. When starting ccm from another process, it causes ccm start to never return as cassandra subprocess is running on the same window.
Using cassandra.ps1 -q flag solves the issue.
cc @josh-mckenzie

-1. We changed this specifically to fix https://issues.apache.org/jira/browse/CASSANDRA-10641, so if we revert that in ccm it's going to re-break those dtests. We need to take a -q flag on ccm and pass it through on Windows, then push the responsibility for using that upstream to apps that expect that behavior.

Having a -q flag on ccm start sounds good to me.

@josh-mckenzie Is it only those dtests that need the loud behavior? Could we not just default to -q unless specified otherwise on start?

I think the real problem is (and this is totally my bad) - having the quiet behavior by default is a deviation from the behavior on linux, and it adds an extra point-of-failure for multi-platform test writing. If we just said "For all tests, grep the logs for things, don't rely on stdout/stderr" it'd also fix this mismatch, but the reality is that the more in parity we can have these 2 platforms the better.
I'm totally good with adding a -q flag on ccm start that just does a simple pass-through, and again - my bad on creating this mismatch in the first place. :)

@jorgebay Do you mind if I close this in favor of a different PR?

Closing


How to Configure Bluesky Plans to Emit Only Event Documents Without Start and Stop Documents?

In Bluesky, existing plans like count, list_scan, etc., are runs that emit start, stop documents when executed. How can I configure them so they are not considered runs, do not emit start and stop documents, but still emit event documents?

What's your use case?

Here's a built-in preprocessor that modifies a plan to remove start, stop, stage, and unstage messages, that you can either use or draw inspiration from: https://github.com/bluesky/bluesky/blob/5bd9a4150d3a8594ae0f3232547b3111dae28a03/src/bluesky/preprocessors.py#L758
In the past I had used this to combine multiple plans into one run, putting my own run_wrapper and stage_wrapper around a full group of several plans in a row, each sub-plan wrapped in the stub_wrapper, so that the resulting single run contained data from all of the sub-plans.


backdropPressToClose isn't work

my code:
<Modal style={[Style.modalView]} backdropPressToClose={true} backdrop={true}  position={"center"} ref={"modalDialog"}>
but when I press on backdrop ,the modal didn't close.In additional,swipe down to close is work.

Same case for me :)

any update on this?

+1

Fix Merged


Properly handle facility deletion when it is used by course offering schedules

Do you want to request a feature or report a bug?
Enhancement

What is the current behavior?

Create a new facility record.
Create a new account, term, course, and course offering for that term and course.
Create a new course offering schedule for the course offering, specifying the facility record that you created in step #1.
Delete the facility.
You cannot delete the facility because it is tied to course offering schedule(s).

What is the expected behavior?
We should not prevent users from deleting facility records that are tied to course offering schedules. Or, if we do want to restrict this, it should be moved to TDTM so that the customer can turn off this restriction if they wish. It is currently enforced via the platform and cannot be disabled.

What is the motivation / use case for changing the behavior?
We should only prevent the deletion of records via the platform in use cases where we would never want to allow the customer to turn off that restriction.

**lurch: add

Tracking W-035921

This issue is no longer being considered by the product team.  W-7930234


⚠ ClamAV has degraded performance

In 4ddda74, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 439 ms

Resolved: ClamAV performance has improved in bfb9337.


⚠ SpeakUpConference.com has degraded performance

In 82f9289, SpeakUpConference.com (https://www.speakupconference.com) experienced degraded performance:

HTTP code: 200
Response time: 9140 ms

Resolved: SpeakUpConference.com performance has improved in ac32d65 after 21 minutes.


feat: Message Component Interactions

This PR starts work on the Message Component Interactions (like UI elements in Messages).

ready for review as buttons landed


ARC-0027: Provider Message Schema

Summary
This proposal intends to outline a common message schema to be used in dApp/provider (wallet) communication.
The proposal attempts to build off the fundamental work of the previous ARCs; wallet transaction signing (ARC-0005), wallet address discovery (ARC-0006), wallet transaction network posting (ARC-0007) and wallet transaction signing & posting (ARC-0008), to comprehensively outline a common message schema, and to extend this schema with an aim to allow more robustness with multiple AVM (Algorand Virtual Machine) chains.
Aside from extending the schema of the previous ARCs, this proposal also adds a couple of new methods that aim to "fill the gap". These include:

A discovery method that is used to get information about providers such as what methods are supported and what chains.
A "disable" method that allows a dApp to remove itself from providers.

@kieranroneill How far are we to move this ARC to the review stage?
I think it would be great to move forward with this one now that we have deprecated ARC 6-11

@kieranroneill How far are we to move this ARC to the review stage? I think it would be great to move forward with this one now that we have deprecated ARC 6-11

@SudoWeezy Sounds good! I have been battle testing this proposed spec in Kibisis, through AVM Web Provider and UseWallet, so I am happy to give feedback and discuss it further.


ERROR: Failed building wheel for llama-cpp-python for SYCL installation on Windows

Hardware: CPU Intel 14900K, GPU Intel arc a770
Software: Win 11 Pro
(ipex) PS C:\Users\sunil> $env:CMAKE_ARGS=" -DGGML_SYCL=on -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx"
(ipex) PS C:\Users\sunil> pip install --upgrade --force-reinstall --no-cache-dir  llama-cpp-python
Building wheels for collected packages: llama-cpp-python
  Building wheel for llama-cpp-python (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      *** scikit-build-core 0.9.8 using CMake 3.30.1 (wheel)
      *** Configuring CMake...
      2024-07-22 10:35:57,085 - scikit_build_core - WARNING - Can't find a Python library, got libdir=None, ldlibrary=None, multiarch=None, masd=None
      loading initial cache file C:\Users\sunil\AppData\Local\Temp\tmpj6iqbcsh\build\CMakeInit.txt
      -- Building for: Visual Studio 17 2022
      -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
      -- The C compiler identification is MSVC 19.39.33522.0
      -- The CXX compiler identification is MSVC 19.39.33522.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.43.0.windows.1")
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Looking for pthread_create in pthreads
      -- Looking for pthread_create in pthreads - not found
      -- Looking for pthread_create in pthread
      -- Looking for pthread_create in pthread - not found
      -- Found Threads: TRUE
      -- Found OpenMP_C: -openmp (found version "2.0")
      -- Found OpenMP_CXX: -openmp (found version "2.0")
      -- Found OpenMP: TRUE (found version "2.0")
      -- OpenMP found
      -- Using ggml SGEMM
      CMake Error at vendor/llama.cpp/ggml/src/CMakeLists.txt:471 (find_package):
        Found package configuration file:

          C:/Program Files (x86)/Intel/oneAPI/compiler/2024.1/lib/cmake/IntelSYCL/IntelSYCLConfig.cmake

        but it set IntelSYCL_FOUND to FALSE so package "IntelSYCL" is considered to
        be NOT FOUND.  Reason given by package:

        Unsupported compiler family MSVC and compiler C:/Program Files
        (x86)/Microsoft Visual
        Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe!!

      -- Configuring incomplete, errors occurred!

      *** CMake configuration failed
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects

I think @abetlen should precompile a windows version as he did on linux. Windows is such a mess when compiling python modules that use c++ code.

Hi @abetlen, can I assist you in anyway to make this possible? Thank you, Sunil.

I meet the same issue, have you solved this?

Hi @kylo5aby, unfortunately no

The last version I was able to build SYCL wheel was v0.2.44.
Something broke somewhere after that version and I can't build it anymore.

I have found the same issue today

Hi! I also ran into this issue a few days ago. Is there a workaround for that? Out of desperation I already tried thowing the SYCL-flavored libraries from llama-cpp and their dependencies into the lib folder of the venv, but without success.

Hi! I also ran into this issue a few days ago. Is there a workaround for that? Out of desperation I already tried thowing the SYCL-flavored libraries from llama-cpp and their dependencies into the lib folder of the venv, but without success.

I was unable to proceed with this one. However I went back to
llama.cpp for SYCL - https://github.com/ggerganov/llama.cpp/blob/master/docs/backend/SYCL.md
and followed the instructions to build the llama.cpp locally and now I am able to run the LLMs on my ACR 770  and it is running greate.

Hi! I also ran into this issue a few days ago. Is there a workaround for that? Out of desperation I already tried thowing the SYCL-flavored libraries from llama-cpp and their dependencies into the lib folder of the venv, but without success.

I was unable to proceed with this one. However I went back to llama.cpp for SYCL - https://github.com/ggerganov/llama.cpp/blob/master/docs/backend/SYCL.md
and followed the instructions to build the llama.cpp locally and now I am able to run the LLMs on my ACR 770 and it is running greate.

Hi and thanks for the reply! Do you use "plain" llama.cpp for inferencing? For what I'm doing I have to have it integrated into an python project. Therefor I used llama-cpp-python so far with just CPU inferncing. But since I also need it working on ARC GPUs I was wondering if there is already someone who managed to do so. (Btw. I'm building on Windows11 with VS2022, CMake and the oneAPI Toolkit installed)

Hi! I also ran into this issue a few days ago. Is there a workaround for that? Out of desperation I already tried thowing the SYCL-flavored libraries from llama-cpp and their dependencies into the lib folder of the venv, but without success.

I was unable to proceed with this one. However I went back to llama.cpp for SYCL - https://github.com/ggerganov/llama.cpp/blob/master/docs/backend/SYCL.md
and followed the instructions to build the llama.cpp locally and now I am able to run the LLMs on my ACR 770 and it is running greate.

Hi and thanks for the reply! Do you use "plain" llama.cpp for inferencing? For what I'm doing I have to have it integrated into an python project. Therefor I used llama-cpp-python so far with just CPU inferncing. But since I also need it working on ARC GPUs I was wondering if there is already someone who managed to do so. (Btw. I'm building on Windows11 with VS2022, CMake and the oneAPI Toolkit installed)

I am a noob so, I am just learning this stuff. I am running with llama.cpp with sycl on A770 with gguf models and so far it is running great. sorry I can't help you with your python question; I could not build it when I tried.

SYCL  with intel gpu and igpu run with some models on llama cpp
and not run on llama cpp python
why?


Homepage styles

added a visually appealing homepage, but basic and easily editable in the upcoming days.

Please adjust so that the website can fit into the handlebars template


Pato GUI must run on Python 3.6 or higher.

The f"" syntax only works for this version.

Not necessary anymore.


Allow recording gas costs in is_precompile

In Moonbeam we have dynamic precompile sets to provice ERC20 interface to substrate assets, which require a storage read to know if an address corresponds to an existing asset. This cost is however ignored currently as there is no way to record such cost inside is_precompile.
This PR changes that by providing an handle to record gas to is_precompile, and update the code path using is_precompile (is_cold) to take &mut instead of &. This change doesn't increase any cost by itself, but will allow precompile sets to record costs if needed.

Followed your suggestion but also added the remaining gas as parameter, as we don't want to do some costly operation if it cannot be paid for.


Qmaps 1602 pin marker icons for filtered POI lists

Description
Uses this development branch of map-style-builder: https://github.com/QwantResearch/map-style-builder/pull/27
It generates new sprites including new pin-shaped icons:

Also adds a standalone SVG pin for hovered/selected states.
Why
Distinct design between filtered POI results (typically categories) and map layer POIs.
Screenshots

Do you know if we could do something to prevent this flickering to happen when hovering + slight cursor moves ?


AWS Redshift Security Group Error

When trying to add an EC2 Security Group to a Redshift Cluster through Pulumi, you get an error that the "Security group does not exist in the VPC".
In this instance the Security Group was successfully added to the Redshift Cluster through the console with no errors and when doing a sanity check on the EC2 Network tab then the Security Group is in fact in the right VPC.
The error:

Here you can see that the SG is in fact in the correct VPC:

Steps to reproduce

Create a Redshift Cluster through Pulumi using pulumi up
Now add a new Security Group to the cluster using Pulumi, run pulumi up
Receive above error

I understand this might have different reproducibility so please let me know if you need more details on my setup.
Expected: Security Group assigned to cluster successfully
Actual: Receive error "Security Group does not exist in VPC"

Closing, there was a sneaky space character in my config.

Thanks for being so fast to get back to us on this @XanManZA - it's very much appreciated


A way to get a complete list of symbols on any exchange

This might not fall under a feature request and there might already be a simple solution, but after playing around with your API for a little bit, I noticed there are way too many configuration items and some I'm not sure how to obtain. The main one being a complete list of all the symbols available on an exchange. How do I obtain this information? I'd like to subscribe to all the coins periodically.

Try Request request(Request::Operation::GET_INSTRUMENTS, "coinbase", "");

Try Request request(Request::Operation::GET_INSTRUMENTS, "coinbase", "");

I'm new to this library and I couldn't find anything in the examples that uses Request::Operation::GET_INSTRUMETNS, is the request supposed to return a list of symbols? if so how do I get that list? I saw the toString() function which returns this:
Request [exchange = binance-us, marginType = , instrument = , serviceName = market_data, correlationId = 6D6a2kBR, secondaryCorrelationId = , paramList = [  ], credential = {}, operation = GET_INSTRUMENTS, timeSent = 1970-01-01T00:00:00.000000000Z]

Actually let me reword my question, what's the best way to subscribe to all the coins to receive price updates? Currently the way I implemented it is to have a session for each coin which I'm guessing is wrong because even though it works for a few seconds but then somewhere in the thread it crashes. The examples are nice but I wish there was a better documentation so I could understand the proper usage better.

when you send the request, the handler given in your session will receive the event corresponding to your request, the examples in the repo shows how to implement a custom handler and process received events.
As of my knowledge, there is no predefined request returning the list of symbols available within each exchange, but you could performed it by yourself using ccapi::Request::Operation::GENERIC_PUBLIC_REQUEST and then forming the request url following the desired exchange, and then handle the response with your handler:
ccapi::Request request(ccapi::Request::Operation::GENERIC_PUBLIC_REQUEST,CCAPI_EXCHANGE_NAME_KUCOIN, "", correlation_id);
request.appendParam({
{"HTTP_METHOD", SB_GET},
{"HTTP_PATH", SB_MKT_INFO_KUCOIN},
{"HTTP_QUERY_STRING","symbol=" + symbol},
});

Actually let me reword my question, what's the best way to subscribe to all the coins to receive price updates? Currently the way I implemented it is to have a session for each coin which I'm guessing is wrong because even though it works for a few seconds but then somewhere in the thread it crashes. The examples are nice but I wish there was a better documentation so I could understand the proper usage better.

You can use just one session for all coins like this: https://github.com/crypto-chassis/ccapi#multiple-exchanges-andor-instruments.


Reorganize tests and test plans into protocol-level vs node-level

This will make everything much more comprehensible, including to me :-)

Done.


Ensure code matches new repository name

🗣 Description
This PR updates all references now that this repo has been renamed from ansible-role-assessor-portal to ansible-role-assessor-workbench.

💭 Motivation and context
We want to ensure that the code is up-to-date with regard to the repository name, otherwise confusion reigns supreme.

🧪 Testing
All automated tests pass.

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] All new and existing tests pass.

LGTM ✔ Just to verify: Did you tear down the old Terraform configuration?

I didn't remember to do a terraform destroy on the old config before I deleted my local copy of the directory, but I did manually delete the resources involved (users, roles, policies), so we should be ok.

LGTM ✔ Just to verify: Did you tear down the old Terraform configuration?

I didn't remember to do a terraform destroy on the old config before I deleted my local copy of the directory, but I did manually delete the resources involved (users, roles, policies), so we should be ok.

I forgot that I could still run a terraform destroy if I switched back to the current develop branch (prior to merging this PR), so I went ahead and did that, which confirmed that my manual cleanup effort was successful.