Update dependencies to solve vulnerability

The goal of this PR is to mitigate a vulnerability in a dependency of this crate
https://rustsec.org/advisories/RUSTSEC-2024-0421.html

do rebase
update rustls version in cli/Cargo.toml

I think it should be good now? @santhosh-tekuri

Cli module is not compiling. Check the logs. I guess you need to add 'ring' feature to rustls in feature module. Please compile locally and verify

Right, had to update ureq as well since it depends on an olddated rustls.
I ran cargo check on the main project but forgot that doesn't run it on the cli project :P
I'm crossing my fingers that everything is good now?

Single commit is good as we are fixing same issue with mistakes. Seems the checks are passing.

Can you update ureq version in main cargo.toml also

Done

FYI the commit message has to be modified to follow project convention:
scope: message

description

so the commit message will be
cargo/deps: mitigate vulnerabilities

- rustls: https://rustsec.org/advisories/RUSTSEC-2024-0336.html
- idna: https://rustsec.org/advisories/RUSTSEC-2024-0421.html


Feat:adding error 404 page to the site

Describe the feature
the error page is not looking good i want to change that
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

This is not required


TypeError: undefined is not an object (evaluating 'this.props.newJWT')

Hello,
When logging into my react app, i get the following error:
TypeError: undefined is not an object (evaluating 'this.props.newJWT')
This is stopping the app to move to the other screen.
If i stop the process and the rerun the app i am logged in, the access token is being stored correctly and is retrievable too.
Do you have any ideas please?
I have put my code on a JSFiddle - https://jsfiddle.net/bfk7xg2L/
Thank you!

Hi try this:
.then((response) => {
deviceStorage.saveKey("id_token", response.data.token);
this.props.newJWT(response.data.token);
console.log(response.data.token);
})


Issue-set opacity when mounting, not in render

Automated Review Comments
Issues in examples/streamGraphExample/src/components/Path.js:

(5, 'Hardcoded string found')
(6, 'Hardcoded string found')
(7, 'Hardcoded string found')
(8, 'Hardcoded string found')
(14, 'Hardcoded string found')

I got it.


Story: Create Components for Universal Code Block

Create Components for Universal Code Block
As a developer, I want universal codebock components, so that repair code block development can be simplified.
Associated Epic: https://github.com/all-rit/ALL/issues/422
Definition of Done

[ ] Acceptance criteria defined
[ ] Solution tasks specified
[ ] Feature branch created
[ ] Unit tests written (on API code only for now)
[ ] Solution passes full suite of unit tests
[ ] Design documents updated if needed
[ ] Pull request created
[ ] Code is reviewed
[ ] Code is merged to develop branch
[ ] Tests pass on CI
[ ] Deployed to staging environment
[ ] Acceptance criteria is met

Acceptance Criteria

[ ] Given I want to create a JSON object in the code block, when I implement the  object, then EXPORT CONST {props.jsonName} { } will appear and will be contained in same colored text, and will allow the user to pass text props into the component

Solution Tasks

[ ] Allow the function to accept props for both the json name and json elements
[ ] Component can be implemented multiple times in the same code block

This story blocks

[ ]  #430
[ ]  #431
[ ]  #432
[ ]  #439


DWARFImporter: Allow filtering type lookups by containing module.

test with https://github.com/apple/swift-lldb/pull/1899

LLDB might know about submodules, but Swift doesn't; it considers them to be the same as the top-level module for filtering purposes.

test with https://github.com/apple/swift-lldb/pull/1899
@swift-ci smoke test

I made a note (rdar://problem/54471165) to extend LLDB to allow searching for types in any submodule of a give top-level module.

Looks like I forgot to amend my commit before pushing.

test with https://github.com/apple/swift-lldb/pull/1899
@swift-ci smoke test

test with https://github.com/apple/swift-lldb/pull/1899
@swift-ci smoke test

test with https://github.com/apple/swift-lldb/pull/1899
@swift-ci smoke test


Create a minimal project browser that enables browsing of real projects

Create a project browser whose project pages are generated from real metadata, so we know it will suit the requirements of the DCP data corpus, but that serves mocked data while we get the back-end set up.

Moved download to a new epic #131

Lia's estimate: 2 weeks #19 @ambrosejcarr to sync with @liaprins-czi
Colin's estimate: 1 day for #72


messages: Fix 500 on queries with empty string as search operand.

The error is PGroonga specific since pgroonga_query_extract_keywords does
not handle empty string inputs correctly. This commit adds filtering on the
narrow to ignore searches with empty operands, to fix the bug. If search
with the empty string was the only search term, the search behaves similar
to no narrow being specified.
Closes #14405

Testing Plan:
GIFs or Screenshots:

@timabbott I've pushed a change to prevent queries with empty search strings.

Nice, merged, thanks @punchagan!


Setup wizard is broken on high-dpi screen

@ultimaweapon Retest since our changing of the Wizard.

Tested myself at 150%, fixed.


PatchOptions.meta.k8s.io "" is invalid: fieldManager: Required value: is required for apply patch

Trying to work with apply function but I am facing a couple of problems.
func ApplyConfigmap(key, name, namespace string, data []byte, immutable bool, opts metav1.ApplyOptions) (*v1.ConfigMap, error) {
	clientset := CreateK8sClient(config.KubeConfigPath, true)
	config := corev1.ConfigMap(name, namespace)
	config.WithBinaryData(map[string][]byte{key: data})
	cm, err := clientset.CoreV1().ConfigMaps(namespace).Apply(context.TODO(), config, opts)
	if err != nil {
		return nil, err
	}
	return cm, nil
}

returns an error
PatchOptions.meta.k8s.io \"\" is invalid: fieldManager: Required value: is required for apply patch

the function that fails is
func (r *Request) Do(ctx context.Context) Result {
	var result Result
	err := r.request(ctx, func(req *http.Request, resp *http.Response) {
		result = r.transformResponse(resp, req)
	})
	if err != nil {
		return Result{err: err}
	}
	return result
}

what should i do to fix it

FieldManager is required for apply requests , you can try this , metav1.ApplyOptions{FieldManager: "application/apply-patch"}

我该怎么做才能解决它

what should i do to fix it

do you have a solution now

FieldManager: "application/apply-patch"

the following is the solution @2291896153 it worked for me

When I use client like this :
client.AppsV1().DaemonSets(NameSpace).Patch(Name, types.ApplyPatchType, []byte(patchContent))

Got the same error
 PatchOptions.meta.k8s.io "" is invalid: fieldManager: Required value: is required for apply patch

But there is  no metav1.ApplyOptions param in method Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.DaemonSet, err error)
@weiyi1125

what version of the client are you using? in all recent versions, the signature looks like this:
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DaemonSet, err error)

v0.0.0-20191016111102-bec269661e48

yeah, updating to a version like v0.28.1 is recommended


Remove now-duplicated entries from cah_us_uk complementary pack

Builds on top of #160.
Only merge once card removals can be handled.

Card removal is issue #163.


Removes StateSpace from RosTrajectoryExecutor.

Changes Unknown when pulling 1a1bdd6cbdefa30f7aef24a51581cc4c0ccce81b on rosTrajExecutor into ** on master**.

Coverage increased (+0.1%) to 78.931% when pulling 1a1bdd6cbdefa30f7aef24a51581cc4c0ccce81b on rosTrajExecutor into 966de76c97b740370eb5936d8210b93b75a3579a on master.


Hotkey Not Working

Hello, I'm experiencing issues with Rokii not responding to any hotkey I set on Windows 11 Pro. I am using the latest version of Rokii. Can you suggest any troubleshooting steps? I tried using the latest version of Cerebro and it works just fine for me.

Hi @livejamie!
Thanks for your report!
Maybe you can find more information by pressing ctrl + shift + i while Rokii is focused. That should open the developer tools.
Give it a try and send me a screenshot or copy/paste the errors you find in the console.
BTW Rokii is a fork of Cerebro but only the frontend is similar. Under the hood, Rokii uses @tauri-apps which is a lighter alternative to @electron, the framework used to create Cerebro. This means that some things that worked in Cerebro might not work for now or work different in Rokii. For example, the extensions API is different and the runtime where they are executed too, that's why you can't just use cerebro plugins.

Is this helpful?

Can I see the shortcut you have configured for Rokii? You can check it in the rokii settings
Also can you check te exact version you are using? typing version should display the rokii version

Maybe if you have rokii and cerebro opened at the same time the hotkeys are causing conflicts

I'm not running it at the same time as Cerebro, and I get this error when I close everything else running in the system tray.
I'm getting the error when changing the shortcut to other random stuff as well.
Version is 1.8.11

I'll take a look at it when I have more time. Thanks again for your report!


Dockerfile (works in one case)

toward #12
Usage:
~/projects/PlaygroundVat$ docker build -t quorum-vat .
...
Successfully built b48acad55e34
Successfully tagged quorum-vat:latest

~/projects/PlaygroundVat$ docker run --rm -ti --name vat quorum-vat bash

root@569d0d3de82e:/usr/src/app/examples/quorum# ./start.sh

root@569d0d3de82e:/usr/src/app/examples/quorum# grep ++ out/*
out/one:++ wakeupFromTwo we say howdy
out/one:++ responseFromTwo we respond
out/one:++ forwardedFromThree we forward
out/one:++ EVERYTHING WORKS
out/threeA:++ helloThree we say hi y'all
out/threeB:++ helloThree we say hi y'all
out/threeC:++ helloThree we say hi y'all
out/twoA:++ helloTwo morning y'all
out/twoB:++ helloTwo morning y'all
out/twoC:++ helloTwo morning y'all

