terminate called after throwing an instance of 'RosMsgParser::RangeException'

Hi,
thanks for great work, what does under means when parsing a rosbag:
terminate called after throwing an instance of 'RosMsgParser::RangeException'
what():  Floating point truncated
My Environment: Ubuntu 18.04 ROS Melodic
BR

It seems the deserialize function has some problem.
const auto deserialized_msg = parsers.deserialize(topic_name, msg_instance);

Hi carlin314 , I met the same problem. Did you fixed it ?

a very basic search into past solved issue would reveal that this "issue" has been mentioned a number of times in the past.
The problem is that your number can not be represented precisely as a double.
What should I do?

tell you "hey, the value can not be represented in PlotJuggler"?
or silently CHANGE your value and then hear the complaints about that?

This is not a problem but by design. Your number can not be represented as a floating point, because it would not be the "same" number.
If you are ok with that, just remove the check. If you are not OK with that, catch the exception and convert it to uint64_t or int64_t

thanks for your reply!
I understand that the cause of the exception is floating truncated as it says. I tryed catch and convert it to uint64_t or int64_t, but simply do that doesn't work, becase the DeserializedMsg requires a double value. May I ask you for some advice ?
https://user-images.githubusercontent.com/92908051/145962919-f9b16b33-dd4b-4411-a162-a32249f7507f.png


theme-classic(v2): navbar shows with no links

🚀 Feature
My themeConfig.navbar config has no links. This looks fine on desktop. However, on mobile it shows a hamburger menu, which when pressed slides out an empty side panel. I'd like for this hamburger menu not to appear since there's no value to having the empty panel
Have you read the Contributing Guidelines on issues?
Yes
Motivation
I don't have anything compelling to put in links. Also, even when I did have something there, I got user feedback that it was confusing to have two hamburger menus on mobile (i.e. the navbar and the sidebar).
Pitch
There are multiple ways this could be implemented:

Detect that links is empty and render different HTML as a result
Add a new section which allows users to specify a title and logo and then make the navbar section optional
I found https://github.com/facebook/docusaurus/issues/2220 which would make this unnecessary and actually sounds like an even better solution to me. However, without being very familiar with the theme code, that solution sounds possibly much harder to implement. I'm filing this issue as a potentially easier improvement. I also think that the two are not mutually independent. Even if the other solution is implemented it probably still makes sense not to show an empty hamburger menu if either the sidebar or table of contents is empty

Good catch, PRs welcome!

I probably don't know enough React or have enough time to fix this myself, but thanks for triaging!

No worries, not asking you to fix it yourself, it's up for grabs by the community :)


Improve pr_code_suggestions_reflect_prompts.toml

PR Type
enhancement, documentation

Description

Fixed an invalid property name from suggestion_content to suggestion_summary.
Added more examples for n-short prompting, including detailed suggestions for code improvements.
Used backticks to quote variable names in the why section for better readability.

Changes walkthrough 📝
Relevant filesEnhancement

pr_code_suggestions_reflect_prompts.tomlUpdate suggestion examples and fix property names

pr_agent/settings/pr_code_suggestions_reflect_prompts.toml
Fixed invalid property name from suggestion_content to suggestion_summary.  Added examples for n-short prompting with detailed suggestions.  Used backticks to quote variable names in the why section.

+14/-2

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

@KennyDizi thanks for the feedback. basically the prompt field has a bug, this should fix it:
https://github.com/Codium-ai/pr-agent/pull/995/files
As a rule of thumb, examples should be as short as possible. their main purpose is to demonstrate the YAML structure
Hence, I wont accept this PR as-is. but I will fix the bug you pointed out

Should I remove the additional examples? Thus we don’t need to open another PR.

Should I remove the additional examples? Thus we don’t need to open another PR.

i already merged. but thanks for the PR, it did identify a problem

That's good to know! However, I think you can guide the community in updating the PR in this situation or similar situations. You can totally open a new PR to fix that but that increasingly loses the community's motivation.

i understand. it was a bug, and I wanted to fix it quickly.
Next time, I will give the original PR author a couple of hours to make the adjustments himself

I'm the author of this PR, and that would be great @mrT23


[Staging] CLA manager request to join company hangs after pressing "Join Company"

Summary
When a potential cla manager requests to join a company, the modal hangs with no feedback to the user, but the email is sent.

Looks like it is inconsistent issue. Observed this issue in Dev env as well

Observed this issue again today. Intermittent issue

@rinkeshbhutwala can you please look into it? below are the details for failed API
https://api.lfcla.dev.platform.linuxfoundation.org/v3/company/07206b03-d26a-498a-8de4-2de857576584/cla/accesslist/request
Request: PUT
Input :
{
"userID": "amolsontakke",
"lfUsername": "amolsontakke",
"lfEmail"<EMAIL_ADDRESS>"username": "Amol Santakke"
}

@amolsontakke3576 @dealako I have verified this ticket locally and also tested Dev and Staging looks like issue is fixed so moving this ticket to Ready For QA


fix(text-input/text-area): explicitely set placeholder opacity

Closes #2036
Firefox sets default opacity on placeholder text to something like 0.5 by default. As described here in the MDN documentation.
Changes

in _text-area.scss explicitly set placeholder opacity to 1
in _text-input.scss explicitly set placeholder opacity to 1

alternative solutions

we could gate this off and make this opacity setting specific to Moz browsers

Another option is throwing this in the css reset, but I think this more opinionated approach works fine as well.
::-moz-placeholder {
  opacity: 1;
}


Syntax highlighting for shaders

Is it possible to have syntax highlighting for shaders? Code autocomplete and error checking will be good too
I know that it is basically GLSL with extra-features, but if I will try to use some modern GLSL editor all these $input/$output will be marked as error lines for sure
Any ideas?

@NukeBird This is a bit old, but have you found any solution in the meantime? I would like to have a syntax highlighter extension for VSCode but, at this point, I wouldn't even mind using another IDE.


scala 3

depends on https://github.com/lampepfl/dotty/issues/12086
just popping this in an issue to keep track of it

pr to fix the issue here https://github.com/lampepfl/dotty/pull/14426

I can see the fix will be in 3.1.3 🥳


Some improvements

CMakeLists refactoring
Updating used libraries to their latest versions
Refactoring of using C-style output functions
Adding installation of necessary files for app distribution
Changing ASSETS_DIR path from absolute to relative, so it helps to run shaders on different machines

Hi Ihtier-0,
thanks for your contribution, your changes seem all reasonable and I'd like to include them.
I checked out your commit and tried to build it. However I receive an error in the main CMakeLists.txt when copying the Asset directory to the install directory. To my understanding the install directory is not necessary to specify and isn't set by my IDE by default. In my case this leads to an error where the target install directory doesn't exist.
I'd suggest to make this step optional in case the user doesn't want to install the project during development phase.

Hi Ihtier-0,
thanks for your contribution, your changes seem all reasonable and I'd like to include them.
I checked out your commit and tried to build it. However I receive an error in the main CMakeLists.txt when copying the Asset directory to the install directory. To my understanding the install directory is not necessary to specify and isn't set by my IDE by default. In my case this leads to an error where the target install directory doesn't exist.
I'd suggest to make this step optional in case the user doesn't want to install the project during development phase.

Hi adrianderstroff,
Thank you for your feedback and for considering including my changes.
I understand the issue you're encountering with the main CMakeLists.txt file. To help me better diagnose and address the problem, could you please send me the error logs you received? This will allow me to make the necessary adjustments and consider making the step optional for those who do not wish to install the project during the development phase.

Sure, so I'm using CLion to build the project. The following is an excerpt with the relevant error message:
-- Build files have been written to: D:/opengl-starter/cmake-build-release/_deps/groupsourcesbyfolder.cmake-subbuild
[0/7] Performing update step for 'groupsourcesbyfolder.cmake-populate'
[1/7] No patch step for 'groupsourcesbyfolder.cmake-populate'
[3/7] No configure step for 'groupsourcesbyfolder.cmake-populate'
[4/7] No build step for 'groupsourcesbyfolder.cmake-populate'
[5/7] No install step for 'groupsourcesbyfolder.cmake-populate'
[6/7] No test step for 'groupsourcesbyfolder.cmake-populate'
[7/7] Completed 'groupsourcesbyfolder.cmake-populate'
CMake Error at CMakeLists.txt:19 (file):
file COPY cannot make directory "C:/Program Files
(x86)/opengl-starter/assets": No such file or directory.
Please let me know if you need more information.

I looked into the issue, and by default, the CMAKE_INSTALL_PREFIX variable is set to "C:/Program Files (x86)/${project_name}".
During the CMake configuration, the assets are copied to the CMAKE_INSTALL_PREFIX directory. Files cannot be copied to "C:/Program Files (x86)/" without administrative rights.
Possible solutions:
Run the CMake configuration as an administrator.
Manually set the CMAKE_INSTALL_PREFIX.
Set the CMAKE_INSTALL_PREFIX in the main CMake, for example, to ${PROJECT_SOURCE_DIR}/install.
I lean towards option 2 because, in most cases, when building other open-source projects, I have encountered option 2.

Thank you for your recommendations!
My intention was to provide a simple starter especially for newer programmers. Imo it might be frustrating for C++/OpenGL beginners to set additional flags in CMAKE if its not necessary. I wanted to have something that works out of the box. I'm honestly not very familiar with this but I was wondering if its common to install the project during the development phase? I agree once you want to deploy your finished project then it makes sense to offer an install step but I would not install all my temporary/unfinished OpenGL projects.
Therefore I would probably lean towards option 3. Or option 4: make the copy step optional only when an install prefix was provided by the user. In that case while development phase the assets folder in the source directory is used and once an install prefix is provided the shaders will be copied to the install prefix.

I have considered what you wrote, and I believe you are correct.
I have chosen option number 3. I have pushed several fixes related to this and built it on different IDEs.
I have tested the project's functionality on several IDEs: Visual Studio, CLion, QtCreator. Building and running the project on all IDEs did not encounter any issues and can be done with a single click.

