Moves the zipkin UI under the path /zipkin

This moves the zipkin UI under the path /zipkin, adding a redirect for
/ as well. As UI assets look for the api to be relative to it, requests
to /zipkin/api are forwarded to /api, too.
Fixes #1229 #1452

Great!

those who want to experiment can use snapshot from http://oss.jfrog.org/artifactory/oss-snapshot-local

@adriancole zipkin-ui/js/config.js tries to load from the old URL

thx for the fix!

Thanks for raising. will take a look.
Is it possible for you to update your ELB to forward the path / to /zipkin?
http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules

failing test https://github.com/openzipkin/zipkin/pull/1723
On Sat, Sep 2, 2017 at 9:14 AM, Adrian Cole<EMAIL_ADDRESS>wrote:

Thanks for raising. will take a look.
Is it possible for you to update your ELB to forward the path / to /zipkin?
http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules

@naoman next release will be default, but anyway you can set --server.use-forward-headers=true in the mean time, if you can't change the ELB config

@adriancole thanks for making the change. Also, --server.use-forward-headers=true fixed the problem.
Adding a bit more information about our issue, in case someone else runs into same. We had two layers of proxy, one for SSL termination (NGINX) and one for load balancing (ELB). Both layers were doing port mapping, and adding X-Forwarded headers. On top of using --server.use-forward-headers=true, we had to update the ELB to stop updating X-Forwarded headers (by converting it to TCP from HTTP).

Thx for the feedback. Nice details!
On 7 Sep 2017 19:56, "Naoman Abbas"<EMAIL_ADDRESS>wrote:

@adriancole https://github.com/adriancole thanks for making the change.
Also, --server.use-forward-headers=true fixed the problem.
Adding a bit more information about our issue, in case someone else runs
into same. We had two layers of proxy, one for SSL termination (NGINX) and
one for load balancing (ELB). Both layers were doing port mapping, and
adding X-Forwarded headers. On top of using --server.use-forward-headers=
true, we had to update the ELB to stop updating X-Forwarded headers (by
converting it to TCP from HTTP
https://forums.aws.amazon.com/thread.jspa?threadID=85725).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/zipkin/pull/1627#issuecomment-327874691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD61ypoGW9DPLj197ZR1KX2_EI-1hRbks5sgC0YgaJpZM4ODhB6
.


Add screenshots

It would be nice to see what the output looks like.

I'll see what I can do :)

yes pls, it would be appreciated

even better a demo page of a result

Latest example reports availible at https://gitlab.com/inorton/junit2html/-/jobs/artifacts/master/browse?job=python36


Pin version, dep versions, channel and default channel

@didierofrivia I am not per se surprised by these changes, but I also think they make no sense...
What this PR does, in order to get test to be 🟢 is to explicitly set all the variable that are then asked to be overwritten in the action... 🤔
So I guess I don't get it. What is not desirable in the release workflow? The testing of the bundle? The explicit setting of the proper operand versions in our build action? None of the above? All of it?
I guess that was already my point in a previous chat: we keep on repeating ourselves... Whether in the make bundle ... step locally or, as in this PR, changes to the Makefile to "hardcode" these versions; and then again when triggering the job.
Right now, I think I like this approach better: hardcode the values in that changeset, and then... not set them at the build step? Or "just" the operator version/tag ones? Or...?
Anyways, I hope we get to discuss this today and make a call, one that possibly impacts open RFC PRs and/or changes in all our repos wrt this release process. I think we can make it better, tho I also know I don't necessarily understand all requirement downstream when pushing to OperatorHub neither... anyways. I've been trying to wrap my head around this since this PR was open, and... I guess I'm just very perplex about this all.


how ready is mezzano as a stand alone operating system...?

since i'm getting a new computer (bolt via kickstarter)... willing to build mezzano on a dell 485...? system...
long time ago, worked on intergraph workstation (native lisp) hooked into a cray 1...
wrote code specifications (not code), but picked up enuff to be dangerous...
now learning lisp for real...
if mezzano is ready, will jump right in... (20+ years on freebsd, so not a total noob...)
william...

since i'm getting a new computer (bolt via kickstarter)...   willing to build mezzano on a dell 485...? system...
long time ago, worked on intergraph workstation (native lisp) hooked into a cray 1...
wrote code specifications (not code), but picked up enuff to be dangerous...
now learning lisp for real...
if mezzano is ready, will jump right in... (20+ years on freebsd, so not a total noob...)
william...

Mezzano support amd64 and armv8 ( 64bit only )
USB support is WIP
What is your definition of ready?

will boot, and run packages already working under vm...
this will be a dedicated machine to really learn lisp, inside and out...
don't expect polished system (ibm research 8 years)...
dell 495 with AMD Phenom 9650 quad core 2.3ghz, and 8gb ram...
500gb and 4tb drives...  dvd and blueray...
william...

You can use Quicklisp to load packages.
Here link : https://github.com/froggey/quicklisp-client/tree/mezzano-port

this is my 3rd swipe at lisp...
1981 point loma naval research center, intergraph workstations (lisp hardware machines) hooked to a cray-1...
1992, ibm research on 3090 summent ssi complex aix/lisp/chemical computing clusters...
now...    going after whole enchilada...   want to know it all...
william...

is "virtio-net NIC" real hardware...?
or part of the vm hal layer...?
(over a decade since i've run vmware...)
william...

ok, just gotta ask...
notes under demo 4...
Running on real hardware:
The hybrid image can be burned to a CD or dd'd onto a USB drive, and booted directly.
It requires a 64-bit x86 machine, 2GB of RAM, and a PS/2 keyboard and mouse.
does this include AMD Phenom 9650 quad-core cpu, or Intel ONLY...?
also, don't think i even have a ps/2 keyboard or mouse anymore...
i'll purchase if REQUIRED...  an old laptop is the only intel box i have...
william...


⚠ Jerry Savelle Ministries International Australia has degraded performance

In a102be2, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 6268 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in 544058c after 29 minutes.


Implement Empty State Message for Shops Fragment

Introduce a message in the Shops fragment that says 'You currently have no shops' when no shops are added by the user. This will guide users to add new shops and improve the overall user experience.

Resolved


Selection of S3 for backups doesn't save, but settings do

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
Switch Backup Portainer in #!/settings to Store in S3, see the settings that I set, click Save backup settings, get the Success message for S3 set successfully, hit refresh on the browser and it's back on Download backup file.
Expected Behavior
To have a functioning config for backups on an enterprise piece of software. Whole point of Portainer is taking away the headache, but the GUI also doesn't work well in areas like https://github.com/portainer/portainer/issues/6692#issuecomment-2052346796, it just leaves me feeling like "what is the point?" as it doesn't add anything to the workflow, just adds points of failure and leaves me dealing with no response. Spent a disproportionate amount of time trying to get Portainer working well, but seems to have endless bugs versus other server admin panels.
Actual Behavior
See above.
Steps to Reproduce
See above.
Portainer logs or screenshots
No response
Portainer version
2.20.1
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Any
OS and Architecture
Any
Browser
Any
What command did you use to deploy Portainer?
No response
Additional Information
No response

I've just tested this and am unable to reproduce what you're seeing on 2.20.1. I select Store in S3, enter the details, click Save backup settings, then refresh the page, and Store in S3 remains selected. Because we're unable to reproduce, we'd need some more detail on your setup before we could troubleshoot any further.


it provides access

package com.companyname.bank;
/**

Hello world!

*/
public class App {
public static void main( String[] args ){
System.out.println( "Hello World!" );
}
}

it may help to access issue thats created by you

i have created a branch but not able to push as login authentication failed, what should i do to push my code


Connected Papers

[ICDE Workshop 21] An Investigation of Atomic Synchronization for Sort-Based Group-By Aggregation on GPUs

https://ieeexplore.ieee.org/document/9438804
Sort-Based Group-By Aggregation, not Hash-Based
Uses OpenCL, not CUDA => So different terminology
Experiments in II.B & Figure 3 are good examples. Even mockup SQL queries have only 1 or 2 or 3 groups to show a worst case in Introduction Section.
Found similar overhead when using atomics in shared memory.

PTX is not mentioned, because they use OpenCL instead of CUDA.
Difference between int and double float is not mentioned. Because their experiments use only int and no TPC-H.
Their goal is a reduction of the number of atomic function calls. But shared memory bank conflict and warp are not mentioned.
They are "superficial" because only found indirect factors such as the number of atomic function calls, lock congestion to get a shared memory location
I think shared memory bank conflict insides warp and PTX instructions differences between int and double are the direct factors. (e.g. atomicAdd(int, ...) generates one PTX instruction without lock or CAS.)

CUDA <-> OpenCL terminology cheatsheet: https://github.com/xmartlabs/gpgpu-comparison

Morsel is not so important right now./


Initial Setup Issues

Hi, I have been testing this with Nextcloud but have been unsuccessful.
My gotify instance is in docker with a bridge network and is exposed on port 8080.

See below for settings that I tried in Nextcloud.

Am I doing something wrong?
Does gotify need to be on a dedicated IP so I can use that in the server field for Nextcloud?

Just tried it with a dedicated static IP and came up with a different error.

Try Authentication Method: Plain
That's how I have my Nextcloud configured

Try Authentication Method: Plain
That's how I have my Nextcloud configured

Thanks, I'll give that a try.
What about the other options? Are you using an FQDMor IP address? No password?

Try Authentication Method: Plain
That's how I have my Nextcloud configured

Yeah that did it, it must have been the only combination I didn't try haha.
So for anyone else:
Send mode: SMTP
Encryption: None
From address: doesn't matter
Authentication method: Plain
Server address : Dedicated static IP
Port: 1025
Credentials:
SMTP Username: <gotifyuser>
SMTP Password: leave blank

Actually a better way to do this without the static IP is to expose port 1025 in the docker compose.
Here is my docker-compose.yml for example.
version: "3"

services:
  gotify:
    image: gotify/server
    container_name: gotify
    restart: unless-stopped
    environment:
      - GOTIFY_DEFAULTUSER_PASS=password
      - TZ=Pacific/Auckland
    volumes:
      - /var/lib/docker/volumes/gotify_data:/app/data
    ports:
      - 8080:80 # for webui
      - 1025:1025 # for smtp plugin


Tokens larger that 1 hex have odd black render issue

Possibly an about face issue.  Larger token sizes are commonly used for vehicles.

Could also be an issue in bar3 (the 3rd bar).  Consider removing bar3 and use BarBrawl module instead.

Issue is with the bar3 code.  Using  Bar Brawl fixes/avoids the problem.  Also recommend scaling the token instead of changing the dimensions (grid spaces).


fix: Safari 12 rendering issue

A CSS animation used to detect element rendering (by triggering an animation event) was triggering a weird rendering bug in Safari 12 where elements would sometimes be shown in wildly incorrect positions. This is now fixed.
Fixes #110

This change is

 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.

CI seems to be failing because "no spacing on edges" tests are failing on Edge 18. I verified locally that they do not fail on Edge 17 but do fail on Edge 18. I will create a new issue about this. Not related to this change, so will merge this one.


Question: Overriding "Demangler" types from a .gdt file archive?

1.) I have a large gdt file archive
2.) DemangerAnalyzer creates various empty datatypes in the Demangler folder
3.) All generated functions use these empty datatypes
Is there an obvious way to switch them to instead use my gdt when available? I have experimented with various orders of autoanalysis/demangler/loading the file archive/apply function datatypes/etc. but to no avail.

