JLink Protocol Selection

I'm trying to get probe-run to work and can't for the life of me figure out what's going wrong. I have an ATSAMD21E17A which communicates well with other tools (i.e. probe.rs) but it refuses to flash with probe-run.
To Reproduce
If I try to burn my project with
cargo flash --chip ATSAMD21E17A --speed 400 --protocol SWD

It works as expected. However with probe-run
$ cargo run
warning: unused manifest key: metadata
    Finished dev [optimized + debuginfo] target(s) in 0.02s
     Running `probe-run --chip ATSAMD21E17A --speed 400 target/thumbv6m-none-eabi/debug/u_wave_synth`
(HOST) INFO  flashing program (19 pages / 19.00 KiB)
Error: Error while flashing

Caused by:
    0: The page write of the page at address 0x00000800 failed.
    1: An error with the usage of the probe occured
    2: Operation timed out

I see the same behavior if I remove the --protocol bit from cargo flash. I'm not sure if probe-run is falling back to JTAG or what.
config.toml
[target.thumbv6m-none-eabi]
runner = "probe-run --chip ATSAMD21E17A --speed 400"
rustflags = [
  "-C", "link-arg=-Tlink.x",
  "-C", "link-arg=--nmagic",
  "-C", "link-arg=-Tdefmt.x",
]

[build]
target = "thumbv6m-none-eabi"    # Cortex-M0 and Cortex-M0+

Probe details
$ probe-rs-cli list
The following devices were found:
[0]: J-Link (J-Link) (VID: 1366, PID: 0101, Serial:<PHONE_NUMBER>84, JLink)

Operating System:
Arch

Hi @kiranshila, thank you for raising the issue.
I assume the problem is that probe-rs defaults to using the probe_rs::WireProtocol::Jtag, while you want to use Swd. And probe-run currently doesn't have a flag to to configure the protocol.
Could you please install following branch where I am setting the protocol to SWD, to see if it works then?
$ cargo install --git https://github.com/knurling-rs/probe-run --branch swd-protocol

If that fixes the problem we can easily add a new flag to configure that.

Hmm, still no dice, I'm getting the same error

I would suggest checking the logs of both programs and see where behavior diverges between probe-run and cargo-flash. with probe-run, pass -vv to it to see the logs from the probe_rs crate. for cargo-flash, I guess setting the RUST_LOG=probe_rs=trace env var should do the trick.
at least with SWD, there's quite a bit of communication with the probe before the 'flash' operation. if JTAG is similar, then I would expect a protocol mismatch (if that's indeed the issue) to fail much earlier than during the 'flash write', i.e. I would expect to see a different error message.
it could be that cargo-flash is doing some additional manipulation of flash write protection bits. at least with the nrf52840 that was necessary to unlock the flash before writing to it for the first time (chip was locked out of factory); these day that step is done in probe-rs so both cargo-flash and probe-run do the right thing with that chip.


Clean up API for "createJob" and "status"

With this PR, a response for acreateReport request contains the following values:

ref: The job reference id.
statusURL: The url for obtaining the status of the job.

And a status request gives the following values:

done: true/false
error: string containing error message.  Optional field
status: either waiting, running, finished, cancelled or error
elapsedTime: The elapsed time in ms from the point the job started. If the job is done, this is the duration it took to process the job.
waitingTime: A rough estimate for the time in ms the job still has to wait in the queue until it starts processing. Only set when the status is waiting.
downloadURL: The url to download the finished report.

closes #243, closes #244, closes #246

Too many code do do a good quick review, but it's looks good :-)
Just two question:

To have the cancelled status you keep a reference on the job when we cancel it ?
What for a result do we have if we do a status on an unexciting job ?

Tanks for your job @tsauerwein ;-)

To have the cancelled status you keep a reference on the job when we cancel it ?

When a job is cancelled, either because the user requests the cancellation or because the job took too long to run and it is cancelled automatically, the thread for the jobs are cancelled and the job is marked as "cancelled" in the registry. The next time you make a status request, you will get status: cancelled.

What for a result do we have if we do a status on an unexciting job ?

You will also get the result for boring jobs.
No, seriously. Do you mean jobs that take too long to finish? They will be cancelled after a certain timeout.

Thanks for the first response, for the second we doesn't understand together.

I invent a job ref.
I call the status on it.
What did I have ? A 404 error ? other ?

+1 looks fine to me.  1 minor comment only

Thanks for the review, Jesse!

What did I have ? A 404 error ? other ?

You should get a 404.

OK, thanks @tsauerwein :-)

I took the opportunity to finally add some documentation about the API. I will merge when Travis gives its OK.

Merged. @jesseeichar, it would be great if you could update the website with the docs! Thanks.


Persistent connections?

Read through the pros/cons here: http://stackoverflow.com/questions/23432948/fully-understanding-pdo-attr-persistent

Is this not solved by #13? The user can specify the option if they want it.

Yes it is, I'm just wondering if this should be on by default, or where possible. I haven't ever used the functionality so haven't looked into the implications.

Might best to leave it manual for now, use it for a few months and review again


Glosc is opening a cmd screen

Every time I open something with glosc, it also opens a cmd screen that stays there until glosc is closed. Is this the expected behavior?

Opening a cmd is fine... It shouldn't sty open though...
Fixed: a5e37a290709f00e42845d0e48db0ef8dac58b2f


Variables don't work across editors

Do we want them to?
Not sure how we get to this point.

We do. I thought this was going to be "free". Are we instantiating a new instance every time we eval?

I did not implement the process isolation - wanted to wait until we had some more structural maturity before i fired off little, uh, 'servers' ;) in the background....
right now it is just lazy-eval, if they are not working that is worthy of some investigation.

Can we do this as web workers?
That would help with future ideas of a web version.

There is an interesting problem here we haven't discussed.
Thinking through the eval / repl situation.
First: YES, I want the API to be, in effect, a simple REPL to the execution context. The code should be run in the "shared" execution context, with console.log directed to the associated console div. I don't want to "automagically" maintain connectivity to long running services.
[We will need to work through how to pass appropriate console targets so long-running asynchronous javascript methods can run, but I see that as ONLY maintaining the console & error output, NOT automatically doing any other IPC kinds of things. See New Issue https://github.com/WebOfTrustInfo/satyrn/issues/23]
However, we have a bigger problem.
How do we clear out the context from a bad set of code?
We must assume students are going to be capable of writing the most damaging crap, including destroying functions like console.log. Or throwing exceptions.
Because we want to preserve variables across blocks, that means we ALSO need to handle when code from a previous block messes things up for a later block.
I think what we need is a way to rerun the current blocks, up to and including the current one, in a fresh new context.
My assumption is that the code in each block is designed to be run in order and that students, and teachers, will be gradually building up a the context as an ongoing pedagogical framework. That is, the sections build on each other, INCLUDING in the computational context.
This suggests two potential features associated with each code block.

A checkbox for "Include in shared context" that is checked by default.
A checkbox for "reload shared context on run" which is not checked by default

This might be the easiest way to allow users to manage the context without trying to actually prevent bad code. The bad code is going to happen. The question is what's the best way, in the context of learning a chunk of javascript to let users manage what code is run as part of their sandbox/workbook interactions.
Maybe there are better terms, but it seems like the right functionality for what we need without trying to solve too much.
My only remaining question is what do we do when code throws an exception? I added a new issue, because right now we don't handle it well. #25

I like this idea.
This idea + the Bad code + variable sharing in context will all come
together when we move to managing a subprocess per notebook.  I'll take
on that refactoring - i've been waiting to do that until we hit a
critical mass in thinking about the issue, and I think we have a good
MVP landing spot - and one that doesn't require that we re-invent the
kernel model.
A drawback from the kernel model, based on zmq, is that the zmq
libraries are built by gyp on a per-platform basis.  I've done that
before, w/ electron - compiling a per-platform python distribution and
distributing the whole python runtime inside of the electron app - and
you really want a stable distribution/build pathway for that.  It is one
of those threshold things - compiling one non-node standard library is
80% of the effort, expanding that to compiling a huge infrastructure is
relatively simple, once you've made it over the first hurdle.  If you
can gyp one library, you can gyp dozens of libraries - whereas, if you
don't have a single gyp compiled library, then you can skip all of that
headache.
Likewise, there is nothing magic about zmq for the IPC - but again, we
don't want to spend much energy developing a custom-IPC channel.
forking the child process and using the child_process node libraries
gives us an event driven wrapper around stdin/out/err channels out of
the box.  However, the next step we have to take if we want to have code
blocks linked to output channels is to define a message structure - so
that the kernel process reports "output for block X" and "output for
block Y", and "request evaluation for block Z" followed by "here is
output for block Z".... it is not a complex message structure, but it
is, nevertheless, a messaging layer.
Also - we get into the question of using console.log output at all -
because, if we have multiple concurrent code blocks using console.log,
then there is no way to demux them.  If we want to allow console.log
and concurrent, long running execution, we need to have a code-block
linearization around it - so that we can trap/untrap the console.log
output - or we provide a hook to be used in lieu of console.log that
can be "passed in" to the running context - and say, use "satyrn.log"
instead of "console.log", which lets us provide each code block with an
"Instance" that knows how to correctly target the output.  There might
be a way to do that using console directly, from the messaging-layer
driver - but again, this is well beyond MVP territory.
As I see it right now, the key is to
a) set up a separate node engine using using node's child_process
b) linearize execution so that we 'completely run a block' - this allows
us to trap stdout/stderr and route it to the appropriate output.
c) support the ability to "restart and rerun previous code blocks up to
this point"
d) setTimeout and other non-functional style evaluation should not be
supported until we take the next step towards building an interactive
computing environment.
I think that would be a good MVP point.
On 3/19/19 3:38 PM, Joe Andrieu wrote:

There is an interesting problem here we haven't discussed.
Thinking through the eval / repl situation.
First: YES, I want the API to be, in effect, a simple REPL to the
execution context. The code should be run in the "shared" execution
context, with console.log directed to the associated console div. I
don't want to "automagically" maintain connectivity to long running
services.
[We will need to work through how to pass appropriate console targets
so long-running asynchronous javascript methods can run, but I see
that as ONLY maintaining the console & error output, NOT automatically
doing any other IPC kinds of things. See New Issue
https://github.com//issues/23
https://github.com/WebOfTrustInfo/satyrn/issues/23]
However, we have a bigger problem.
How do we clear out the context from a bad set of code?
We must assume students are going to be capable of writing the most
damaging crap, including destroying functions like console.log. Or
throwing exceptions.
Because we want to preserve variables across blocks, that means we
ALSO need to handle when code from a previous block messes things up
for a later block.
I think what we need is a way to rerun the current blocks, up to and
including the current one, in a fresh new context.
My assumption is that the code in each block is designed to be run in
order and that students, and teachers, will be gradually building up a
the context as an ongoing pedagogical framework. That is, the sections
build on each other, INCLUDING in the computational context.
This suggests two potential features associated with each code block.

A checkbox for "Include in shared context" that is checked by default.
A checkbox for "reload shared context on run" which is not checked
by default

This might be the easiest way to allow users to manage the context
without trying to actually prevent bad code. The bad code is going to
happen. The question is what's the best way, in the context of
learning a chunk of javascript to let users manage what code is run as
part of their sandbox/workbook interactions.
Maybe there are better terms, but it seems like the right
functionality for what we need without trying to solve too much.
My only remaining question is what /do/ we do when code throws an
exception? I added a new issue, because right now we don't handle it
well. #25 https://github.com/WebOfTrustInfo/satyrn/issues/25
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WebOfTrustInfo/satyrn/issues/12#issuecomment-474246771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7ps257uXDqZ6JLyWAezMoDAsPRhifeks5vYKH_gaJpZM4beuC_.

Looks good.


fix: 8537 submenu color when disabled

Description

Updated Submenu color when disbaled.

Fixes #8537
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested locally.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/8537-menubutton-submenu-disabled-color

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
54.57 (0)
36.43 (-0.01)
33.17 (0)
55.09 (-0.01)

:red_circle:
app/client/src/selectors/commentsSelectors.ts
83.61 (-1.64)
61.76 (-2.95)
73.33 (0)
88.24 (-2.35)

:green_circle:
app/client/src/widgets/TableWidget/component/components/menuButtonTableComponent.tsx
31.25 (1.46)
14.71 (0)
0 (0)
36.59 (1.59)

/ok-to-test sha=f76acf2

https://github.com/appsmithorg/appsmith/actions/runs/1442921765

/ok-to-test sha=f20a60d

https://github.com/appsmithorg/appsmith/actions/runs/1448335767

/ok-to-test sha=5041baa


SatisfactoryServerManager service constantly changing status from starting to running to starting ect.

I followed the guide to install but when installed the service is constantly changing.
Also experiencing the same error as earlier mentioned :install.ps1 error: "SSM: Unexpected status SERVICE_START_PENDING in response to START control.
When i use the solution of Mrhid6 nothing is working.
I also saw that Docker is not seeing any environment running.
Can someone help me?

Hi @MastarVS would you be able to attach what you are seeing on the install output? You can also run SSM without a service to debug what might be causing the service to stop working by navigating to C:\Program Files\SSM with a command prompt and doing ./SatisfactoryServerManager.exe

You mean like this?

If you open Docker Desktop and verify this checkbox is selected

The install script should automatically set this but maybe it's not correctly set?

It was already on.

Ah find the Docker service in windows services and restart it, make sure Docker desktop is fully closed before hand then give it a try.

Done, still the same error.

When you run from the command prompt?

Yep!

Hmm strange would you be able to restart your pc and see if that helps?

Already done it.
I can try it again later because there are players online right now.

I will try that!
The strange thing is that i can't see if there is some server is installed in Docker.
Where can i check that?

Done, still the same error.

When you run from the command prompt?

Lol, didn't start up Docker Desktop after restart.
It is starting now as it appears.

That's excellent news! SSM will install the Core on the server with each Server instance (SSMAgent) using docker containers. SSM Agents hold the SF dedicated server install and will run on the docker containers.

Thanks for that info!
Where can i create my username?

Works! Thank you!


Link into permalink (coordinates specified) on i.e suncalc.org or peakfinder.org

Hi,
Your job is perfect.
I am wondering how to make another links such the Street View options
The details of this query is based here:
https://gis.stackexchange.com/questions/339126/link-to-another-url-permalink-in-leaflet
Is it feasible through a similar code?

Well yes, you can take the code for buttons and tweak it a bit. I based mine off two plugins for mapbbcode: "FunctionButtons" and "PermalinkAttribution". The idea is basically to listen to map's move event and update the link with the map.getCenter() coordinates.

Hi,
I have found and downloaded the file PermalinkAttribution.js, which is relevant for my purpose.
Because I am quite new in js. Could you tell me how to attach it to the main .js code?
Have you got some example working?
Thanks in advance

Hi,
I was struggling to make this code running.
After incorporation:
L.Control.PermalinkAttribution({position:'topright'}).addTo(map);
to my code, no results. Could you clarify what to do? Thank you in advance


[Feature Request] Add config option to disable dart formatting

The dart formatter has numerous issues with allowing for customizations and is often disabled. This plugin forces the use of Dart Formatting.

I see, I have not considered that ppl have it turned off.
Will try to add the option in the next days.

You should be able to disable dart fmt now.
Open a new issue in case something is broken now ^^


[ Bug Report ] Burning torch's flame remains active on Lara's hand until the end of the throwing animation

TombEngine version
v1.4
Tomb Editor version
v1.7.1
Describe the bug
Context
While holding a torch:

Lara's left hand is swapped to a version of her hand that holds the torch (from the LARA_TORCH_ANIM slot).
If the torch is burning, a small flame appears.
It is attached to Lara's hand, but its position is offset so it appears on the torch.

When throwing the torch:

Lara's animation 1 from the LARA_TORCH_ANIM slot is played (just her left arm).
An actual torch object is spawned in the middle of the animation (to initiate the actual "throwing physics").
Lara's hand is swapped back to its regular version.

The bug

The flame that is attached to Lara's hand remains active until the entire throw animation is finished.
The flame on the actual torch seems to appear 2 frames late, rather than instantly.

This was already happening in TRNG, so probably in TR4 and TR5 as well.
To Reproduce
Pickup a torch, find a flame to make it burn, and throw it using the Draw key.
Expected Behaviour
The flame that is attached to Lara's hand should disappear as soon as the actual torch is spawned / her hand is swapped back to its regular version.
Screenshots
See this slow-motion video to see the issue in detail:
https://github.com/MontyTRC89/TombEngine/assets/12445716/bf372fed-051a-4043-bd2a-5c8ca56c9319
And just in case, a pic describing the issue:

Additional Content
No response
Minimal reproduction project
When you start the level, there's a torch top pickup + a non-lethal flame right in front of you.
https://drive.google.com/file/d/1O-j7QmbjoI1aVpWDPHlZUbg7ImhIEcqv/view?usp=sharing

Bug fixed and pushed to develop branch.
Commit: https://github.com/MontyTRC89/TombEngine/commit/1f4404d76010c74e76bdcdccd593037c9c27975c

Fixed in this commit: https://github.com/MontyTRC89/TombEngine/commit/1f4404d76010c74e76bdcdccd593037c9c27975c


Typo in opening sentence

Opening sentence of article states: "ExpressRoute supports a couple encryption technologies to ensure confidentiality and integrity of the data traversing between your network and Microsoft's network."
I believe what was intended may be: "ExpressRoute supports a couple of encryption technologies to ensure confidentiality and integrity of the data traversing between your network and Microsoft's network." (was missing 'of').
Even this wording is a bit colloquial in my opinion. It may be better to state: "ExpressRoute supports two encryption technologies to ensure confidentiality and integrity of the data traversing between your network and Microsoft's network."

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

ID: 57126991-1214-8eed-e09b-152b2064704d
Version Independent ID: e846803d-b5c5-8e79-3056-df566317a6cd
Content: Azure ExpressRoute: About Encryption
Content Source: articles/expressroute/expressroute-about-encryption.md
Service: expressroute
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@steverlabs , Thank you for your feedback. We will investigate and get back to you shortly.

PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/99436


Use Playwright assertions for autofocus

Closes #1154
Replace bespoke CSS selector-based assertions with Playwright's built-in toBeFocused assertion.
Like other assertions, toBeFocused will wait and retry for a period of time, which makes nextBeat calls unnecessary.

Nice, thanks @seanpdoyle !


Add data_collection_rule_id field to the landing zone resource

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Currently the resource "azurerm_log_analytics_workspace" "management" resource block does not have the
data_collection_rule_id attribute added. It is an optional field in azurerm_log_analytics_workspace.On provisioning the log analytics we have to manually assign the data_collection_rule_id ,but whenever there is a TF run the manual changes gets overridden.
Is your feature request related to a problem?
No. It is a new feature attribute that would help in configuring the data collection

resource "azurerm_log_analytics_workspace" "management" {
for_each = local.azurerm_log_analytics_workspace_management
provider = azurerm.management
Mandatory resource attributes
name                = each.value.template.name
location            = each.value.template.location
resource_group_name = each.value.template.resource_group_name
Optional resource attributes
sku                                = each.value.template.sku
retention_in_days                  = each.value.template.retention_in_days
daily_quota_gb                     = each.value.template.daily_quota_gb
cmk_for_query_forced               = each.value.template.cmk_for_query_forced
internet_ingestion_enabled         = each.value.template.internet_ingestion_enabled
internet_query_enabled             = each.value.template.internet_query_enabled
reservation_capacity_in_gb_per_day = each.value.template.reservation_capacity_in_gb_per_day
tags                               = each.value.template.tags
allow_resource_only_permissions = each.value.template.allow_resource_only_permissions # Available only in v3.36.0 onwards
Set explicit dependency on Resource Group deployment
depends_on = [
azurerm_resource_group.management,
]
}
Clearly the block above from the landing zone log analytics source code do not have the optional attribute data_collection_rule_id added under the # Optional resource attributes. After every run the manfully assigned value gets deleted as show below
~ resource "azurerm_log_analytics_workspace" "management" {
- data_collection_rule_id                 = "/subscriptions/Masked/resourceGroups/MAsked/providers/Microsoft.Insights/dataCollectionRules/ServiceAccounts_Exclusion" -> null
id                                      = "/subscriptions/4c526d48-4f3e-462b-b979-61011fcae45e/resourceGroups/jci-mgmt/providers/Microsoft.OperationalInsights/workspaces/jci-la"
name                                    = ""
tags                                    = {
"deployedBy" = "terraform/azure/caf-enterprise-scale"
}
Describe the solution you'd like
We could add a variable for data_collection_rule_id under the custom settings and have the same refereed in the azurem resource block of the log_analytics.IF the variable is set it would take the value ,else null
azurerm_log_analytics_workspace = {
name                               = lookup(local.custom_settings_la_workspace, "name", "${local.resource_prefix}-la${local.resource_suffix}")
resource_group_name                = lookup(local.custom_settings_la_workspace, "resource_group_name", local.resource_group_name)
location                           = lookup(local.custom_settings_la_workspace, "location", local.location)
allow_resource_only_permissions    = lookup(local.custom_settings_la_workspace, "allow_resource_only_permissions", true) # Available only in v3.36.0 onwards
sku                                = lookup(local.custom_settings_la_workspace, "sku", "PerGB2018")
retention_in_days                  = lookup(local.custom_settings_la_workspace, "retention_in_days", local.settings.log_analytics.config.retention_in_days)
daily_quota_gb                     = lookup(local.custom_settings_la_workspace, "daily_quota_gb", null)
cmk_for_query_forced               = lookup(local.custom_settings_la_workspace, "cmk_for_query_forced", null)
internet_ingestion_enabled         = lookup(local.custom_settings_la_workspace, "internet_ingestion_enabled", true)
internet_query_enabled             = lookup(local.custom_settings_la_workspace, "internet_query_enabled", true)
reservation_capacity_in_gb_per_day = lookup(local.custom_settings_la_workspace, "reservation_capacity_in_gb_per_day", null)
tags                               = lookup(local.custom_settings_la_workspace, "tags", local.tags)
}
}
Additional context

Would be great, thanks!


Raise RPC window when opened again.

If the RCP console is open, but not visible, raise it and activate it.
Before we just seemed to ignore the user request.

Hmm, seems there are lots of ENABLE_WALLET changes in here too?
@jonasschnelli What do you think? Would you mind taking a quick look?

Same points. Maybe keep align with core and just pick https://github.com/bitcoin/bitcoin/pull/6594 (solves the reopening issue)

The changes in ENABLE_WALLET are based on the messyness of the code, this cleans that part up quite a bit.
The new callback (slot) fits in better now.

Agreed.
But adding a QT code delta on xt, would xt disallow to reuse this changes if the core-wallet gets SPV and gets independent from the node.
I would highly recommend to add such changes to core (even if it's harder to get reviews and merges).

I didn't intend the code to be for core, sorry.


Feature: Add option to auto-expand category

Hi, thanks for the contribution! This feature is a nice addition in my opinion!
Can you please add an example on how to use it to the demos and extend the Readme to contain an explanation of this feature?

Done and submitted.  I added to the README and to some of the demos.


Fix for 4 gang button position

Tested on 4 gang but not others
But I believe it will work.
Fix for 4 gang button position
calculation reflects better the old positions

Summary by CodeRabbit

Bug Fixes

Improved button width calculation to ensure it accommodates gang count effectively.
Simplified condition checking for valid button width to prevent division by zero.

Thanks a lot for your support with this. 🙂


Importing (and imports from) pytomography.io, pytomography.projections, pytomography.algorithms give TypeError

This is with reference to the tutorial: Reconstructing SIMIND data
Running the imports pytomography.io, pytomography.projections, pytomography.algorithms at the beginning of the tutorial notebook gives this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[35], line 1
----> 1 import pytomography.projections

File /anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/__init__.py:1
----> [1](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/__init__.py?line=0) from .forward_projection import ForwardProjectionNet
      [2](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/__init__.py?line=1) from .back_projection import BackProjectionNet
      [3](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/__init__.py?line=2) from .projection import ProjectionNet

File /anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py:3
      [1](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py?line=0) import torch
      [2](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py?line=1) from pytomography.utils import rotate_detector_z, pad_object, unpad_image
----> [3](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py?line=2) from .projection import ProjectionNet
      [5](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py?line=4) class ForwardProjectionNet(ProjectionNet):
      [6](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py?line=5)     """Implements a forward projection of mathematical form :math:`g_j = \sum_{i} c_{ij} f_i` where :math:`f_i` is an object, :math:`g_j` is the corresponding image, and :math:`c_{ij}` is the system matrix given by the various phenonemon modeled (e.g. atteunation/PSF).
      [7](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/forward_projection.py?line=6)     """

File /anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py:7
      [4](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=3) from pytomography.mappings import MapNet
      [5](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=4) from pytomography.metadata import ObjectMeta, ImageMeta
----> [7](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=6) class ProjectionNet(nn.Module):
      [8](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=7)     r"""Abstract parent class for projection networks. Any subclass of this network must implement the ``forward`` method. """
      [9](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=8)     def __init__(
     [10](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=9)         self,
...
     [24](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=23)             device (str, optional): Pytorch device used for computation. If None, uses the default device `pytomography.device` Defaults to None.
     [25](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=24)         """
     [26](file:///anaconda/envs/pytomography/lib/python3.8/site-packages/pytomography/projections/projection.py?line=25)         super(ProjectionNet, self).__init__()

TypeError: 'type' object is not subscriptable

I think basically anything that initializes an object from the ProjectionNet class (https://github.com/qurit/PyTomography/blob/main/src/pytomography/projections/projection.py)` generates this error.

Does this only occur for import pytomography.projections or also for from pytomography.projections import ForwardProjectionNet

Both

Ah, I think the issue is that from __future__ import annotations is missing from these files, so anyone with a python version less than 3.9 will get these mistakes.

Just created a new branch corresponding to this issue. I believe when the issue gets resolved, it will show up here.


Robosense LiDAR cannot get filtered processed pointcloud data

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
Pointcloud preprocess container node cannot read from the robosense lidar pointcloud data, and no filtered data output.
The raw pointcloud data can be seen in Rviz and can be echoed.
Expected behavior
We have also tried the velodyne VLP16, it works fine with this pointcloud preprocess node. Expected to received a filter processed pointcloud from robosense lidar RS80.
Actual behavior
Currently I am working with a RS80 lidar as well. However, when I trying to integrate the RS80 into autoware eco system, to use a node container with a pointcloud preprocessing features, it cannot work well, the output topic do not output anything.
Below is the example template from velodyne VLP16 launch.py, I slightly modified it like below, as Robosense already output pointcloud data, no convertion from packet to pointcloud is needed, thus I directly passing the input topic into this cropbox component.
    nodes.append(
        ComposableNode(
            package="pointcloud_preprocessor",
            plugin="pointcloud_preprocessor::CropBoxFilterComponent",
            name="crop_box_filter_self",
            remappings=[
                ("input", "/rslidar_points),
                ("output", "self_cropped/pointcloud_ex"),
            ],
            parameters=[cropbox_parameters],
            extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
        )
    )

the /rslidar_points do have data flow in, however the self_cropped/pointcloud_ex topic do not have any data when echo it.
This is the exact launch I have written:
# Copyright 2020 Tier IV, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import launch
from launch.actions import DeclareLaunchArgument
from launch.actions import OpaqueFunction
from launch.actions import SetLaunchConfiguration
from launch.conditions import IfCondition
from launch.conditions import UnlessCondition
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import ComposableNodeContainer
from launch_ros.actions import LoadComposableNodes, Node
from launch_ros.descriptions import ComposableNode
import yaml

def get_vehicle_info(context):
    # TODO(TIER IV): Use Parameter Substitution after we drop Galactic support
    # https://github.com/ros2/launch_ros/blob/master/launch_ros/launch_ros/substitutions/parameter.py
    gp = context.launch_configurations.get("ros_params", {})
    if not gp:
        gp = dict(context.launch_configurations.get("global_params", {}))
    p = {}
    p["vehicle_length"] = gp["front_overhang"] + gp["wheel_base"] + gp["rear_overhang"]
    p["vehicle_width"] = gp["wheel_tread"] + gp["left_overhang"] + gp["right_overhang"]
    p["min_longitudinal_offset"] = -gp["rear_overhang"]
    p["max_longitudinal_offset"] = gp["front_overhang"] + gp["wheel_base"]
    p["min_lateral_offset"] = -(gp["wheel_tread"] / 2.0 + gp["right_overhang"])
    p["max_lateral_offset"] = gp["wheel_tread"] / 2.0 + gp["left_overhang"]
    p["min_height_offset"] = 0.0
    p["max_height_offset"] = gp["vehicle_height"]
    return p

def get_vehicle_mirror_info(context):
    path = LaunchConfiguration("vehicle_mirror_param_file").perform(context)
    with open(path, "r") as f:
        p = yaml.safe_load(f)["/**"]["ros__parameters"]
    return p

rslidernode =Node(namespace='rslidar_sdk', package='rslidar_sdk', executable='rslidar_sdk_node', output='screen')

def launch_setup(context, *args, **kwargs):
    def create_parameter_dict(*args):
        result = {}
        for x in args:
            result[x] = LaunchConfiguration(x)
        return result

    nodes = []

    # turn packets into pointcloud as in
    # https://github.com/ros-drivers/velodyne/blob/ros2/velodyne_pointcloud/launch/velodyne_convert_node-VLP16-composed-launch.py
    # nodes.append(
    #     ComposableNode(
    #         package="velodyne_pointcloud",
    #         plugin="velodyne_pointcloud::Convert",
    #         name="velodyne_convert_node",
    #         parameters=[
    #             {
    #                 **create_parameter_dict(
    #                     # "calibration",
    #                     # "min_range",
    #                     # "max_range",
    #                     "num_points_thresholds",
    #                     "invalid_intensity",
    #                     "frame_id",
    #                     "scan_phase",
    #                     "view_direction",
    #                     "view_width",
    #                 ),
    #             }
    #         ],
    #         remappings=[
    #             ("rslidar_points", "pointcloud_raw"),
    #             ("rslidar_points_ex", "pointcloud_raw_ex"),
    #         ],
    #         extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
    #     )
    # )

    cropbox_parameters = create_parameter_dict("input_frame", "output_frame")
    cropbox_parameters["negative"] = True

    vehicle_info = get_vehicle_info(context)
    cropbox_parameters["min_x"] = vehicle_info["min_longitudinal_offset"]
    cropbox_parameters["max_x"] = vehicle_info["max_longitudinal_offset"]
    cropbox_parameters["min_y"] = vehicle_info["min_lateral_offset"]
    cropbox_parameters["max_y"] = vehicle_info["max_lateral_offset"]
    cropbox_parameters["min_z"] = vehicle_info["min_height_offset"]
    cropbox_parameters["max_z"] = vehicle_info["max_height_offset"]

    nodes.append(
        ComposableNode(
            package="pointcloud_preprocessor",
            plugin="pointcloud_preprocessor::CropBoxFilterComponent",
            name="crop_box_filter_self",
            remappings=[
                ("input", "/rslidar_points"),
                ("output", "self_cropped/pointcloud_ex"),
            ],
            parameters=[cropbox_parameters],
            extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
        )
    )

    mirror_info = get_vehicle_mirror_info(context)
    cropbox_parameters["min_x"] = mirror_info["min_longitudinal_offset"]
    cropbox_parameters["max_x"] = mirror_info["max_longitudinal_offset"]
    cropbox_parameters["min_y"] = mirror_info["min_lateral_offset"]
    cropbox_parameters["max_y"] = mirror_info["max_lateral_offset"]
    cropbox_parameters["min_z"] = mirror_info["min_height_offset"]
    cropbox_parameters["max_z"] = mirror_info["max_height_offset"]

    nodes.append(
        ComposableNode(
            package="pointcloud_preprocessor",
            plugin="pointcloud_preprocessor::CropBoxFilterComponent",
            name="crop_box_filter_mirror",
            remappings=[
                ("input", "self_cropped/pointcloud_ex"),
                ("output", "mirror_cropped/pointcloud_ex"),
            ],
            parameters=[cropbox_parameters],
            extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
        )
    )
    nodes.append(
        ComposableNode(
            package="pointcloud_preprocessor",
            plugin="pointcloud_preprocessor::DistortionCorrectorComponent",
            name="distortion_corrector_node",
            remappings=[
                ("~/input/twist", "/sensing/vehicle_velocity_converter/twist_with_covariance"),
                ("~/input/imu", "/sensing/imu/imu_data"),
                ("~/input/pointcloud", "mirror_cropped/pointcloud_ex"),
                ("~/output/pointcloud", "rectified/pointcloud_ex"),
            ],
            extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
        )
    )

    nodes.append(
        ComposableNode(
            package="pointcloud_preprocessor",
            plugin="pointcloud_preprocessor::RingOutlierFilterComponent",
            name="ring_outlier_filter",
            remappings=[
                ("input", "rectified/pointcloud_ex"),
                ("output", "outlier_filtered/pointcloud"),
            ],
            extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
        )
    )

    # set container to run all required components in the same process
    container = ComposableNodeContainer(
        # need unique name, otherwise all processes in same container and the node names then clash
        name="robosense_node_container",
        namespace="pointcloud_preprocessor",
        package="rclcpp_components",
        executable=LaunchConfiguration("container_executable"),
        composable_node_descriptions=nodes,
    )

    return [container]

def generate_launch_description():
    launch_arguments = []

    def add_launch_arg(name: str, default_value=None, description=None):
        # a default_value of None is equivalent to not passing that kwarg at all
        launch_arguments.append(
            DeclareLaunchArgument(name, default_value=default_value, description=description)
        )

    add_launch_arg("model", description="")
    add_launch_arg("launch_driver", "False", "do launch driver")
    # add_launch_arg("calibration", description="")
    add_launch_arg("device_ip", "<IP_ADDRESS>", "device ip address")
    add_launch_arg("scan_phase", "0.0")
    add_launch_arg("base_frame", "base_link", "base frame id")
    add_launch_arg("container_name", "velodyne_composable_node_container", "container name")
    # add_launch_arg("min_range", description="minimum view range")
    # add_launch_arg("max_range", description="maximum view range")
    add_launch_arg("pcap", "")
    add_launch_arg("port", "2368", description="device port number")
    add_launch_arg("read_fast", "False")
    add_launch_arg("read_once", "False")
    add_launch_arg("repeat_delay", "0.0")
    add_launch_arg("rpm", "600.0", "rotational frequency")
    add_launch_arg("laserscan_ring", "-1")
    add_launch_arg("laserscan_resolution", "0.007")
    add_launch_arg("num_points_thresholds", "300")
    add_launch_arg("invalid_intensity")
    add_launch_arg("frame_id", "velodyne", "velodyne frame id")
    add_launch_arg("gps_time", "False")
    add_launch_arg("view_direction", description="the center of lidar angle")
    add_launch_arg("view_width", description="lidar angle: 0~6.28 [rad]")
    add_launch_arg("input_frame", LaunchConfiguration("base_frame"), "use for cropbox")
    add_launch_arg("output_frame", LaunchConfiguration("base_frame"), "use for cropbox")
    add_launch_arg(
        "vehicle_mirror_param_file", description="path to the file of vehicle mirror position yaml"
    )
    add_launch_arg("use_multithread", "False", "use multithread")
    add_launch_arg("use_intra_process", "False", "use ROS2 component container communication")

    add_launch_arg("msg_source", "1")
    add_launch_arg("send_packet_ros", "false")
    add_launch_arg("send_point_cloud_ros", "true")
    add_launch_arg("lidar_type", "RSM1")
    add_launch_arg("msop_port", "6699")
    add_launch_arg("difop_port", "7788")
    add_launch_arg("start_angle", "0")
    add_launch_arg("end_angle", "360")
    add_launch_arg("wait_for_difop", "true")
    add_launch_arg("min_distance", "0.2")
    add_launch_arg("max_distance", "200")
    add_launch_arg("use_lidar_clock", "false")
    add_launch_arg("pcap_path", "")
    add_launch_arg("ros_frame_id", "rslidar")
    add_launch_arg("ros_recv_packet_topic", "/rslidar_packets")
    add_launch_arg("ros_send_packet_topic", "/rslidar_packets")
    add_launch_arg("ros_send_point_cloud_topic", "/rslidar_points")

    set_container_executable = SetLaunchConfiguration(
        "container_executable",
        "component_container",
        condition=UnlessCondition(LaunchConfiguration("use_multithread")),
    )

    set_container_mt_executable = SetLaunchConfiguration(
        "container_executable",
        "component_container_mt",

        condition=IfCondition(LaunchConfiguration("use_multithread")),
    )

    return launch.LaunchDescription(
        launch_arguments
        + [rslidernode, set_container_executable, set_container_mt_executable]
        + [OpaqueFunction(function=launch_setup)]
    )

Steps to reproduce

Using the velodyne laucnh script as template
delete out the packet to point and driver node, as robosense can produce point directly
change the input topic of cropbox to /rslidar_points

Versions

OS: Ubuntu22
ROS2: Humble
Autoware: d34355c8d5ce26405546c183405f6fa0f76e001e

Possible causes
I have double checked this document, and it said the pointcloud should in this format XYZIRCADT. The rslidar_points by default only got XYZIRC or XYZIR I think. Would it be a root cause for this issue? due to the missing information of pointcloud?
Additional context
The modified new robosense launch script is based on this.

@TZECHIN6 thank you for your report. It will be very helpful if log or rosbag file could be provided for further investigation. By the way, Distortion_corrector_node requires  timestamp field in pointcloud format.

@TZECHIN6 you can set the the pointcloud format in the CMakeLists.txt of rs_sdk as XYZIRT

@TZECHIN6 please try this configuration. https://github.com/pixmoving-moveit/rslidar_sdk/blob/main/CMakeLists.txt#L8

@TZECHIN6
Sorry about the point cloud field written in document. That document is defined after the autoware drivers have developped, and they are not compatible with the document yet. (We are just planning to update all drivers and pointcloud preprocessor)
You can find the actual point types here
, which is used in autoware.universe.

@badai-nguyen I have recorded the rosbag, but its about 1G large, not sure how to share to all of you in here. I am welcome to do so if anyone could guide me about this.
@ahuazuipiaoliang Thx for your tips, seem this is quite promising, I will definitely give it a try in coming week. Any hidden parameter I need to set except the dense_points you have mentioned?
@miursh Sorry I am not so clear about what you mean, do you mean the type should follow XYZIRADRT? As @ahuazuipiaoliang  mentioned, rslidar only provide XYZI, XYZIRT type of pointcloud... do you mean this lidar is not compatible with autoware?
Thanks for advice from all of you! I will feedback in here soon.

@TZECHIN6
Actually, most of current preprocess pipletime (shown here) only uses XYZRT fileds.
You need to use XYZIRADRT format in order to use current pointcloud preprocessor, but the other field can be dummy value.

@miursh Thanks for your clear instruction, I will try changing the point cloud format to XYZIRT as @ahuazuipiaoliang  suggested and see whether the preprocess works.
I am unfamiliar with how to transform the data format of the point cloud to XYZIRADRT from RS lidar. If I need to do so, is that mean I cannot use the points_raw topic directly? instead I need to create my own a conversion program to add the extra information from the source data packet?

@TZECHIN6 I'm sorry let me correct a little bit about used pointcloud fields..
If you want to use

distorion corrector, the pointcloud must have XYZ and T field
ring outlier filer, the pointcloud must have XYZ and IRADT field
dual return filter and blockage diag needs XYZ, IRADRT field (I'm not so confident)
the other ones only use XYZ fileds, I think...

So, unless you use the above node, just using XYZIRT is fine.
FYI, you can use another point type by modifying your lidar driver. You can refer this and this.

@miursh Thanks for your explicit instruction again. Base on the above launch script, I believe I would use below:

crop box filter
distortion corrector
ring outlier filer

For the crop box filter, which kind of field is needed? When I debugging this issue, I found this node was already nonfunctional and remapping of the topic is fail, and thus the distortion corrector and ring outlier filter cannot receive the processed topic to work with.

@TZECHIN6
For the crop box filter, only x,y,z fileds are necessary. So it should work...

@badai-nguyen I have recorded the rosbag, but its about 1G large, not sure how to share to all of you in here. I am welcome to do so if anyone could guide me about this.

How and what data you can share usually depends on your institution. Some times people use their institution proprietary cloud, or commonly used ones live google drive. After the issue is solved, you can delete the files if you are worried about privacy concerns in the long run

Hi guys, I have contacted the robosense team, and they updated the source code, so that the lidar poinlcoud included those missing field, and seem now is working fine with the node container. I will close the issue by now. If any further question related to this topic, I will reopen it. Thanks again everyone.

Hi guys, I have contacted the robosense team, and they updated the source code, so that the lidar poinlcoud included those missing field, and seem now is working fine with the node container. I will close the issue by now. If any further question related to this topic, I will reopen it. Thanks again everyone.

When you use the latest robosense source code, what modifications have you made so that it can be integrated with autoware

@J-xinyu please contact their support team, actually Robosense have some kind of agreement of collaboration with Tier4 and autoware, they should update their driver so that others can directly use it out of the box. I think more requests sending to them would facilitate this, so please ask them for help.
If u really need the help, I can share it later on.

@TZECHIN6 I'm having the same issue too, Can you share after modified about robosense driver


added Resource Instance RW operations for Json Content Format

Signed-off-by: Dmytro Zakharenko<EMAIL_ADDRESS>

Just in case you're not aware about that :
Instead of closing the PR and create a new one,  you can just push force on the same branch to edit it :)

Just in case you're not aware about that :
Instead of closing the PR and create a new one, you can just push force on the same branch to edit it :)

I did not know it. Thanks, I'll try


Update JWT dependency to ~> 2.0?

Is there a specific reason why this gem has jwt dependency locked to ~> 1.5.6? I am using a JWT authentication library that is dependent on jwt 2.1, so when I try to install this gem, bundler is complaining because of the version mismatch. I am considering forking the gem in order to update the dependency, but I was wondering if anyone is aware of any issues with jwt 2.1.

Same to me. I am using devise-jwt gem. So it depends on jwt 2.1 but opentok depends on jwt 1.5.6.
What should I do? or anyone take care of it?

@nvtin I made a fork with an updated dependency, and all the current tests are passing. So i assume you can safely fork it and update. I haven't submitted a pull request yet, because maybe the authors want to keep the jwt version for some specific reason.

Thanks @stefanrendevski
Forking it is a good choice for now, but it is not recommended.
I dont know why nobody answer this issue. Our company is going to pay $2k/month to use this tokbox if I can integrate it successfully. They should support this issue soon.

@stefanrendevski There's no reason to keep the JWT library at 1.5.6, please go ahead and submit a PR and I'd be happy to check it out 😄

Still open, huh?

Is there any update on this issue?  It is holding us back from updating a devise module that we need.

No commits in over a year - is the Ruby SDK officially dead? :(

@msach22 it's been over a year with no update, looks like the same is true for the repo in general.  Safe to assume that Nexmo/Tokbox is no longer maintaining the Ruby SDK?


[Need SDK update] on wifi security feature on esp32 with wpa/wpa2 mixed mode (IDFGH-3947)

[ YES] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[ NO] [BUT I WILL TEST ON 4.0 SOON] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[ YES] I have searched the issue tracker for a similar issue and not found a similar issue.

Environment

Module or chip used:  [ESP32-WROVER]
IDF version : v3.2.2-132-g7dd492319
Build System:         [Make]
Compiler version:   xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Operating System:     [Linux]
Using an IDE?: [Yes]
Power Supply:         [external 5V-500ma]

Problem Description
Hello,
I work on ESP-IDF V3.3 on an ESP32 board and I have a router in WPA/WPA2 mixed mode.
During the wifi association procedure, the router informs the esp32 that it supports WPA or WPA2 security mode, but esp32 chooses WPA mode instead of WPA2 mode by default. Is it possible to update the SDK to choose the most secure mode (WPA2 instead of WPA)?
Thanks for your help.
Expected Behavior
Choose the most secure mode. Have a wifi connection in WPA2 instead of WPA
Actual Behavior
We have a wifi connection in WPA
Steps to reproduce

Config the router in WPA+WPA2 like here : https://www.downloads.netgear.com/files/answer_media/media/images/answer_112/wpa+wpa2_security_ul.GIF

On GNU/Linux :
$ ifconfig wlan0 down
$ iwconfig wlan0 mode monitor
$ iwconfig wlan0 channel 1
$ ifconfig wlan0 up
$ Open wireshark on the wifi interface

Start an association procedure between the ESP32 and the wifi router.

On wireshark check the frame "probe response" and check if the router offer WPA+WPA2 (RSN info + wpa info element)

On wireshark check the frame "Assoc request" and check if the ESP32 choose WPA2 instead of WPA

Thanks for reporting, we will look into.

@Mras2an - This has been fixed in the latest version of v3.2. Also, when we experimented, we saw that even if RSN IE is missing WPA IE is using cipher-suite CCMP (AES) and there was 4-way handshake over the air. So the security level is still same.

Closing this issue for now. Feel free to reopen if you see this on latest v3.2 version or any later releases.

@sagb2015 Good news, I will test this as soon as possible, Please, may you give me the commit ID of the fix?

@Mras2an  The corresponding commit is https://github.com/espressif/esp-idf/commit/23b3d970997832087133878ce88d2d29eb15b0c7

@all I tested and I confirm that bug is fixed


Laravel 5 Support ?

Hi,
Will this package work with laravel 5 ?
thanks.

Simple but Extendable Bridge for Xenforo to use with Laravel 5 :)

Yea but I haven't updated the readme in a while. I honestly didn't know anybody was viewing this repo as it is far from being a complete package yet I haven't really made a push to advertise it. I'm currently using it on Laravel 5 with no issues. I haven't tested it with 4 recently as my current project that I am using it for is on Laravel 5. If you guys have any other issues or are looking for some specific features let me know I would love to hear your feedback.

@gabarba, There's no need to advertise for packages like this ! when we need it, we'll find it !
Thanks,
i will try that .. ;)
Regards.


Autowidth not working properly with table headers

I have a table like:
[%autowidth]
|===
| Foobar | Fooo | Baaar

| - | - | -
|===

When rendered the heading text gets wrapped before the last character.

You need to use the unreleased version of prawn-table to get this feature. See https://github.com/asciidoctor/asciidoctor-pdf#upgrade-prawn-and-extensions-optional


Use first server template if requested node label is empty/null

Feature Request
I propose matching the first server template when there isn't an explicitly requested node label. This is more in line with other implementations, such as the Docker Plugin or the EC2 Plugin.
Currently, an empty list is returned if the label is empty.
Also, I had difficulties understanding the context of "Label" in this form:

I needed to look up the code in this repo to find out that this is referring to hudson.model.Label and not to the labels at Hetzner Cloud. Maybe it would be possible to add another field for assigning Hetzner Cloud labels.
Besides these initial difficulties, the plugin works fine 🎉  Thanks for your effort!

First of all, thank you for bug report.

I propose matching the first server template when there isn't an explicitly requested node label. This is more in line with other implementations, such as the Docker Plugin or the EC2 Plugin.
Currently, an empty list is returned if the label is empty.

This is actually result of decision to treat every new agent node to be used in Exclusive mode, which essentially means that it can execute only job with exact same label.
We can add configuration option so it will have similar behavior as you are proposing.

Also, I had difficulties understanding the context of "Label" in this form

That's something that is used commonly used in different plugins as well, for example in Docker Plugin that you mentioned.
I will make wording more clear in help.

Maybe it would be possible to add another field for assigning Hetzner Cloud labels.

I'm not strongly against placing arbitrary labels on Hetzner nodes, but I don't see what benefit it would have.
Also plugin itself places some specific labels used for identification.
If user interferes with these labels, it could disrupt ability for plugin to clean node instances.

@jwwk you should now be able to configure mode in template setting as Use this node as much as possible. If you don't provide any labels, provisioned node should be able to handle any job. Please let us know in case of issues.


Create a slackbot

A bot to support DIEM workloads can seriously improve productivity. Tracking , starting and stopping can be done from within slack. A bot can also provide more granular and personalised messages (metrics , performance, recommendations) that a web site cannot offer.  In the backend we can also integrate AI and machine Learning
Some functionality
That can interact with DIEM, some features

Start Job
Stop Job
Log Job
get error job
get job history
get members
get pipeline jobs ?
set schedule (should i go that far ?)
replicate job (maybe a nice)

Something around approvals

create approval for job xxx (to be worked out)

Something around machine learning and AI

performance metrics
job recommendations and configuration settings

But also can provide some generic utilities

guid()  create unique id
base64
encryption code
several others

host it in this github repo , but don't make it part of helm (yet ?). In that case maybe it's own helm or any other way to easily install it ?

when to sent directly to the user, when in threats
help does not work in channel, only in direct
need to make the diem api calls
need to make the announcements
improve the approvals
every option needs to have it's own help

Code is already there

Implemented, enhancements will be handled separately


Colored text

How to get colored text ex class="ui blue text"

+1

I understand the desire but I dont plan on adding colored text. I recommend just using css.

I think this is one place semantic is lacking behind other frameworks. There needs to be some utility classes that we can use to apply common styles to any element without having to write custom css. Styles that have the same meaning no matter what component you apply time to. Some examples are common text color classes, text alignment, font weight classes, etc. I am sure we could think of a few more if need be. I find myself having to extend semantic to support these since I find them extremely useful since I write less css on a daily basis with them. I would urge you to reconsider your position on this. How do you plan to complete with bootstrap and foundation without at least having feature parity with them? These seem like no brainer bare minimum necessities to me.

+1
http://materializecss.com/color.html
Nice way to work with color
However, there may be too many CSS.
Why do I need it?
Standard CSS colors are very primitive and are not variable.
In design there is always at least 6, and sometimes 10-15 color states that you need to be able to apply to the background and font. The approach did not materialize so flexible.
I think it would be optimal to make a hybrid of:
Bootstrap
(text|bg)-danger (text-red) (text|bg)-warning (text-yellow) ...
Materialize
(text|bg)-(darken|lighten)-1 (12%) 2 (24%) 3 (36%)

:+1:  colored text is surely a need. Why wouldn't you consider adding it @jlukic ?
Would you merge if somebody make a pr?

please add some color

+1

+1

+1

+1

:+1:

+1

@jlukic I think it's useful so that colors match the theme's / Less colors. Sure, someone could make their own classes, but not having to worry about future color changes is +:100: Please re-consider.

+1

+1. It's very annoying. Why is it possible to create a blue button and not a blue text ??

+1

+1

+1

+1

+1

+1

1...I find the need for this all the time and it is annoying to have to manage my own custom CSS just to match colors available in other Semantic-UI components.

+1

+1

+1

+1 :)

poor. just ridiculous!

So how many +1's do we need before this gets reconsidered?

of course, just because every other css frameworks is having those classes.

+1

-1

@rodoneill it's kind of obvious and already mentioned why would anyone wants to have this feature. However it's not obvious why would anyone doesn't want it. Would you be kind enough to elaborate on your -1?

+1

+1
I switched from bootstrap an also there are some small colored text classe. Its now over a year and so many people want this feature. Why this will not be added?

+1

+1

+1

+1 please reconsider

+1

+1

Hey chaps, the best method to support a feature request is to use the reactions (there's a thumbs up in the first post - click on it and show your affection).
Posting +1 only lowers the chances of it being implemented as it annoys everyone that's watching the project. (~1k guys so far receive an email everytime someone posts a +1)
Thanks a lot.

Does anyone know if there's already a fork with this feature?

One could add the following in site/globals/site.overrides
@text-colors: blue, green, orange, pink, purple, red, teal, yellow, black, grey, white;
.text {
    .-(@i: length(@text-colors)) when (@i > 0) {
    	@c: extract(@text-colors, @i);
        &.@{c} { color: @@c }
        .-((@i - 1));
    }.-;
}

Which would generate:
.text.white {
  color: #FFFFFF;
}
.text.grey {
  color: #CCCCCC;
}
.text.black {
  color: #1B1C1D;
}
.text.yellow {
  color: #F2C61F;
}
.text.teal {
  color: #00B5AD;
}
.text.red {
  color: #D95C5C;
}
.text.purple {
  color: #564F8A;
}
.text.pink {
  color: #D9499A;
}
.text.orange {
  color: #E07B53;
}
.text.green {
  color: #5BBD72;
}
.text.blue {
  color: #3B83C0;
}

And could be used as:
I am red!

here is a SASS version of the great LESS function that @kamalkhan provided above. after using this I'm kind of leaning towards SemanticUI not providing text colors like this in their build--however since it's such a common use case, it would be great to have a section of the SemanticUI site that had SASS/LESS "recipes" like this where users could add-on as needed:
$text-colors: blue, green, orange, pink, purple, red, teal, yellow, black, grey, white; @each $tc in $text-colors{   .text.#{$tc}{     color: #{$tc};   } }

I tried UI today and i'ts incredible it doesn't have text colors for span etc...
+1

Mildly related to this. Is there already a variable with the standard Semantic UI colours in it that we can use when iterating? I couldn't find one myself and wondered why there is so much repetition in the SASS already due to this.

@brendon The color names in @text-colors: blue, green, orange, pink, purple, red, teal, yellow, black, grey, white; are actual variables in the semantic less variable files. The site/globals/site.overrides file is a good place to extend upon those.

Thanks @kamalkhan, I should be correct and say LESS rather than SASS :)
I see that the actual colours are defined in Semantic UI (e.g. @blue etc...) but there isn't a list of the colours in a variable (like you provide above) to make it easier to write an extension that iterates over the standard colours in Semantic UI. I guess they're not going to change any time soon, but if they did, this would make things a bit quicker to adjust.

Hey, @kamalkhan, nice initiative, but I think it would be best to implement it as
[class*="red text"]
instead of
.red.text
That way you could do something like:  to have a black label with a red text with no chance for ambiguity (would ".text.red" or ".text.black" apply?). Sure, you could make a span, or an i or a div inside the label to put the class="text red"; but I think that to be less powerful.

+1

+1

+1 "D

Rather than the +1's, use the reactions feature as per: https://github.com/Semantic-Org/Semantic-UI/issues/1885#issuecomment-218009745
Saves on having to read unnecessary issue emails with +1 in them ;)

I propose to remove modal and table, instead use css.
I understand the desire for those components, but whatever.

I can't understand why headers / colored headers are component while colored content / text is not.

+1

+1

$text-colors: blue, green, orange, pink, purple, red, teal, yellow, black, grey, white;
$colors: (
blue: blue,
green: #03C9A9,
orange: orange,
pink: pink,
purple: purple,
red: red,
teal: teal,
yellow: yellow,
black: black,
grey: grey,
white: white
);
@each $tc in $text-colors{
[class*="#{$tc} text"] {
color: map-get($colors, $tc);
}
}
@each $tc in $text-colors{
[class*="#{$tc} link"] {
$color: map-get($colors, $tc);
color: $color;
&:hover, &:focus {
color: lighten($color, 10%);
}
}
}
in SASS you can map the colors if you want to change them.

@rothattack I think most people here know how to generate classes with sass. As most people know how to implement a modal. But they still use this library.
Great work on the project @jlukic but the casual dismissal of legitimate requests without so much as a nod is going to alienate you, bud.

You cant argue on a level of total ignorance:
https://github.com/Semantic-Org/Semantic-UI/issues/1885#issuecomment-77619519

Great work on the project @jlukic but the casual dismissal of legitimate requests without so much as a nod is going to alienate you, bud.

Specifically the highlighted part in quote is the core problem. https://github.com/Semantic-Org/Semantic-UI/issues/1885#issuecomment-264227460


RDoc Recipes for write converters and RFC 4180 compliance

@kou, is this ready to merge?  (I don't think I own the failed check, but could be wrong.)

@kou, all passing now.

Thanks!


Infer click.*Range from types annotated with pydantic.Field

Has this already been reported?

[X] This is a new bug!

Expected behaviour
While constrained Pydantic types such as conint(...) and confloat(...) are correctly converted by Feud into click.IntRange and click.FloatRange objects with the correct settings, conint/confloat etc. are discouraged as function calls should not be to define used in Python types.
The proper way to encode conint(ge=0, le=5) would be Annotated[int, Field(ge=0, le=5)], which should become a click.IntRange(min=0, max=5).
Observed behaviour
When defining a parameter such as the above with constraints specified with a Pydantic Field, Feud no longer correctly creates the correct click.IntRange/click.FloatRange objects.
Instead, Annotated[int, Field(ge=0, le=5)] simply becomes a click.INTEGER and does not display any range information in the help command.
Code to reproduce
import feud
from typing import Annotated
from pydantic import Field

def f(a: Annotated[int, Field(ge=0, le=5)]) -> int:
    return a

if __name__ == "__main__":
    f(["--help", standalone_mode=False])

Version details
▶ python -c "import feud; print(feud.version.version_info())"
                 feud version: 1.0.0
                 install path: /home/eonu/dev/python/feud/feud
               python version: 3.13.0 (main, Oct 16 2024, 03:23:02) [Clang 18.1.8 ]
                     platform: Linux-6.11.4-301.fc41.x86_64-x86_64-with-glibc2.40
             related packages: pydantic-2.10.4 click-8.1.8 rich-13.9.4 pycountry-24.6.1 phonenumbers-8.13.52 docstring-parser-0.15 rich-click-1.8.5 pydantic-extra-types-2.10.1

Fixed in #177.


Octopus energy update

It seems that on the latest octopus update they have changed the sensor for rates to an event. For me I can no longer get the card to load.

#27


Switch from hedgehog to QuickCheck

There are multiple places throughout the codebase which use hedgehog, and we should migrate those to QuickCheck. See https://github.com/IntersectMBO/plutus/pull/5927#discussion_r1588316757 for the reasoning behind this transition.

Hello, I'd like to tackle this issue.

There are multiple places throughout the codebase which use hedgehog, and we should migrate those to QuickCheck.

A number of those aren't really helpful and so we shouldn't bother moving them. E.g. PlutusCore.Generators.Hedgehog.Test and everything it depends upon isn't really worth the trouble of moving from hedgehog to QuickCheck (I know that, because I implemented it, it did catch a few bugs, but overall it's just a worse version of PIR generators).
So we really only should bother moving those tests that are

important
would benefit from the QuickCheck infra
not too much of a hassle to transition

I would very much prefer us to implement new tests with QuickCheck, but I think keeping hedgehog ones in the codebase is fine when the costs of transition outweigh the benefits.

I don't feel like this is a good first issue, it's very subjective, requires deep knowledge of the code base and there's a good chance code review will not be particularly favorable. So I'm removing the label.


Fix error when cachedFile is null

Just a quick little one-liner to fix an error that sometimes crops up when opening a new file.

Thank you for this fix. Seems @mdelobelle is inactive, but I'm going to clone this patch locally right now and give it a try.

I'll merge in a week or so, unfortunately can't do so now

I'll merge in a week or so, unfortunately can't do so now

Is it fixed now? I update to the lastest version still cant auto loaded

I'll merge in a week or so, unfortunately can't do so now

Is it fixed now? I update to the lastest version still cant auto loaded

Last release was sept 13, but this patch was released sept 29. If you want the fix, you'll have to do this temporarily:
https://github.com/mdelobelle/obsidian_supercharged_links/issues/144#issuecomment-1279619637


Delete rooms

User story
As an administrator, I can delete a room and define its availabilities.
Narrative
Administrators must be able to delete rooms in the system.
Out of scope
Adding room capabilities (Projector, smart board, etc)
Acceptance criteria

#
Given
When
Then

1
I am an adminstrator
I delete a new room
it is deleted from the sytem

2
I am not an administrator
I delete a new room
it is not deleted from the system

The UI for this story is included in #37 for viewing all rooms

Functionality is complete, I'm writing the tests which should be done this evening.


Allow removal of iFrame

Since the app is loaded in an iframe, there are a couple of caveats when debugging and when trying to target browser/tablets, etc...
Can we get a switch to avoid loading the app in an iframe and instead use the browsers chrome?

Afaik, this project doesn't use iframe to load the app

I think you should look again 😉

Ah okay, I get your point. It's called
...
.

Jep - and if you try to debug things, vue-tools doesn't find the vue instance, because it can't access the iFrame.


fix system default decimalv3 scale should be 9

Proposed changes
Issue Number: close #xxx

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

run buildall

run buildall


Remove Save/Load Game modules/requirements

Decision made to scrap the save/load game requirement as it does not fit the with application.

Closed in commit ID: 4e649c358d6bb7ab9d78fc283a2aa586f2b11180


when using baby face blaster on scout the boost meter never fills up all of the way

when you fill up the boost meter all the way up to scout running at 520hu (the max bfb speed) the meter does not appear as full
i have 3 images

Interestingly enough this does actually appear to happen in the default hud too (albeit on a smaller scale), so I'm actually not sure if there's anything I can really do about it:

I'm going to close this for now, but I did add it to the "Known Issues" under TF2 issues here for future reference: https://github.com/rbjaxter/budhud/wiki/Known-Issues


Support environment variables for command hooks

Would it be possible to pass all relevant information with https://jreleaser.org/guide/latest/reference/hooks/command.html through environment variables? Passing everything as arguments is quite tedious as that would result in like ten arguments in my case as I pass all the project information.

Execution of external commands should inherit the current environment used by the JReleaser process.
Yet, any model values should be defined using name templates such as `{{projectVersion}}. Unfortunately for command hooks, name template substitution only applies to the command line because the invoked command may be a plain binary and not a script.
For this reason JReleaser will support script hooks in the next release https://jreleaser.org/guide/early-access/reference/hooks/script.html
There is however, the option to expose specific model properties as environment variables before running a command. Mapping the whole model would be troublesome, thus marking which values you're interested in mapping would be better. For example:
hooks:
  command:
    before:
      - cmd: 'doThething'
        environment:
          PROJECT_VERSION: '{{projectVersion}}'
          BREW_ACTIVE: '{{ Model.distributions.app.brew.active }}'

The Model context does not yet exist. I wonder how easily it could be done given that it pretty much requires performing an object graph search.

hooks:
  command:
    before:
      - cmd: 'doThething'
        environment:
          PROJECT_VERSION: '{{projectVersion}}'
          BREW_ACTIVE: '{{ Model.distributions.app.brew.active }}'

Yes, I had something like this in mind. The model context would be very useful in some cases.

FWIW I think Mustache can traverse the context OOTB. Will run some tests.
Thus RFE proposes the following changes:

a Model context for evaluating model properties in [Mustache] name templates.
an environment property added to CommandHook and ScriptHook.

🎉 This issue has been resolved in v1.6.0 (Release Notes)


Prevent locked stories links to show up in the list of links being fetched

A pop up like the one below generally makes user to skip the story and read some other article rather than taking up the paid membership plan.

This issue can be resolved by making different kinds of lists of articles with different kinds of membership plans. This means that we also need to know whether the user is a paid member or free member as well. How can this issue be resolved?

There isn't really a necessity to make different lists for different plans.


GSI segfaults with spack-stack 1.4.0 on hercules

I'm trying to get the NOAA GSI data assimilation system running on hercules.    Note that the segfault occurs in the CRTM library, which is the same version on both orion and hercules
[hercules-06-20:129948:0:129948] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-38:425233:0:425233] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-23:122151:0:122151] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x7ffcd18e2010)
[hercules-06-23:122149:0:122149] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-34:135253:0:135253] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-28:123765:0:123765] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-37:204900:0:204900] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-39:222132:0:222132] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-33:122560:0:122560] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-24:125957:0:125957] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-22:123409:0:123409] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-31:145177:0:145177] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x7ffc57ef4008)
[hercules-06-32:120227:0:120227] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
[hercules-06-36:212312:0:212312] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
==== backtrace (tid: 122567) ====
 0 0x0000000000054d90 __GI___sigaction()  :0
 1 0x000000000213ec80 process_allocation_records_deallocate()  for_alloc_copy.c:0
 2 0x000000000213e5f4 do_deallocate_all()  for_alloc_copy.c:0
 3 0x0000000001db3c92 crtm_k_matrix_module_mp_crtm_k_matrix_()  /work/noaa/epic-ps/role-epic-ps/spack-stack/spack-stack-1.4.0-hercules/cache/build_stage/spack-stage-crtm-2.4.0-nauulyni574akzexbjfag3p4e4snaxxi/spack-src/libsrc/CRTM_K_Matrix_Module.f90:481
 4 0x000000000187082d crtm_interface_mp_call_crtm_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/crtm_interface.f90:2157
 5 0x000000000154e082 rad_setup_mp_setuprad_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/setuprad.f90:902
 6 0x000000000116124a gsi_radoper_mp_setup__()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsi_radOper.F90:100
 7 0x0000000000b238f0 setuprhsall_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/setuprhsall.f90:490
 8 0x000000000113fb6d glbsoi_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/glbsoi.f90:324
 9 0x0000000000645a27 gsisub_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsisub.F90:200
10 0x000000000041633d gsimod_mp_gsimain_run_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsimod.F90:2313
11 0x000000000041627f MAIN__()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsimain.f90:631
12 0x000000000041621d main()  ???:0
13 0x000000000003feb0 __libc_start_call_main()  ???:0
14 0x000000000003ff60 __libc_start_main_alias_2()  :0
15 0x0000000000416135 _start()  ???:0
=================================
==== backtrace (tid: 123380) ====
 0 0x0000000000054d90 __GI___sigaction()  :0
 1 0x000000000213ec80 process_allocation_records_deallocate()  for_alloc_copy.c:0
 2 0x000000000213e5f4 do_deallocate_all()  for_alloc_copy.c:0
 3 0x0000000001db3c92 crtm_k_matrix_module_mp_crtm_k_matrix_()  /work/noaa/epic-ps/role-epic-ps/spack-stack/spack-stack-1.4.0-hercules/cache/build_stage/spack-stage-crtm-2.4.0-nauulyni574akzexbjfag3p4e4snaxxi/spack-src/libsrc/CRTM_K_Matrix_Module.f90:481
 4 0x000000000187082d crtm_interface_mp_call_crtm_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/crtm_interface.f90:2157
 5 0x000000000154e082 rad_setup_mp_setuprad_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/setuprad.f90:902
 6 0x000000000116124a gsi_radoper_mp_setup__()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsi_radOper.F90:100
 7 0x0000000000b238f0 setuprhsall_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/setuprhsall.f90:490
[hercules-06-37:204891:0:204891] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
 8 0x000000000113fb6d glbsoi_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/glbsoi.f90:324
 9 0x0000000000645a27 gsisub_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsisub.F90:200
10 0x000000000041633d gsimod_mp_gsimain_run_()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsimod.F90:2313

11 0x000000000041627f MAIN__()  /work/noaa/gsienkf/whitaker/GSI-jswhit/src/gsi/gsimain.f90:631
12 0x000000000041621d main()  ???:0
13 0x000000000003feb0 __libc_start_call_main()  ???:0
14 0x000000000003ff60 __libc_start_main_alias_2()  :0
15 0x0000000000416135 _start()  ???:0
=================================
[hercules-06-37:204892:0:204892] Caught signal 11 (Segmentation fault: address not mapped to object at address 0x1)
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source
libc.so.6          0000147E36A32D90  Unknown               Unknown  Unknown
global_gsi<PHONE_NUMBER>13EC80  Unknown               Unknown  Unknown
global_gsi<PHONE_NUMBER>13E5F4  Unknown               Unknown  Unknown
global_gsi<PHONE_NUMBER>DB3C92  crtm_k_matrix_mod         481  CRTM_K_Matrix_Module.f90
global_gsi<PHONE_NUMBER>87082D  crtm_interface_mp        2157  crtm_interface.f90
global_gsi<PHONE_NUMBER>54E082  rad_setup_mp_setu         902  setuprad.f90
global_gsi<PHONE_NUMBER>16124A  gsi_radoper_mp_se         100  gsi_radOper.F90
global_gsi<PHONE_NUMBER>B238F0  setuprhsall_              490  setuprhsall.f90
global_gsi<PHONE_NUMBER>13FB6D  glbsoi_                   324  glbsoi.f90
global_gsi<PHONE_NUMBER>645A27  gsisub_                   200  gsisub.F90
global_gsi<PHONE_NUMBER>41633D  gsimod_mp_gsimain        2313  gsimod.F90
global_gsi<PHONE_NUMBER>41627F  MAIN__                    631  gsimain.f90
global_gsi<PHONE_NUMBER>41621D  Unknown               Unknown  Unknown
libc.so.6          0000147E36A1DEB0  Unknown               Unknown  Unknown
libc.so.6          0000147E36A1DF60  __libc_start_main     Unknown  Unknown
global_gsi<PHONE_NUMBER>416135  Unknown               Unknown  Unknown

(full stdout and sterr in /work2/noaa/gsienkf/jwhitake/C192_hybcov_hourly_esmda2/2021082922//logs/run_gsianal_1.out).
Not sure if this is a spack-stack issue, a GSI issue, or a hercules issue - but I thought I'd try here first to see if anyone has any suggestions.

THat's good to know. I have seen errors (segfaults) related to CRTM on Hercules in the JEDI CI tests as well. I suspect it has to do with the newest Intel compilers being used (hinting to a bug in the CRTM code, most likely).

@BenjaminTJohnson FYI

I guess my question is why is this just occurring now, when this has been running fine on Hercule, or is this the first time it's being run on Hercules?

I believe I may be the first one to try running GSI on hercules

That's a good data point. Gercules is a much newer OS with many newer libraries (and a newer GCC?/G++ backend) than Orion. We'll have to keep digging.

We installed a new version of the stack using the latest intel compilers, can you try that please?
module purge
module use /work/noaa/epic/role-epic/spack-stack/hercules/modulefiles
module load ecflow/5.8.4
module load mysql/8.0.31

# For spack-stack-dev-20230717 with Intel, load the following modules after loading miniconda and ecflow:

module use /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-dev-20230717/envs/unified-env/install/modulefiles/Core
module load stack-intel/2021.9.0
module load stack-intel-oneapi-mpi/2021.9.0
module load stack-python/3.9.14
module available

Just tried to compile GSI with that, but it's missing bufr_d (only bufr_4 in /work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-dev-20230717/envs/unified-env/install/intel/2021.9.0/bufr-12.0.0-kfamcwl/include/)

GSI will need to be updated to work with bufr@12 - the bufr@12 release notes describe how this can be done. In the meanwhile, an older version of bufr can be and is installed - see https://github.com/JCSDA/spack-stack/issues/687. Please check if this works for you.

Once spack-stack 1.5.0 is installed on Hercules and we have confirmation that GSI works, we can close this issue as completed.

@jswhit spack-stack-1.5.0 is available on Hercules. Would you mind testing GSI on the system with Intel and GNU? Thanks!

We haven't heard back if testing with spack-stack 1.5.0 was successful or not. Closing this issue, if there are still problems with newer spack-stack versions then please open a new issue.


Feature request: Minimize launcher to tray icon

This feature would be handy when the host is not playing.

Great idea, appreciate the suggestion.
We shall see if I can make this work!


Wallpaper Changer

Description
Script to change the desktop wallpaper according to the image/images provided by the user. If multiple images provided then we can have a time interval after which the wallpaper will change.
Technologies and Languages

Python

Any other language and technology is also welcome.
Aditional Work
Make a GUI for this.

I'll be happy to do it.
Is changing the wallpaper for macOS be good enough for that?
I guess that someone will be able to extend it later to other OSs

It's okay. But see if you can write the code for other OS as well. Else, it's fine. I am not assigning u write now.
But u can move ahead in writing code and creating PR

I guess it will be pretty is to do it for Linux and Windows as well by simply detecting the OS.
I'll do them all


Fix the unused result error in client_channel_stress_test.cc.

This is to fix the unused result error in client_channel_stress_test.cc.

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

User @guantaol isn't covered by a CLA. They will need to complete the form at https://identity.linuxfoundation.org/projects/cncf

Regards,
CLA GitHub bot

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Resolved the CLA issue.

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,792      Total (=)      1,964,792

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,071      Total (>)     10,887,061

 No significant differences in binary sizes

@guantaol The CLA check still fails though.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,792      Total (=)      1,964,792

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,066      Total (>)     10,887,063

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

It seems that I should be covered by CLA now.

Thanks!


New package: SebastionStoff.Orbitron version 3.71

Pull request has been created with komac v2.2.0 :rocket:

Resolves #111299

CC @AsciiWolf
Microsoft Reviewers: Open in CodeFlow

Possible duplicate package entry.
Similar installer SHA256 hash found in manifest:
* `InstallerSha256: 2826be4985ee9ab488712adff145e05a8c3a94bad652e9a89258b328cb0ad7b8`

  * manifests\s\sebastianstoff\orbitron\3.71

Wait, what? I swear I double-checked the existing repository entries before and found no Orbitron. O.o

Anyway, it looks like it already exists: https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/sebastianstoff/orbitron/3.71
This PR can be closed.

Off by 1 letter (and caps):
Current manifest: sebasti a nstoff
This manifest: Sebasti o nStoff
Duplicate of https://github.com/microsoft/winget-pkgs/pull/14496


not retaining all values on outside click (Lazyloading)

we are not able to retain all values after we search something and click out side and when we came back. search term became empty but results are coming with previous search term.when we perform any click like 'Enter',,'Backspace' in search box then we are getting all data.

Expected: when we search for any item then closed drop down,when we opened again search term should be cleared and data should get like when no search performed.like functionality when not using lazyloading

fixed. fix available in v4.5.0


Check for X times

Hello there,
First, a big thank you for the library, as it's proving very useful in our test cases.
As stated in the title, is it currently possible to check for the log messages X times, for example, when logging as part of a loop?
I'm going through the source code, but I have not found anything related to this.
Regards

Thanks @rei-paypay
I do not think there is a matcher in hamecrast for that, but let me think about a DSL to support that
I imagine you would like something like the following?
  def "verify n items"() {
    expect:
    log.info("a message")
    log.info("a message")

    logged(aLog().info().withMessage("a message")).times(2)
  }

@jsalinaspolo
Thanks for getting back.
Yes something like that would be great to have.

Would something like this work for you?
  def "verify n times logs"() {
    expect:
    log.info("a message")
    log.info("a message")

    logged(aLog().info().withMessage("a message"), 2)
  }

https://github.com/jsalinaspolo/logcapture/pull/170

@jsalinaspolo
Hey sorry for the late reply.
Yes that looks perfectly okay.'
Thank you.

I think we can close this one down for now :)

It will be part of 1.3.1 version
https://github.com/jsalinaspolo/logcapture/pull/174
Thanks @rei-paypay


Create winget.yml

This action automatically generates manifests for WinGet Community Repository (microsoft/winget-pkgs) and submits them.
Before merging this:

Please add a GitHub token with public_repo scope as a repository secret and rename the secret name in the workflow.
Fork microsoft/winget-pkgs under @blueedgetechno.

cc @andrewstech since GitHub workflows don't trigger when the release is made by GitHub Actions, please use a GitHub PAT to publish them and then merge this PR. This is a weird bug from GitHub itself.

⌛ Deploy Preview - Build in Progress

@andrewstech you haven't forked winget-pkgs.
https://github.com/blueedgetechno/winget-pkgs is not available, hence, the action won't work.


Create a utility to validate context imports

Should check that a context containing a class which has a rdfs:subClassOf relationship with another class also directly imports the context containing that parent class's RegistryEntry having a PythonClassDescription or such a RegistryEntry.
This much is needed for the class resolution feature to work in PyOpenWorm. Other such validations may be useful and so a generic framework may be stubbed out, but need not be implemented for this task.

Rather than validate, imports can probably be added automatically in Mapper::process_class or thereabouts.


fix(version): update fabric8-runtime-console to 0.14.4

There were the following issues with your Pull Request

Commit: 328837fe3964e73360c598a5f2a4d71a51a12917
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


Scatter nd add has legacy docstrings from scatter nd

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/tensor_scatter_nd_add
Description of issue (what needs changing):
These sentences:

indices is an integer tensor containing indices into a new tensor of shape shape. The last dimension of indices can be at most the rank of shape:

Seem to be direct copy-paste from the docs of scatter_nd. However, there is no shape args in scatter_nd_add.
Clear description
The docs should instead refer to tensor.shape.
Correct links
Is the link to the source code correct? There is no link (that's another issue though I guess), only to the tf v1
Parameters defined
Are all parameters defined and formatted correctly? Yes
Returns defined
Are return values defined? Yes
Raises listed and defined
Are the errors defined? No errors raised apparently
Usage example
Is there a usage example? Yes
Request visuals, if applicable
Are there currently visuals? If not, will it clarify the content? No, but there are some in scatter_nd, I guess it's enough
Submit a pull request?
Are you planning to also submit a pull request to fix the issue? See the docs
contributor guide: https://www.tensorflow.org/community/contribute/docs,
docs API guide: https://www.tensorflow.org/community/contribute/docs_ref and the
docs style guide: https://www.tensorflow.org/community/contribute/docs_style
Not right now

@zaccharieramzi , can you explain the issue using example and elaborate it ? The given description is not enough to clearly understand the issue. Thanks!

Well it's a doc issue so it's not really fit for an example. I just meant that the docs for tensor_scatter_nd_add should not mention a shape argument that is not part of the arguments of tensor_scatter_nd_add.

Thanks for the quick reply @zaccharieramzi . Are you able to locate the file where tensor_scatter_nd_add is implemented? If Yes, then please also provide the link. I am not able to locate the method.

Like I pointed in the issue there is no link to the source code in the docs (that's another problem I guess). I think it's because it's a C++ op.
However, I don't understand why you would need it to understand this particular issue.
Anyway, I think the function is implemented here: https://github.com/tensorflow/tensorflow/blob/5214758e1f9335008a788be554633d974f569cf1/tensorflow/compiler/tf2xla/kernels/scatter_nd_op.cc#L172

@zaccharieramzi , I have found the code with the doc here.

Oh you meant the docstring code, right.

@zaccharieramzi and @mihaimaruseac , I have raised PR #35 to resolve this issue. Please review.

@mihaimaruseac , sorry for wrong PR. review #37832 for this issue.