Awesome! I also tested it and it works out of the box now. Thank you for your contribution @Ihtier-0 !


expecting a Worker to have a queue size is broken.

Here is the pry session where I discovered the issue (worker names changed).
    206:             # TODO: I can't understand why there are 2 jobs.
    207:             #       I've done everything I can think of to isolate the test to the single job I expect enqueued.
    208:             expect(OnlyOneLikeThis).to have_queue_size_of(2)
 => 209:             binding.pry
    210:             expect(OnlyOneLikeThis).to have_queued(id: lead.id).in(:slow)

[1] pry(#<RSpec::ExampleGroups::...::OnlyOneLikeThis>)> ResqueSpec.queues
=> {"slow"=>[{:class=>"DoOtherStuff", :args=>[{:id=>1}]}, {:class=>"OnlyOneLikeThis", :args=>[{:id=>1}]}]}

There were 2 jobs total, only one of them was for the worker OnlyOneLikeThis, and my expectation was, I thought, also for that worker: expect(OnlyOneLikeThis).to have_queue_size_of(2), so I would have expected it to fail, since only one job was for that worker.
PR to come shortly.

Fixed https://github.com/leshill/resque_spec/pull/120

Hi @pboling,
Thanks for the report and PR. Is the missing feature a matcher that matches only the jobs on a queue that have been enqueued by a given worker and not any other worker that may be using the same queue?

Well that's what I expected it to do, the test has little meaning if you count everything in the queue if your system backgrounds everything.

See the PR.  I updated the code/specs for what I expected.
Could be made a separate feature.

Hi @pboling,
Yes, the confusion exists because the matcher allows referencing the queue by the worker’s class and by name. When referencing by the worker’s class, limiting the jobs to just that worker is certainly one way to view it.
However, this may be a significant breaking change for other users (or maybe not?)
One alternative is to just create a new matcher for jobs queued by this worker.
Any other opinions?

The only test that makes sense to me is when matching on a class you test how many jobs are enqueued for that class.  Otherwise your test is semantically misleading, and you should be testing for how many jobs are in a queue.
If you want to not consider this a bug I would at least deprecate the old method of testing for the count of jobs in a queue by the class name, and separate that into a new matcher which only tests the number of jobs in a queue for a given class.
Either way that the only test I would use by class name.  Otherwise I would test by the queue name.

Of note - is it possible for a single class to enqueue jobs into different queues, dynamically?  If so then the classname => queue proxy is entirely incorrect.

Hi @pboling,
Deprecating the existing class based behavior and adding a new matcher is a reasonable way to migrate everyone forward, would you update the PR?

I'll try to get to it soon.

One alternative here would be to detect the type passed as an argument to the expect() method: if it's a symbol, look for the number of jobs on the queue. If it's a Class, count the instances of that class on the Class' queue.
Thoughts?

Hi @sailing,
That seems reasonable as well.


add test that we do not merge neighboring SRW

Turns out that interior_mut2 also already tests this, but that also involves UnsafeCell so the new test still seems more clear. Basically the new test is the same as the old except that it uses raw pointers rather than &UnsafeCell. (When the old test was written, raw pointers were still untagged, so no such test would have been possible.)
I verified that both of these fail when we remove mutable references rather than disabling them.
Here is the patch I used for that:

diff --git a/Cargo.toml b/Cargo.toml
index 208b3a76..f9d1b0ac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -53,7 +53,7 @@ name = "compiletest"
 harness = false

 [features]
-default = ["stack-cache"]
+default = []
 stack-cache = []

 # Be aware that this file is inside a workspace when used via the
diff --git a/src/lib.rs b/src/lib.rs
index ba337f28..2a3066f4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,6 +9,7 @@
 #![feature(is_some_with)]
 #![feature(nonzero_ops)]
 #![feature(local_key_cell_methods)]
+#![feature(drain_filter)]
 // Configure clippy and other lints
 #![allow(
     clippy::collapsible_else_if,
diff --git a/src/stacked_borrows/stack.rs b/src/stacked_borrows/stack.rs
index 4a9a13d3..37246df7 100644
--- a/src/stacked_borrows/stack.rs
+++ b/src/stacked_borrows/stack.rs
@@ -351,6 +351,9 @@ impl<'tcx> Stack {
         #[cfg(all(feature = "stack-cache", debug_assertions))]
         self.verify_cache_consistency();

+        // HACK -- now just delete all disabled things.
+        self.borrows.drain_filter(|b| matches!(b.perm(), Permission::Disabled));
+
         Ok(())
     }

r? @saethlin

This adds a fail test, is it possible for code to be well-defined only because there is a Disabled tag in the stack?

I don't think so; I think merging to SRW blocks can only make programs more defined. But I have been wrong about monotonicity results like that for Stacked Borrows before. ;)

@bors r+

@saethlin: :key: Insufficient privileges: Not in reviewers

@bors r=saethlin

:pushpin: Commit db43ee5714900900a52ad5050b77993288472ce2 has been approved by saethlin
It is now in the queue for this repository.

:hourglass: Testing commit db43ee5714900900a52ad5050b77993288472ce2 with merge 793f198b9d8c276f09ac30dbd1278ad0e1320839...

:sunny: Test successful - checks-actions
Approved by: saethlin
Pushing 793f198b9d8c276f09ac30dbd1278ad0e1320839 to master...


Support Test::Unit::TestCase

Maybe this would make the ModuleShorthandError obsolete?

I don't remember why it doesn't support shorthand. I personally only used nested-style, so it's not a feature I need, but I'd be happy to accept a PR.

I don't remember why it doesn't support shorthand.

I didn't understand either. My tests had lots of shorthands, including in test class names, and the error never triggered. So I don't know what to do with this and just wanted to let you know that #ancestor_names could be re-used here.


Added validator set SSZ serialization and added it to header.

Description
Please add a description of the changes that this PR introduces and the files that
are the most critical to review.
If this PR is non-trivial/large/complex, please ensure that you have either
created an issue that the team's had a chance to respond to, or had some
discussion with the team prior to submitting substantial pull requests. The team
can be reached via GitHub Discussions or the Cosmos Network Discord server in
the #cometbft channel. GitHub Discussions is preferred over Discord as it
allows us to keep track of conversations topically.
https://github.com/cometbft/cometbft/discussions
If the work in this PR is not aligned with the team's current priorities, please
be advised that it may take some time before it is merged - especially if it has
not yet been discussed with the team.
See the project board for the team's current priorities:
https://github.com/orgs/cometbft/projects/1
-->

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use
unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

anyone analyzed the implications fully switching (what compatibility would break and whatnot)

As mentioned in chat:

If we now have two commitments of the validator set in the header, what are the implications if a dishonest majority provide mismatching commitments with different validator sets? Will this cause a chain split? This should be analyzed in the context of DA slashing guarantees, etc, and I assume there are similar questions for the QGB itself as well.

anyone analyzed the implications fully switching (what compatibility would break and whatnot)

are you talking about on disk switching to SSZ or also transaction submission?


Setup application with core components

Based on plan, setup the app with following components.

Dagger
Android Arc component
Material design

I think this is done, we have Dagger and Arch component already setup.


Expose raster overlay properties to Blueprints.

Fixes #683

Thanks for the pull request @kring!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.


Two VisionBonnets on RPi

Hi @dmitriykovalev @weiranzhao ,
For my project, I'd like to interface two vision bonnets to RPi. I studied the existing interface and it seems the Pi communicates with Bonnet using SPI protocol. Going a bit deeper, Pi has one dedicated SPI interface and two chip select signals. So, technically, we can connect two SPI devices to the Pi and arbitrate the data transfer between the devices. I'm building a physical system with the aforementioned configuration.
My question is: Is there an API on the software side to arbitrate between the devices?
Thanks,
Venky

There're couple more gpios used in that communication beyond spi lines. And
current kernel driver isn't designed to support multiple bonnets.
For your case it might be easier to just use two pi0 boards with two vision
bonnets (one per pi). And then use networking to communicate between Pi's.
On Mon, Apr 30, 2018, 7:13 PM Venkatesh Kodukula<EMAIL_ADDRESS>wrote:

Hi @dmitriykovalev https://github.com/dmitriykovalev @weiranzhao
https://github.com/weiranzhao ,
For my project, I'd like to interface two vision bonnets to RPi. I studied
the existing interface and it seems the Pi communicates with Bonnet using
SPI protocol. Going a bit deeper, Pi has one dedicated SPI interface and
two chip select signals. So, technically, we can connect two SPI devices to
the Pi and arbitrate the data transfer between the devices. I'm building a
physical system with the aforementioned configuration.
My question is: Is there an API on the software side to arbitrate between
the devices?
Thanks,
Venky
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/aiyprojects-raspbian/issues/348, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AEJs0Boyu4dO5F8nQi6ofpghECPhaUS0ks5tt8SygaJpZM4TtfE9
.

Hi @lleonid
Thanks for your response.
(1) Is the current kernel driver open sourced? How hard is it to modify the current kernel driver to support multiple Vision Bonnets?
(2) Would it be possible to share the details of GPIO pins that are used for communication between Pi and Vision Bonnet?
(3) For my project, I want to run distributed inference of a neural network between two VisionBonnets. Ideally, I'd like to have a single operating system/host to control the Vision Bonnets. I wonder if this can be possible if I connect two Pis using a ethernet cable.
Thanks,
Venky

Yes, driver is open source (look for aiy-vision.c under /usr/src).
I would say it's going to be quite time consuming to support multiple
bonnets in driver.

It's a bit complicated as one gpio is controlled via i2c command to mcu
on bonned board and the other one is regular rpi gpio. You could look up
details in the driver source.

Not sure I understand your concerns here. You can setup network
communication between two Pi's and then there's nothing preventing you from
controlling one pi (and the bonnet attached to it) from another pi. Or you
could control both from another host, being that desktop computer or
something else.

Thanks, Leonid.
On Tue, May 1, 2018, 9:43 AM Venkatesh Kodukula<EMAIL_ADDRESS>wrote:

Hi @lleonid https://github.com/lleonid
Thanks for your response.
(1) Is the current kernel driver open sourced? How hard is it to modify
the current kernel driver to support multiple Vision Bonnets?
(2) Would it be possible to share the details of GPIO pins that are used
for communication between Pi and Vision Bonnet?
(3) For my project, I want to run distributed inference of a neural
network between two VisionBonnets. Ideally, I'd like to have a single
operating system/host to control the Vision Bonnets. I wonder if this can
be possible if I connect two Pis using a ethernet cable.
Thanks,
Venky
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/aiyprojects-raspbian/issues/348#issuecomment-385719576,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJs0F9ubES2O361F_84WWdEw5hqosRlks5tuJCXgaJpZM4TtfE9
.

Pi Zero has Ethernet-other-USB capability. One option is to connect one Pi Zero into another one using USB cable (and USB OTG adapter). Another option is to connect both of them into network switch/hub.   There are other options, everything probably depends on your use case.

Thanks for the pointers. Another option is stack the VisionBonnets on Pi3 boards and connect the Pi3 boards using a ethernet cable. I'm closing this issue for now. One can always re-open this if they want.


Killed unexpectedly in Colab with TPU

On a budget, I'm running the training_agent for Caro on Colab with TPU.
However, somehow it always got killed at iteration #1 around 64% without much stacktraces provided.
Any experiences or theories on why this may happen?
!


Warnings under Love 11.1

LOVE - Warning: vendor/lurker.lua:65: Using deprecated function love.filesystem.isDirectory (replaced by love.filesystem.getInfo)
LOVE - Warning: vendor/lurker.lua:204: Using deprecated function love.filesystem.getLastModified (replaced by love.filesystem.getInfo)

line 17 local isdir = love.filesystem.getInfo
line 19 local lastmodified = love.filesystem.getInfo
line 64 if recursive and isdir(f).type == "directory" then
line 192 return f:match("%.lua$") and lurker.files[f] ~= lastmodified(f).size
line 204 lurker.files[f] = lastmodified(f).size
could be cleaner but at least it works

Since the functions are already at the top, and have a very definite purpose, changing them is pretty easy:
local isdir = function(item) return love.filesystem.getInfo(item).type == "directory" end --love.filesystem.isDirectory
local lastmodified = function(item) return love.filesystem.getInfo(item).modtime end --love.filesystem.getLastModified

Also, the code provided by @4v0v uses size instead of modtime to determine whether a file was modified, which doesn't work in the (admittedly few) instances where the file is still the same size after modification.

Oh I understand why I had so many bugs now... Don't use my code indeed xd

I've made a PR for this. #10

I'm still currently using love 0.10.2 -- if anyone wants to add the functions @weakman54 described combined with a call to love.getVersion() to use the old functions for earlier love versions, and can test it works fine on love 11, I'd be happy to accept a pull request.


Backward compatibility issue in 4.6.x with databasechangelog.filename

https://forum.liquibase.org/t/backward-compatibility-issue-in-4-6-x-with-databasechangelog-filename/6424/2
Adding this here from the Forum so we are sure not to miss it.

Hi,
I am using Liquibase 4.4 and want to upgrade to 4.6.
When upgrading, I got migration error (MigrationFailedException) because Liquibase was trying to run my scripts even though nothing was changed.
I compared the ‘databasechangelog’ checksum of my scripts, between existing database and a new one created with 4.6.2.
I noticed that the md5 checksum is the same on both. The only difference I saw was with the column ‘filename’:
In my original database created with 4.4 the file name is db/config/../changes/baseline/0001_newTenant.sql, but with 4.6 it is created as db/changes/baseline/0001_newTenant.sql.
Technically, this is the exact same path. But somehow liquibase doesn’t recognize it now and cause my upgrade to fail, thinking this is a new script.
To validate that this is indeed the issue, I manually changed ‘databasechangelog.filename’ in my existing database to the new format generated by v4.6, and it worked.
My changelog file db.changelog-baseline.xml is looking like this:
<include file="../changes/baseline/0001_newTenant.sql" relativeToChangelogFile="true"/>

And the folder structure is:
└───db
├───changes
│   └───baseline
│           0001_newTenant.sql
├───config
│       db.changelog-baseline.xml
Right now, I’ve also found a workaround: I added the logicalfilepath to my changeset files like this:
-- changeset yoely:0001 dbms:postgresql logicalfilepath:db/config/../changes/baseline/0001_newTenant.sql
So even though I found a workaround, this is still a lot of work to do for all of my projects and change files.
Is there any better workaround for it? Or maybe a fix to Liquibase to prevent such confusion ?
Thanks,
Ori


Add analysisRequestSettings field to projects

Needed for https://github.com/conveyal/analysis-ui/pull/602

Codecov Report

Merging #102 into dev will increase coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##                dev     #102      +/-   ##
============================================
+ Coverage     14.17%   14.18%   +<.01%
  Complexity       36       36
============================================
  Files            47       47
  Lines          1855     1854       -1
  Branches        142      141       -1
============================================
  Hits            263      263
+ Misses         1586     1585       -1
  Partials          6        6

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/com/conveyal/taui/models/Bookmark.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...rc/main/java/com/conveyal/taui/models/Project.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...java/com/conveyal/taui/models/AnalysisRequest.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

@ansoncfit this has been updated so that there is only one place with the percentiles parameters (in the UI). Please re-review when you can 👌


download/app Freezing

Please delete the above and the contents of this line, then fill in the feedback form in the following format, Thanks.

Describe the bug
Whenever I try and download something it stops after around 20-30mb and when I go to pause it or cancel the download it doesn’t let me. Then after a while the download speed goes to 0 (at this point it’s still not letting me cancel the download or anything). When I go to exit the app from the taskbar thing It just doesn’t let me I have to go and end the task. When I reopen the app it’s just like a white screen and I can’t do anything. In order to get rid of this problem I have to restart my system all together.
To Reproduce
Steps to reproduce the behavior:

Start a download
2.Wait until it stops download and automatically freezes
Try and cancel it or pause it or close the app
See error

Expected behavior
It’s expected to continue downloading without stopping.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS & Version: Windows
Version: Windows 11
Motrix Version: 1.6.11
Installation package type: idk

Additional context
I am trying to download a large game which is around 87gb.

This happens to me with whatever the size is, it goes to like 37.1 or 27.8 or something mb and then stops downloading, and then the download speed will go to 0kb/sec. I have been trying to fix it and it's not working, I'm currently trying to download a game that is around 74 GB. Please make a fix for this issue


When a date selected outside of current month, it reverts to current month

Expected Behavior
When you select a date in the next month ie. the 1st after the 30th, that is within the current view that date should be the selected one.
Current Behavior
Instead it selects the date within the current month, ie. the 1st of december is selected but the 1st of november is returned.
Steps to Reproduce (for bugs)

Open picker and select a date of the next month that is shown within the current view.

Context
Not returning correct date.
Your Environment

Version used: 2.08
Browser Name and version: Chrome 54.0.2840.71
Operating System and version (desktop or mobile): Win 10 Pro Desktop
Link to your project: N/A

Hello,
Had trouble replicating it - https://chmln.github.io/flatpickr/#event-onChange
If you could provide a fiddle or an example with the config you use - that'd be fantastic

I too am unable to reproduce the issue.
Chrome 54.0.2840.87
MacOS Sierra 10.12.1

This seems to be the same issue as #368.

Try using the latest version.
If the problem persists, feel free to reopen the issue.


Allow diamondCut to be extended in a derived facet

This PR updates the visibility of the diamondCut method in DiamondCutFacet from external to public and adds the virtual keyword. This change enables the method to be overridden and extended in a derived facet.
Open to discussing suggested patterns for extending diamondCut functionality if this is not recommended. Thank you so much!

I think this is fine.


Added Yarn instructions

Motivation
Yarn is faster and easier to use.
My first PR :blush:
Does this PR introduce a breaking change?
No

Thanks for the contribution, @nainardev! I don't think that we need to add yarn instructions on the site. It'll pollute the guide, which should be as simple as possible, and people using yarn should already know how to add it based on npm instructions.

@diegohaz, npm users also know how to use, so remove those as it pollutes the guide

@nainardev I probably used the wrong term! I'm just saying that whenever yarn users see npm install foo, I expect they will guess yarn add foo. So, that would be an unnecessary information that could confuse beginners.
Anyway, again, thank you for your contribution! 🙂


[Hacker News] Unable to load stories due to local issuer certificate

Extension – Hacker News
Author: @thomaspaulmann
Description
Unable to load stories due to local issuer certificate

Warning: Failed loading stories unable to get local issuer certificate.

Steps To Reproduce

Launch Raycast
Type Hacker News, hit return
Observe Failed loading stories unable to get local issuer certificate error message

The current behavior
Extention failed loading stories.
The expected behavior
Extention loads stories.
Raycast version
Version: 1.38.3
System information
OS: macOS Monterey
Version: 12.3.1
Model: MacBook Pro (16-inch, 2021)
Chip: Apple M1 Pro
Memory: 16 GB

A quick Google search suggests that this is a SSL issue. Not sure if there is much to do on the extension side. Can you retry using it? Do you have any special networking setup?

@thomaspaulmann thanks for the quick response. Sure enough, it was my employer's proxy (Zscaler) causing issues. It works like a charm now.

Glad you can stay on top of HN!

hi @kanemontreuil, I face the same issue and I'm also working under Zscaler, how did you resolve it?

@waltyou I was able to work around Zscaler's proxy by using a VPN

Does anyone know if there's a way to disable SSL verification in raycast? I'm unable to bypass the ZScaler proxy.


No tests?

It looks like the only test flank has is empty?
It'd be nice to setup some E2E tests on Travis CI using encrypted variables.

This we definitely need.

Flank kotlin has some tests now, including a mocked server. :)