I see, thank you!
Opening the file archive and drag-dropping the folders into the current program before running the Demangler analyzer 'worked', although searches now run much slower. I'll look into writing the post-processing script (eventually).


Workaround for proofing certain reserved characters and escaping them properly?

We have found that proofing a few numerals is a little bit of a challenge. When we check how numbers behave with special characters like % we can simply escape it like \% but for $ the best I have come up with is {\\$} inside another \proof{ larger text with numbers }. There must be a better way, what am I missing? thoughts?

The $ character is not special in SILE, it sounds like you may be passing it through a shell somewhere. Can you include a whole MWE here that I can replicate the problem? It probably doesn't matter what font, just the workflow you're using to pass proofing content and call fontproof on it...


GitHub actions fixups

Codecov Report

Merging #9 (195a6dd) into main (2daff3e) will increase coverage by 53.55%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main       #9       +/-   ##
===========================================
+ Coverage   44.11%   97.66%   +53.55%
===========================================
  Files           7        5        -2
  Lines        4824      515     -4309
===========================================
- Hits         2128      503     -1625
+ Misses       2696       12     -2684

Impacted Files
Coverage Δ

cerberus-cpp/test/testcerberus.cc

...rus-cpp/ext/Catch2/single_include/catch2/catch.hpp

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 2daff3e...195a6dd. Read the comment docs.


add method label_left/right/up/down for trait WidgetExt

for easily creating labeled widgets

Ok! I will close this PR.


Fix imports in create_lm.py

This will fix #130, using the code in the issues thread.

Thanks for your contribution to Melissa @TheMadCoder1 :)


Update airy to latest

Update download URL to use latest version.
Update appcast URL.
If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

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

Thank you, but we prefer versioned URLs. Also, the old appcast seems to be working fine.


Referencing AutoLoad scripts fails at random

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 10 x64, Godot 3 Beta 1
Issue description:

Rarely, maybe 1 out of 20 attempted game launches from the editor, the launch will be interrupted by a popup message claiming that the name of an AutoLoad script is not a valid identifier.
This stops the game from running.
Here is the associated error message in the console:
ERROR: GDScriptLanguage::debug_get_stack_level_instance: Condition ' _debug_parse_err_line >= 0 ' is true. returned: 0
   At: modules\gdscript\gdscript_editor.cpp:286

Sadly I'm not sure how related this error is, it might just be another symptom of the issue (since Godot can't find the identifier) rather than anything close to the source of the issue. This is just the only new thing that appears in the console every time this happens.
The issue can be temporarily fixed by literally just closing the popup and re-launching the game without even changing anything in the editor, and Godot will no longer complain about the missing identifier for the next while.
This has happened with different AutoLoad scripts for me, so I don't think the issue lies in my script (especially since those aren't changed between Godot accepting them as identifiers and not).

(Note the error message as well as the highlighted message in the script editor.)
Steps to reproduce:
Create an AutoLoad script and reference it in code somewhere else using its name. Hit play until you encounter the error.
For example, an AutoLoad test.gd with name boo set in the Project Settings referenced by using boo.method().

Probably related with #13444 . The same happend with custom actions. It´s like one time of twenty game don´t want read editor config.

You mention that you only encounter the issue when using F6 to start the project, which might be related to this one since I pretty much exclusively use F6, my project does not even have a main scene defined.
Meaning this could be an issue for F6 launching, yeah.

Tested on af27414b1c10173584539186e396668a899e06b2 in Ubuntu 17.04 in release_debug build
I modified Platformer 3D demo to use autoload and I was unable to reproduce this behavior after 40 quick re-runs.
I would be great if you could you upload some minimal reproduction project to test. The bug might  be platform specific, or dependent somehow on project settings or maybe any other other factors.

You can test project in #13444 with F6, random fail behavior is similar but with custom actions.

@kubecz3k
Autoload Failure.zip
Open this project, open test.tscn and hammer F6 until it breaks.
Important note that I figured out after some testing: This does not happen when using F5. Instead, I believe this is related to the bug where the editor will launch the project manager instead of your game, because that occurs with about the same frequency as my autoload issue.
I'm on the official beta 1 and this autoload issue has existed since at least alpha 2, just like how the project manager has been launching instead of your game for at least that long.
That being said, I would emphasize what @Ranoller has been saying; this all seems to occur from Godot refusing to read the project settings on game launch.
At least, I feel like Godot being unable to read the autoload paths would lead to my issue, it being unable to read custom actions leading to @Ranoller's issue, and it being unable to read the default scene path leading to the well-known project-manager-instead-of-game bug.
Might this be related to #13839? Is Godot locking itself out of reading project.godot?

The error probably is OS specific since i downloaded beta1 on my ubuntu 17.04, I used scene from the comment above and this time I was trying with F6 key. Still no luck in reproducing...

Most read/save issues seem to be windows specific, just like the one with project manager popping up was.

Can you test again with the latest master? This likely have been fixed by #13989.

I did test this too (with Godot 3 64 bit win compiled at 06/12/2017 at 20:00h) and I´m unable to reproduce the issue (in svevral consecutive executions). This problem was definitely fixed.


Added Posterize

The posterize filter reduces the number of colors. Lower values for the "step" parameter results in fewer colors.
Examples:

Lovely!


Add state to Backend

Backend is currently a trait with only static methods. In this situation, any state is global (currently handled globally by ncurses).
With termion being comparatively stateless, it'd make sense to move this part of the state into a proper structure, with the Backend trait taking &self/&mut self appropriately.
Some notes:

This mean Printer would need a reference to the current Backend object.
However, the backend types are currently not publicly exported.
This means Printer can't expose any method using these traits, including a constructor. So how should Cursive build one?...

One possible solution would be the pub(restricted) feature.
Alternatively, we could move the Printer struct into the root module, to bypass this visibility issue.

To deal with nested with_color blocks, we want to be able to "push" and "pop" the current style.

This requires a way to get the current style.

This means the current state should be modified by the with_color block.
However, views currently have access to a &Printer, which means no mutable access to the backend.