Based on discussion in #12, the container now exposes the vat and client executables so that you can, for example, run the quorum example starting from outside the container:
~/projects/PlaygroundVat/examples/quorum$ VAT="docker run --net host --rm playground vat" ./start.sh
~/projects/PlaygroundVat/examples/quorum$ grep ++ out/*
out/one:++ wakeupFromTwo we say howdy
out/one:++ responseFromTwo we respond
out/one:++ forwardedFromThree we forward
out/one:++ EVERYTHING WORKS
out/threeA:++ helloThree we say hi y'all
out/threeB:++ helloThree we say hi y'all
out/threeC:++ helloThree we say hi y'all
out/twoA:++ helloTwo morning y'all
out/twoB:++ helloTwo morning y'all
out/twoC:++ helloTwo morning y'all

I'm not sure where Docker usage should be documented.

Looks good, I'll land this and then we can figure out some docs.

an h3 under Usage and in ~/README would be 👍


[FE] Static resource in asserts directory need cache-control and gzip options

Which version of the app are you running?
v0.6.0 (docker env)

Is your proposal related to a problem?

Describe the solution you'd like
It has more performance if set cache-control and gzip options when require static file

Describe alternatives you've considered

Additional context

Hi, thanks for reaching out.
You can either:

use a reverse proxy
or
set the required spring properties, they're listed here and are prefixed with spring.web.resources.cache.cachecontrol.*.


face_loss_weights.pt not available.

This checkpoint is used in face_loss.py in losses folder, but it is not available.

Authors can you please provide the FaceLoss weights file?

Authors, can you please provide the FaceLoss weights file?

Authors, can you please provide the FaceLoss weights file?


Microk8s high-availability not working

I created a microk8s cluster and added 2 nodes to it, following the instructions in the high-availability documentation.
NAME       STATUS   ROLES    AGE   VERSION
master02   Ready    <none>   25h   v1.21.7-3+7700880a5c71e2
master03   Ready    <none>   22h   v1.21.7-3+7700880a5c71e2
master01   Ready    <none>   92d   v1.21.7-3+7700880a5c71e2

The ha-cluster addon was enabled by default
addons:
  enabled:
    dns                  # CoreDNS
    ha-cluster           # Configure high availability on the current node

but microk8s status is still showing high-availability: no
high-availability: no
  datastore master nodes: <IP_ADDRESS>:19001
  datastore standby nodes: none

I tried setting the fault-domain on each node but it didn't seem to make a difference.
Here are the inspect tarballs
master01.tar.gz
master02.tar.gz
master03.tar.gz

Looking at the logs, it looks like dqlite formed the cluster.
Can you try running this on all the three nodes and paste it here?
sudo -E /snap/microk8s/current/bin/dqlite -c /var/snap/microk8s/current/var/kubernetes/backend/cluster.crt -k /var/snap/microk8s/current/var/kubernetes/backend/cluster.key -s file:///var/snap/microk8s/current/var/kubernetes/backend/cluster.yaml k8s ".cluster"

On all three the output is
2dc171858c3155be|<IP_ADDRESS>:19001|voter
b26793c27bc8e282|<IP_ADDRESS>:19001|spare

master02 is the node whose IP is not listed in the output

I left/removed the node from the cluster, did a microk8s reset and then joined back and now HA is enabled and showing all 3 nodes as datastore masters, thanks for the help!

Same thing happen to me. @bkonicek  Which node did you remove and reset to get it fixed? The one spare one or the voter?

Neither of them - I removed the node that's IP was not listed in that output.

Got it. Actually in my case I have just 2 nodes and base don source code minimum of 3 nodes are required for HA to work.

root@kube04:/var/snap/microk8s/current/var/kubernetes/backend# sudo -E /snap/microk8s/current/bin/dqlite -c /var/snap/microk8s/current/var/kubernetes/backend/cluster.crt -k /var/snap/microk8s/current/var/kubernetes/backend/cluster.key -s file:///var/snap/microk8s/current/var/kubernetes/backend/cluster.yaml k8s ".cluster"
3512b267276f9e10|<IP_ADDRESS>:19001|voter
9d882e0fe91f400e|<IP_ADDRESS>:19001|spare
a75b3778b41ff791|<IP_ADDRESS>:19001|spare

root@kube04:/var/snap/microk8s/current/var/kubernetes/backend# microk8s status
microk8s is running
high-availability: no
  datastore master nodes: <IP_ADDRESS>:19001
  datastore standby nodes: none

MicroK8s doesn't like me tonight.

And this, is why I switched to rancher/k3s.


LINEA ECOSYSTEM in GITCOIN GRANTS

Description
The Gitcoin Grants Program is a quarterly initiative run by Gitcoin that empowers communities to use web3 to fund their shared needs.
https://grants.gitcoin.co/
Where should this content be added?
No response

@Biloonov could you elaborate on what the request is here, please?


refactor: don't recreate INITIAL on every re-render

Really minor optimisation which avoids object re-creation/destructurization on every re-render.
Since useProgress changes its state every second, every second it'll create a new object and then move it to GC. In my opinion it could be avoided and INITIAL variable can be initialized only one time 🙂
Note, that current code doesn't introduce any performance issues - this PR it's really minor optimization 🙂

@dcvz I fixed all remarks. Please, review again 😊


Basiselementen create demopages

These new pages should show only the basic elements and no specific RVO content. This will allow for a clean overview of what is available.


Additional new set of backgrounds

Description:
@sini-maaria will be asked to provide few new backgrounds

Some changes:

Only one default image (eye) should be visible if user hasn't chosen an image yet.
https://user-images.githubusercontent.com/19531763/209689945-7ae4e57d-8fe7-4e5a-b6f3-969bec0128a8.jpg

There will be 6 other default images on the Ruuvi Gallery:

An example of new default images on web station:

@sini-maaria

can we instead of selecting 1 specific eye image get a random from 4 eye images?

will there be more default images or I can pass this issue to testing?

Discussed in meeting this one is completed


Priest in Peril missing

It does exist, you might've been on a Deadman world, or just on an account which has completed it.


Re-order package.json exports for Webpack 5 browser usage

The export conditions are evaluated and the first that
matches will be used. The ./nodejs/filecoin_signer_wasm.js
gets matched for "import" or "require", so the the "browser"
condition with ./browser/filecoin_signer_wasm.js never gets
matched. Webpack 4 automatically installs polyfills for Node.js
libraries but Webpack 5 won't.
https://webpack.js.org/guides/package-exports/
Re-ordering the export conditions so that the browser condition
appears first allows this library to be used with Webpack 5
for browser builds without polyfills.

Depends on https://github.com/Zondax/filecoin-signing-tools/issues/348

Depends on https://github.com/Zondax/filecoin-signing-tools/issues/348

Closing this and include it in pr https://github.com/Zondax/filecoin-signing-tools/pull/349

Closing this and include it in pr https://github.com/Zondax/filecoin-signing-tools/pull/349


reading ADC pin sometimes throws ValueError

Published to influx/Owens/plants with PID 0
Traceback (most recent call last):
File "code.py", line 106, in
File "code.py", line 95, in main
ValueError: ADC2 is being used by WiFi

fixed https://github.com/letrout/home_automation/pull/21

fixed https://github.com/letrout/home_automation/pull/21

Missed one:
Traceback (most recent call last):
File "code.py", line 141, in
File "code.py", line 131, in main
File "code.py", line 89, in wet_pct
File "code.py", line 64, in dry_pct
ValueError: ADC2 is being used by WiFi

https://github.com/letrout/home_automation/pull/22


Support for collectd-mod-contextswitch

Adding support for a useful plug-in and would also like it to be backported to 17.01 branch.

I haven't tested that, yet, but you need to have "signed-off-by" in the commit message, not PR discussion. (Commit message gets stored in git history, PR discussion does not).
And please squash the two commits into one.

Done, but now I have a merge commit as well...

Read the advice in CONTRIBUTING.md that I already linked in forum thread.
https://github.com/openwrt/luci/blob/master/CONTRIBUTING.md#advice-on-pull-requests
You can easily "squash" (= combine into one) those four commits into one (and remove the "collects" typo from the title).

Checkout the feature branch by git checkout luci-collectd-mod-contextswitch
If you added several new commits or made other changes that require cleaning up, you can use git rebase -i HEAD~4 (4 = number of commits to edit) to possibly squash some commits.
Push the changed commits to Github with git push -f to overwrite the original commits in the feature branch with the new ones. The pull request gets automatically updated

Some git exercise for you ;-)

I will eventually figure it out...

It is pretty easy, once you have done it once (and have the commits in a branch instead of master).
Github makes it rather convenient to makes polished changes to PRs.
I will test it.

Do I need to submit another request to get it into 17.01?

No need. I can cherry-pick it in a few days, after first seeing that it has caused no hiccup in the buildbot.
(If I don't remember to do that. just remind me.)

Just noticed that you had used spaces in the config file instead of a tab :-(
I will fix that myself.

If you have not done that yet, I do not mind cleaning than up.

Already done. I also moved the item to alphabetically correct place. Nitpicking ;-)
https://github.com/openwrt/luci/commit/2bc2f935a0428b8d31a6ff2b967157b5ca02e06b

Ok, I will keep those things in mind next time.

One other hint for you:
if you change translation items, please run in luci repo root this command before you commit:
./build/i18n-sync.sh
It straightens up the translation files, sorts them properly, cuts too long lines etc.
Your samba, hd-idle, statistics and wifi changes were fixed / changes propagated by musashino with
https://github.com/openwrt/luci/commit/86a708b06b1284045c0216e35a2bf3f40411177e

I see that I also need to add the new strings to the translation files. Acknowledged.

I see that I also need to add the new strings to the translation files. Acknowledged.

./build/i18n-sync.sh  adds the new strings. Basically it searches for new/changed strings in the main lua code and updates .pot master accordingly, and then adjusts all .po files as necessary.
(Note that it may mishandle cases where you change an already translated string a major way. Translations may get lost (marked invalid, and new empty ones created on their place.  some manual editing may be needed. so look at "git diff" after running it... )

Got it, thx.


AboutUs.adoc: Update content to current group

Update AboutUs.adoc to the current group.
Delete old profile pics and updated with new ones.

LGTM. we merge outselves or what ah?


#15 YAML file wrong

The yml file need to be corrected

Hi, This GitHub repo only contains documentation and demo scripts. To deploy the SmartHotel360 website, please visit: https://github.com/Microsoft/SmartHotel360-Website


Fix misleading log message

Coverage remained the same at 89.176% when pulling bdf448b295b2522758eba9803b0d5be55c46e8ca on fix-log into a2592f2e5e371fbe00c877ee8c3476a1c75f7c0d on master.


propagate exit code from the subprocess launched by the storm-mesos wrapper script

This solves issue #17
I tested before-and-after following these steps:

Built the storm-mesos package: bin/build-release.sh
Went to the build dir:  cd _release/storm-mesos-0.9.6
Ran the wrapper script:  bin/storm-mesos nimbus
Observed that it failed (as expected on my laptop without running in a vagrant / docker set up), but that the exit code from the script was 0: echo $?
Made the change in this PR.
Rebuilt the package: cd ../.. ; bin/build-release.sh ; cd _release/storm-mesos-0.9.6
Ran wrapper again, and observed that the exit code was 13 as I expected: echo $?

@JessicaLHartog & @dsKarthick please review at your convenience.

LGTM! :+1:

Thanks for the review @JessicaLHartog , I'm merging it now and then closing #17


Middleware usage, with Laravel 8

Is the middleware section in config is full replacement of Kernel.php array?
I tried to move middlewares from Kernel.php to config file, and found a bug, for me it was a cors issue - i mean this middleware was not worked at all.
So in situation when i moved Cors middleware to config - its not working
Leave it in Kernel - working
For my own middleware, it works well in both places but also if i leave it in Kernel & config, it will be called twice
// UDPATE
Also SubstituteBindings, is not working if i put it in Kernel, and start work if i put it to config, can anyone explain why?
If its not a full replacement, then why we need it in config section?
my versions:
"laravel/framework": "^8.12"
"spatie/laravel-route-attributes": "^1.9"

According to our tests it should work.
Please PR a test that demonstrates to problem (and optionally a fix that fixes this if a problem is found).


Update Set-UnifiedGroup.md

changed this per experience

Docs Build status updates of commit eabf3bc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@chrissda Please merge this PR. Thanks

Docs Build status updates of commit f032cea:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 457044c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


✏ DOC: Correcting typo

Just reading through your docs as I plan to use your implementation of Dans' presentational and container components in an open source project. If I find more, I'll add them to this PR. Feel free to make those changes yourself as I don't want to steal contribution.
Great Framework!
The only thing missing is a complete TypeScript Declaration (this one is incomplete, outdated).
Best
Dino

Closing this out


Create a CI Pipeline

As a DevOps Engineer
I need to complete the Continuous Integration (CI) pipeline for the project
So that code changes are automatically tested, built, and validated before being merged into the main branch
Details and Assumptions:
The CI pipeline should include steps for code linting, running unit tests, building the application, and deploying to a staging environment.
Assume that the project is hosted on a platform like GitHub and a CI service like GitHub Actions, Jenkins, or CircleCI will be used.
The pipeline should be configured to run on every push to the repository and pull request to the main branch.
Notifications should be sent to the team in case of pipeline failures.
The pipeline should include security checks and code coverage reports.
Acceptance Criteria:
Scenario: Configure Linting and Unit Tests
Given a code change is pushed to the repository
When the CI pipeline runs
Then it should perform code linting and run all unit tests, failing the pipeline if any issues are found
Scenario: Build the Application
Given a code change passes linting and unit tests
When the CI pipeline runs
Then it should build the application, ensuring that the code compiles and the build process completes successfully
Scenario: Deploy to Staging Environment
Given a code change passes linting, unit tests, and the build process
When the CI pipeline runs
Then it should deploy the application to a staging environment for further testing
Scenario: Notify Team on Pipeline Failure
Given any step in the CI pipeline fails
When the pipeline runs
Then a notification should be sent to the team with details of the failure
Scenario: Include Security Checks and Code Coverage
Given the CI pipeline is configured
When the pipeline runs
Then it should include security checks and generate a code coverage report, failing the pipeline if security vulnerabilities or inadequate code coverage are detected


Mark TaskRef/PipelineRef Bundle as deprecated

Changes
Using an OCI bundle is now possible through the remote resolution, in
case of the oci bundle resolver being available in the cluster. For
more information about remote resolution, see
https://github.com/tektoncd/community/blob/main/teps/0060-remote-resource-resolution.md.
This means, there is now two different ways to refer to a Tekton OCI
bundle. As remote resolution (using the resolver field on
PipelineRef and TaskRef) is more generic, we are going to
deprecate the bundle field.
From now on, it is recommended to use resolver instead of bundle.
spec:
  pipelineRef:
    bundle: foo.io/bar/baz:tag
    name: my-pipeline

becomes
spec:
  pipelineRef:
    resolver: bundle
    resource:
    - name: bundle
      value: foo.io/bar/baz:tag
    - name: name
      value: my-pipeline
    - name: kind
      value: pipeline

Closes #3661
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>/hold
Few things to to still:

[ ] Output some warnings to the user that using this field is deprecated
[ ] Most likely, have the kind parameter default to pipeline or task depending on the object it's refered from (TaskRef versus PipelineRef). cc @abayer @sbwsg
[ ] Make sure we ship the bundle resolver by default with the release that brings this in (otherwise, we will break a lot of users)
[ ] Update deprecation table and documentation

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
TaskRef/PipelineRef bundle field is deprecated in favor of using the bundle resolver

/kind cleanup

@vdemeester happy to approve this, just want to double check if you are planning to tackle the AIs listed in the PR description as part of this PR or a separate one? Also when you say "output warnings to the user" I'm assuming you mean via the webhook but are you planning to send out an email announcement as well?

@vdemeester happy to approve this, just want to double check if you are planning to tackle the AIs listed in the PR description as part of this PR or a separate one?

In this one 👼🏼

Also when you say "output warnings to the user" I'm assuming you mean via the webhook but are you planning to send out an email announcement as well?

Yes to both.

ok great! Just LMK when ready for review


Blazor preview6 onclick issue

I have been trying for the longest time to reproduce this in a sample project, but sadly, it seems to happen only inside of my bigger project (I continue to try to reproduce this). I hope someone sees the error and maybe knows why this happen even without a reproduction...
I have a razor component that forwards a CS base component that has an onclick event, it render on the DOM as:
<button onclick="њ">Test1</button>

Note the weird character in the onclick. When the button is clicked on I get this in the console:
Uncaught ReferenceError: њ is not defined
    at HTMLButtonElement.onclick ((index):1)
onclick @ (index):1

I have no idea why it only happens in BlazorStrap - all my efforts to reproduce this in a blank project so far have failed.

Ah, just found the issue!
If I pass in @OnClick to my cs class instead of @onclick it causes the above problem!


Rdk 30026 xcast docs

JSON definition files for the XCast Plugin. MD was generated using the JsonGenerator tool from the Thunder project.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I am closing this outdated PR. If this change set needs to be merged, please resubmit it to the latest sprint branch.

We need to discuss if the full set of JSON definitions and md files need to be merged from my fork. This request was simply a one-off request from Anil for firebolt and is no longer required.


Plugin slows down saving posts in admin panel

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the plugin and it is still present.

WordPress version
6.2.2
Cloudflare-WordPress version
4.12.2
PHP version
8.0
Expected result
Do not slow down saving posts.
Actual result
Whenever a post is saved, CloudFlare cache is being cleared.
CF\WordPress\Hooks::purgeCacheOnPostStatusChange function involved takes 2-3 seconds.
Steps to reproduce

Edit any post
Save post

Additional factoids
Proposed solution is to avoid clearing CloudFlare straight away, but schedule it and group all URLs into single API call via cron job.
References
No response

This is addressed in PR https://github.com/cloudflare/Cloudflare-WordPress/pull/504

Since Cloudflare API is unavailable today, seeing 504 (Gateway Timeout) error in WordPress Admin Dashboard when saving posts.
If we were using cron job to clear cache instead, work in WordPress would not be affected at all.

@aseure did you get a chance to look at this issue, since CF plugin is really slowing down things in admin dashboard?

Not stale.


fix(Checkbox): safari and ff labelling

Overview

Fixes an issue where Checkboxes weren't being properly labelled on Safari + Firefox. Please check out the Checkbox story and the Portal App PR to test the behavior.

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: gm-241
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.5.55-alpha.3c0804.0@codecademy/gamut-labs@19.23.18-alpha.3c0804.0@codecademy/gamut@36.9.1-alpha.3c0804.0@codecademy/monaco@0.3.9-alpha.3c0804.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6130d99050bf21ebe4d7c4d1--gamut-preview.netlify.appDeploy Logs


feature | devcontainer

Dev Container support
Allowing devs to use this project in a constant & expected env in order to allow better development and future contribution

Codecov Report

Merging #219 (b6772d6) into master (02814a2) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head b6772d6 differs from pull request most recent head 40dcdb2. Consider uploading reports for the commit 40dcdb2 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##            master      #219   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          146       146
  Branches        37        37
=========================================
  Hits           146       146

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Store Customer Name, HCL Customer, etc. in a configuration document

When performing DLAU Scans on a regular base, at the end for each report you have to enter Customer Name, HCL Customer Number and so on manually.
Wouldn't it make sense to store these informationen in a "configuration document" to be reused at each scan?
Source: https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-2499

This is tracked as DNEXT-23784 and will be addressed in the next version 1.2.1

This was fixed in DLAU 1.2.1


Added the missing  include

Not all compilers add the <limits> library, which contains std::numeric_limits.

Jumping into this project.
This PR seems valid to me, but the test environment itself seems to be broken, seemingly due to some issues setting up the environment. With that said, I'm fairly confident this won't break anything upon reviewing the code. Rather than blocking this on fixing the test environment, going to favor merging.


Pyseir location cleanup + start of removing county_metadata

A couple things this PR accomplishes:

removes all state level data access functions in load_data - everything is accessed through fips.
Start removing most of the county_metadata references.  County metadata is another source that goes outside of our traditional data pipeline.  Removing the references helps streamline some of the pyseir code.  That source has always been very opaque to me.
One of the confusing things is that we use the full state name in a lot of locations when we should be using fips or the ISO 2 abbreviated name.  I start to try to make it more explicit where we do that in this PR.  I'd like to take another pass through in a separate PR to finish that cleanup.
It seems we only really use county metadata in the ensemble_runner for age distribution.  Do we actually use that? it would be great if we could find another way to save that data.

It seems we only really use county metadata in the ensemble_runner for age distribution.  Do we actually use that? it would be great if we could find another way to save that data

Which line are you referencing with this?

It seems we only really use county metadata in the ensemble_runner for age distribution.  Do we actually use that? it would be great if we could find another way to save that data

Which line are you referencing with this?

https://github.com/covid-projections/covid-data-model/blob/master/pyseir/ensembles/ensemble_runner.py#L247-L254

@BrettBoval I'm going to leave deleting the other code for another PR if that's alright!

It seems we only really use county metadata in the ensemble_runner for age distribution.  Do we actually use that? it would be great if we could find another way to save that data

Which line are you referencing with this?

https://github.com/covid-projections/covid-data-model/blob/master/pyseir/ensembles/ensemble_runner.py#L247-L254

I don't know of anywhere where we use that data.

@BrettBoval I'm going to leave deleting the other code for another PR if that's alright!

That's fine with me.


process is not defined and circular dependencies with rollup and svelte

Bug
Description:
Decided to try out use xstate with Svelte, basically porting the code you did in a recent workshop. I ran across a few bugs in setting up the build. First, I got a runtime exception for process being undefined at this line of code: var IS_PRODUCTION = process.env.NODE_ENV === 'production';. While this was easily overcome by adding a build step to the rollup config, e.g.,
   replace({
      'process.env.NODE_ENV': dev ? JSON.stringify('development') : JSON.stringify('production')
    }),

I don't think that xstate probably wants to depend on process being present. Second, the following circular dependency warning is printed when using rollup:
(!) Circular dependency: node_modules/xstate/es/utils.js -> node_modules/xstate/es/StateNode.js -> node_modules/xstate/es/utils.js
(!) Circular dependency: node_modules/xstate/es/utils.js -> node_modules/xstate/es/StateNode.js -> node_modules/xstate/es/State.js -> node_modules/xstate/es/utils.js
(!) Circular dependency: node_modules/xstate/es/utils.js -> node_modules/xstate/es/StateNode.js -> node_modules/xstate/es/actions.js -> node_modules/xstate/es/utils.js
(!) Circular dependency: node_modules/xstate/es/utils.js -> node_modules/xstate/es/StateNode.js -> node_modules/xstate/es/StateTree.js -> node_modules/xstate/es/utils.js

(Bug) Potential fix:
In first case, would it be enough to check if process is present?
var IS_PRODUCTION = process && process.env.NODE_ENV === 'production'
Link to reproduction or proof-of-concept:
https://github.com/RikuVan/svelte3-ts-starte

I don't think that xstate probably wants to depend on process being present.

Actually this is a common practice for libraries and process.env.NODE_ENV is expected to be replaced by bundlers. Many libraries are doing it (i.e. react) and it's somewhat a standard way to strip things from production builds.
Adding additional check for process is bad as it will cause i.e. webpack & browserify to include unnecessary polyfills for the process object.

I agree with @Andarist about the process thing. It’s a bug that svelte should fix in my opinion.

ok, thanks. I wonder if this is happens because of the way Svelte compiles code.

I am also getting the problem in the same app of the typings not being found for xstate (a different issue of course). So a lot of little weird build issues. Are the circular dependencies warnings a mild issue?

ok, thanks. I wonder if this is happens because of the way Svelte compiles code.

Well, this is unfortunate - we have so many bundlers/compilers right now on the market, that it's often hard to "configure" a library so it could be used by each of them without any extra config on the user's side. In this particular case I would advise for reporting this to svelte team, so they could replace process.env.NODE_ENV appropriately based on their dev option (i think they have such) - as they aim for good DX and this issue will just come around many times for many people.

Are the circular dependencies warnings a mild issue?

Yeah - it still would be kinda good to remove this from xstate, but in ESM world circular dependencies are allowed, so no the problem per se.

The circular dependencies were removed.

I think you have this covered already and I don't know if this will help, but since I've got the information handy – the TypeError: Error resolving module specifier: xstate error is also thrown when using xstate in the browser with ES Modules.
Here is a script to reproduce:
#!/usr/bin/env bash

rm -rf xstate-process-bug

mkdir xstate-process-bug

cd xstate-process-bug/

npm init -y

npm i -S xstate

echo "import { Machine, interpret } from<EMAIL_ADDRESS>// or use your own interpreter!

// Stateless machine definition
// machine.transition(...) is a pure function used by the interpreter.
const toggleMachine = Machine({
  initial: 'inactive',
  states: {
    inactive: { on: { TOGGLE: 'active' } },
    active: { on: { TOGGLE: 'inactive' } }
  }
});

// Machine instance with internal state
const toggleService = interpret(toggleMachine)
  .onTransition(state => console.log(state.value))
  .start();
// => 'inactive'

toggleService.send('TOGGLE');
// => 'active'

toggleService.send('TOGGLE');
// => 'inactive'
" > main.js

echo "<!doctype html>

See Console

" > index.html

npx http-server .

This will produce
xstate-process-bug
├── index.html
├── main.js
├── node_modules
│   └── xstate
├── package-lock.json
└── package.json

and start a web server to demonstrate.

@JamieMason if u want to consume xstate in module format directly in the browser without a build step then u have to use this file<EMAIL_ADDRESS>. The one which u have used is intended to be consumed by bundlers

Ahh, thanks a lot @Andarist 👍

This is already fixed by svelte ?

@JamieMason if u want to consume xstate in module format directly in the browser without a build step then u have to use this file<EMAIL_ADDRESS>. The one which u have used is intended to be consumed by bundlers

This works for me (using local import) !
Thank you very much.

This isn't a Svelte issue, it is a Rollup issue as it is the bundler in this case. The replace plugin mentioned above was the generally accepted solution to this particular issue, although, now a more robust solution for environment variables exists: https://www.npmjs.com/package/rollup-plugin-inject-process-env
Hope this helps.

EDIT: Adding the following was enough to patch this in my prototype for now:

How do you replace this script in index.html for production? I am stuck on this issue for some time now, I am using it with @web/dev-server during development I have to add this script to make the application run.
Plugin replace works on JS files but can't get it to replace or remove this script tag from HTML for production build.


I Cannot Boot It

When I'm On Windows,  Cannot Do Nothing With The .bin File, And QEMU Doesn't Work In WSL, What Can I Do In Windows?

(For Make It Work)

Both nasm and qemu are available for windows. You don't need to use WSL for running these. I use Windows for these tutorials and it works well.

e Windows for these tutorials and it works well.

its works very fine for me, i've wsl 2 and qemu and nasm both work very fine

e Windows for these tutorials and it works well.

its works very fine for me, i've wsl 2 and qemu and nasm both work very fine

I've tried several sources here on GitHub and QEMU refuses to boot past the boot sector. As soon as it goes to enter 32bit mode on any of it... It halts and nothing more happens...

@TheSpecialist666 I tried it again (this time on Windows 10). I used below commands from 10-32bit-enter folder and it works-
nasm -f bin 32bit-main.asm -o 32bit-main.bin
qemu-system-x86_64 32bit-main.bin


Update to use scala.jdk.CollectionConverters

Some of the deprecated warnings can't be fixed until 2.12 is dropped and other things like MIMA compatibility so I think this is all that can be done easily.

Thanks!


Loading error

Just tried my first with the client and it came up with
Fatal error: Uncaught Error: Class 'Predis\Configuration\Options' not found in /Library/WebServer/Documents/redis/3/src/Client.php on line 74
Error: Class 'Predis\Configuration\Options' not found in /Library/WebServer/Documents/redis/3/src/Client.php on line 74
What might be the reason?

Since you didn't describe in detail how you tried to load Predis in your scripts I can't tell what's wrong. Just use composer anyway, it's the most sensible and trouble-free way to manage your dependencies and load PHP libraries.


Fix guard conditions

Signed-off-by: Pablo Garrido<EMAIL_ADDRESS>

Codecov Report

Merging #209 (1a05981) into main (e58676c) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
- Coverage   47.80%   47.74%   -0.06%
==========================================
  Files          42       42
  Lines        1686     1688       +2
  Branches      332      332
==========================================
  Hits          806      806
- Misses        670      672       +2
  Partials      210      210

Impacted Files
Coverage Δ

rmw_microxrcedds_c/src/rmw_guard_condition.c
0.00% <0.00%> (ø)

...w_microxrcedds_c/src/rmw_trigger_guard_condition.c
0.00% <0.00%> (ø)

rmw_microxrcedds_c/src/rmw_wait.c
71.87% <0.00%> (-1.15%)
:arrow_down:

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 e58676c...1a05981. Read the comment docs.

@mergify backport foxy galactic


ES6 feature: Generator

Syntax:
Per Rev 32 (Feb 2, 2015) of the draft spec, the relevant grammar is on Section 14.4 Generator Function Definitions:
GeneratorMethod[Yield] :
    * PropertyName[?Yield] ( StrictFormalParameters[Yield,GeneratorParameter] ) { GeneratorBody[Yield] }

GeneratorDeclaration[Yield, Default] :
    function * BindingIdentifier[?Yield] ( FormalParameters[Yield,GeneratorParameter] ) { GeneratorBody[Yield] } [+Default]
    function * ( FormalParameters[Yield,GeneratorParameter] ) { GeneratorBody[Yield] }

GeneratorExpression :
    function * BindingIdentifier[Yield]opt ( FormalParameters[Yield,GeneratorParameter] ) { GeneratorBody[Yield] }

GeneratorBody[Yield] :
    FunctionBody[?Yield]

YieldExpression[In] :
    yield
    yield [no LineTerminator here] [Lexical goal InputElementRegExp] AssignmentExpression[?In, Yield]
    yield [no LineTerminator here] * [Lexical goal InputElementRegExp] AssignmentExpression[?In, Yield]

Spec:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions
Relevant AST interfaces (from https://github.com/estree/estree):
Functions:
extend interface Function {
    defaults: [ Expression ];
    rest: Identifier | null;
    generator: boolean;
}

interface ArrowExpression <: Function, Expression {
    type: "ArrowExpression";
    params: [ Pattern ];
    defaults: [ Expression ];
    rest: Identifier | null;
    body: BlockStatement | Expression;
    generator: boolean;
    expression: boolean;
}

YieldExpression:
interface YieldExpression <: Expression {
    type: "YieldExpression";
    argument: Expression | null;
}

See also:

Esprima generator support from harmony branch: https://code.google.com/p/esprima/issues/detail?id=287
V8 generator support: https://code.google.com/p/v8/issues/detail?id=2355

Remaining Tasks:

[ ] Review V8 error messages on generator early error
[ ] Ensure the proper handling of yield* (old issue 617)

@jeffmo Here's the generator tracking issue, in case you want to grab this.

David (@dhe128) mentioned he'd be interested in giving generator support a go -- so cc'ing him here for reference

Was ArrowExpression vs. ArrowFunctionExpression resolved?

Hmm, well there isn't such a thing as generator arrow functions in ES6...

Good point, my comment was based on the inclusion of ArrowExpression as part of the relevant AST information in the description. It seems like generator is still there so all nodes representing functions have the same properties?


Redraw a few layers

I have created two geoJSON layers like this:
var l1 = L.geoJson(data1)
    , l2 = L.geoJson(data2)
    , cluster1 = L.markerClusterGroup()
    , cluster2 = L.markerClusterGroup()
;

cluster1.addLayer(l1);
cluster2.addLayer(l2);

cluster1.addTo(map);
cluster2.addTo(map);

Then I got new geoJSON data and I tried to redraw my clusters:

cluster1.clearLayers();
cluster2.clearLayers();

l1 = L.geoJson(new_data1)
, l2 = L.geoJson(new_data2)
;

cluster1.addLayer(l1);
cluster2.addLayer(l2);

But the result is empty map without clusters. If I try to redraw one layer it work's well.

Make a minimal jsfiddle to reproduce.

Sorry. It's my mistake.


Issue with typehead not working in modal dialog called from modal dialog

Env: IE 11.0.xx
Issue description: typehead not fire keydown event and typehead not working as a result.
Fix:
Changes to angularjs.js 1.3.14
Method: function $SnifferProvider()
hasEvent
Line:
Before        if (event === 'input' && msie <= 11) return false;
After:
if (event === 'input' && msie <= 10) return false;
This is fixing issue with reaching keydown event typehead element(s).
Please let me know if this possible to fix in other way etc.
Thanks,
Pavel

Can you provide a plunkr please

Here it is:
This is how it works
http://plnkr.co/edit/roCvxWQkxIGIo9Qui6Fx?p=preview
To replicate issue change angular version to 1.3.15
This will kill keydown event to reaching typehead element.

Can you explain the use case where you need to open a modal in a modal?

Not sure what you mean. But when I have typehead in the second modal dialog its failing to work in angularjs 1.3.x.
This all need to be tested in IE, I would say IE 11.x
Thanks,

Well I can reproduce this in Chrome as well. But what I meant with 'what is the use case' is please explain why you would trigger a modal from another modal. It smells like there is something wrong with your UI design rather than the library having to support such edge cases.
From what I can see, this seems to be a z-index issue since the modals just keep stacking up but the typeahead dropdown has a lower z-index than the second modal.

Well, UI is fine. Main, first level modal dialog looks much bigger and second is just to provide user input etc.
There is nothing to do with z-index.
This is just and example how it works on production system.
If you would dig deeper you will see that typehead not getting 'keydown' event.
So I did provided you with the quick fix above and would like to have more appropriate solution etc.
Thank you,

This looks like this has to do something with mixing Bootstrap's JS and UI Bootstrap.
I am rejecting this as won't support.


Paper Discussion 12a: A Toolkit for Construction of Authorization Service Infrastructure for the Internet of Things

Please leave critiques and reviews below.

Reviewer: Niko Reveliotis
Review Type: Critical
Problem Being Solved
Existing security measures are ineffective in the growing IoT space of emerging networks and devices. As these devices have differing security needs (heterogeneity), this paper tries to create a service which will be usable across many devices with differing needs all over the IoT space.
Main Contributions

Secure Swarm Toolkit (SST): "an open-source toolkit for construction and deployment of an authorization service infrastructure for the IoT". This tool would provide a secure means of authorization in a resource-constrained environment. SST's software interface would allow for the ability to create accessors which would allow for an IoT device to ensure proper authentication without having to manage cryptographic keys.

SST will also be using Auth, which we covered in a paper earlier in the semester. I love when these papers link together, when's the next Signpost appearance?

Three Questions

Does making Auth with UDP support decrease stability as packets can't be guaranteed to have been received?
Where is the "ideal" in figure 4? This graph seems to through a bunch of ranges across and lining them up over each other in a non-coherent way. Where is the maximum security? Where is the maximum speed? etc.
What are the additional costs incurred by setting up a permanent distribution key for devices that aren't able use Auth's public key with cryptography? Not just security costs, but also the costs in generating a permanent distribution key.

Three Critiques

Figure 4 does a terrible job illustrating an "aerial" view of the possible security configurations available with SST. Table 1 does a great job illustrating the differences, but figure 4 could've done a much better job in generating something like a "heat map" of most to least secure.
This security service relies on Auth, and from the Auth paper we saw how multiple Auth's we're needed across the edge. Wouldn't this service become increasingly expensive to implement on a larger scale, drawing away from the scalability they stress?
This paper doesn't address denial of service (DOS) attacks which would disable the entire Auth network they are relying on for authentication.

Reviewer: Cuidi Wei
Review Type: Comprehension
Problem being solved
Challenges including heterogeneity, operation in an open environment, and scalability render existing measures ineffective against emerging IoT networks and devices.
Main contributions
This paper proposes SST which provides authorization services, Auth to guarantee security and integrate devices with authorization services without needing to managing crypto-graphic keys and operations.
Questions
1.If an entity registered with Auth successfully, it means it can communicate with other local entities. So are there any threats for malware to control other devices once the malware registers with Auth successfully? How to guarantee the security?
2.In the Entity-Entity communication, I’m confused about that why delaying disclosure of keys can mitigate risks where a comprised subscriber illegally publishes messages?
3.For the analysis time result, what about other similar models? There’s no direct comparison, it’s difficult to conclude whether the Auth model is efficient or not.

Reviewer: Rick Sear
Review Type: Critical
Problem being solved
IoT devices need to be secured, but this is complicated in three areas identified by the paper:

Heterogeneity: there are just too many differences in IoT devices
Open environment: IoT devices are much more "out there" for attackers than traditional computers
Scalability: there are a lot of IoT devices and they do a lot more networking than traditional computers

Important contributions
To address these issues, the paper introduces a software toolkit called Secure Swarm Toolkit. This creates Auth entities on edge devices, which are responsible for securing their small subset of connected IoT devices.
Questions

Why Java instead of Rust or JS? Seems like an atypical choice compared to a lot of stuff we've seen in this class.
I don't really understand the Alloy Analyzer used in 5.2 and I'd like to know more. How accurate is this tool, and how useful are its results? Reading through their explanation of the exponential curve in Figure 14, I'm not sure why the analyzer was needed -- the exponential result seems obvious.
What kind of space overhead does the Auth's database have?

Critiques

The paper acknowledges in 5.3 that if an Auth is compromised, that has big consequences for the system's security. That being the case, doesn't this paint a big target on the Auth structure? This comes back to the classic "single point of failure" issue. Would probably be worthwhile to do more extensive testing on this.
In 6 (the scalability analysis), the paper addresses the issue of an overstretched Auth by just saying "add more Auths." What's the breaking point of an Auth? Can I overwhelm a single Auth before the admin realizes more Auths are needed? "Assuming that we add more Auths linearly to the number of entities" seems like quite the assumption, especially since these are running on edge devices which should, in theory, also have other jobs to do.

Reviewer: Akinori Kahata
Review type: Critical

The problem being solved.

IoT systems have three significant challenges relevant to security; high heterogeneity of IoT devices, open access to IoT components, large scalability. Conventional security solutions, such as SSL/TLS based on public key infrastructure, are not good for IoT securities, because, when it comes to SSL/TLS, PKI needs large resources, a frequent update of CRL, and these solutions consider for homogeneous systems. The researchers try to introduce a new IoT security framework to overcome these challenges.

The main contributions.

The researchers suggested distributed type authentication system “Auth”, which can reduce using public-key cryptography. Auth can choose several cipher suite, which enables adjust the security level and computation burden to the required level of each IoT device. Authors provide the result of experiments that show auth can overcome three challenges of IoT systems’ security.

Questions.

I can’t understand the evaluation of scalability. The paper says the equation (5) in P9 is not depending on n, which is the number of entities, and then this system is scalable. However, in my understanding, m in the equation is indirectly dependent on the number of entities. Does the m not relevant to n?

Critiques.

“Auth” looks very good system for reducing the computation cost; however, I feel that the configuration and maintenance cost of Auth looks high. I think that the researcher should consider the total deployment cost of “Auth”.
I think the author should compare the result of the evaluation of the security function of “auth” with SSL/TLS based system.

Reviewer: Alvaro Albero
Review Type: Comprehensive
Problem Domain
IoT networks are growing rapidly and existing security measure are not sufficient for this growth and the number of devices. There are three main challenges, heterogeneity, different levels of security need, open environment, attacks can be part of the network, and scalability, huge number of devices.
Main Contributions
The authors propose Secure Swarm Toolkit (SST) as a solution to the security challenges of the new networks and devices. SST provides an authorization service to nodes in the IoT network. First it can deal with the three challenges already mentioned, and second, it provides an abstraction for developers that do not need to handle cryptographic keys and operations directly. They also perform a security analysis, demonstrate scalability and evaluate the overhead of the solution.
Questions

It seems that the Auth have knowledge of other Auth in the network. In a very large network, how is this achieved? Do they have direct knowledge or the paper assumes there is a higher-level component that can provide this information?

As the authors mention this is a nice abstraction for developers, it would have been nice to see an example on how different is from a developer point of view to secure the communication using SST and using the traditional methodology. Is there any pseudocode in other related works, if any?

Since its release in 2017, are there any IoT systems that have implemented this solution, even if it is partly?

Reviewer Graham Schock
Review Type Comprehensive
Problem Being Solved
Similar to most of the papers we have discussed this week, this paper identifies the security issues that are present when more and more devices are connected to the network. In order to accomplish a level of security, devices rely on authentication to ensure that the devices they are communicating with are who they say they are. The paper identifies specific areas where modern solutions fail to meet IoT security needs (Heterogeneity, Open environment, Scalability).
Contributions
In order to meet the challenge the paper proposes the Secure Swarm Toolkit infrastructure. SST meets the criteria of heterogeneity as it supports various configurations that can be swapped and switched to meet the user’s demands for guarantees or efficiency. SST meets the criteria of Open environment as SST keeps track of authorization and therefore can revoke the credentials at any time. SST also meets the requirement of Scalability as multiple Auths can be deployed on the network and the infrastructure can support shared session keys.
Questions

In Section 5.2 the paper describes a Formal Analysis modelling language. What does that really mean? How do modelling languages work generally?
The paper describes that current network security solutions are not scalable. Why aren’t they scalable? What prevents them from being scalable? Is it because of unrealistic energy consumption?
Towards the end of the paper it is described that one of the most important challenges in network security is maintaining availability through a Denial of Service attack. I wonder how in any system we can protect ourselves from these attacks? How would the distributed nature of SST change our approach to deal with Denial of Service attacks?

Reviewer: Reese Jones
Review Type: Critical
Problem Being Solved:

As the IoT domain expands, the networks that these devices communicate over provide a number of limitations with respect to maintaining security. The issues with the current state of things has to do with the number of different devices on networks (all of which require different degrees of security), the open environment that allows the attacker to be a part of the system, and how quickly these things scale, making proper authorization services difficult if not impossible in many cases.

Main Contributions:

The paper proposes a an open source toolkit called SST (Secure Swarm Toolkit) to be used for the creation and usage of infrastructure related to securing the IoT. Specifically, the SST will allow developers to have a higher level abstraction, making it easier (and therefore more likely) that systems will implement these security measures, making the whole of the IoT domain safer.

Questions:

The Auth entity described in the paper communicates over UDP. This seems like the exact opposite thing you'd want for a security critical system due to the fact that you can never guarantee information has received?( Maybe this comes from me not understanding networking well enough.)
Section 4.1 explains the Local Auth Entity's data stored, how long is that data stored/how safely are things deleted when they are no longer needed?
Table 2 discusses the energy cost model, but what does implementing this system on a large scale cost in terms of actual money?

Critiques:

The assumption is made that "all Auths are trusted" but the authors then admit that compromised auth has a significant set of consequences. How can you leave this massive hole in your work to be "patched" at a later time?
Earlier on in the paper the authors state that the current networks are not scalable, but they don't say much more than that. I would have liked to see more information.
Going off critique 2, the paper says current networks don't scale but then their solution to an Auth node doing too much work is to just add more Auth nodes, which seems as though it will lead to the same problem.

Reviewer: Sam Hanna
Review Type: Comprehension
Problem Being Solved:
This paper talks about securing IoT devices given the difficulties that face the field. The three main issues that they talk about and attempt to solve are heterogeneity, open environments, and scalability. They attempt to solve these issues while keeping in mind the important security concerns of confidentiality and integrity.
Important Areas:
The focus of this paper is on creating a security system that is usable for a multitude of devices and attempts to solve the issues surrounding IoT security. The system they create is SST (Secure Swarm Toolkit). This system works on a variety of devices by providing options on the level of security they can use, but always providing some level of authentication through Auth, their authentication service that is hosted on the edge.
Questions:

What incentive do people have to use this security scheme? (Besides being more secure which we have clearly seen doesn’t in itself do a good job of incentivizing business)
They discuss the various options they have for different types of IoT devices with different needs, but they also mention that certain devices just can’t use it at all with the constraints of the system. What is the percentage of devices in each category of security covered by the system?
It seems like the results are very technically heavy, but also very vague. Was the tool technically effective at securing the devices?

Questions and Critiques
@nikorev, Niko Revliotis, Critical: Where is the "ideal" in figure 4? This graph seems to through a bunch of ranges across and lining them up over each other in a non-coherent way. Where is the maximum security? Where is the maximum speed? etc.
@nikorev, Niko Revliotis, Critical: This paper doesn't address denial of service (DOS) attacks which would disable the entire Auth network they are relying on for authentication.
@albero94, Alvaro Albero, Comprehension: It seems that the Auth have knowledge of other Auth in the network. In a very large network, how is this achieved? Do they have direct knowledge or the paper assumes there is a higher-level component that can provide this information?
@grahamschock, Graham Schock, Comprehension: The paper describes that current network security solutions are not scalable. Why aren’t they scalable? What prevents them from being scalable? Is it because of unrealistic energy consumption?
@reesealanj, Reese Jones, Critical:  The Auth entity described in the paper communicates over UDP. This seems like the exact opposite thing you'd want for a security critical system due to the fact that you can never guarantee information has received?( Maybe this comes from me not understanding networking well enough.)
@reesealanj, Reese Jones, Critical: The assumption is made that "all Auths are trusted" but the authors then admit that compromised auth has a significant set of consequences. How can you leave this massive hole in your work to be "patched" at a later time?
@s-hanna15, Sam Hanna, Comprehension: They discuss the various options they have for different types of IoT devices with different needs, but they also mention that certain devices just can’t use it at all with the constraints of the system. What is the percentage of devices in each category of security covered by the system?
@lrshpak, Lily Shpak, Comprehension: Why is Auth better than other security systems?


> in section title breaks whole course

If a section title contains the > character it breaks the whole course:
## Topic > Subtopic

The above example breaks the whole course

Thanks for reporting, that is a bug and should not happen ... I will fix this ...

Hi, this bug was caused during preprocessing and should now be fixed. Additionally < and > can now also be escaped, which should result in a slightly better parsing performance...

Works for me. Thanks for the fast fix


fix(p2p): couple bitswap client and server

Decoupled client was not able to notify server on newly available blocks.

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 45.20%. Comparing base (2469e7a) to head (be87dd8).
Report is 162 commits behind head on main.

Files
Patch %
Lines

nodebuilder/p2p/bitswap.go
0.00%
8 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3641      +/-   ##
==========================================
+ Coverage   44.83%   45.20%   +0.36%
==========================================
  Files         265      281      +16
  Lines       14620    16040    +1420
==========================================
+ Hits         6555     7251     +696
- Misses       7313     7944     +631
- Partials      752      845      +93

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


Implement Molpro readers and writer

Features:
Molpro user input reader

[x] can parse orbital basis
[x] can parse ECP

Molpro system library reader

[x] can parse orbital basis
[x] can parse ECP

Molpro system library writer

[x] can write orbital basis
[x] can write ECP

The problem is that there's scant documentation on the formats (especially the user input for ECPs) in the manual.
Closes #115.

Codecov Report

Merging #165 (0849943) into master (0849943) will not change coverage.
The diff coverage is n/a.

@bennybp we'll need the regex package for these parsers.

It seems it's a bit too late, but probably the most complete description of the user input format is in the readme here:
http://www.tc.uni-koeln.de/PP/index.en.html

@bennybp ready to merge

1.) regex should be added to setup.py (rather than just the GHA)
2.) Any test files that you can add?
3.) https://lgtm.com/projects/g/MolSSI-BSE/basis_set_exchange/snapshot/5f9bd6f11edb75a181ffe69e4a7f52f8ffc09dc8/files/basis_set_exchange/readers/molpro.py#L183 is kind of complaining about the global _func_type variable in a roundabout way. I wonder if there is a simpler way

done.
one would have to grab basis sets from Molpro
the LGTM warning is just wrong.

Codecov Report

Merging #165 (59113ab) into master (e6e7e21) will decrease coverage by 3.56%.
The diff coverage is 33.33%.

@bennybp can you merge this? the tests are clean


Getting error while running the app on local environment

I have setup the application on local environment .
I have started the server process.
While running the web-ui application using "yarn start NODE_ENV=production", getting the error in browser cosole, please refer the attached screenshot:

Hi @harpreet86,
Could you please provide some context:

Which browser are you using?
Could you provide some steps how to reproduce the error?

Thank you.

I am using node v10.15.3 and browser is chrome.
The interesting part is when I run using "sh build-and-run.sh", everything works fine.
But when I try to start web-ui using steps mentioned in readme, then access http://localhost:3000. It gives me the above error(attached in the screenshot).

@harpreet86 this is an old ticket :) Sorry for a big delay. I was not able to reproduce the problem right now. Probably, some things have changed during the almost 3 years and the problem doesn't exist anymore. If you have time and still interested in the ticket feel free to reopen the ticket with additional data, e.g. commands you use, environment description, etc.


WIP run pytest through docker

This WIP commit is to enable running tests through docker. The intended acceptance criteria of this commit would be that a dev could pull down a fresh clone of the Superset repo and, without any setup, configuration, or installs (aside from docker), be able to run the test suite via a make command.
This commit gets us most of the way there, but there were a few remaining issues still needing to be fixed:

When booting up for the first time, the postgres service should have a test db created and then have it migrated / initialized.

You'll notice a make command create-test-db. This is not working, but it's really close to what we'll need. I tested out the command on my local pg database and it works (creating test db when absent, otherwise doing nothing). But I ran out of time before I got it working through the docker-compose postgres service. This make command should probably be a dependency of the pytest make command so that it runs first.
The migration/init is currently happening in the test bash script. That should probably be moved out of there. Perhaps it would be a make command.

The test suite currently has 29 failures (out of 1500 or so). Most of them are all for the same reason, having something to do with servicing a request out of order (?). This is a weird issue, but the good news is it's likely a small fix that, once identified, will make most of the tests pass.
The Makefile command currently runs the whole suite. This needs to be configurable to run a single file / test.
So far, this is just for postgres, but we'll want to enable the test suite to be run via mysql and sqlite (same as CI). Once the postgres version is ironed out, it should be relatively simple to follow the pattern for the other two.

cc @robdiciuccio @hughhhh @stevenuray

Codecov Report

Merging #109 (b0e27c4) into master (5e543e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #109   +/-   ##
=======================================
  Coverage   76.94%   76.94%
=======================================
  Files         971      971
  Lines       50236    50236
  Branches     6494     6494
=======================================
  Hits        38652    38652
  Misses      11379    11379
  Partials      205      205

Flag
Coverage Δ

javascript
71.61% <ø> (ø)

mysql
81.70% <ø> (ø)

postgres
81.71% <ø> (ø)

python
81.80% <ø> (ø)

sqlite
81.34% <ø> (ø)

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

Continue to review full report at Codecov.

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


rabit support of large cluster

This is a cleanup and fix error based on #57 as well as minor tweak of tracker reconnect exponential back off retry. I were able to run on 1500 yarn containers instead of initial 350 with FD assertion failure.

close for now


Finish adding v4 examples to unit tests

@larioj the diff for InstallQueueSpec.scala is not very helpful. It looks like you just wrapped the existing test cases in a helper method, but could you add comments for anything else that changed?

@cruhland I added the description. Let me know if you have more questions.


Mirror fails to upload

solana-cluster mirror --s3-bucket <name> --s3-url https://<endpoint> --tracker http://<consul>:8458
2024-07-24T04:20:18.021Z	INFO	uploader	Worker starting
2024-07-24T04:20:49.782Z	INFO	uploader	Starting upload	{"snapshot": "snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst"}
2024-07-24T04:20:49.782Z	INFO	uploader.fetch	Downloading snapshot	{"snapshot": "snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst", "snapshot_url": "http://http://<node1>:13080/v1/snapshot/snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst"}
2024-07-24T04:20:49.851Z	INFO	uploader	Starting upload	{"snapshot": "incremental-snapshot-279326953-279334922-7ydR3cDmbZ7X2dN8VU5egSyZ49JZUbsw9AkSmZZCGidU.tar.zst"}
2024-07-24T04:20:49.851Z	INFO	uploader.fetch	Downloading snapshot	{"snapshot": "incremental-snapshot-279326953-279334922-7ydR3cDmbZ7X2dN8VU5egSyZ49JZUbsw9AkSmZZCGidU.tar.zst", "snapshot_url": "http://http://<node1>:13080/v1/snapshot/incremental-snapshot-279326953-279334922-7ydR3cDmbZ7X2dN8VU5egSyZ49JZUbsw9AkSmZZCGidU.tar.zst"}
2024-07-24T04:20:49.859Z	ERROR	uploader	Upload failed	{"snapshot": "snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst", "error": "Get \"http://http//<node1>:13080/v1/snapshot/snapshot-279326953-7gyCSaKNmStGcJsSJuHjnL2gn8iXr8EnTCGh84RbBYuB.tar.zst\": dial tcp: lookup http on <IP_ADDRESS>:53: no such host", "upload_duration": "77.064646ms"}

Removing the hardecoded protocol here seems to fix it
https://github.com/Blockdaemon/solana-cluster/blob/main/internal/mirror/mirror.go#L83

does
    target:  src.Target

work?

yes, but I hit another error as I was trying to use Cloudflare R2 and had an error that it doesn't support CRC32C


getting heapq to work ith @njit

working on porting some code I hit a complete stopper with trying to get heapq to work.  If anyone has examples to share getting it to work out of the box I would appreciate.  Otherwise I have a potential invasive workaround.
Starting with a minimal example:

from heapq import heappush, heappop
from numba import jit
@jit(nopython=True)
def test_it():
heap = [(1,0,1)]
item = (2,0,1)
heappush(heap, item)
ret = heappop(heap)
print(ret)
test_it()

I get the following error:
"Untyped global name 'heappush': cannot determine Numba type of <class 'builtin_function_or_method'>"
I was able to get heapq to work by going back to heapq's source, adding @jit(nopython=True) to every provided function/method, and then seeding the heap with the first element.  I had to seed the heap otherwise numba would complain that it could not figure out the typing.
Before I hack a custom version of heapq in our project can anyone suggest how to set up function and variable signatures so that it works out of the box?  Otherwise I will integrate the hack in my work and see if it is stable.
This workaround might also help with the lexsort request #3689

Thanks for sharing the link to your branch; great stuff.
I'd be happy to raise a PR with the outline of how I think this could
be wired up using the high level extension APIs like overload (I am
assuming it's not dissimilar to adding a new numpy function, for example)
and tickle it along.
There's definitely utility in the end result from my perspective, so the
cost / benefit is favourable from my side.
I am a bit short on time at the moment, so if I am holding things up /
you'd rather I didn't get in the way, no worries.  Otherwise, I will make a
start at the weekend.
Cheers
Rob

@ebo with thanks to @rjenc29 heapq module support made it into Numba 0.43. Closing!

cool.  Thanks for letting me know.  I will see what else I can get going, but I am distracted with many other things.


Suppress shelfmarks for archives and manuscripts

As part of #5147 we should suppress all shelfmarks on archives and manuscripts.
These are problematic, as they contain a duplicate of the reference number plus a box number, which is both confusing and something we don't to make publicly available.
We should do this before making item data available on works pages.

I'm assuming "on archives and manuscripts" here means Sierra material type code h ("archives and manuscripts").

Yes I think we can assume that. I believe it's technically the shelfmarks that are created during the Calm->Sierra harvest that have this format, but it's still a group we'll want to suppress across the board.

Yes I think we can assume that

Woohoo, cos that's how I implemented it. 😅


Failed to build on macOS

I'm on Darwin xxx.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:11 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6020 arm64 and macOS Sequioa 15.1
I'm starting sbcl with sbcl --dynamic-space-size 8192
I'm on the prebuilt branch
I installed raylib with brew install raylib
I have LLVM 18 installed with brew install llvm@18 and set the correct variables with

export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/llvm@18/lib -L/opt/homebrew/opt/libffi/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm@18/include -I/opt/homebrew/opt/libffi/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"

I run
(let ((arch "aarch64-apple-darwin")
      (path (merge-pathnames #P"lib/" (asdf:component-pathname (asdf:find-system '#:claw-raylib)))))
  (dolist (lib '("raylib" "rlgl" "raygui"))
    (uiop:run-program
     (list "gcc" "-O3" "-fPIC" "-shared" "-o"
           (namestring (merge-pathnames (format nil "lib~A-adapter.so" lib) path))
           (namestring (merge-pathnames (format nil "lib~A-adapter.~A.c" lib arch) path))))))

I get
debugger invoked on a UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread
#<THREAD tid=259 "main thread" RUNNING {7004FA0003}>:
  Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {700C02EDA3}>
 with command ("gcc" "-O3" "-fPIC" "-shared" "-o"
               "xxx/source_code/lispd/claw-raylib/lib/libraylib-adapter.so"
               "xxx/source_code/lispd/claw-raylib/lib/libraylib-adapter.aarch64-apple-darwin.c")
 exited with error code 1

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] IGNORE-ERROR-STATUS
  1: [ABORT   ] Exit debugger, returning to top level.

(UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND ("gcc" "-O3" "-fPIC" "-shared" "-o" "xxx/source_code/lispd/claw-raylib/lib/libraylib-adapter.so" "xxx/source_code/lispd/claw-raylib/lib/libraylib-adapter.aarch64-apple-darwin.c") :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {700C02EDA3}> :IGNORE-ERROR-STATUS NIL)
   error finding frame source: Bogus form-number: the source file has probably
                               changed too much to cope with.
   source: NIL

Any idea how to debug this further?

Could you run the compile command in your shell to provide more helpful errors?

I compiled it from the shell, here is what I got on Fedora
╰─>$ gcc -O3 -I~/Repositories/raylib/src/ -fPIC -shared -o "/home/joe/.local/share/quicklisp/local-projects/claw-raylib/lib/libraylib-adapter.so" "/home/joe/.local/share/quicklisp/local-projects/claw-raylib/lib/libraylib-adapter.x86_64-pc-linux-gnu.c"
/home/joe/.local/share/quicklisp/local-projects/claw-raylib/lib/libraylib-adapter.x86_64-pc-linux-gnu.c:12:10: fatal error: rcamera.h: No such file or directory
   12 | #include "rcamera.h"
      |          ^~~~~~~~~~~
compilation terminated.

I manually compiled it by cloning the raylib repo and adding this to the previous gcc command;
-I/home/joe/Repositories/raylib/src/
Not sure if it's the same error adrianbrink is getting, but I'm pretty sure I must have incompatible versions, which is surprising, I'm using the one from the dnf repo. I can try compiling and installing latest raylib.

I got this error when loading;
  Error opening shared object "/home/joe/.local/share/quicklisp/local-projects/claw-raylib/lib/libraylib-adapter.so":
  /home/joe/.local/share/quicklisp/local-projects/claw-raylib/lib/libraylib-adapter.so: undefined symbol: GetMouseRay.
   [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR]

This must be a version mismatch because I'm missing GetMouseRay

Please use the released 5.0 version of Raylib, which should work fine with the prebuilt branch.

Thanks for the response. I checked out tag 5.0, built and installed, and I'm still getting the rcamera error as well as the GetMouseRay error.

This might be of my own doing, I'm fixing...

This is the command I'm running from SBCL + Sly
      (path (merge-pathnames #P"lib/" (asdf:component-pathname (asdf:find-system '#:claw-raylib)))))
  (dolist (lib '("raylib" "rlgl"))
    (uiop:run-program
     (list "gcc" "-O3" "-I/home/joe/Repositories/raylib/src/" "-fPIC" "-shared" "-o"
           (namestring (merge-pathnames (format nil "lib~A-adapter.so" lib) path))
           (namestring (merge-pathnames (format nil "lib~A-adapter.~A.c" lib arch) path))))))```

I add the include directory since raylib isn't installing rcamera.h, and I also removed raygui since I haven't installed it either.

This is the command I'm running from SBCL + Sly
(let ((arch "x86_64-pc-linux-gnu")
      (path (merge-pathnames #P"lib/" (asdf:component-pathname (asdf:find-system '#:claw-raylib)))))
  (dolist (lib '("raylib" "rlgl"))
    (uiop:run-program
     (list "gcc" "-O3" "-I/home/joe/Repositories/raylib/src/" "-fPIC" "-shared" "-o"
           (namestring (merge-pathnames (format nil "lib~A-adapter.so" lib) path))
           (namestring (merge-pathnames (format nil "lib~A-adapter.~A.c" lib arch) path))))))

I add the include directory since raylib isn't installing rcamera.h, and I also removed raygui since I haven't installed it either.

Let's clarify this issue: the error occurs because the libraylib-adapter.so expects the GetMouseRay symbol, but the libraylib.so loaded by the Lisp session doesn't contain it. This causes an error when loading libraylib-adapter.so. You need to check if libraylib.so is version 5.0 or use nm -g libraylib.so to confirm the presence of this symbol.

I can confirm that the GetMouseRay symbol does get replaced by a macro in the latest unreleased version of Raylib. So if this symbol is missing, you're likely using a libraylib.so compiled from the Git version.

Thank you for the help.
I finally got around to trying again, first I fixed the rcamera issue by moving the header file there;
sudo cp rcamera.h /usr/local/include/
Then to fix the GetMouseRay, I searched through the github commits and found that this commit is the one that adds the macro. The commit tagged as 5.0 does not work.
Now, when I run the Lisp code in step 3 to build the adapters, everything seems to compile;
┬─[joe@flowjoe-f37:~/quick/local/claw-raylib]─[12:24:47 PM]
╰─>$ la lib/*.so
-rwxr-xr-x. 1 joe joe 107K Nov  9 12:25 lib/libraygui-adapter.so*
-rwxr-xr-x. 1 joe joe 172K Nov  9 12:25 lib/libraylib-adapter.so*
-rwxr-xr-x. 1 joe joe  17K Nov  9 12:25 lib/librlgl-adapter.so*

However, when I try to load claw-raylib with the command (ql:quickload :claw-raylib) in step 4, I get the following error;
There is no package named #:RAYGUI.
   [Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]

Not sure what I did wrong. Here are the contents of /usr/local/include
┬─[joe@flowjoe-f37:~/quick/local/claw-raylib]─[12:27:06 PM]
╰─>$ la /usr/local/include/r*.h
-rw-r--r--. 1 root root 274K Nov  9 12:13 /usr/local/include/raygui.h
-rw-r--r--. 1 root root 124K Nov  9 12:04 /usr/local/include/raylib.h
-rw-r--r--. 1 root root  69K Nov  9 12:04 /usr/local/include/raymath.h
-rw-r--r--. 1 root root  22K Nov  9 12:17 /usr/local/include/rcamera.h
-rw-r--r--. 1 root root 227K Nov  9 12:04 /usr/local/include/rlgl.h

Let me know if there is any other information I can provide that would help with further debugging. Thank you for your time.

Also, is it possible to make raygui optional? I don't really wish to use it.

I am currently on the prebuild branch
31b0d54 * prebuild origin/prebuild Prebuild for Raylib 5.0 and Raygui 4.0
b70c03a * origin/master Fix compilation for Windows
1c4a3c5 * Fix compilation on ECL

Any idea why I'm getting this error?
https://github.com/bohonghuang/claw-raylib/issues/7#issuecomment-2466060133

I am currently on the prebuild branch
31b0d54 * prebuild origin/prebuild Prebuild for Raylib 5.0 and Raygui 4.0
b70c03a * origin/master Fix compilation for Windows
1c4a3c5 * Fix compilation on ECL

Any idea why I'm getting this error?
https://github.com/bohonghuang/claw-raylib/issues/7#issuecomment-2466060133

For further debugging, please provide the filename being compiled at the REPL prompt, usually shown as Compiling "*.lisp".

I'm not sure what you mean, but I'll paste some output
CL-USER> (ql:quickload :claw-raylib)
To load "claw-raylib":
  Load 1 ASDF system:
    claw-raylib
; Loading "claw-raylib"
; Debugger entered on #<SB-KERNEL:SIMPLE-PACKAGE-ERROR "There is no package named ~S." {1003497C93}>

And here is the backtrace
There is no package named #:RAYGUI.
   [Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]

Restarts:
 0: [CONTINUE] Ignore.
 1: [TRY-RECOMPILING] Recompile library and try loading it again
 2: [RETRY] Retry loading FASL for #<CL-SOURCE-FILE "claw-raylib.library" "library">.
 3: [ACCEPT] Continue, treating loading FASL for #<CL-SOURCE-FILE "claw-raylib.library" "library"> as having been successful.
 4: [RETRY] Retry ASDF operation.
 5: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 --more--

Backtrace:
 0: (DELETE-PACKAGE #:RAYGUI)
 1: ((SB-C::TOP-LEVEL-FORM (FLET ((#1=#:FORM-FUN-3 NIL . #2=((PROGN . #3=(#4=#)))) (#5=#:FUN1 NIL (DECLARE . #3#) . #2#)) (DECLARE (DYNAMIC-EXTENT (FUNCTION #1#) (FUNCTION . #6=(#5#)))) (DECLARE (INLINE #..
 2: (SB-FASL::LOAD-FASL-GROUP #S(SB-FASL::FASL-INPUT :STREAM #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" {10..
 3: ((LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL))
 4: (SB-IMPL::CALL-WITH-LOADER-PACKAGE-NAMES #<FUNCTION (LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL) {100349233B}>)
 5: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" {10034862D3}> NIL NIL)
 6: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" {10034862D3}> T)
 7: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7F72FE8E472B}> #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp..
 8: (LOAD #P"/home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
 9: (UIOP/UTILITY:CALL-WITH-MUFFLED-CONDITIONS #<FUNCTION (LAMBDA NIL :IN UIOP/LISP-BUILD:LOAD*) {1003485E2B}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
10: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "claw-raylib.library" "library">)
11: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
12: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "claw-raylib.library" "library">)..
13: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "claw-raylib.library" "library">) [fast-method]
14: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10030546A3}>) [fast-method]
15: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
16: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10030546A3}>) [fast-method]
17: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "claw-raylib"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
18: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "claw-raylib"> :VERBOSE NIL)
19: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))

I'm not sure what you mean, but I'll paste some output
CL-USER> (ql:quickload :claw-raylib)
To load "claw-raylib":
  Load 1 ASDF system:
    claw-raylib
; Loading "claw-raylib"
; Debugger entered on #<SB-KERNEL:SIMPLE-PACKAGE-ERROR "There is no package named ~S." {1003497C93}>

And here is the backtrace
There is no package named #:RAYGUI.
   [Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]

Restarts:
 0: [CONTINUE] Ignore.
 1: [TRY-RECOMPILING] Recompile library and try loading it again
 2: [RETRY] Retry loading FASL for #<CL-SOURCE-FILE "claw-raylib.library" "library">.
 3: [ACCEPT] Continue, treating loading FASL for #<CL-SOURCE-FILE "claw-raylib.library" "library"> as having been successful.
 4: [RETRY] Retry ASDF operation.
 5: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 --more--

Backtrace:
 0: (DELETE-PACKAGE #:RAYGUI)
 1: ((SB-C::TOP-LEVEL-FORM (FLET ((#1=#:FORM-FUN-3 NIL . #2=((PROGN . #3=(#4=#)))) (#5=#:FUN1 NIL (DECLARE . #3#) . #2#)) (DECLARE (DYNAMIC-EXTENT (FUNCTION #1#) (FUNCTION . #6=(#5#)))) (DECLARE (INLINE #..
 2: (SB-FASL::LOAD-FASL-GROUP #S(SB-FASL::FASL-INPUT :STREAM #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" {10..
 3: ((LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL))
 4: (SB-IMPL::CALL-WITH-LOADER-PACKAGE-NAMES #<FUNCTION (LAMBDA NIL :IN SB-FASL::LOAD-AS-FASL) {100349233B}>)
 5: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" {10034862D3}> NIL NIL)
 6: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" {10034862D3}> T)
 7: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7F72FE8E472B}> #<SB-SYS:FD-STREAM for "file /home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp..
 8: (LOAD #P"/home/joe/.cache/common-lisp/sbcl-2.3.11-linux-x64/home/joe/quicklisp/local-projects/claw-raylib/library.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
 9: (UIOP/UTILITY:CALL-WITH-MUFFLED-CONDITIONS #<FUNCTION (LAMBDA NIL :IN UIOP/LISP-BUILD:LOAD*) {1003485E2B}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
10: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "claw-raylib.library" "library">)
11: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
12: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "claw-raylib.library" "library">)..
13: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "claw-raylib.library" "library">) [fast-method]
14: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10030546A3}>) [fast-method]
15: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
16: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {10030546A3}>) [fast-method]
17: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "claw-raylib"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
18: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "claw-raylib"> :VERBOSE NIL)
19: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))

Let me think, this issue is somewhat strange because library.lisp doesn't use the raygui package.

@JosephFerano You can invoke the CONTINUE restart as a workaround at present.

It seems to load now, however, it loads and the REPL hangs afterwards. I can't evaluate anything afterwards.  Not even (+ 1 1).   So I can't evaluate the basic window example or anything.

It seems to load now, however, it loads and the REPL hangs afterwards. I can't evaluate anything afterwards.  Not even (+ 1 1).   So I can't evaluate the basic window example or anything.

Did you run SBCL with the --dynamic-space-size 4096 argument?

Theoretically, now that the error occurs only when executing delete-package, which means all the shared libraries can be loaded successfully, I believe there aren’t many remaining issues aside from this strange one. I currently cannot figure out why this situation could happen, but I suggest you clear the cache in ~/.cache/common-lisp/sbcl-... or try a different implementation such as Clozure CL.

Ok, so I added this to my emacs config;
(setq sly-lisp-implementations '((sbcl ("/usr/local/bin/sbcl" "--dynamic-space-size" "4096"))))

The window loads! Great! Raylib hangs the REPL though, is there a way for me to let raylib continue running and still have access to the REPL so I can start making live changes to my game?
I'm still getting the There is no package named #:RAYGUI. error though.
Thanks again for your help! I'm almost there.

Ok, so I added this to my emacs config;
(setq sly-lisp-implementations '((sbcl ("/usr/local/bin/sbcl" "--dynamic-space-size" "4096"))))

The window loads! Great! Raylib hangs the REPL though, is there a way for me to let raylib continue running and still have access to the REPL so I can start making live changes to my game?
I'm still getting the There is no package named #:RAYGUI. error though.
Thanks again for your help! I'm almost there.

Run with C-x C-e instead of in REPL. This will spawn a new thread to run the game loop.

I'm still getting the There is no package named #:RAYGUI. error though.

I've never come across this issue. However, it's  strongly recommended to clean the compilation cache and reload the system, or try another implementations to confirm whether the same error can be reproduced.

Ok, so I added this to my emacs config;
(setq sly-lisp-implementations '((sbcl ("/usr/local/bin/sbcl" "--dynamic-space-size" "4096"))))

The window loads! Great! Raylib hangs the REPL though, is there a way for me to let raylib continue running and still have access to the REPL so I can start making live changes to my game?
I'm still getting the There is no package named #:RAYGUI. error though.
Thanks again for your help! I'm almost there.

See: https://github.com/bohonghuang/claw-raylib/issues/10


Make test_utilities library non gtest dependant

Summary
test_utilities library depends on gtest/gmock and that makes downstream packages create a dependency on gtest/gmock.
Related: https://github.com/maliput/maliput/issues/585
Proposal

[ ] #593
[ ] Point all the tests in maliput to new decoupled compare machinery.
[ ] Adapt downstream packages to new compare machinery (gtest agnostic)
[ ] Remove all duplicated code in test_utilities
[ ] Remove gtest dependency in test_utilities

Changing the title of the issue as most probably won't be necessary to migrate any code to another separate package.


Fix: assorted fixes to the Gateway OSS OpenAPI specs

Description

Drop Kong Enterprise specific information from get endpoints example response
Use example.com as a safe URL for examples

Testing instructions
Preview link:
Checklist

[x] Review label added
[x] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

LGTM