PK-   ðq>T           [  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/                   PK-   ðq>TÁqLbÉ   3  e  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/000003.log                  MM‚0…ß0„Ä?+ãˆˆÝ×î]¸RDAÿ"n¼[ Çð\ÇøJ‰±ÓvÞL¿N'ýÜ»6D ‡òRSj Ã–`Òqz£:U^,
ZZVƒ{ÝY¼ÞÄ¬@ó
Ç³¬^Ì°Ã•vFŽ%úˆ1D‚€/…s%Ìð±a4âÚ2ã1·fäÓ£é·]V‰H(êBu r‘âDK±g”ã†#«e¬ñÝŒ'G21ý¡ì`
O8…²ES …%Æc5·›ûÿ[H¾PK-   ðq>T¾rê      b  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/CURRENT                  óuôóts
Ñ5 C. PK-   ðq>T           _  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/LOCK                   PK-   ðq>T	•ïzà   Å  ^  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/LOG                  ÕMjÃ0…÷9Å\ ²,'Vì]b·%Ð–ÒŸ ÈÒÈØ’‘Ô¿Û×qè®è,æÍãñ>FËhžtMË:ßÖ#ÆITÐ”ÉºÚ4µx‹â²s±Ÿ¦V&)î½’ƒ¸ó¾P4çàG\°|Ÿ‚7v@`âè4~¡nâœÒOTmLÉxÅ]í*4¹êvEQñYæ”DiÐ9"é—ðøí´Usïˆòã‰{ÔðÝA´N!ØŸ2Âhã|÷dÅþ@ÜrzE|Æ÷‹öÇÛ›—×ÿÀ™ý–]ÓËä«PK-   ðq>TaõU§      j  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/MANIFEST-000001                  {rï ##GfJR|rn!3 PK     ðq>T           [                 https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/PK     ðq>TÁqLbÉ   3  e                https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/000003.logPK     ðq>T¾rê      b            ï  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/CURRENTPK     ðq>T           _             ’  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/LOCKPK     ðq>T	•ïzà   Å  ^            %  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/LOGPK     ðq>TaõU§      j             •  https_0c4f62797fc63d989ef1cb8339762770.safeframe.googlesyndication.com_0.indexeddb.leveldb/MANIFEST-000001PK      ]  J


sharded pub sub message order

if we call RShardedTopic.publishAsync in a single thread with the same channel, is there no guarantee on the message ordering since messages are published using connection pool internally? does isKeepPubSubOrder works?

if we call RShardedTopic.publishAsync in a single thread with the same channel, is there no guarantee on the message ordering since messages are published using connection pool internally?

It doesn't depend on channel. I didn't check this case. Messages order is maintained on Redis side.

does isKeepPubSubOrder works?

only for messages receiving.


change default rsync flags to copy symlinked content

In #37, the -K flag was added, which does some symlinky stuff. However, it does not copy all symlinked-in files and directories to remote destinations. This changes that flag to--copy-links, which causes rsync to copy that symlinked content to the destination.
Additionally, the --partial flag will resume partially transferred files instead of clobbering the partial content.

Why --copy-links instead of --links as the default? For what it's worth, I see good use cases for both of these flags (and macroscope already needs/uses --links). But if we make --copy-links the default, is it easy to turn it off by using rsync-extra-opts in project.yaml; that is, can we pass something like --no-copy-links in the extra opts to disable --copy-links?

To add to that, I think you'd want to use --links for "internal links"; symlinks in a project which point elsewhere within the project. You'd want to use --copy-links to pull in "external" content, like from an assets repo, say.

--links will create symlinks at the destination, but the new symlink will point to the same path, i.e. /Users/arice/projectname. At least, according to my googles. That doesn't strike me as a convenient default.
This implementation only uses the default flags when rsync-extra-opts is not specified at all.

--links will create symlinks at the destination, but the new symlink will point to the same path, i.e. /Users/arice/projectname. At least, according to my googles. That doesn't guarantee that the destination has the files that are reachable from inside your local directory.

macroscope used relative symlinks which rsync was able to re-create just fine.

This implementation only uses the default flags when rsync-extra-opts is not specified at all.

So it's part of the default value for rsync-extra-opts then? OK, that's fine with me.

lgtm. let's roll with it and see how it shakes out.


Dvir/db confing adddition

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

I didn’t add an option to config using the command line, do we want to add it?


Camera Preview corrupted when toggling facing in landscape orientation.

Is this a bug report?
Yes.

Have you read the Contributing Guidelines?
No, it's not available.
Environment
Samsung S5 (5.0), HTC M9 (6.0), HTC One mini 2 (4.4.2), Huawei Nexus 6P (7.1)
Steps to Reproduce

Open activity with custom camera.
Set device in landscape orientation.
Toggle camera facing with CameraView.toggleFacing() method.
Preview is corrupted.

Expected Behavior

Preview isn't corrupted.
Actual Behavior

Reproducible Demo

It can be reproduced on any device from environment list.

I've spent several hours on this issue and find a solution. You can find it in this pull request.


feat: add support for custom emoji fonts

Fixes #82
I really didn't ever intend to do this, but it seems like people want this functionality. And support for COLR fonts seems pretty good in modern browsers. So if folks want it, then let's add it.

Well, it looks like in Safari on Mac, the emoji are misaligned in some cases. It's still busted in Safari Technology Preview too.

I can't figure out what's going on here. It's only in Safari, and only with the custom font.

I'm guessing this has something to do with older emoji and the variation selector: https://emojipedia.org/variation-selector-16/

Filed a bug on Safari. Could not find a workaround for the life of me.
I also couldn't get the COLR font to work at all in Epiphany Browser on Linux (WebKit). So these are limitations of COLR fonts that I think we just have to acknowledge.

Tachometer regression seems genuine based on chrome traces, let's bring back rIC.


Guide example doesn't train anything

Describe the bug

Following the guide from the book, as well as cloning this repo and running the guide example there doesn't seem to train anything. Running it prints nothing and exits immediately.
To Reproduce

Run the commands from the readme:
https://github.com/tracel-ai/burn/tree/main/examples/guide#readme
Rust 1.79.0 in devbox on NixOS.
Expected behavior

I expected the training tui to show up.

Huh, that's a first.
Can you check the experiments logs under the artifact directory  /tmp/guide? Since the default renderer is TUI, the stderr is redirected there.

experiment.log:
2024-07-22T15:14:58.798866Z  INFO burn_fusion::stream::store::base: New execution plan 0 - Operations: 1 - Triggers 1
2024-07-22T15:14:58.817491Z ERROR burn_train::learner::application_logger: PANIC => panicked at crates/burn-wgpu/src/runtime.rs:329:17:
No adapter found for graphics API AutoGraphicsApi

Ok, so it seems that it doesn't detect my graphics card. I'm on a laptop with embedded intel graphics, so I expected it to use that one or fall back to cpu. I'll try with explicit CPU backend when I have time.

There are multiple options when using wgpu: vulkan, metal, OpenGL, dx12 or webgpu (browser).
The AutoGraphicsApi will automatically select the option according to your OS, which will be vulkan most of the time. Probably your device isn't being detected (maybe you need to install vulkan?).
If you want to use the CPU, you could also use another backend like NdArray or LibTorch.

Or Candle backend, which is the fastest available now.

Tried candle, which complained about some missing features. But I got NdArray to work.
Thank you! That got me started.


transport_socket: use same logic to construct transport socket options

Description:
Construct transport socket options from filter state:

in tcp_proxy
in http router

Risk Level: Low
Testing: CI, unittest
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>

cc @yxue


Implement snapshots list in VM snapshots

A part of an epic #412
This issue covers the following requirements:

[REQ_SNAP_LIST_010] A user should be able to view the list of VM snapshots
[REQ_SNAP_LIST_014] A user should be able to create a volume snapshot from a VM snapshot
[REQ_SNAP_LIST_015] A user should be able to revert VM to VM snapshot
[REQ_SNAP_LIST_016] A user should be able to delete VM snapshots

Mockup

To test:
[REQ_SNAP_LIST_010] A user should be able to view the list of VM snapshots
[REQ_SNAP_LIST_014] A user should be able to create a volume snapshot from a VM snapshot
[REQ_SNAP_LIST_015] A user should be able to revert VM to VM snapshot
[REQ_SNAP_LIST_016] A user should be able to delete VM snapshots

Lack: 1
1) The domain admin does not see snapshots of other accounts
The domain admin must be able to view and interact with VM snapshots of users and other domain admins, similar to the volume's snapshot section.
Steps to reproduce:

Create VM snapshots for a user and two different domain admins
Log in as Domain admin
Go to "Snapshots" section on "VM" tab

Actual result: Domain admin view only itself VM snapshots
Expected result: Domain admin view all VM snapshots in the current domain
2) Action box of VM snapshots does not open in list mode
Steps to reproduce:

Create one VM snapshot
Go to "Snapshots" section on "VM" tab
Select list mode
Click to action box of VM snapshot

Actual result: The action box does not open.
Expected result: the action box opens.
3) The option "Revert VM to snapshot" is available for pressing in the transition state of the VM
The "Revert VM to snapshot" option should be available for clicking only when the VM is in the "Running" status. In any other case, including in the transition state, the option should be unavailable for pressing.
Steps to reproduce:

Create a VM snapshot
Select "Stopped" option in action box of VM
Go to "Snapshots" section on 'VM" tab
Click to action box of VM snapshots

Actual result: The option "Revert VM to snapshot" is available to pressing (if VM did not have time to go to the "Stopped" status)
Expected result: The option "Revert VM to snapshot" isn't available for pressing.

@rennervo
3. This is a bug because of the wrong server response, decided not to fix now.

Tested on 1421


Frontend Project "Portfolio" Navbar Color Correction

Title and Issue number
Frontend Project "Portfolio" Navbar Color Correction
Close #3641
Output
Before

After

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md

@MohitGupta121 Kindly review this pull request.

Hi @MohitGupta121
Kindly review this pull request so that I can work on other issues.


chore: update requirements.txt (esse/express)

Per our discussion, we should come back to update instead of introducing this change


How to reproduce the evaluation result in paper?