This points to internal mutability in the Backend, unless we start using a &mut Printer?...
(This would make sense ; views were only given an immutable &Printer because ncurses didn't require otherwise.)

Had the same problem while toying a rustbox backend.

I think the easiest short-term solution is a static variable (probably using lazy_static) with a (Mutex'ed) global state.
I'll probably end up making Printer's method take a &mut Self, but it doesn't solve the visibility issue. I'd rather not make the Backend trait public, and since pub(restricted) won't be stable for a little while, I guess moving Printer to src/lib.rs is the only option. I'll probably include! the entire printer.rs file to avoid having a cluttered lib.rs, and at least it won't change the public API, so I suppose it could be worse.

Actually, it's probably best not to have a &mut B in the printer: the mutability we need in the backend is mostly outside of printing (colors initialization, ...). Plus, it's illegal to have two &mut B pointing to the same backend (which would happen whenever we create a sub-printer).
Next step is have printing functions in the backend take a &self (they are currently static methods).

Most Backend methods now take a &self. Backend::clear() is still static because it needs to be called on some re-layout. It's a bit of a dirty hack, so I'll see if it can do it properly through a Printer or something.
Anyway, Backend is now ready to have a proper inner state!


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 14:00:31 on 2023.08.02
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 34548
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=34548

Problem has been resolved in 8m 58s at 14:09:29 on 2023.08.02
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 34548


fix(Table): fix issue with agressive wrap of words

This commit replaces the use of word-break: break-word for table columns
to overflow-wrap: break-word instead.
According to MDN, the difference between the two is:
Note: In contrast to word-break, overflow-wrap will only create a break if an entire word cannot be placed on its own line without overflowing.
We obviously do not want to break the words by default — they should
only break when absolutely necessary.
Fixes #2325

PatternFly-Next preview: https://patternfly-next-pr-2332.surge.sh

Hey @KKoukiou, thank for working on this. We flagged this issue as a breaking change and will be releasing the fix during breaking change period. The PR is here: https://github.com/patternfly/patternfly-next/pull/2266/files, so I think you can close this.


Some jobs do not trigger the notification

Two (probably the first I've configured) jobs keep pushing notifications, but others seem to just not trigger the plugin at all. Here is how I now configured the "FFFFFFFF" job, that successfully pushes notification, and the "slack_test" job in configured in the same way.

Both of them have exit 1 in shell script to be executed, but only the "FFFFFFFF" job pushed notification.
мар 17, 2015 6:13:40 PM INFO hudson.model.Run execute
FFFFFFFF_Selenium_Tests #45 main build action completed: FAILURE
мар 17, 2015 6:13:40 PM INFO jenkins.plugins.slack.StandardSlackService publish
Posting: to #jenkins-ci on ******** using https://********.slack.com/services/hooks/jenkins-ci?token=********: FFFFFFFF_Selenium_Tests - #45 Failure after 0,12 секунд (<https://********/job/FFFFFFFF_Selenium_Tests/45/|Open>) danger
мар 17, 2015 6:13:40 PM INFO jenkins.plugins.slack.StandardSlackService publish
Posting succeeded

мар 17, 2015 6:23:56 PM INFO hudson.model.Run execute
slack_test #3 main build action completed: FAILURE

Do you have the post-build step for publishing the slack notification?  This is not part of the settings of the plugin.  Instead it is an explicit step you must add at the end of the job in the post-build section.

@samrocketman you are right! This was the issue.

Open a new issue for your desire to collapse some of the messaging, please.  You've got some good points here that I don't want lost.

@samrocketman I know your comment is 3 years old, but you just cured a headache for me.

@tokunbo You're welcome.  In general, I feel like the slack plugin is long overdue for a complete rewrite.  Unfortunately, I'm not sure I have the right skillset for the rewrite and I even stopped maintaining the plugin because of being spread thin across OSS projects.


Pass width and height to custom nodes

Please describe the feature that you want to propose
Currently you need to access the store if you want to get the dimensions of a node in a custom node like:
const size = useStore(s => {
  const node = s.nodeInternals.get(id);
  return {
    width: node.width,
    height: node.height
  };
});

This could be simplified if we would pass the dimensions from the parent down to the custom node.

We leave it as it is for now but added a note to the docs: https://reactflow.dev/docs/api/nodes/custom-nodes/#dimensions-and-other-values-from-a-node


Running offline

When run locally, webretro just hangs on the "Loading" screen. Do you (@BinBashBanana) know what might be wrong?

Are you opening the file? Does the URL show file at the top? Could you copy and paste the link?

@FieryMewtwo You can't use file:// urls, you will have to use something like python's built-in http server: python3 -m http.server

Okay. Thanks!

yeah, I see my issue now... thanks for the info though and the help!


IOT button uses too much power (CON-1486)

I'm trying to design a low-power, sleepy thread device for homekit, based on the icd_app example of esp-matter.I'm currently working with a devboard esp32c6 devkitM-1.
I noticed that if I initialize the button (which is quite useful to unpair from the thread network, reboot, etc), the minimum consumption I measure is around 3-4 mA, whereas if I don't, the consumption goes back down to the microA level.
I don't think this is intended. Maybe this is a specific problem of the development board, but I'm inclined to think that the code related to the iot button is not as efficient as it should.
Apart from the esp32c6 devkitM-1 board I'm using esp-idf 5.4 and I'm installing esp-matter directly from vscode.
The code I use to initialize the button is the following:
app_driver_handle_t AppDriverButtonInit()
{
    /* Initialize button */

    button_config_t config = button_driver_get_config();
    button_handle_t handle = iot_button_create(&config);

    iot_button_register_cb(handle, BUTTON_PRESS_DOWN,        AppDriverButtonToggleCb,           NULL);
    iot_button_register_cb(handle, BUTTON_LONG_PRESS_HOLD,   AppDriverButtonLongPressCb,        NULL);
    iot_button_register_cb(handle, BUTTON_PRESS_UP,          AppDriverButtonLongPressReleaseCb, NULL);
    iot_button_register_cb(handle, BUTTON_DOUBLE_CLICK,      AppDriverButtonDoubleClickCb,      NULL);
    iot_button_register_cb(handle, BUTTON_PRESS_REPEAT,      AppDriverButtonRepeatCb,           NULL);
    iot_button_register_cb(handle, BUTTON_PRESS_REPEAT_DONE, AppDriverButtonRepeatDoneCb,       NULL);

    return (app_driver_handle_t)handle;
}

but the consumption is the same even if I just call iot_button_create without registering any callbacks. The only workaround I found is to ignore the button functionality.

It seems that the iot_button component prevents the device from entering sleep mode, resulting in a current of approximately 3-4 mA. We will add a button for the ICD example in a later update so that you can use that button for your application.
Before that you can refer to the button class in the upstream repo https://github.com/project-chip/connectedhomeip/blob/master/examples/lit-icd-app/esp32/main/include/IcdUatButton.h and use it for your device.

That makes a lot of sense, thank you so much.
I think I should keep the issue opened until the button is added to the ICD example in the esp-matter repo.
I'll keep an eye on it.

Hi, could you enable CONFIG_GPIO_BUTTON_SUPPORT_POWER_SAVE in menuconfig and add config.gpio_button_config.enable_power_save = true; before the code you created the iot_button? In my test the device can enter sleep mode with that configuration. Note that only RTC GPIOs can be used for wake up the device, For ESP32-H2, they are GPIO9-GPIO14, and for ESP32-C6, they are GPIO0-GPIO7.
I will still add the code initializing the iot_button to the icd example.

Thanks, @wqx6. I didn't find the option CONFIG_GPIO_BUTTON_SUPPORT_POWER_SAVE anywhere in menuconfig. Is it in a new commit? Is it a hidden option I have to manually add in the sdkconfig file?

Hi, @wqx6.
Not only couldn't I find the menuconfig option, but I didn't find the config.gpio_button_config.enable_power_save field anywhere either.
In the file esp-matter/device_hal/button_driver/button/include//button_gpio.h there is not such a field, no matter which branch of esp-matter you check.
Maybe you forgot to commit the changes?

The iot_button component is this repository and you can find the config option at the Kconfig file. If you don't find the menuconfig option, could you check the button component version? You can use the version v3.4.1 which I have verified being able to work with light sleep mode.

Thanks for all your efforts, @wqx6. I had to modify the button implementation of esp-matter in device_hal to be based on iot_button 3.4.1 (the implementation in device_hal requires iot_button = 2.5.0), and I managed to make it compile. Unfortunately the devkit boards for esp32c6 use GPIOs 8 and 9 for the BOOT button, so it seems there is no way to do powersaving there, and I get a non-catastrophic error during initialization. It looks like the esp32h2 devkit can benefit from this feature, but not the esp32c6 devkits.
I guess there isn't much I can do, unless I make my own board.

@AlexVaq
I have encountered a similar problem, and the details are:
I pulled the commit: a07c3129aa5f9889eb173ed52e4d5a6a904f14bc
No code changes were made, compile esp-matter/examples/icd_app, and download it to esp32-h2-devkitm-1-v1.2.
The current obtained from the test is around 5mA and has not reached uA.
Can you provide some assistance? Thank
This is the wiring diagram:

Because the button component esp-matter uses is still version 2.5.0, and the power saving feature was implemented in a later version (latest version of iot_button is 3.4.1). You can't add the iot_button 3.4.1 as a component, because esp-matter request specifically the 2.5.0 version and there will be a conflict, so you must replace the requirement in device_hal/button_driver/iot_button/idf_component.yml from 2.5.0 to 3.4.1, run cmake again, and then go to menuconfig and enable the CONFIG_GPIO_BUTTON_SUPPORT_POWER_SAVE option. When initializing the button you must make sure to set
config.gpio_button_config.enable_power_save = true;
Then it should work, although because my board is not supported, I couldn't check it.


CiscoISEEvent parser can't interpret multiline syslogs

Describe the bug
When ISE has logs which are longer than the "Maximum Length" configured in the External Syslog Server, they are sent as multiple syslogs which can be correlated via an ID at the start of each message
To Reproduce
Steps to reproduce the behaviour:

Configure Cisco ISE to send syslogs to a server which is configured with AMA to send logs into sentinel.
Receive logs which are longer than the "Maximum Length" configured in ISE.
Use the CiscoISEEvent parser (part of the "Cisco ISE" solution on the content hub).
This will parse some logs correctly (the first syslog of each ISE log), but the subsequent syslogs for that ISE log will not be parsed correctly because they start halfway through the log.

Expected behaviour
The CiscoISEEvent parser should parse the logs into their respective fields.
Screenshots
Here are the raw syslogs as they are ingested into sentinel, you can see there are multiple syslogs for each "ISE log" (I've outlined each "ISE log" for clarity).

Each syslog starts with the following syntax "[ISE message ID] [number of syslogs for this ISE message] [sequence number]":

Because the ISE logs are split over multiple syslogs, it causes the default CiscoISEEvent parser to fail:

I've added the following 4 lines of KQL between line 4 and 5 in the default parser, this seems to have resolved the issue:
| parse SyslogMessage with MessageID " " NumberOfSyslogs " " SequenceNo " " RestOfMessage
| order by MessageID, NumberOfSyslogs, SequenceNo asc
| summarize count(), SyslogArray = make_set(RestOfMessage), TimeGenerated = arg_max(TimeGenerated, *) by MessageID
| extend SyslogMessage = strcat_array(SyslogArray, "")

See the full parser with my updates here:
Cisco ISE parser - with multiline parsing.txt
Desktop (please complete the following information):

OS: Windows 11
Browser: Edge for business
Version: Version 131.0.2903.99 (Official build) (64-bit)

Additional context
Add any other context about the problem here.

Hi @DHCW-Operational-Security, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!

@DHCW-Operational-Security, Correct. the RAW syslogmessage format are splits when it's extended the certain length.
So, want to understand with your shared scenario, did your shared parser is successfully working for you? And parsing this raw syslog without any fail?
Additionally, you can save that updated parser in parser function with same name for use.
Thanks!

The previous "fixed" version couldn't handle non-multiline syslogs, or logs where we've lost one of the packets. Please see the attached v2, it parses single line ISE logs, and drops any logs where we've missed one of the packets for that ISE message (couldn't think of a better way of handling it).
Cisco ISE parser - with multiline parsing v2.txt

@DHCW-Operational-Security ,  thank you for presenting this unique scenario and sharing its alternate solutions too. This will undoubtedly help us better understand the syslog raw data patterns, enabling us to enhance the existing parser. We truly appreciate your assistance and coordination on this matter.
As your issue has been fixed, closing this issue from GitHub. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Force exit when done

Pins the version of http-basic because<EMAIL_ADDRESS>contains console.* statements that break sync-request
Hard exit after printing the data to prevent the process from hanging around

Depending on the node version this can cause a speed difference from half a second up to 16s.

Turns out the process.exit should be delayed until the write is flushed. Will amend tomorrow.

That should be excellent.  I will see if I can fix that delaying and then merge this.  I've removed the console.log calls from http-basic as those were added by accident.  We should therefore be able to leave this module not pinned to any specific version of http-basic.

Looks good :) thanks

Would you like to be added as a collaborator on this project, to help review and merge pull requests?


Fix whitelisted ubuntu precise package name

It seems that the automatic process has created pull request with a wrong package name for whitelisting. There is no libprocps4-dev in the ubuntu precise repository.
Statement based on:
http://packages.ubuntu.com/search?suite=precise&section=all&arch=any&keywords=libproc&searchon=names
NOTE:
I've read the info about not accepting pull requests for this repo. Anyway, I took the liberty to create this one, because the procps package is already whitelisted, and the dev counterpart (the fixed one) contains only include files, so it should bring no harm, I hope.

its there now. https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise#L8068


test signatures

I'm new to this repo, and failed to find the tests signatures, results.  I  think these were provided at some point ..  What do I check/compare with my run results?

Test signatures are now  generated dynamically by the  riscof test framework, based on the specific configuration of your hart, which is described by a riscv-config YAML formatted file. This enables a single set of test to be run regardless of the architectural options supported by your hart (for the basic RV32I/RV64I ISA, that's mostly just HW misalign support)
The short form is that riscof selects, configures, and runs tests based on the config file on both the Sail formal model, and on your hart, and compares the results.
Riscv-config is described by the documentation here: https://github.com/riscv-software-src/riscv-config
Riscof            is described by the documentation here:https://github.com/riscv-software-src/riscof

Hi @allenjbaum
Is there a step-by-step guide tutorial showing all stages required

packages to install
repositories to clone
execution flow

In order to get to the point where a set of programs and signatures are available to run on the RTL
Also, is there any document detailing which devices have so far successfully run through the process, and are allowed to use the logo indicating compliance with the tests

Hi @eroom1966, Riscof documentation (available here) is comprehensive, and contains a quick start guide which will give you a step by step instruction to set up the tools, configure a project, set up DUT and ref (Sail), run basic tests, and explain the execution flow.
For most of the packages, root/privilege access will not be needed. If you follow the quick start procedure, you will be able to run tests easily without having any trouble of privilege access.

Here is a simple port of the RISCOF framework I made for a custom RISC-V core: https://github.com/stnolting/neorv32-riscof
Maybe this can be helpful for you to get started 😉

Those are interesting questions, especially the last.
The documentation for packages needing installation, repos that need to be
cloned, etc. can be found in the links I shared above, and some of the
replies above/below.
The procedures for self-certification are listed in this policy document
here:
https://docs.google.com/document/d/1bXzONWVxXCp0wUigVDE2bQDU13uQRsZM80pmbXbERQc
.
See the section "Where to Report Test Results"
I'll clean up the README.md in that directory to add that information.
As of this date, no PR has been submitted, though there are several
implementations that have run through the entire flow
(and there is a github repo with scripts that can ease the process here:
https://github.com/InspireSemi/riscof_install_example_DUT
Note that, as you well know, that the existing tests are woefully short of
complete (especially compared to yours), but are slowly getting built up.
On Tue, Oct 25, 2022 at 12:08 AM Lee Moore @.***> wrote:

Hi @allenjbaum https://github.com/allenjbaum
Is there a step-by-step guide tutorial showing all stages required

packages to install
repositories to clone
execution flow

In order to get to the point where a set of programs and signatures are
available to run on the RTL
Also, is there any document detailing which devices have so far
successfully run through the process, and are allowed to use the logo
indicating compliance with the tests
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1290086733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJXHDPJSSP5RYFBWU53WE6BNBANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you were mentioned.Message ID:
@.***>

BTW,  is this repo the "official  RISCV compliance test" suit ?
what is the status of this repo: https://github.com/riscv-software-src/riscv-tests ?

Honestly, this new RISCOF framework is pretty troublesome from installation point of view. It would be much easier for users like me to have self-checking tests, containing predicted results, at least for user spec instructions, which is not that hard to create.
I understand , that  it is  more difficult to provide privileged spec tests results and it's much easier for creators to rely on the framework, but this is not such for users of this repo.   I would like you guys  to take better care of your clients ...

I think you just answered your own question.
Yes, we could (usually) have tests for the bare user mode stuff - but there will be very, very few implementations that don't use the priv spec. And once you're committed to that, self testing goes out the window, and the cost of also doing unpriv is negligible. But, just the existence of Zicsr (which is required for several unpriv extensions) and the open-ended definition of a WARL field makes self-checking difficult.
But even the simplest unpriv tests (load, store) can't have precomputed signatures, because misaligned accesses can be handled either in hardware or by trap and emulate - and in the general case it is not possible to know which.
Welcome to our world.
We are moving to get the installation to be much easier. Marc's repo is one step. We also intend to have a "Reference signature as a Service" implementation, which will make getting those reference signatures a much simpler process.
All of this depends on the kindness of volunteers to implement. If you want to throw a pile of money at RVI to speed this up, it probably could be.

Allen, thanks for explanation, our main obstacle is reluctance of IT to install all these service packages. I couldn't make them to install opam,  for example . Another roadblock is Linux versions. We have 7.x  something and there is no way I can make them to switch to something more modern.
Can you consider to use some more common tools and not the latest and greatest?

I am assuming you are using RHEL 7.
You don't need to install a lot of packages.  Have you looked at the repo I
setup to help get up and running?
https://github.com/InspireSemi/riscof_install_example_DUT
It has scripts for what you need to install as sudo on a rhel 8 system.
(Should be similar to RHEL 7).  Along with scripts to install the rest of
the packages to your home dir under ~/.local/
opam for example is not available as a package for RHEL 8, so I just
grabbed the linux binary from the opam site and one of the scripts puts it
into ~/.local/bin..
Marc
On Thu, Oct 27, 2022 at 6:35 PM algrobman @.***> wrote:

Allen, thanks for explanation, our main obstacle is reluctance of IT to
install all these service packages. I couldn't make them to install opam,
for example . Another roadblock is Linux versions. We have 7.x something
and there is no way I can make them to switch to something more modern.
Can you consider to use some more common tools and not the latest and
greatest?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1294196719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZM24OP6BIYMLMA7UVELWFL7STANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you commented.Message ID:
@.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/

The reference signature as a service is being developed exactly because of
the IT environment.
Now we just need someone to go implement it; RIOS Labs in China has
volunteered machine and disk resources for it.
Linux versions: I actually don't know what breaks if you use an older Linux
version, so I can't say.
On Thu, Oct 27, 2022 at 3:35 PM algrobman @.***> wrote:

Allen, thanks for explanation, our main obstacle is reluctance of IT to
install all these service packages. I couldn't make them to install opam,
for example . Another roadblock is Linux versions. We have 7.x something
and there is no way I can make them to switch to something more modern.
Can you consider to use some more common tools and not the latest and
greatest?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1294196719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJS5JN3DIVLNPCAS4VDWFL7STANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Allen, Marc,
Thanks again for your responses.

Marc, I did not try your repo - I'm not IT person and have no permissions/knowledge to install anything on company servers. I referred opam as I  had installation problems with it in another company for litmus tests evaluation. IT couldn't install it due older Linux version.

Allen, what is approximate time frame, when this service be available?

could the test suite run against spike step by step locally be considered as compliance certification ?

#2: we need to find a (volunteer) resource to set up the web pages and
infrastructure.
We've not  identified anyone to do that, so I can't give you.a timeline.
#3 You might be able to use Spike as a reference model, instead of Sail

but if you don't have permissions/knowledge to install Spike (it's
outside code from a git repo), then that is a rather pointless aternative.

The OPAM issue is a real issue, and that's why Marc, who was under similar
constraints, came up with his repo.
We intend to make it even easier with the RSaaS approach, but we don't
have a timeline.
We've said we will Spike allow to be a reference model IFF Sail doesn't
support the extension (new extensions usually go into Spike first)
The ACT framework allows that; its a simple configuration option.
But  Spike may not give the same answers that Sail will give, because it
isn't designed to be as configurable
(specifically weird architectural options for privileged modes, but
especially WARL CSR semantics),
so yea, you could select that, and you'd find they don't match.
We are not set up to accept a cycle by cycle comparison period
(let's not even get into the ambiguity of what a "cycle is)
DV - which  only needs to deal with a single model at a time, can get away
with exposing  internal state and using it.
But it doesn't scale to hundreds of implementations, each of which has
their own microarchitecture and their own timings.
Our mandate is testing  that anyone's DUT that is thrown at us is
architecturally compliant,
andti do that at scale we look at only the least common denominator for all
models: the contents of memory
The only custom support that the ACT framework requires is to be able to:

link and load an ELF formatted binary,
start it executing,
recognize when a test is complete (typically a write to a model specific
MMIO address signals that to the RTL simulator)
extract the contents of a memory range.
We expect all DV environments can be set up to perform each of those
functions already,
That's as non-invasive as we can make it.

The framework takes that memory region signature, and generates a test
report that we can audit, - otherwise,

we don't know where it's coming from, and we can't depend on it.

This will be harsh::
If your IT organization won't  allow you to install RISC-V tools, and
your management agrees with that restriction,
then frankly it sounds like they're not interested in certifying that
you're RISC-V compatible.
It seems a bit disingenuous that you might be able to run Spike.. but not
other RISC-V tools,
If Eventually you won't have to run the Sail reference model (you can just
specify the particulars of your core, and we'll generate it)- but that
isn't going to happen overnight.
But even if you did, you still need to run our tests on your DUT, and use
our framework to do the comparison.
You may not have permission/knowledge  to install/run the framework, but if
your management is serious about being able to use RISC-V trademarks, they
should grant that permission.
On Fri, Oct 28, 2022 at 9:05 AM algrobman @.***> wrote:

Allen, Marc,
Thanks again for your responses.

Marc, I did not try your repo - I'm not IT person and have no
permissions/knowledge to install anything on company servers. I referred
opam as I had installation problems with it in another company for litmus
tests evaluation. IT couldn't install it due older Linux version.
2.
Allen, what is approximate time frame, when this service be available?
3.
could the test suite run against spike step by step locally be
considered as compliance certification ?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1295175599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJRDOXWHH3IHRONSBYLWFP2ULANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you were mentioned.Message ID:
@.***>

A few comments:
we have spike and riscv tools as part of GCC compiler , installed already.
We do run your tests in our DV environment, and compare DUT instruction trace with spike trace, or compare CPU state at every instruction commit with spike during simulation.
Can we be certified with such approach?
BTW, what's ACT?

Just tryied to install riscof:
"
% pip3 install git+https://github.com/riscv/riscof.git
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/riscv/riscof.git
Cloning https://github.com/riscv/riscof.git to /tmp/pip-req-build-nqqyryar
Running command git clone --filter=blob:none --quiet https://github.com/riscv/riscof.git /tmp/pip-req-build-nqqyryar
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https: /grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https: /grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https: /grid/common/pkgs/openssl/v1.0.2h/lib/libssl.so.1.0.0: no version information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https: /grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https: /grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https: /grid/common/pkgs/openssl/v1.0.2h/lib/libssl.so.1.0.0: no version information available (required by /lib64/libldap-2.4.so.2)
Resolved https://github.com/riscv/riscof.git to commit 4f8b28afb60bf55fdc1bf22b3e8ec146dc14e6cd
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: There was an error checking the latest version of pip.
"
here our python versions:
% python --version
Python 3.7.0
% pip3 --version
pip 22.1 from /grid/common/pkgsData/python-v3.7.0/Linux/RHEL6.0-2013-x86_64/lib/python3.7/site-packages/pip (python 3.7)
what's wrong?

Looks like you are installing from git. In which case there is an inherent requirement for the setup tools package to be installed. You will need to run the following command to support installing from source directly:
pip3 install setuptools

PS - The recommended method of installing packages for users is from the pypi directly. I would advise you to use that if possible. You can install riscof using the command: pip3 install riscof

great!
got this:
% pip3 install riscof
Defaulting to user installation because normal site-packages is not writeable
Collecting riscof
Downloading riscof-1.25.2-py2.py3-none-any.whl (45 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.2/45.2 kB 2.2 MB/s eta 0:00:00
Collecting pytz>=2019.1
Downloading pytz-2022.5-py2.py3-none-any.whl (500 kB)
....
Collecting Cerberus>=1.3.1
Downloading Cerberus-1.3.4.tar.gz (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.8/63.8 kB 2.6 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [65 lines of output]
running dist_info
creating /tmp/pip-modern-metadata-oebx0euy/Cerberus.egg-info
writing /tmp/pip-modern-metadata-oebx0euy/Cerberus.egg-info/PKG-INFO
....

end of log:
File "/tmp/pip-build-env-bkc4337g/overlay/lib/python3.7/site-packages/wheel/macosx_libfile.py", line 41, in
import ctypes
File "/grid/common/pkgsData/python-v3.7.0/Linux/RHEL6.0-2013-x86_64/lib/python3.7/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: There was an error checking the latest version of pip.

Looks like a missing dependency(libffi). You could install it using: yum install libffi or yum install libffi-devel.

% yum install libffi
Loaded plugins: aliases, changelog, kabi, langpacks, product-id, search-disabled-repos, subscription-manager, tmprepo, verify, versionlock
Loading support for Red Hat kernel ABI
You need to be root to perform this command.

Seems there is an installation problems here for multiuser corporate environments. Your stuff is working relatively well for single users environments , like personal Ubuntu.  But how do I convince IT of the company to go through all this hassle to upgrade Linux to the state required for your tools? They keep Linux common for all users, which may not want any changes in the OS.
It should be some way to provide pretty confined tools, won't require such drastic  measures. (maybe, Perl based, which works everywhere)..
why one needs to reinstall corporate OS to  compile and run a few tests?

speaking of which .. Allen, Marc, could you help to certify SweRV EL2?
https://github.com/chipsalliance/Cores-SweRV-EL2
this is simple M-mode rv32imc core, opensource, can run with free tools (verilator) or with Cadence, Synopsys or Mentor simulators. It has simple Demo TB to run a few tests
I think, step by step guide /report  how to run your compliance on this design. could be beneficial for future users ...

Tell you what clone the repo for example DUT. I think I posted it in a repy.
Add this sim using the example_dut in the repo.
I will help you and answer any questions you have.
Marc
On Sat, Oct 29, 2022 at 1:52 PM algrobman @.***> wrote:

speaking of which .. Allen, Marc, could you help to certify SweRV EL2?
https://github.com/chipsalliance/Cores-SweRV-EL2
this is simple M-mode rv32imc core, opensource, can run with free tools
(verilator) or with Cadence, Synopsys or Mentor simulators. It has simple
Demo TB to run a few tests
I think, step by step guide /report how to run your compliance on this
design. could be beneficial for future users ...
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1295917553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZMYZ5YLZH2GH55P6U73WFVP43ANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you commented.Message ID:
@.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/

for one you do not have openssl installed.  This is used for any https//
access like cloning a repo.
again if you would bother to clone the example dut repo a lot of this is
already spelled out for you.
What needs to be installed using sudo (your IT ) and then everything else
including riscof can be installed toi you local home dir. under ~/.local/bin
If you do not mind me asking what company/organization are you with?
On Sat, Oct 29, 2022 at 11:52 AM algrobman @.***> wrote:

Just tryied to install riscof:
"
% pip3 install git+https://github.com/riscv/riscof.git
Defaulting to user installation because normal site-packages is not
writeable
Collecting git+https://github.com/riscv/riscof.git
Cloning https://github.com/riscv/riscof.git to /tmp/pip-req-build-nqqyryar
Running command git clone --filter=blob:none --quiet
https://github.com/riscv/riscof.git /tmp/pip-req-build-nqqyryar
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https:
/grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version
information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https:
/grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version
information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https:
/grid/common/pkgs/openssl/v1.0.2h/lib/libssl.so.1.0.0: no version
information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https:
/grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version
information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https:
/grid/common/pkgs/openssl/v1.0.2h/lib/libcrypto.so.1.0.0: no version
information available (required by /lib64/libldap-2.4.so.2)
/grid/common/pkgs/git/v2.30.0/libexec/git-core/git-remote-https:
/grid/common/pkgs/openssl/v1.0.2h/lib/libssl.so.1.0.0: no version
information available (required by /lib64/libldap-2.4.so.2)
Resolved https://github.com/riscv/riscof.git to commit
4f8b28afb60bf55fdc1bf22b3e8ec146dc14e6cd
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the
build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: There was an error checking the latest version of pip.
"
here our python versions:
% python --version
Python 3.7.0
% pip3 --version
pip 22.1 from
/grid/common/pkgsData/python-v3.7.0/Linux/RHEL6.0-2013-x86_64/lib/python3.7/site-packages/pip
(python 3.7)
what's wrong?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1295879731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZM6UMLZIEXN4BYMDGJLWFVB4HANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you commented.Message ID:
@.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/

I think @algrobman has underlined a real problem here.
I work with a lot of corporate CAD/IT departments, It is always difficult getting corporate wide installations through these groups.
In my experience none of these groups I have worked with would be prepared to go through the trial/error process we are seeing unfold here.
Either everything in the flow needs to be reproducible with user level permissions, OR, a well defined description of what needs to be installed- prior to installing the tools required to use this flow.
It seems implausible to me, that an approach of trial/error would be acceptable to a corporate CAD group
I am truly sorry if this sounds difficult to hear  by those who have architected this system, I don’t underestimate the amount of effort expended, but I believe we have to deal with the world (and corporate CAD/IT groups!) as it is, not how we would like it to be.

I have a few follow up  questions.

what is legality of this repo? How a user can be sure that this repo represents official view of RISCV International or riscv.org? I couldn't find any reference of this repo on their web site. Google search brings multiple "compliance tests suits" repos - all with  different tests ...
How can a user trust the software  from this and any referred  sites in sense of cyber security? (are all these required installations spyware free?  (what if "Russian hackers", disguised as Czechs, had planted a spyware, will steal my company tread secrets   😊 ?
We just got a corporate email, warning from installing SW on our computers by ourselves ...

regarding Lee's comment ,  I'm not sure I can convince our IT or even guide them with all these installations ... In best case they will just give up after a few attempts ...
You guys better provide some self contained solution, if you want be essential part of the RISCV  industry proliferation process.
Again, at least user ISA spec tests can be self-checking so community  could certify at least non-privileged part of their designs

If your company (who is it btw??) would like to provide some resources ($$,
people, etc..) to help that would be great!
Remember everyone that you are talking with has a day job and is
VOLUNTEERING their time on this committee as well as other committees.  We
do not work for RVI.
Marc
On Sun, Oct 30, 2022 at 1:03 PM algrobman @.***> wrote:

I have a few follow up questions.

what is legality of this repo? How a user can be sure that this
repo represents official view of RISCV International or riscv.org? I
couldn't find any reference of this repo on their web site. Google search
brings multiple "compliance tests suits" repos - all with different tests
...
How can a user trust the software from this and any referred sites
in sense of cyber security? (are all these required installations spyware
free? (what if "Russian hackers", disguised as Czechs, had planted a
spyware, will steal my company tread secrets 😊 ?
We just got a corporate email, warning from installing SW on our
computers by ourselves ...

regarding Lee's comment , I'm not sure I can convince our IT or even guide
them with all these installations ... In best case they will just give up
after a few attempts ...
You guys better provide some self contained solution, if you want be
essential part of the RISCV industry proliferation process.
Again, at least user ISA spec tests can be self-checking so community
could certify at least non-privileged part of their designs
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1296302890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZMZUFMAJKYU5XLZ2VIDWF2S5RANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you commented.Message ID:
@.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/

That is precisely the issue that the repo I put together addresses.  It
spels out exactly what needs to be installed from a sudo point of view and
what you can install in your local home directory, under ~/.local/bin/...
What needs to be installed via sudo is a very small set of rpms.
sudo yum groupinstall 'Development Tools' -y
sudo yum install gmp-devel pkgconfig zlib-devel cmake3 -y
The rest are installed locally to a person's home dir.
There are scripts for both rhel and ubuntu to use to do these installs (or
to give to a IT person to install for you).
Look at this repo :
https://github.com/InspireSemi/riscof_install_example_DUT/blob/main/install_scripts/rhel/sudo_install_sail_rhel8.sh
My company put this together as a give back to the RVI community.
And as I have stated before, would love some help with this.  Roll up your
sleeves and join in the fun..
On Sun, Oct 30, 2022 at 5:03 AM Lee Moore @.***> wrote:

I think @algrobman https://github.com/algrobman has underlined a real
problem here.
I work with a lot of corporate CAD/IT departments, It is always difficult
getting corporate wide installations through these groups.
In my experience none of these groups I have worked with would be prepared
to go through the trial/error process we are seeing unfold here.
Either everything in the flow needs to be reproducible with user level
permissions, OR, a well defined description of what needs to be installed-
prior to installing the tools required to use this flow.
It seems implausible to me, that an approach of trial/error would be
acceptable to a corporate CAD group
I am truly sorry if this sounds difficult to hear by those who have
architected this system, I don’t underestimate the amount of effort
expended, but I believe we have to deal with the world (and corporate
CAD/IT groups!) as it is, not how we would like it to be.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1296176759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZM4GJFAKNOVT5QOVZP3WFYTVLANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you commented.Message ID:
@.***>

--
/****************
Marc Karasek
ASM T648
Herder of Cats
****************/
So far I do not believe anyone has actually looked at this repo.
On Sun, Oct 30, 2022 at 5:03 AM Lee Moore @.***> wrote:

I think @algrobman https://github.com/algrobman has underlined a real
problem here.
I work with a lot of corporate CAD/IT departments, It is always difficult
getting corporate wide installations through these groups.
In my experience none of these groups I have worked with would be prepared
to go through the trial/error process we are seeing unfold here.
Either everything in the flow needs to be reproducible with user level
permissions, OR, a well defined description of what needs to be installed-
prior to installing the tools required to use this flow.
It seems implausible to me, that an approach of trial/error would be
acceptable to a corporate CAD group
I am truly sorry if this sounds difficult to hear by those who have
architected this system, I don’t underestimate the amount of effort
expended, but I believe we have to deal with the world (and corporate
CAD/IT groups!) as it is, not how we would like it to be.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1296176759,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD72ZM4GJFAKNOVT5QOVZP3WFYTVLANCNFSM6AAAAAARNNRAIA
.

All repos pointed to from that page are owned by RISC-V International.
If you want me to get a pointer to these on some other page, I can get that
done; it's not a big deal, and should not be a basis of making a reasonable
decision.
Regarding security: how does your company know if GCC is spyware free?
Haven't you heard of supply chain poisoning?
How does it know your verilog is spyware free?
They either accept that they are or they don't, and if they don't , then
you can't use it.
And if you can't use it, then you don't necessarily get to use the RISC-V
trademarks.
What it sounds like you are saying is that you can only trust software that
you've paid for.
Except, of course, Linux and all the tools associated with it. Oops.
I think if this is a problem, you should have your IT department get in
touch with us directly.
But. you're worried about hackers and security.
How can we accept that your cycle-by-cycle dump isn't faked?
You didn't use our tools and environment, so who knows what it is really
doing.
More to the point, RISC-V doesn't, whereas if you used our tools, then we
would.
We are working on making this a lot friendlier - but, as I have stated, and
Marc has stated, this is a volunteer effort;
we don't get paid for doing this work, and RISC-V not a for-profit
enterprise.
If you wish to become part of the solution, keep finding issues, and we'll
try to keep up fixing them.
I don't know if the reference-signature-as-a-service will completely make
this user mode only or not, but it should remove a major pain point.
And if you want to submit your cycle-by-cycle comparison dump and apply for
a waiver, give it a try.
The RISC-V TSC will vote on whether to accept it or not,  No guarantees -
it might be a precedent too far.
On Sun, Oct 30, 2022 at 10:03 AM algrobman @.***> wrote:

I have a few follow up questions.

what is legality of this repo? How a user can be sure that this
repo represents official view of RISCV International or riscv.org? I
couldn't find any reference of this repo on their web site. Google search
brings multiple "compliance tests suits" repos - all with different tests
...
How can a user trust the software from this and any referred sites
in sense of cyber security? (are all these required installations spyware
free? (what if "Russian hackers", disguised as Czechs, had planted a
spyware, will steal my company tread secrets 😊 ?
We just got a corporate email, warning from installing SW on our
computers by ourselves ...

regarding Lee's comment , I'm not sure I can convince our IT or even guide
them with all these installations ... In best case they will just give up
after a few attempts ...
You guys better provide some self contained solution, if you want be
essential part of the RISCV industry proliferation process.
Again, at least user ISA spec tests can be self-checking so community
could certify at least non-privileged part of their designs
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/290#issuecomment-1296302890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJR7WUJXTNU55BCFLPDWF2S5TANCNFSM6AAAAAARNNRAIA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks guys again. I'd figured out how to run your tests in self-checking mode - appears the  run instruction macros have predicted value. With custom "plugin" macro I could make the test "fail" if there is a result mismatch.

Thanks guys again. I'd figured out how to run your tests in self-checking mode - appears the run instruction macros have predicted value. With custom "plugin" macro I could make the test "fail" if there is a result mismatch.

Those values are just place holders and not to be relied upon, examples - (link1), (link2).

@algrobman can this issue be closed?

yes, I was able to get what I needed, at least for "integer" tests (have no need in F/D tests for now), but will really appreciate if you could "return" self-checking capability to the suite ( may be excluding CSRs issues)

We have never had self checking tests.
We have tests that put expected results in comments, but that isn't my definition of self checking.
And that doesn't always work because too many instructions have results dependent on microarchitecture, or the exact unnamed architectural  options that are implemented (load and store ops are the poster child for that).
We will have some self checking tests in extraordinary circumstances (e.g. when we have results that are restricted non-deterministic), but that support hasn't been implement yet (it's a bit tricky)
Because there are many tests that won't have a single unique expected result, we instead get it from running a reference model configured with the same unnamed architectural options as your DUT.
While there are tests that do have deterministic results, but we are not going to implement two different ways to do the compatibility checks.


Check background location permission

Is your feature request related to a problem? Please describe.
Currently, with the capacitor Geolocation plugin, we can check for permission status but it does not provide status for background location. especially for Android.
This is from Sentry Diagnostics.

Describe the solution you'd like
Can this plugin offer a way to check which permission is granted (coarse, fine or background)?

Just my two cents, but I believe you can use the Capacitor Permissions plugin to check which permissions have been granted.
As far as I know, this plugin doesn't use the ACCESS_BACKGROUND_LOCATION permission, but instead utilizes a foreground service. This is why there is a persistant notification. The ACCESS_BACKGROUND_LOCATION permission is a bit more intense, and requires you to send in a video explaining and demonstrating exactly how you use that permission.

That is correct. Don't worry about the background permission.

@alexandermccormick I did send a video demonstrating the use, but my user still experience issue tracking the location when the driver is an Android user, and I keep seeing the above issue on Sentry.
and my options on the app look like
{
  backgroundTitle: 'My App is tracking your trip.',
  backgroundMessage: 'My App is operating on the background.',
  distanceFilter: prodMode ? 2 : 0
}

So not sure how to handle it.

Some Android devices need battery saving optimizations disabled (via the Settings app) to reliably receive location updates in the background. Your Sentry report mentioning ACCESS_BACKGROUND_LOCATION is a red herring - this plugin does not need that permission.

What problem is your user experiencing exactly?

Your Sentry report mentioning ACCESS_BACKGROUND_LOCATION is a red herring - this plugin does not need that permission.

I added it since I thought that was the reason I wasn't getting constant updates.

What problem is your user experiencing exactly?

The location is not being received or sent after a while.
I will remove ACCESS_BACKGROUND_LOCATION and try again and revert when I get updates

Make sure you are using the legacy bridge, otherwise location updates will stop after 5 minutes in the background on Android. https://github.com/capacitor-community/background-geolocation#android

Make sure you are using the legacy bridge, otherwise location updates will stop after 5 minutes in the background on Android. https://github.com/capacitor-community/background-geolocation#android

Are you familiar with the limitations on sending HTTP requests while the app is in the background? See https://github.com/capacitor-community/background-geolocation/issues/14#issuecomment-1293574693.

Are you familiar with the limitations on sending HTTP requests while the app is in the background? See #14 (comment).

Yes, I use the capacitor http plugin. I'm busy testing with different devices to see if the issue is not our my server instead.
I will update asap.

Here are my findings:

The location data get sent for a while then "pause" until I open the app again only to receive a bunch of them at once
The notification shows but looks like it's the system notification and not the plugin's. I concluded so because the title & message are different from the one displayed. The title displayed says: AppName is running & the message: Tap for more information or to stop the app.

My plugin:

My permissions

My Capacitor config

strings.xml

Is there anything I could have missed?

I would say your problem is the notification. If the notification is not correctly configured, background location updates don't work properly. Make sure you've generated the icon correctly, using Android Studio:
    <!--
        The icon to use for the background notification. Note the absence of a
        leading "@". It defaults to "mipmap/ic_launcher", the app's launch icon.

        If a raster image is used to generate the icon (as opposed to a vector
        image), it must have a transparent background. To make sure your image
        is compatible, select "Notification Icons" as the Icon Type when
        creating the image asset in Android Studio.
    -->
    <string name="capacitor_background_geolocation_notification_icon">
        drawable/ic_tracking
    </string>

If the notification is misconfigured, it seems to open the Settings app when tapped, rather than your app.

Make sure you've generated the icon correctly, using Android Studio

Let me try this. My icons are generated with the capacitor assets plugin

They were all there already.

I will run and see if the notification appears after this.

I got the notification working.
I did this.
To make sure your image
        is compatible, select "Notification Icons" as the Icon Type when
        creating the image asset in Android Studio.

My mistake was the name of the icon that I did not set properly. I kept the one example from the example: ic_tracking

No worries, glad you got it working.


Icon request: KeepSolid (Passwarden)

 Passwarden

URL of the site or app (required): https://www.keepsolid.com/passwarden/
Logo resources for the icon (optional, but recommended):

Passwarden is part of KeepSolid products that uses "KeepSolid ID" account system, so I made icon for KeepSolid brand instead.
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/KeepSolid.svg
❓ How to add icon(s) to Aegis?


Interceptors in Typescript client

Is your feature request related to a problem?
I need to implement HTTP message signature in a Fern-generated typescript client, which requires me to work on headers and payload just before it's being sent to the "Fetcher".
Describe the solution you'd like
Ideally I would be able to inject an "interceptor function" (callback?) of sorts, allowing me to work on the body and headers just before the request is sent to the server.
Describe alternatives you've considered
I am current using my own "CustomFetcher". Replacing the Fern provided fetcherImpl with my own does the job, however this is code I will have to maintain moving forward...
Additional context
HTTP Message Signing simply reads selected headers (and potentially the body) to compute and append a signature in the headers.  That being said I can imagine other use cases where this would be useful, such as injecting trace headers, metrics, etc.
Happy to propose a merge request if you can point me in the right direction!

@crashdump a bit of a delayed reply from me here 😅
Are you still looking to use a Fern-generated TypeScript client? If so, would love to talk about how I can help set you up to make that contribution.

@dannysheridan as you’ve probably gathered from the other thread, we’re moving a chunk of our code to Rust.  That said, we’ll probably need that feature on the Rust Generator when it’s released - happy to help with that side of things.


fix build error - Type 'UIWindow' has no member 'isPortrait'

Fixed https://github.com/xmartlabs/XLPagerTabStrip/issues/854.
I always get an error when trying to install XLPagerTabStrip with Carthage.
Please consider merging.

me too.I aslo want to konw the answer


[TA] classification

close this draft PR in favor of feature branch PR
https://github.com/Azure/azure-sdk-for-java/pull/23811


1 line change - Not Much to be said.

Well, here it is.
One character. A PR I can't mess up xD

oh, also it is to fix the mixin for  hopperUpdateFix and invisibleHopperFix crashing the game becuase of incorrect method signature in the inject.


[Bug] Buffer is not maintained and redundant buffer is returned after tracing bert example

HF bert models have two buffers: position_ids and token_type_ids, so model.state_dict is expected to output both. However we only found position_ids is returned from model.state_dict while token_type_ids is missing. Also there is another redundant mod.submod_0.submod_0.layer_0.attention.self_m.module.FusedQKV_0.fused_linear.weight appeared in the model.state_dict

For the first problem, it is because HF BERT declares token_type_ids as non-persistent, which means it will not be a part of the buffer. See this line.
For the second one, it is related to #30, where we rename the SelfAttention module as self_m instead of self declared in the HF model. The latter may cause problem since it conflicts with the Python keyword and makes the traced module fail.


Designtweaks

@om-sharma or @jakobgrunig how about some tweaks for you guys?

Changes are fine, can merge.


Feature/fix output dir setting

This fixes a bug a user encountered manually specifying the output directory outside of the config (API/CLI)

Codecov Report

Merging #24 into master will increase coverage by 0.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   87.85%   88.02%   +0.17%
==========================================
  Files          10       10
  Lines         280      284       +4
==========================================
+ Hits          246      250       +4
  Misses         34       34

Impacted Files
Coverage Δ

tests/test_api.py
90.47% <100%> (+0.47%)
:arrow_up:

portray/api.py
97.43% <100%> (+0.13%)
:arrow_up:

Continue to review full report at Codecov.

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


Optimized the dependencies needed by molecule

Probably most of them were residues from the initial import.
The only packages required now are:

ansible-core pinned to the version that we are using both on upstream and downstream
molecule (last version compatibile with ansible version)
molecule-plugins (last version compatible with molecule version)
jmespath (required by molecule tests)

tested locally with make execute_molecule_local
Final report
++++++++++++
edpm_bootstrap - Passed: True
edpm_ceph_client_files - Passed: False
edpm_container_manage - Passed: True
edpm_container_rm - Passed: True
edpm_container_standalone - Passed: True
edpm_frr - Passed: False
edpm_growvols - Passed: False
edpm_hosts_entries - Passed: True
edpm_iscsid - Passed: True
edpm_kernel - Passed: False
edpm_logrotate_crond - Passed: True
edpm_network_config - Passed: True
edpm_nftables - Passed: True
edpm_nodes_validation - Passed: True
edpm_nvdimm - Passed: False
edpm_ovn_bgp_agent - Passed: False
edpm_sshd - Passed: True
edpm_telemetry - Passed: True
edpm_timezone - Passed: True
edpm_tuned - Passed: True
env_data - Passed: True
test_deps - Passed: False
--------------------------------------------------------------------------------
(edpm-ansible)

Tests with Passed: False were supposed to fail because they don't work in containers.

recheck


update puppet schemas

update puppet schemas

 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.李博杰 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for translate the puppet part of Wechaty, and your code looks great!
Please sign the CLA so that we can merge this PR, appreciate it!

All committers have signed the CLA.

Great to know we have signed the CLA.
However, this PR was closed. Do you want to create a new one for this PR?

Duplicate of #


only one img diff modal seems to be working at a time(bug)

Describe the bug
When clicking at "COMPARE SNAPSHOT", it opens a diff modal with Expected vs Actual.
But this only seems to work for the first snapshot. If there are other snapshots it doesn't open any modal (nothing happens)
To Reproduce
Steps to reproduce the behavior:
Have more than one image snapshot that fails and try to open diff modal
Expected behavior
A modal should be opened for each snapshot, showing its expected vs actual.
Desktop (please complete the following information):

OS: OSX
cypress-plugin-snapshots: 1.2.9
Cypress version: 3.4.1

Seems to be related with this one - but the promise approach doesn't seems to work anymore..?


Update Communicator to include app metadata

Summary
This change initializes the communicator with the app metadata. This provides app metadata to the onboarding screen on keys.coinbase.com
How did you test your changes?
Testing these changes requires running a few apps:

Playground
SCW.

build a version of the sdk and install it into the playground. Make sure the playground is using the newly built version
run the playground and scw locally (place a log where the communicator is initialized)
Check the message event from the sdks communicator and validate appName, and appLogoUrl are available inside of scw.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Zend_PDF and IE Edge

Hello Guys,
I am having a weird issue.
We use ZF 1.12 and creating invoices with Zend_PDF works fine in IE, Firefox and Chrome. But in IE Edge I only see the PDF that I have loaded using Zend_Pdf::load. All the text that we have added to the invoice arent visible.
But when I generated the invoice without the Zend_Pdf::load i do see all the added text in the invoice.
Any one has the same issue and has an fix for this?
Kind regards,
Erwin

At the moment, I see no chance to fix the problem. Zend_Pdf and ZendPdf are out of support.
A workaround could be:

do not display the PDF in the browser
generate a download

header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename='downloaded.pdf'");


[FLINK-32024][docs] Short code related to externalized connector retr…

…ieve version from its own data yaml

CI failed with unrelated problem, this changes only touch documentation part, so it's safe to merge.


Add test code for verifing get_json_object

Verify the CPU and GPU results of get_json_object, if find diffs, save to Csv files.
This is only for testing.

port Spark get_json_object code
compare cpu/gpu results
write to Csv file if have diffs. Append to csv file, one day create one csv file. By default, csv file name format is:  /tmp/get-json-object_diffs_yyyyMMdd.csv

How to open, set the following configs:
{
'spark.rapids.sql.expression.GetJsonObject': 'true',  // enable GetJsonObject
'spark.rapids.sql.test.get_json_object': 'true',  // enable verify GetJsonObject
'spark.rapids.sql.test.get_json_object.savePath': '/tmp/get-json-object_diffs_', // path will be /tmp/get-json-object_diffs_yyyyMMdd.csv, yyyyMMdd is current date.
'spark.rapids.sql.test.get_json_object.saveRows': '1024' // max rows for each block in GetJsonObject operator when saving diffs. Note: this config can not control total rows, need tuning when the csv file is too big.
}

Signed-off-by: Chong Gao<EMAIL_ADDRESS>

build

Please target this to 24.04.

build

I moved this to draft because I don't want to have this merged into an official. If we want to have something like this in an official release please talk to me directly and we can figure out what is the right way to add something like this.

Haoyang is trying to read the CSV file via com.univocity.parsers.csv.CsvReader.
The CSV file which is wroten via com.univocity.parsers.csv.CsvWriter should be read properly by com.univocity.parsers.csv.CsvReader


[WIP] Add Wayland support

Added

Introduce new platform-specific define RENDERDOC_WINDOWING_WAYLAND.
Introduce new CMake feature switch ENABLE_WAYLAND (set to OFF by default).
Add FindWayland.cmake to scripts/ directory.
Add CreateWaylandWindowingData function to replay API.
Hook up Wayland support in Vulkan driver.
Link librenderdoc.so and qrenderdoc with libwayland-client.so.

Changed

Append Wayland to end of WindowingSystem enumeration in replay API.
Have qrenderdoc choose between Wayland or X11 code path based on the active Qt platform being used (can be launched manually with ./qrenderdoc --platform wayland, requires qtwayland module installed).
Enable Qt Wayland support with qrenderdoc if libwayland is detected on the system.

Fixes issue #853.

I'm not clear on what you're wanting to do with this PR. If you want to land the changes in stages and review each piece then that's fine. However moving the goalposts by adding new code at the same time is difficult to handle. If you want to iterate on your code in a branch and then get it reviewed in the end that's also fine but you'd need to wait to open the PR until you're ready to fix a set of code and then just stabilise/address issues on that fixed set of work until it's merged.
I don't mind either way but you have to pick one or the other :smile:.

You're definitely right, I shouldn't get ahead of myself. I think I prefer the piecemeal approach out of the two listed above, so I think I'll rename this PR, squash the commits, have it reviewed, and hopefully merged.

Just to give a concrete deadline: I won't accept any more PRs for v1.0 after 00:01 UTC on 1st March (so by the end of the day 28th February).
The PR needs to be ready to merge by then if it goes in for v1.0, otherwise it will wait until v1.0 is released and can be merged after that.

Thanks for the heads up! Unfortunately, I got sidetracked with real world obligations, and I likely won't be able to finish this in time for the 1.0 release. Nonetheless, I plan to rebase this on 1.0 and resume work on it this weekend.
Congratulations on the incoming release, though. :tada:

I'm going to close this PR now as the changes/discussion is a bit stale - I'd rather not have the PR sticking around indefinitely as that's more what I see issues as being for, long-lived markers for bugs/features and related discussion.
As I say though I'm still happy to get the changes eventually, so the issue will stay open and anyone can chime in there. A new PR (based on these changes or not) would be quite welcome!


[Question] kafka monitoring is not working.

Question
I tried to add kafka monitoring, filled host and port (9092).
And when I click test button, I got 测试连接失败 Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: java.io.EOFException].
I have also tested port connectivity via nc -nz <IP> 9092.
I did not find how can I specify the username/password either.

Hi, The kafka monitor need enable jmx service, like this.    https://hertzbeat.com/docs/help/kafka#kafka开启jmx协议步骤


borrow from A List Apart

https://github.com/alistapart/pattern-library/blob/master/_tmpl/css/lib/normalize.css

closed by v2.1.0


Upgrade requirements

Codecov Report

Merging #74 (0533647) into main (ce9dccf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #74   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          173       173
  Branches        26        26
=========================================
  Hits           173       173

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 ce9dccf...0533647. Read the comment docs.


Transformer.default not called in tree-less LALR mode

Describe the bug
The __default__ method on Transformers is never called when using "Tree-less LALR" mode.
To Reproduce
Here's an example based on "ab.lark" from the unit tests. __default__() should be called for every rule here, but when using tree-less LALR mode (change BUILD_TREE to False), it's not called at all.
from lark import Lark, Transformer

BUILD_TREE = True  # Change to False to try tree-less LALR mode

grammar = r"""
    start: expr

    expr: A B
        | A expr B

    A: "a"
    B: "b"

    %import common.WS
    %ignore WS
"""

class AbTransformer(Transformer):
    def __default__(self, data, children, meta):
        print(f'__default__({data!r}, {children!r}, {meta!r})')
        return data

def parse(x):
    if BUILD_TREE:
        parser = Lark(grammar, parser='lalr')
        return AbTransformer().transform(parser.parse(x))
    else:
        parser = Lark(grammar, parser='lalr', transformer=AbTransformer())
        return parser.parse(x)

print(parse('a a a b b b'))  # should print "start"

A fix is pending. See https://github.com/lark-parser/lark/pull/1036


Add Replicate demo and API

Hi @csslc ,
Great work on DDColor!
This pull request makes it possible to run DDColor on Replicate (https://replicate.com/cjwbw/DDColor) and via API (https://replicate.com/cjwbw/DDColor/api). Also happy to transfer the demo page to you so you can make modifications easily :)

Hi @chenxwh ,
Thank you for your contribution!
It would be helpful if you could add some information to the News and Online Demo sections. I noticed that you included it in the initial commit, but it appears to have been overwritten by a subsequent commit.
My replicate account is piddnad. I would greatly appreciate it if you could add me to the project.

Hi @piddnad,
Sure! I have updated the README to include the News section. Also, the demo page is redirected to your account here https://replicate.com/piddnad/ddcolor!

Hi, @chenxwh ,
Thank you! :)
I will merge the pull request into the master branch.


if jedis 3.x is compatible with 2.x?

If jedis 3.x is compatible with 2.x ?such as the latest version  3.1.0 is compatible  with  2.10.x/2.9/ 2.8.x?
I can not google the detail description.
Please help to confirm.
Thanks a lot.

No. There are some backward incompatible changes in 3.x compared to 2.x.


OIDC Security Policy with private CA or selfsigned certificate

Description:
I want to secure my http routes using an OIDC security policy. The OIDC provider is a Keycloak which uses a certificate issued by a private CA or maybe even a self-signed certificate. When creating the security policy, it doesn't get accepted, as the gateway cannot validate the OIDC issuers TLS certificate.
I could not find a (documented) way to add trusted certificates to the gateway and the managed envoys.
Repro steps:

deploy a Keycloak which uses a private CA or a self-signed certificate for TLS
configure a SecurityPolicy

apiVersion: gateway.envoyproxy.io/v1alpha1
kind: SecurityPolicy
metadata:
  name: oidc-example
spec:
  targetRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: backend
  oidc:
    provider:
      issuer: "https://example.com/auth/realms/master"
    clientID: "api-gateway"
    clientSecret:
      name: "my-app-client-secret"
    redirectURL: "https://example.com/backend"
    logoutPath: "/backend/logout"

Environment:
envoy gw version (also helm): 1.0.2
envoy image: envoyproxy/envoy:distroless-v1.29.5
Logs:
Security policy conditions:
...
      conditions:
        - lastTransitionTime: '2024-06-17T12:56:47Z'
          message: >-
            Error fetching endpoints from issuer: Get
            "https://example.com/auth/realms/master/.well-known/openid-configuration":
            tls: failed to verify certificate: x509: certificate signed by
            unknown authority
...

I can't see a detailed message about the error in the gateway logs.

similar to https://github.com/envoyproxy/gateway/issues/3536, needs a caCertifcateRef field

can this be closed @zhaohuabing since we added the new provider field https://gateway.envoyproxy.io/docs/api/extension_types/#oidc

Implemented in https://github.com/envoyproxy/gateway/pull/4227.
Now we can specify a backendRef as the OIDC provider, and use a BackendTLSPolicy to configure the TLS.


Feat: Google Authentication

Describe the feature
In the website , there is no option for the user to Sign up using Google. I want to add google signup feature.
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

Please assign this to me


fix: screenscraper jaguar

Signed-off-by: Juliano Dorigão<EMAIL_ADDRESS>

Hi,
This could have been achieved differently :

In es_systems.yml there is not "platorm:" value for jaguar.
Adding "platform:   atarijaguar" in this file instead would have been a better way to do it.
"platform" value is meant for that and should be in sync with PlatformId.cpp

In ES, you don't have to remove old "string" values (these are retropie names), and you can add new ones using the same const value. ( see VIDEOPAC_ODYSSEY2 or SEGA_SG1000, I added multiple names declarations for that console. It's on purpose not to erase retropie names )

{ "atarijaguar",			ATARI_JAGUAR }, -> Doesn't have to be removed.
Just add the new one in the "// batocera specific names" section using the same const :
{ "jaguar",			ATARI_JAGUAR } without removing the other one, and it will do the job.

Nice!
Can I leave it to you to make this modification, so would it be the right way?

Which one ??? ;-)

The jaguar scraper requires {"jaguar", ATARI_JAGUAR}

You have a second PR with it !?