I recently cloned the repository and the dataset from Huggingface. I am interested in reproducing the results from Table 4 of your paper. Should I use the pipeline you provided to process the data downloaded from Huggingface? When I ran grounded_eval.py, which I assumed was the script for generating the results in Table 4, I noticed it requires a knowledge file. Could you please provide information on where to find the knowledge file? Looking forward to your response.
Thank you.

Hi,
Thanks for your interest! The "knowledge file" refers to the cultural descriptions that we have released in our Huggingface dataset. You may access them through the "eval_whole_desc" field in the published dataset SALT-NLP/CultureBank.
You may also generate the descriptions yourself using GPT4 by running the script evaluation/convert_to_desc.py.

Thank you for your response. Is there a specific format that the knowledge file needs to follow, or is there a preprocessed script I can refer to?


Error throw from undefined this._requestCommunity

Steam API is currently down and my server's crashing because of this error
TypeError: Cannot read property 'get' of undefined
at SteamTradeOffers.loadInventory (/home/..../node_modules/steam-tradeoffers/index.js:437:25)
at SteamTradeOffers.loadMyInventory (/home/..../node_modules/steam-tradoffers/index.js:104:27)

I guess this is because offers.setup isn't called because Steam is down. but maybe there should be added:
if(this._requestCommunity !== undefined){
and also
if(this._requestAPI !== undefined){


cmd/pprof: account CPU and allocations of goroutines to the frame where they are created

When troubleshooting CPU usage of production services it would be useful to have an option, at least in the flamegraph visualization, to account the CPU time and memory allocations of a goroutine to the frame that created the goroutine.
Currently, the way I do this is take a CPU or memory profile, and then go through the code to reconstruct where goroutines were created, so that I can then proceed to identify the full stacktrace that lead to excessive CPU or memory usage.
The way I imagine this could work in the flamegraph would be by considering stack traces to include not just the the stack of the goroutine, but also the transitive stacks of the goroutines that created the current goroutine (up to a maximum limit that - if reached - would cause the option to be disabled).
Currently AFAIK this would be hard to do as described as we only record the PC of where the goroutine is created. I am not knowledgeable enough to know if there are some other ways to do (now, or in the future) what I described above; if such a way existed it would make profiling much more effective and easier to use when dealing with large codebases that are go-happy.

“The frame that created the goroutine” is not always the right one for accounting. Every goroutine traces back to either main or init, so if you apply that transitively then it becomes useless, and if it isn't transitive then it becomes very confusing.
That said, we could probably do some sort of attribution using runtime/trace regions, if we don't already (CC @hyangah @dvyukov).

Every goroutine traces back to either main or init, so if you apply that transitively then it becomes useless

Can you elaborate on why you think that would be useless? That's exactly what I would like to have: if a path through the call graph rooted in main created a goroutine, I would like the CPU time (or memory) consumed by that goroutine be accounted to main, as if it was a normal "routine" instead of a goroutine.
Consider that right now all CPU/mem is already accounted as a child of a "virtual" root node... that, in my mind, doesn't make the current visualization useless.

That's exactly what I would like to have: if a path through the call graph rooted in main created a goroutine, I would like the CPU time (or memory) consumed by that goroutine be accounted to main, as if it was a normal child "routine" instead of a goroutine.

Most user-created goroutines will be rooted from init or main and it's hard to imagine for me to imagine the usefulness of such analysis. @CAFxX  do you have a specific example that demonstrates such profiling and analysis was useful?
How about other tools such as tagging the cpu profile with the runtime/pprof.Label, or some static code analysis tools?
Keeping track of all the goroutine creation call stack may be not cheap, and we need to balance between the profiling cost and the usefulness of the profile.

Most user-created goroutines will be rooted from init or main and it's hard to imagine for me to imagine the usefulness of such analysis.

Agreed that most goroutines will be rooted in either init or main, but I already addressed that:

Consider that right now all CPU/mem (including the ones used by goroutines) is already accounted as a child of an "implicit" root node... this, in my mind, doesn't make the current visualization useless.

The reason is obviously technical (as it's cheaper to root things in a implicit root node, rather than keeping track of the full stacks of the transitively-spawning Gs), but if the argument is that rooting everything to a small subset of roots makes no sense, then the argument does not seem to me to be very compelling, as that's what we already do (by rooting everything in a single, arbitrary, implicit root).

@CAFxX do you have a specific example that demonstrates such profiling and analysis was useful?

Sure. Consider some sort of server that idiomatically spawns one goroutine for each request, and at the same time does some background processing.
Without the proposed visualization, there is no way intuitive way to account the resources consumed by the goroutines to the server part (vs. the background processing part).
You may argue that in such a simple case you would easily see that the resources consumed by the goroutine can only belong to the server. The obvious counterpoint is that it's not always easy, in the real world:

you can have multiple listeners (e.g. for gRPC and HTTP, or gRPC and pubsub), that spawn goroutines running the same code: in this case it's impossible to know how to split the resource consumption
the request goroutine can itself spawn one or more goroutines, e.g. to send parallel subrequests, or to handle timeouts: in this case you would have multiple goroutine stacks all rooted on the implicit root node, with no easy way to reconstruct the call graph that triggered the resource usage

There are many more potential scenarios: the two above are things I actually struggle daily with.

Sure. Consider some sort of server that idiomatically spawns one goroutine for each request, and that indipendently does some background processing.
Without the proposed visualization, there is no way intuitive way to account the resources consumed by the goroutines to the server part (vs. the background processing part).
You may argue that in such a simple case you would easily see that the resources consumed by the goroutine can only belong to the server. The obvious counterpoint is that it's not always easy, in the real world:
you can have multiple listeners (e.g. for gRPC and HTTP, or gRPC and pubsub), that (after API adaptation) spawn goroutines running the same code: in this case it's impossible to know how to split the resource consumption between the listeners
the request goroutine can itself spawn one or more goroutines, e.g. to send parallel subrequests, or to handle timeouts, or to do async on-demand processing: in this case you would have multiple goroutine stacks all rooted on the implicit root node, with no easy way to reconstruct the call graph that triggered the resource usage
There are many more potential scenarios: the two above are things I actually struggle daily with.

That is exactly for which runtime/pprof.Labels and related APIs were designed. That requires explicit labeling but it provides more flexibility than classifying the profilies based on who created the frames. Also, they are propagated to children goroutines. There are blog posts and tutorials on the web (https://rakyll.org/profiler-labels/, etc). Tracing and profiling libraries such as OpenCensus supports the labels - which opens up the possibility of profiling across distributed processes. The tool pprof offers options to filter and focus based on the labels (in pprof-terminology, they are called tags. See the options such as -tagfocus, -taghide)
Currently only CPU profiles support labels and #23458 is a tracking issue to expand the label support to memory allocation profiles.


XMP error in the LaTeX WTPDF examples.

There is a really subtle error in the XMP packet in all of the example PDF 2.0 example documents. You need to verify the XMP in order to find it.
Do so here:
https://www.pdflib.com/pdf-knowledge-base/xmp/free-xmp-validator/
The attached picture says it all.

That is, the  pdfaid  property being added via a pdfaExtension schema is used as 'rev' but declared erroneously as 'year'.
After changing 'year' to 'rev' in one of my own PDFs, (using the pdfx2 package) it then passed validation. Presumably it is also just a 1-word typo in one of the LaTeX source files.

And there are 2 other places that I think are wrong too.
Both <pdfaField:valueType>Bag claim</pdfaField:valueType> and <pdfaField:valueType>Bag declaration</pdfaField:valueType>
should be just <pdfaField:valueType>Bag</pdfaField:valueType>.

That is, the pdfaid property being added via a pdfaExtension schema is used as 'rev' but declared erroneously as 'year'.

Right. Thanks for the report. They changed that in PDF/A-4.

And there are 2 other places that I think are wrong too.
Both <pdfaField:valueType>Bag claim</pdfaField:valueType> and <pdfaField:valueType>Bag declaration</pdfaField:valueType> should be just <pdfaField:valueType>Bag</pdfaField:valueType>.

No, I think they are ok. I got this schema from https://pdfa.org/wp-content/uploads/2023/12/PDF-Declarations.pdf (the pdf has an attachment with an example schema).
There is a resource which defines the type claim:
<pdfaType:type>claim</pdfaType:type> and Bag claim is then a Bag of such claims.
Similar there is a resource defining declaration:
 <pdfaType:type>declaration</pdfaType:type> and this handle then  Bag declaration.
See also https://pdfa.org/wp-content/uploads/2011/09/tn0009_xmp_extension_schemas_in_pdfa-1_2008-03-20.pdf about how new field values can be defined.

That seems an OK explanation (about Bag <whatever>), but doesn't match this result:

when I test the XMP packet from one of the examples.
IfBag claim is changed to just Bag then it is Bag declaration that now is reported as failing.
So there must be more to this, irrespective of what is in the PDF-Declarations.pdf example.
Besides, if you check PDF-Declarations.pdf at the XMP validator site, then you get:

so it shouldn't be any surprise that there are other errors within that document.
And if you save the file  A Extension Schema.xmp to disk, and then test it for XMP validation, you get the same error:

And the TN document has no example of Bag <something> — only what is in the following image:

which may be taken to imply general validity of that usage of Bag, but I'd not trust such a presumption when there is demonstrable failure with some validator.

The 2.0 and 1.7 examples at #72 have been updated  to fix the declaraition of pdfaid:rev and also to improve support for tagging hyphenation at line breaks.

@u-fischer , @davidcarlisle
Thanks for acting on this quickly.
Ulrike, was year ever used with the XMP in any PDF/A version?
I cannot find it in the original ISO standards documents for PDF/A-2 nor PDF/A-3.
These do have pdfaid:amd and pdfaid:corr with the year included after a ;.
There may have been later updates that I do not have.
Also., I cannot find usage of Bag <anything> in the XMP specification documents from
https://github.com/adobe/XMP-Toolkit-SDK/blob/main/docs/
except when <anything> is one of the basic RDF types.
Surely it would at least have to be a pre-defined type?
— not something (self-referentially) declared within the same Resource ?

@ozross  yes there will probably be more adjustement here and as Ulrike says she opened an issue at pdfa asking for clarification, but the initial point you raised was a clear bug so we regenerated all the files just fixing that, and will come back to the other issues.

Ulrike, was year ever used with the XMP in any PDF/A version?

I don't know. I don't own the ISO norms and also do not intend to spend money on it.  Most of the entries we used have been collected from external sources like hyperxmp, pdfx and internet and I tried to validate them with e.g. verapdf.

Also., I cannot find usage of Bag  in the XMP specification

As said I opened an issue and wait for confirmation.


wifi: Pull nRF70 upstream support

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_nordic
https://github.com/zephyrproject-rtos/hal_nordic/commit/ab5cb2e2faeb1edfad7a25286dcb513929ae55da
https://github.com/zephyrproject-rtos/hal_nordic/commit/bda16da6f92380579b8cf681a5faf61e1fe55220 (master)
<EMAIL_ADDRESS>

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Part of upmerge.


Minor warnings from CXMLParser.swift

Hi,
Just pointing out the following warnings that are being shown by XCode 9.3.

Thanks for the library,
Jacko

Thanks for pointing this out. I'm on it 👍


can't revoke a custom privilege

I follow an example from https://ldap2pg.readthedocs.io/en/latest/privileges/#defining-custom-privilege
to define a custom privilege:
inspect query for datacl must return a rowset with two columns, the first is unused, the second is the name of grantee.

privileges:
  my_grant_all_on_database_privilege:
    type: datacl
    grant: GRANT ALL ON DATABASE {database} TO {role};
    revoke:  REVOKE ALL ON DATABASE {database} FROM {role};
    inspect: SELECT 1, 'admin';

sync_map:
- grant:
    database: mydb
    schema: public
    privilege: my_grant_all_on_database_privilege
    role: admin

The privilege does get granted, but it can't be revoked. My question is what would be a proper "inspect" definition in this case?

Hi @ankravch ! Thanks for the report. :-)
The static inspect you wrote tells ldap2pg that my_grant_all_on_database_privilege is granted to admin.
The sync_map tells ldap2pg that my_grant_all_on_database_privilege must be granted to admin.
Thus, there is nothing to do, right ?
Note, you can skip schema when granting  datacl privileges.

Hmm... How would you tell ldap2pg that my_grant_all_on_database_privilege must be revoked from admin?

privileges:
  connect_only:
    -__connect__

  my_grant_all_on_database_privilege:
    type: datacl
    grant: GRANT ALL ON DATABASE {database} TO {role};
    revoke:  REVOKE ALL ON DATABASE {database} FROM {role};
    inspect: SELECT 1, 'admin';

sync_map:
- grant:
    database: mydb
    schema: public
    privilege: connect_only
    role: admin

This one grants connect_only but still does not revoke my_grant_all_on_database_privilege.

Hmm... How would you tell ldap2pg that my_grant_all_on_database_privilege must be revoked from admin?

There is no explicit revoke. If inspect find a grant that is not required by any sync_map:grant, it is revoked.
$ cat my-test-ldap2pg.yml
postgres:
  roles_query: null
privileges:
  connect: [__connect__]
$ ldap2pg -c my-test-ldap2pg.yml
Starting ldap2pg 4.14.
Using /home/bersace/src/dalibo/ldap2pg/my-test-ldap2pg.yml.
Empty synchronization map!
Running in dry mode. Postgres will be untouched.
Inspecting roles in Postgres cluster...
Roles introspection disabled.
Inspecting GRANTs in Postgres cluster...
Would revoke __connect__ on appdb from public.
Would revoke __connect__ on nonsuperdb from public.
Would revoke __connect__ on olddb from public.
Would revoke __connect__ on postgres from public.
Would revoke __connect__ on template1 from public.
Comparison complete.

@ankravch I think there is something odd. I tried to have your configuration right and get the Would revoke my_acl.
Using /home/bersace/src/dalibo/ldap2pg/my-test-ldap2pg.yml.
Running in dry mode. Postgres will be untouched.
Inspecting roles in Postgres cluster...
Inspecting GRANTs in Postgres cluster...
In dry mode, some owners aren't created, their default privileges can't be determined.
Would revoke my_grant_all_on_database_privilege on appdb from admin.
Would revoke __connect__ on appdb from public.
Would revoke my_grant_all_on_database_privilege on nonsuperdb from admin.
Would revoke __connect__ on nonsuperdb from public.
Would revoke my_grant_all_on_database_privilege on olddb from admin.
Would revoke __connect__ on olddb from public.
Would revoke my_grant_all_on_database_privilege on postgres from admin.
Would revoke __connect__ on postgres from public.
Would revoke my_grant_all_on_database_privilege on template1 from admin.
Would revoke __connect__ on template1 from public.
Would grant __connect__ on appdb to admin.
Would grant __connect__ on nonsuperdb to admin.
Would grant __connect__ on olddb to admin.
Would grant __connect__ on postgres to admin.
Would grant __connect__ on template1 to admin.
Generated 99 querie(s).
Comparison complete.
$

Note that without actually creating admin in the cluster, i don't get revoke.
Does it help you ? I think that cookbook should have a How to revoke section. Please keep this issue opened.

Yes it helped. I had to switch from
inspect: SELECT 1, 'admin';

to
inspect: "SELECT NULL, 'admin';"

and now I am able to revoke my_grant_all_on_database_privilege.

@ankravch oh, yes, you're right. schema is not actually ignore. I must fix that ! Thanks for pointing it.

and now I am able to revoke my_grant_all_on_database_privilege.

Good ! :) I'm listing here what should be done to help other users in you're situation. Please let me know if something is missing or wrong :
Tasks

[ ] Fix schema not ignored in datacl privileges inspect.
[ ] Update Cookbook about revocation of privileges.
[ ] Detect grants on users not yet in managed roles (in dry run).

Ok, let's close. @ankravch don't hesitate to comment #251 if you find the doc is not clear enough. Thanks !


Regression: support for the 2016/2017 API's has been removed

Which version of the SDK was used?
0.3.0
Which platform are you using? (ex: Windows, Linux, Debian)
n/a
What problem was encountered?
Prior to 0.3.0 the Azure Storage SDK for Go supported allowing the user to decide which version of the API should be used. This option is no longer available and users are required to use the 2018 API's which are not available in all regions - which unfortunately this approach means it's not possible to adopt version 0.3.0 of the Azure Storage SDK for Go.
The Azure SDK for Go has adopted a versioning strategy based on discussion with the community where multiple versions of the API are available, since not all versions of the Storage API's are available in all Azure Regions/Sovereign Clouds (incl. Azure Stack) - which allows users to pick the API versions which are most appropriate for their needs.
How can we reproduce the problem in the simplest way?
Navigate to https://github.com/Azure/azure-storage-blob-go and notice that the following paths are no longer present:

/2016-05-31/azblob
/2017-07-29/azblob

Whilst shipping only a single API version allows for simpler maintenance of this SDK (and some simpler uses of this SDK) - unfortunately this means it's not possible to adopt it. For reference the Azure SDK for Go consulted on the API versioning strategy - which is where the support for multiple versions came from; in order to make the day 1 support easier - the Go SDK supports a 'latest' profile which points to the latest API version - which allows both use cases to be supported.
On a separate note - whilst perhaps I'd missed the Github issue for this - was this major functionality removal discussed with the community/users of this SDK prior to being made?
Have you found a mitigation/solution?
Continuing to use the Storage SDK in the Azure SDK for Go - which is deprecated.

Hi @tombuildsstuff, thanks for reaching out! I see that there's some misunderstanding concerning our intention behind deleting the 2016 and 2017 folders.
To start, I would like to clarify that our plan is still to maintain multiple service versions simultaneously, but we will be doing it in a slightly different but more efficient way. Please allow me to explain.
Before Go.11, we had to maintain separate directories for each service version so that users can side-load different versions. The main purpose was to allow them to gradually upgrade their dependency on the SDK, and more importantly be able to target different environments like Azure Stack. However, since module support was released in Go 1.11(to be finalized in Go 1.12), it is no longer a requirement to have separate directories in the repo for this purpose; users can easily load multiple (major) versions of the SDK simultaneously. And since each major version will correspond to a particular service version(please refer to the section New Storage SDK versions in this article), once the preview period ends, therefore we can instead have a single azblob package in the repo. This change has many advantages:

The versioning story is much simpler: we can use a single semantic version to refer to a particular version of the SDK, since each major version will directly correspond to a different service version.
We'll still be able to maintain the older versions, and it might be much more efficient since we can leverage git to cherry-pick commits between version branches instead of comparing files manually.
It's a much better experience for the users, as having many directories named with dates is very unusual and confusing.
Also, there's no need to maintain "profiles", which have many caveats.

Another reason for why we removed the 2016-05-31 and 2017-07-29 folders is because they were never brought up to the same quality as the 2018-03-28 version, since we were going through massive changes all the time due to being in preview, it was untenable to maintain 3 versions when we were still tackling technical issues. In addition, the 2018-03-28 version had the most up-to-date and accurate Swagger spec, so it's natural to go GA with it. In fact, all the new versions of the Storage SDKs will GA with version 10, supporting the 2018-03-28 service version.
I certainly understand your concern that not all Azure environments support the 2018-03-28 version yet. But soon they will, and in the mean time, the users can still access the other preview versions(please refer to the version table). Alternatively, they could use the latest version, and override the x-ms-version header with a custom policy(example).
We already started communicating the new versioning strategy of the Storage SDKs, and we intent to document it in more places. Please don't hesitate if you have any question or concern.
FYI when I discussed versioning strategies with @marstr, my understanding is that azure-sdk-for-go and the Storage SDKs are not exactly in the same situation. Instead of shipping Autorest-generated code directly, we have a convenience layer wrapping the protocol layer. Doing so shields the users from the updates of the generator; and we also have extensive testing to make sure the APIs are functioning as expected, so there's less occasions where the older versions need to be updated(besides serious bugs). Therefore I do not think that their versioning strategy automatically maps to all Go projects in Azure.

@zezha-msft when you say:

I certainly understand your concern that not all Azure environments support the 2018-03-28 version yet. But soon they will
Are you including Azure Stack? what would be your recommendation for handling the potential different installs that could be in the wild that code could run against? The version table doesn't seem to show any additional major versions yet, so we wouldn't be able to do any loading of multiple versions (0.2 and 0.3) side by side.

@zezha-msft

Hi @paultyng, you are right, this SDK is still in preview so there's no other major version yet. The first official version of this new SDK will be 10.0.0, and supporting the 2018-03-28 service version. This will be consistent across all Storage SDKs.

TBH going from 0.3.0 -> 10.0.0 seems a little extreme - I'm not sure I understand the desire to keep all versions of the SDK at the same version since they'll obviously deviate over time (for example does a version bump in the .net storage SDK to fix a null-reference cause the Golang SDK version to be bumped?) - but whatever :)

We already started communicating the new versioning strategy of the Storage SDKs, and we intent to document it in more places. Please don't hesitate if you have any question or concern.

Cool - glad to hear it; unfortunately I believe I missed this consultation - would it be possible to provide some links to Github issues where this was discussed in advance of it happening?

To start, I would like to clarify that our plan is still to maintain multiple service versions simultaneously, but we will be doing it in a slightly different but more efficient way. Please allow me to explain.

Unfortunately neither of these options are really viable solutions - let me go through both in turn.

I certainly understand your concern that not all Azure environments support the 2018-03-28 version yet. But soon they will, and in the mean time, the users can still access the other preview versions(please refer to the version table).

Using an older version of this SDK could possibly work if it weren't for all the Panic's in versions prior to 0.3.0 (however that means we'd still end up with different codepaths in the future for different versions of this SDK and it's dependencies, which is undesirable since this pushes this logic into consumers of this SDK).

Alternatively, they could use the latest version, and override the x-ms-version header with a custom policy(example).

Again, this could work - but it's undesirable insofar as it's pushing the complexity/testing requirements outside of this SDK and into consumers of the SDK. As you've mentioned there's also no guarantee all fields are supported for all versions of the SDK - and as such we'd end up having to test this in client applications (and keep track of these new fields).
As such, whilst I understand it's more work in the SDK to support this in the short-term (since it requires some refactoring) - I believe it's necessary for the SDK to be architected in such a way that it supports multiple versions of the Storage API's within a single version of the SDK. I believe this is due to the way that API rollouts happen across all the Azure clouds (Public/Government/Germany/China/Stack - which roughly get deployed in that order) - and whilst the 2018 API's may be rolled out soon, the next version may not appear on Azure Stack for another year; which pushes this complexity into client applications, rather than in this SDK.
Unfortunately we're not the only consumers of this SDK who rely on the older API versions - such that I don't believe dropping support for this API version is possible at this time (since it's not available on Azure Stack instances).
Thanks!

Any updates on this, @zezha-msft ?

@landro thanks for following up on this issue.
We have decided not to pour more efforts into 2016 and 2017 packages. The SDK will go GA with 2018-03-28.


[relates #425] Use RedHat RSS press releases

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/300/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/301/
Test PASSed.


autoplot currently doesn't work for boolean gate

gs_pop_get_gate(gs, "cd8 | cd4")
$Specimen_001_A1_001.fcs
booleanFilter filter 'cd8 | cd4' evaluating the expression:
L/P2/cd3/cd8|L/P2/cd3/cd4

autoplot(gs, "cd8 | cd4")

Error in getChannelMarker(frm, dim) : can't find NA

The error is due to the fact that there is no dimensions associated with boolean gates. The fix is to use its parent gate dimensions.

maybe it makes more sense to use its reference gate dims


Interface 'App\Jobs\SelfHandling' not found

Interface 'App\Jobs\SelfHandling' not found this error appear when we update laravel version from 5.1 to 5.4

Hi @developerMerna thanks for reporting this. Can you please provide the entire stack trace of the error?

Closing ... App\Jobs\SelfHandling is not part of this package's code-base.


Takes full ownership of the I2C port not allowing for multiple devices on a single channel

I have a situation where I need to daisy chain three different sensors on the same I2C channel.  With the pattern in this codebase, the driver takes ownership of the I2C device not allowing it to be shared with other device drivers.
I would recommend adding in some way that the driver accepts does not always own the I2C and can be managed by a higher level interface.  An example would be to move the i2c device in the struct to be an Option<I2C> and then put in a take_i2c(&mut self) and a set_i2c(&mut self, i2c: I2C) style methods.
An alternative I have seen with other drivers, is to just pass the I2C device to each call.  Sounds cumbersome, but might be proffered based on the time it takes to do the extra function calls and cross-checks postulated above.
Thoughts?

I believe the intended pattern in embedded-hal is that you should use the shared-bus crate to construct an I2cProxy to pass to each device driver.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


2 add pubchem

Provides PubChem service, which is particularly useful in identifying data by chemical name. Fixes #2 .
Also enabled general POST request, which was required by PubChem. This also includes arguments generalisation of Converter.connect_to_service method. Fixes #7 .

Looks good to me, thanks @maximskorik for the suggested changes.


[luajit] add CMake targets / usage

Is your feature request related to a problem? Please describe.
luajit doesn't have targets or usage
Proposed solution

Add Cmake targets
Add usage

Describe alternatives you've considered
No response
Additional context
No response

The package luajit can be imported via CMake FindPkgConfig module:
find_package(PkgConfig REQUIRED)
pkg_check_modules(LUAJIT REQUIRED IMPORTED_TARGET luajit)
target_link_libraries(main PRIVATE PkgConfig::LUAJIT)


java.lang.IllegalStateException: Fragment AppRatingDialogFragment{1f49e67} (a0d40ed4-7712-4a9b-95fb-4edfcd535be6) } declared target fragment DeatilsFoodFragment{94c6977} (22f50767-1001-4914-98ae-e71a2ff005f5) id=0x7f0a0255} that does not belong to this FragmentManager!

I have this error ,Dear...

same here.. any solutions?


PartOf

This is for test

I've triggered the following builds:

Compile All (Quick Feedback - Linux Only)

Build Scan

I've triggered the following builds:

Compile All (Quick Feedback - Linux Only)

Build Scan

The following builds have passed:

Gradle_Master_Check_CompileAllBuild

I've triggered the following builds:

Compile All (Quick Feedback - Linux Only)

Build Scan

The following builds have passed:

Gradle_Master_Check_CompileAllBuild

Build Scan

I've triggered the following builds:

Quick Feedback (Trigger) (Check)

Build Scan

I've triggered the following builds:

Quick Feedback - Linux Only (Trigger) (Check)

Build Scan

The following builds have passed:

Gradle_Master_Check_Stage_QuickFeedbackLinuxOnly_Trigger

Build Scan

I've triggered the following builds:

Quick Feedback (Trigger) (Check)

Build Scan

The following builds have passed:

Gradle_Master_Check_Stage_QuickFeedback_Trigger

Build Scan

@blindpirate we no longer need this, right?
Please close this PR and clean the branch up.


Add my CV and job requirements

Shamelessly stolen from here: https://mastodon.social/<EMAIL_ADDRESS>Since my CV is a Markdown file, I could also use a Node build to export it to a PDF.

Using a Markdown file seems to cause issues with most ATS. Not that they actually tell you this.

Done. I've removed the job requirements part, as I'm not as fussy as I used to be (and it literally boils down to two sentences).


IDS Policy with URL could not be transformed (ID null)

Bug Report
Describe the Bug
IdsId.Java the from methods supports just URNs, but IDS Serializer supports URLs
IdsId.java here
IDS Serializer /Deserializer
Expected Behavior
If I deserialize a JSON-LD IDS Policy/Contract to an InfomodelContract and transform it to a EDC Policy it should be able to transform it.
Observed Behavior
ResultObject Failure (Id expected to be not null)
root cause is the following:
The Method from(URI uri) at IdsId.java is calling the from(String urn) - => the URL parsing fails because always a urn is expected
Steps to Reproduce
create Test-Class
which takes a Json-LD (Policy) and transform it.
class Testclass{

	private TypeTransformerRegistry makeTypeTransformerRegistry() {
		var result = new TypeTransformerRegistryImpl<>();

		Arrays.asList(
			new ActionToIdsActionTransformer(),
			new AssetToIdsArtifactTransformer(),
			new AssetToIdsRepresentationTransformer(),
			new AssetToIdsResourceTransformer(),
			new ConnectorToIdsConnectorTransformer(),
			new ConstraintToIdsConstraintTransformer(),
			new ConstraintToIdsLogicalConstraintTransformer(),
			new ContractOfferToIdsContractOfferTransformer(),
			new ContractAgreementToIdsContractAgreementTransformer(),
			new CatalogToIdsResourceCatalogTransformer(),
			new DutyToIdsDutyTransformer(),
			new ExpressionToIdsLeftOperandTransformer(),
			new ExpressionToIdsRdfResourceTransformer(),
			new AssetFromIdsArtifactTransformer(),
			new OperatorFromIdsBinaryOperatorTransformer(),
			new ConstraintFromIdsConstraintTransformer(),
			new ConstraintFromIdsLogicalConstraintTransformer(),
			new ContractAgreementFromIdsContractAgreementTransformer(),
			new ContractOfferFromIdsContractOfferOrRequestTransformer(),
			new ExpressionFromIdsLeftOperandTransformer(),
			new PermissionFromIdsPermissionTransformer(),
			new ProhibitionFromIdsProhibitionTransformer(),
			new ExpressionFromIdsRdfResourceTransformer(),
			new AssetFromIdsRepresentationTransformer(),
			new AssetFromIdsResourceTransformer(),
			new CatalogFromIdsResourceCatalogTransformer(),
			new OfferedAssetToIdsResourceTransformer(),
			new OperatorToIdsBinaryOperatorTransformer(),
			new PermissionToIdsPermissionTransformer(),
			new ProhibitionToIdsProhibitionTransformer(),
		new SecurityProfileToIdsSecurityProfileTransformer()
		).forEach(result::register);

		return result;
	}

	void transform_test(){
                InputStream fileInput = getClass().getResourceAsStream("idspolicy.json");
		var transformerRegistry = makeTypeTransformerRegistry();
		var contractAgreementIdsString = new String(fileInput .readAllBytes(), StandardCharsets.UTF_8);
		var contractAgreementIds = new Serializer().deserialize(contractAgreementIdsString, de.fraunhofer.iais.eis.ContractAgreement.class);
		var contractAgreementEdc = transformerRegistry.transform(contractAgreementIds, ContractAgreementTransformerOutput.class);
	}

}

idspolicy.json
{
  "@context" : {
    "ids" : "https://w3id.org/idsa/core/",
    "idsc" : "https://w3id.org/idsa/code/"
  },
  "@type" : "ids:ContractAgreement",
  "@id" : "https://w3id.org/idsa/autogen/contractAgreement/f020ed32-9107-4a3c-a6e2-5e395c465366",
  "ids:permission" : [ {
    "@type" : "ids:Permission",
    "@id" : "https://w3id.org/idsa/autogen/permission/6ecb9f11-283e-4892-8c70-f6a893948411",
    "ids:target" : {
      "@id" : "http://w3id.org/engrd/connector/artifact/1"
    },
    "ids:description" : [ {
      "@value" : "Description of contract agreement",
      "@type" : "http://www.w3.org/2001/XMLSchema#string"
    } ],
    "ids:assignee" : [ {
      "@id" : "https://assignee.com"
    } ],
    "ids:title" : [ {
      "@value" : "Permission title for artifact 1",
      "@type" : "http://www.w3.org/2001/XMLSchema#string"
    } ],
    "ids:preDuty" : [ ],
    "ids:action" : [ {
      "@id" : "https://w3id.org/idsa/code/USE"
    } ],
    "ids:postDuty" : [ ],
    "ids:assigner" : [ {
      "@id" : "https://assigner.com"
    } ],
    "ids:constraint" : [ {
      "@type" : "ids:Constraint",
      "@id" : "https://w3id.org/idsa/autogen/constraint/698cec3e-c4e0-4fd0-9c08-42e3b75ebc70",
      "ids:rightOperand" : {
        "@value" : "2022-05-31T09:26:36Z",
        "@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
      },
      "ids:leftOperand" : {
        "@id" : "https://w3id.org/idsa/code/POLICY_EVALUATION_TIME"
      },
      "ids:operator" : {
        "@id" : "https://w3id.org/idsa/code/AFTER"
      }
    }, {
      "@type" : "ids:Constraint",
      "@id" : "https://w3id.org/idsa/autogen/constraint/fa2f3691-b378-48af-bf99-e74174a3a25a",
      "ids:rightOperand" : {
        "@value" : "2022-07-07T09:26:36Z",
        "@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
      },
      "ids:leftOperand" : {
        "@id" : "https://w3id.org/idsa/code/POLICY_EVALUATION_TIME"
      },
      "ids:operator" : {
        "@id" : "https://w3id.org/idsa/code/BEFORE"
      }
    } ]
  } ],
  "ids:provider" : {
    "@id" : "https://provider.com"
  },
  "ids:consumer" : {
    "@id" : "https://consumer.com"
  },
  "ids:prohibition" : [ ],
  "ids:contractStart" : {
    "@value" : "2022-06-07T11:26:36.966+02:00",
    "@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
  },
  "ids:contractDate" : {
    "@value" : "2022-06-07T11:26:36.964+02:00",
    "@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
  },
  "ids:obligation" : [ ]
}

Context Information
EDC v0.0.1-milestone-8
OS: [Windows]
IDS-Serializer 4.1.3
Detailed Description

Possible Implementation
fix in IdsId.java that URIs (URLs) can be handled.
(fix also IDS Operators AFTER, BEFORE etc)
@ronjaquensel

the IDS protocol is deprecated and will likely get disbanded after milestone9 release, so this won't be fixed.


Add instrumentation excludes for common APM vendors

should also add com.compuware as suggested in #1037

And also io.sqreen might also make sense, even if it's not an APM, it is more likely to be used with another agent.

also com.appdynamics.

Also, "com.singularity" which used to be the package used previously by
AppDynamics, there are still some references to it on their support forum:
https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/java-lang-NoClassDefFoundError-com-singularity-ee-agent-appagent/td-p/29468
On Tue, Feb 18, 2020 at 3:08 PM WassimDhib<EMAIL_ADDRESS>wrote:

also com.appdynamics.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/elastic/apm-agent-java/pull/1038?email_source=notifications&email_token=AAF2JSWIPEXM5AFEUOGDMNTRDPTVFA5CNFSM4KVJC3JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMCDAJQ#issuecomment-587477030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF2JSXOVHXO54YEOFRJZK3RDPTVFANCNFSM4KVJC3JA
.

I have already added com.singularity, I don't think there's a com.appdynamics package.


fix: sanitize user input (#128)

Closes #128
What new changes did you make? Tick all applicable boxes

[ ] Added new abbreviation
[x] Fixed something in the source code
[ ] Added a new feature
[ ] Fixed the docs (README.md, CONTRIBTUING.md, etc)

Describe the new changes you added.
Sanitized user input during keypress and on paste event.
Form only accepts [a-zA-Z] values.
Copied value:   aBc-12c d/e.f
Pasted value: aBccdef

Share a screeshot of new changes
I tried to input again the malicious value ../db  and here is the screenshot of the output. It only displays db

@reny-pacheco I suggest you improve on the regex for sanitizing inputs cos I don't think the current implementation supports abbreviations with special characters, e.g w/o.
I suggest you use the encodeURIComponent function instead.

Good catch @mathiasayivor , I'll try to use encodeURIComponent. Thank you.

Hello, apologies for not having an update, you can assign this to another contributor if they want to work on this. Thank you.

@mathiasayivor you mentioned something about certain inputs not being accepted because of the sanitation. Would you have an idea related to this pull request?

@mathiasayivor you mentioned something about certain inputs not being accepted because of the sanitation. Would you have an idea related to this pull request?

Yeah

encodeURIComponent is the best option for sanitizing user inputs, since it's used in the CLI for encoding.
I'd also recommend using the encodedAbbrMappings.json in addition to encodeURIComponent to be sure the searched slang doesn't exist before sending the final result to the user.
Demo below:
search -> sanitize user input (`encodeURIComponent`)
                                                   |
                                          search abbrev -> found result? -> show slang definition
                                                   |
                                             No result?
                                                   |
                           check encodedAbbrMappings.json -> found result? -> show slang definition
                                                   |
                                             No result?
                                                   |
                           Display Result not found error

I see... kind of hahaha. Do you want to go for it @mathiasayivor ? Maybe contribute to @reny-pacheco fork.

I see... kind of hahaha. Do you want to go for it @mathiasayivor ? Maybe contribute to @reny-pacheco fork.

Sure... But I'm not sure if I have write access to @reny-pacheco's fork...

Perhaps I could just create a new PR by copying @reny-pacheco's changes?

I see... kind of hahaha. Do you want to go for it @mathiasayivor ? Maybe contribute to @reny-pacheco fork.

Sure... But I'm not sure if I have write access to @reny-pacheco's fork...

Hi @mathiasayivor , If you doesn't have access, I can give you access to the fork.

Sure... That'd be great!

Sure @reny-pacheco ... That'd be great!

@mathiasayivor , I've already added you  as contributor to the fork, can you confirm that?

Sure @reny-pacheco ... That'd be great!

@mathiasayivor , I've already added you as contributor to the fork, can you confirm that?

Seen

Alright fellas, I think we're good to go!
@Njong392 @reny-pacheco @adropofilm reviews are welcomed.

Hi @mathiasayivor , I suggest to add a guard clause in line 31 of form.jsx file, to prevent fetching of encodedAbbrMappings if search field is empty. I found out that if you click submit with empty value. It still fetch the data.
Suggestion:
const fetchData = async (query) => {
   if(!userInput.trim()) {
      return
    }
    let mappings;
    ...
    ...

Sure...

LGTM, Thanks @mathiasayivor 😃

Yikes... the whole code became something different haha. Still trying to wrap my head around it. But... when the user enters a slang that doesn't exist, it just says "some connection error occurs". Shouldn't it warn the user that the slang doesn't exist and they could raise an issue as before?

Yikes... the whole code became something different haha. Still trying to wrap my head around it. But... when the user enters a slang that doesn't exist, it just says "some connection error occurs". Shouldn't it warn the user that the slang doesn't exist and they could raise an issue as before?

This works on the local dev env:

The error you're getting is the expected behaviour, since the server is responding with 200 status instead of 404.

I think the error you're getting is an issue with how vercel's routing works,

The expected response, in this case, is 404 but the server is returning 200 with HTML as content type, hence the app is unable to parse HTML as JSON, thence the error.

I see. Is there a fix to this? Or we just blame it on vercel 😂

Hi @mathiasayivor , on my fork, I created a branch named simplified-fetch that may fix 404 issue , since previously we are explicitly comparing the status code. Maybe you can check it since you have already access on my fork.

I see. Is there a fix to this? Or we just blame it on vercel 😂

Perhaps do additional checks(i.e ensuring response is a valid JSON) if the response status is 200.

I am so lost on this pull request right now, so I am putting it off for a bit. Thank you @mathiasayivor and @reny-pacheco for the progress on this!


Add support for Greengrass Secrets

Add support for secrets, also defining the secrets via secrets manager.

Also affiliate it?
+1


Verbs and expressions (v7)

If I add a word to verbs.js the verb is recognised successfully.
If I then add the same word to expressions.js, the word is no longer recognised as a verb.
I think a verb can also be an expression - there are quite a few instances of this but the only one I can think of right now that is not rude is 'rubbish' :)

yeah, this is a good point.
right now we set one POS in the lexicon only, then for very ambiguous words, we can do random lookarounds for hints like for foot (noun vs unit).
so you can write some .match().tag() rules for 'rubbish', all day.
... but there's no way this will scale to all word-senses. So having a better process for this is definitely a good idea