Adding camera unbridge mode

How do I add the camera to the home app?

Hey; you need to manually add the accessory by doing "Add Accessory" in the Homekit app. If you don't see it, there's probably something wrong in the configuration. Check the homebridge logs for more details.


Support triples with ?same  ?same

While we are at it also simplify Operation creation

Here is a nice example query:
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?x ?x_label WHERE {
   ?x wdt:P131 ?x .
   ?x rdfs:label ?x_label .
  FILTER (lang(?x_label) = "en") .
}

Sadly I don't think there is something useful for scientists but I'll add an empty case

By the way that query (without labels) takes 8 seconds on Blazegraph and 80 Milliseconds on QLever even though we emulate it with two operations.


ci: 🎡 the e2e tests must now be run on any code change

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@7188c0a). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #775   +/-   ##
=======================================
  Coverage        ?   90.83%
=======================================
  Files           ?       85
  Lines           ?     4563
  Branches        ?        0
=======================================
  Hits            ?     4145
  Misses          ?      418
  Partials        ?        0

Flag
Coverage Δ

libs_libcommon
91.40% <ø> (?)

services_admin
87.12% <ø> (?)

services_api
90.13% <ø> (?)

workers_datasets_based
91.84% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

If this PR makes e2e tests run on any code change, what was the case before this PR?

we had a two-steps process:

change in any of the jobs/, services/ or workers/ -> unit tests, code quality, and build a docker image
change the docker images in the Helm chart -> e2e tests
Now, the e2e tests runner builds the docker images itself, but I had forgotten to change this (in https://github.com/huggingface/datasets-server/pull/716)

What is the purpose of e2e.yml then?

It's still useful, I think,

to check the code quality of the e2e tests,
to re-run the e2e tests if e2e.yml or the docker compose for example, have changed

I remember there were some issues with PRs from forks and e2e tests: will these changes include changes introduced by fork PRs? What about the associated docker building issue?

Hmmm, I don't think it's an issue anymore. We add an action, the trigger sources have not changed.

Yes. Do you think it's a problem? We can also make it depend on the other two ones, as you prefer

I mean do you want to build the Docker images if quality/unit tests have failed?

Note that the images are built, but not sent to docker.io. So, we have to decide: reduce the CI duration (current) or reduce the wasted resources (depend e2e on the success of the other actions)

OK, merging as such, and we can change later if needed

OK, it was a bad idea to do this way, because we have several actions doing the same e2e tests at the same time, I hadn't understood...

I will send a new PR to fix that.


Refactor Configuration

The current configuration setup is very messy, being split between env variables and javascript files.
In particular, we should dynamically load the start and end times. We should also symlink /app/dist/config/ to /app/config to avoid mounting at /app/dist in production.

Also, make difference between serverOrigin and RCTF_ORIGIN more explicit. One is for server while another is for client.


CTRL+CLICK to select multiple panels  & SHIFT+CLICK to select a range of panels

HI,
I have a multiple panels in list layout.
I want to implement selecting panels by

CTRL+CLICK to select multiple panels

SHIFT+CLICK to select a range of panels

 itemsPanel.mouseClicked = function(e) {
          console.log(zebra.ui.KeyEvent.M_CTRL);
          console.log(zebra.ui.KeyEvent.M_SHIFT);
      if(!(e.mask & zebkit.ui.MouseEvent.RIGHT_BUTTON) > 0){

I am not sure how to implement this part.
Regards,
Renga

@adrian-castravete  Any idea how to this?


Version 3.0.0 beta 1 Odata route prefix shows up like a controller

i am trying to update a project to use the new Api Explorer. we have OData 4 controllers and i am seeing the route Prefix name showing up as if it was a controller.
if i remove the OData Explorer the phantom disappears.
Seems like a bug in the logic somewhere when it tries to enumerate the OData controllers.

@commonsensesoftware   not core, my projects are asp.net 4.6.2  full framework at this time.
i will see if later this week or weekend i can post a repo with my code.
the bad data has the odd pattern of being  the routeprefix but no OData entity
so say the prefix was "odata"  and my model has Names and Addresses
i got something like this:
odata get
odata get
odata post
odata patch
odata delete
odata/addresses get
odata/address get
odata/addresses post
odata/addresses patch
odata/addresses delete
odata/names get
odata/name get
odata/names post
odata/names patch
odata/names delete
so i filter out the ones that do not have a "/" to get a correct list

Interesting. I haven't seen that before. I won't rule out the possibility of a bug. There are some oddities with the way OData deals with route prefixes. The ODL parser doesn't even consider it. A repro will definitely help with the investigation. Thanks.

also i am seeing another issue
i have some api controllers that have the RoutePrefix("") attribute and methods have the Route("") attribute
with Swashbuckle i get them all with the route i expect to see.
with the new api explorer it looks like the Route("")  attribute is ignored or not applied so the swagger is actually missing a large number of methods on my api controllers.
i will not have time to create a repo of this right now but it looks like it is the use of the attributes.
it's geting http verbs for the prefix but not checking for multiple api methods as far as i can see.
i am going to have to see if i have to go back to pre 3.0  or back to the old packages i have been using.
can't go with missing service methods.

There are some limitations in Web API routing that I cannot overcome (I've tried a few times). In particular, you cannot mix vanilla Web API direct routes (aka attribute routing) with OData with the same route template; more specifically to the same logical controller. OData attribute routing is completely different from the Direct Routing feature (despite them both using attributes). As long as the route templates do not cross each other, it should work.
I've always found mixing Direct Routing and Convention Routing together confusing. Due to this routing limitation, I recommend Convention Routing only in this scenario as is demonstrated in the Advanced OData Web API Sample. If you insist on using Direct Routing and you know the paths do not cross, there shouldn't be anything more for you to do. It doesn't matter what combination of RoutePrefixAttribute and RouteAttribute you use. The default IDirectRouteProvider combines these two parts as required when it registers them in the route table.
I hope that helps clarify things. Let me know if you're still stuck.

Seems like this issue is resolved. If you're still stuck or it's not resolved, feel free to reopen it. Thanks.


Bad link in docs

On the quick start page (https://docs.behat.org/en/latest/quick_start.html), there's a link labeled "What’s in a Story?" with an href of http://blog.dannorth.net/whats-in-a-story/. This URL is no longer valid; the article in question can now be found at https://dannorth.net/whats-in-a-story/.

Do you want to submit a PR yourselves on https://github.com/Behat/docs to update the link ?

Sure (I didn't know where to find the docs yesterday).

@stof is the Docs repo still maintained? I've had a PR lingering around there 😅


automation/workflow for publishing posts

Is there any plan to do automation/workflow for publishing the post.  A simple use case is getting the approval from 1-2 people and then do the publishing.

There is no plan yet for that but it seems like a good suggestion, so why not on the next versions.

ok.
What will be the process?
On Mon, Nov 2, 2020 at 7:52 PM AXeL<EMAIL_ADDRESS>wrote:

There is no plan yet for that but it seems like a good suggestion, so why
not on the next versions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseGoodies/FireAdmin/issues/11#issuecomment-720501291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMX2DBM53UMK6YD6YGBSWDSN26A3ANCNFSM4THPZEPA
.

--
Rajesh
www.servicefolder.com
Field Service Software on Google Cloud Platform and Mobile

ok. What will be the process?

As you suggested above: "A simple use case is getting the approval from 1-2 people and then do the publishing.", so maybe:

add an approvals field to the post model which will contain approvals?
then replace the publish checkbox on posts list with approve, & store user id in approvals field each time a user approves a post.

But honestly i don't really see how the approvals could be useful, i think that it should be something more like publish at X time or X day :thinking:

On Mon, Nov 2, 2020 at 11:17 PM AXeL<EMAIL_ADDRESS>wrote:

ok. What will be the process?
As you suggested above: "A simple use case is getting the approval from
1-2 people and then do the publishing.", so maybe:

add an approvals field to the post model which will contain
approvals?
then replace the publish checkbox on posts list with approve, &
store user id in approvals field each time a user approves a post.

But honestly i don't really see how the approvals could be useful, i think
that it should be something more like publish at X time or X day 🤔

oh ok.
+1 - for publishing at X time and day.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseGoodies/FireAdmin/issues/11#issuecomment-720625311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMX2DA7ENDC3FYHBGTAVSTSN3WERANCNFSM4THPZEPA
.

--
Rajesh
www.servicefolder.com
Field Service Software on Google Cloud Platform and Mobile


default pattern does not work with --smart-case

The problem is that using [a-zA-Z] lets --smart-case consider the regexp to have mixed case.  I propose to use [\w_-]+ instead.
What do you think?

Yes, I will today.


Create eslint.yml

Summary

[x] Added ESLint workflow
[x] Fixed Styling according to ES Lint

Details and comments
This PR closes #30

@gobbledy-gook All set now,


logging level consistency

There are still some logging annoyances that make it hard to A) see actual errors in e.g. unittest logging but also B) difficult to decide what to do WRT tuf logging in an application:

tuf logs things as errors even when things are working fine: e.g. tuf.download and tuf.client.updater do this when a N.root.json is not found
tuf logs things as errors when it has correctly found a security issue: e.g. BadSignatureError from tuf.client.updater. This one is more debatable but I'd argue the correct response is an exception for the application to handle and no ERROR output: tuf is working exactly as expected in this case

There have been some improvements in this #1083, #1039, #1093, #983 but the core issue is still there: In my opinion ERROR and CRITICAL should only be used when tuf is in an error state, not when it has correctly identified a security issue.
For testing this I suggest modifying e.g. test_update.py:
if __name__ == '__main__':
  verbose = '-v' in sys.argv or '--verbose' in sys.argv
  loglevel = logging.DEBUG if verbose else logging.ERROR
  logging.basicConfig()
  tuf.log.set_log_level(loglevel)

  unittest.main()

and running python3 test_updater.py TestUpdater (this will only print ERROR and higher levels)

I am in favour of reworking tuf.log.py in general with proper logging settings for a library: logging hierarchy, handlers, formatters, log level etc. and then extend this to the tests and add options for controlling the verbosity on a manual test run.
Found another old  issue related to this #750
p.s. When I use the word rework I don't mean we should wait for the great TUF rework, I think this can be done on the current codebase.

tuf.log might have a use case, but to me it looks like application functionality put into a library... As an example if an application for some reason wanted to log only tuf logs into a file it could just  do
handler = logging.FileHandler('tuf.log')
handler.setLevel(loglevel)
logging.getLogger('tuf').addHandler(handler)

so tuf.log.enable_file_logging() saves two lines... The more important point is that I think applications don't want what tuf.log.enable_file_logging() does: they want all of the application logging in one single file so will have to set their own file handler anyway

I was referring to this doc: https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library.
I imagine we need some sort of common logging configuration in tuf and a documentation for its usage by the applications (this may also mean getting rid of tuf.log and replacing it with some config?) and eventually a way of enabling a verbose debugging output for developers convenience.
Saying this also as a non-expert on Python logging ...

The actual log level fixes should be fairly quick fixes: there's only 8 instances of logger.error() in sources and 6 instances in tests.


ng e2e --server=false --base-href xxx not working

Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request

Description
I would like to use "ng e2e" to run tests against various deployments of my angular project by specifying the base url in the command line script. Using protractor I can do this in a script with "protractor --baseUrl=xxx". I can not do this using "ng e2e". It only allows me to turn off the server but not to specify the base url (-base-href is apparently ignored when server is off).
Versions.
@angular/cli: 1.0.0
node: 7.7.1
os: win32 x64
@angular/common: 2.4.6
@angular/compiler: 2.4.6
@angular/core: 2.4.6
@angular/forms: 2.4.6
@angular/http: 2.4.6
@angular/platform-browser: 2.4.6
@angular/platform-browser-dynamic: 2.4.6
@angular/router: 3.4.6
@angular/cli: 1.0.0
@angular/compiler-cli: 2.4.6
Repro steps.
Add npm scripts to existing deployments of a project like f.x.:
"e2e:test": "ng e2e --server=false --base-href=https://xxxx",
"e2e:dev": "ng e2e --server=false --base-href=https://xxxx2",

and do a "npm run e2e:test"
The test will open the browser but fail to set baseUrl correctly.
Mention any other details that might be useful.
Works if I use "protractor" command line:
protractor --baseUrl=https://xxxx

+1


PL/SQL wrong block end matching

The following (valid) block of PL/SQL is not run through DBeaver 4.2.6 using Alt+X
DECLARE
	test_v NUMBER:=0;
	FUNCTION test_f(value_in_v IN number)
	RETURN
		varchar2
	IS
		value_char_out VARCHAR2(10);
	BEGIN
		SELECT to_char(value_in_v) INTO value_char_out FROM dual;
		RETURN value_char_out;
	END;
BEGIN
	dbms_output.put_line('Start');
	dbms_output.put_line(test_v||chr(9)||test_f(test_v));
	dbms_output.put_line('End');
END;

It prints the following error:
SQL Error [6550] [65000]: ORA-06550: line 11, column 5:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   begin function pragma procedure

SQL Error [6550] [65000]: ORA-06550: line 11, column 5:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   begin function pragma procedure

  ORA-06550: line 11, column 5:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   begin function pragma procedure

  ORA-06550: line 11, column 5:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:

   begin function pragma procedure

Seems to be a bug in blocks parsing.
Thanks for report.
Workaround: select full query and execute with ctrl+enter.

Hello,
The workaround doesn't seem to work with DBeaver 5.0.0 ( I don't think it worked with the previous version either).
With the provided example I get the following error :

SQL Error [6550] [65000]: ORA-06550: line 1, column 8:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 19:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 3, column 39:
PLS-00103: Encountered the symbol "" when expecting one of the following:
return
SQL Error [6550] [65000]: ORA-06550: line 1, column 8:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 19:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 3, column 39:
PLS-00103: Encountered the symbol "" when expecting one of the following:
return
SQL Error [6550] [65000]: ORA-06550: line 1, column 8:

PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 19:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 3, column 39:
PLS-00103: Encountered the symbol "" when expecting one of the following:
return
  SQL Error [6550] [65000]: ORA-06550: line 1, column 8:

PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 19:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 3, column 39:
PLS-00103: Encountered the symbol "" when expecting one of the following:
return
    ORA-06550: line 1, column 8:

PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 19:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 3, column 39:
PLS-00103: Encountered the symbol "" when expecting one of the following:
return
    ORA-06550: line 1, column 8:

PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 19:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
  form
current cursor
The symbol "" was ignored.
ORA-06550: line 3, column 39:
PLS-00103: Encountered the symbol "" when expecting one of the following:
return

Hello,
The workaround (ctrl+enter) now works with Dbeaver 5.1.3.
Alt+X is still not working, so this bug report is still relevant.

Still reproduces on 6.0.3 version

The problem was in nested PL/SQL blocks parser

verified

It was broken at some moment. Block header additions were reverted in #8208. We need to find another way to parse this properly.

verified


popovers: Fix broken user popover behavior.

If we call popovers.hide_all with a smaller browser
window, this breaks the functionality that the
conditional is attempting to handle.  We instead use
hide_all_except_sidebars to prevent the user list
from being closed.
If the display setting to show the user list in the
left sidebar is enabled, the behavior is even worse.
We add a conditional to maintain the streamlist
sidebar when clicking the chevron to show and hide
the popover here as well.
Current Behavior:

Left sidebar setting:

Right sidebar:

Nice, merged, thanks @whoodes!


Delete uploaded resource after failed validation

Problem: When a file is uploaded using the FormUpload element, it is immediately saved to the resource collection upon form submission. However, if the file is later deemed invalid, it still occupies server storage, leading to unnecessary and potentially significant consumption of storage space.
Implementation: The \Neos\Form\Validation\FileTypeValidator now utilizes an injected resource manager. If a file fails validation, the resource manager deletes the corresponding file and entry in the DB, preventing invalid files from being permanently stored and conserving server storage space.

Thank you for this fix! I understand the problem and there might not be a good place to fix this, my only worry would be that this deletes the file in some cases but not in others (for example if the validation fails on something else and no resubmit happens).
I'll have a closer look.


Wants to add date and time feature in Notes App!!

I want to add date and time feature in it , so that one who is adding notes keeps reference when he/she has added that note.
@Vishal-raj-1 , @urvashi-code1255  I will be thankful to you if you assign me under Lgm-Soc
/assign

Hey @Vishal-raj-1 when will you assign this to anyone??

@Vishal-raj-1 @urvashi-code1255 ???

/assign

@Kartikey0205 you can work on this .


Experience-7886: Fix memberships.has in admin check

This PR ...
This changeset addresses a bug wherein the memberships.has check for an admin status fails because memberships is not a Map.  This requires users to clear their local storage in order to continue using the site.
Since we no longer have the ability to mock a user's member type, we can just check if their active membership is an admin member type instead.
Testing

[x] Tested locally?
- [ ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[x] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Linked Issues

Fixes #7886

@stephenkao thanks for the fix on this!

Looks good, and solves our memberships.has issue! For some context, that memberships property itself could go away if we know that nobody will be a member of two OktaGroups.
We added it back in the day, because so many admins, for some reason, were members of more than one group, and we default to your first organization in the Okta groups claim.
I think a more accurate behavior to ensure no admin's misconfiguration in Okta ruins their experience would be to check there, "hey, is this user a part of our Admin group", and if so, set that, if not, default to the first. Then, we could do away with memberships because nowhere on the site do we expect or allow users to swap to another organization except through PrimeAdmin tools.
Just a thought for cleanup of useOktaMemberships and our MembershipState!

Good point!  I definitely agree we can remove memberships + clean up our organization impersonation going forward, but that's out of the scope of this pull request.  I'll file a separate ticket for that, though!


Beeping sound

I wanted to ask if you could add a beeping sound that becomes faster the less time you have because I'm playing with some mod that doesn't make me see the battery, and it would be really neat to add tension.

Honestly been thinking about this very thing! I feel like sound effects would be a nice touch. I''ll try to work on that and get something working, shouldn't be too difficult, hopefully lol


Go Live [July 14]

Push to live

Docs Build status updates of commit 2faa917:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/authentication/auth-flow-bot.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/rate-limit.md
:white_check_mark:Succeeded
View

msteams-platform/get-started/first-app-blazor.md
:white_check_mark:Succeeded
View

msteams-platform/samples/virtual-assistant.md
:white_check_mark:Succeeded
View

msteams-platform/sbs-send-proactive.yml
:white_check_mark:Succeeded
View

msteams-platform/tabs/how-to/build-adaptive-card-tabs.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

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


Can't install on Cache for Windows (x86-64) 2018.1.1

$zv: Cache for Windows (x86-64) 2018.1.1 (Build 312_1_18859U) Tue Mar 19 2019 00:43:30 EDT
Problem: $$$FileTempDir macro not found

We don't officially support Cache, only IRIS 2019.1+

Only for IRIS


Vagrant error when trying to mount filesystem

I get the following error
==> default: /sbin/mount.vboxsf: mounting failed with the error
==> default: : No such file or directory

I've downloaded the repo as a zip and ran vagrant up as is
Any ideas?

Could you give me your OS version and your Vagrant version?

Not working on -
Windows 7 64bit Enterprise Edition - Vagrant 1.7.2
Working on -
Windows 7 64bit Professional - Vagrant 1.6.5

Sorry about the late reply to this. I've been incredibly swamped with work. I will try to take a look at this tonight and get back to you. Thanks for the heads up!

I've run into this a few times now, restarting the host machine seems to fix it

Can you also list your VirtualBox versions next to those OS/Vagrant versions? I'm not currently able to re-create this, but I did find a similar error message in the Vagrant issues. It looks like their issue was caused by VirtualBox and not Vagrant.
I appreciate you keeping my attention on this!

Closing this as I have no evidence to suggest this is a problem with my coding/configuration. As the previous comment states, this seems to be a VirtualBox issue instead.


feat: Flow for tables that already have a dataset

SUMMARY

This implements a flow in the new dataset creation page for when a table already has a dataset. It uses a simplified dataset fetch in the AddDataset/index.tsx file to cross-reference with the table list. If the table has a dataset, it gets a warning icon in the left panel. If the table is selected, the table's columns are still displayed, but the "Create Dataset" button is disabled and it has an info banner at the top informing the user of the pre-existing dataset with a link to that dataset in the upper-left corner of the alert. Clicking the "View Dataset" button in this alert will bring the user to the explore view of the existing dataset in a new tab.
ANIMATED GIF / SCREENSHOT

Screenshot of selected table with existing dataset

Left panel warning icons

"View dataset"

TESTING INSTRUCTIONS

Go to http://localhost:9000/dataset/add/?testing
Select a database and a schema
Observe that any tables in the left panel with a pre-existing dataset will have a warning icon
Click a table with a dataset
Observe that the "Create dataset" button is disabled and there is an info banner at the top informing of the pre-existing dataset
Click "View dataset" in the alert
Observe that you are taken to the explore view of the existing dataset in a new tab

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

Hi @lyndsiWilliams!
Do we plan to add the ability to create a virtual dataset based on a SQL query to the DatasetPanel?

@eschutho @eric-briscoe @lyndsiWilliams I have some nice suggestions!

This is the new dataset creation page and we have [SIP-61] - Improve the organization of front-end folders.
We can move this page into src/pages/addDataset and it'll first component in src/pages after that if we create a new page for superset we can do it in src/pages.
Creating Virtual Dataset on this new page. When we run our SQL query here we can see all metadata: columns types, used tables in the query, labels/aliases of columns and so on. Because in SQL Lab you run sql query and only see result data without columns metadata and others additional info.

What do you think about it?

@eschutho @eric-briscoe @lyndsiWilliams I have some nice suggestions!

This is the new dataset creation page and we have [SIP-61] - Improve the organization of front-end folders created by @michael-s-molina
We can move this page into src/pages/addDataset and it'll be first component in src/pages after that we can smoothly move others page to the folder or if we create a new page for superset we can immediately do it in src/pages.
Creating Virtual Dataset on this new page. It will be good if we run our SQL query here we can see all metadata: columns types, used tables in the query, labels/aliases of columns and so on. Because in SQL Lab if you run sql query you can only see result data without columns metadata and others additional info.

What do you think about it?

Hey @EugeneTorap!

This is a good suggestion, but it is a pretty substantial change for this PR. It will be better to do this in a future cleanup PR.
We currently don't have plans to add a virtual dataset from this flow. Now that we can create charts from a query in SQL Lab, the left panel in Explore should show you the column metadata info.

/testenv up


Support completer queries from SearchBackend

This allows the SearchBackend to return query completions for virtual queries:
e.g. virt.v1..servers-stat returns ["virt.v1.*.servers-status:"].
Why test for running a completion query using 'HasSuffix(query, "*")' rather
than 'format == "completer"? The reason is that graphite-web translates
format=completer from the javascript into format=json and a standard 'find'
request, and it is this standard 'find' request which reaches carbonzipper.

Some context for the comment about format changing:
From graphite-web, handling the AJAX request from the frontend for autocomplete:
  if format == 'completer':
    query = query.replace('..', '*.')
    if not query.endswith('*'):
      query += '*'

    if automatic_variants:
      query_parts = query.split('.')
      for i,part in enumerate(query_parts):
        if ',' in part and '{' not in part:
          query_parts[i] = '{%s}' % part
      query = '.'.join(query_parts)

  try:
    matches = list( STORE.find(query, fromTime, untilTime, local=local_only) )
  except:
    log.exception()
raise

The STORE.find at the end here will do a normal Find request to zipper, with the normal json or pickle format.
As a result, zipper never sees any 'completer' requests as far as I can tell. This is why we need to guess a bit about whether a query is a completer or not by looking for the *. However, I think this is a basically reasonable thing given how virtual metrics work -- normal globs aren't supported by carbonsearch, so the only concern is about colliding with a tag which legitimately has a glob at the end.


fix decode bug

decode function used input vocab instead of target vocab.

I signed it

Thanks a lot @dong-s for this!


feat(core): PDFBox支持

Fixes #384

Proposed Changes

...
...
...

Readiness Checklist
Author/Contributor

[ ] If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

[ ] Label as either enhancement, bug, documentation or dependencies
[ ] Verify design and implementation

pdfbox相关依赖完善
PDFUtil工具类完善
PDFUtil测试类


update group

Fix group on DC0 page to point to existing CMB-S4 Globus Group

rewriting the whole page


User has exceeded the 'max_user_connections' resource (current value: 15)

I get a error when i try do do anything on the cli.
nativescript-app-sync whoami
Produces the following error:
[Error]  User 'USER-ID-HERE' has exceeded the 'max_questions' resource (current value: 18000)
I removed the user id from the error message just in case it's sensitive.
It seems intermittent. Starts working after a few minutes, then stops again randomly.
I'm only using appsync with three devices so it seems strange if this would be on my end.
Is this likely to be a issue with appsync and it's server resources or an issue with my usage of appsync?
It seems heroku related after googling.

I wanted to start using appsync and got the same error on the website as i ran
nativescript-app-sync register
to create an account.
Also throwing a 500:

Any update on this  issue? Starting in September, we are getting the errors using AppSync. It has been working for many months and suddenly broken without any code change. Here is the console.log from AppSync
JS: 500: User 'xxxxxxx' has exceeded the 'max_user_connections' resource (current value: 15)

trying to login at https://appsync.nativescript.org/login using a web browser results in same error
Request URL: https://appsync-server.nativescript.org/auth/login
Request Method: POST
Status Code: 500 Internal Server Error
User 'xxxxx' has exceeded the 'max_user_connections' resource (current value: 15)

I'm having the same issue. Any solutions?

Looks  like NativeScript has moved out of supporting these plugins. What a shame!
I will be trying to host the server myself and see how it goes.
I wish the team has paid more attention to their own plugins OR at least communicate their support or end of life plans.

Those who come here for a resolution, Nathanael just replied to my bug report in the main issue tracker under NativeScript, they will be looking at this issue soon.

@lonemanotzi Great! Hope they will resolve it.
Did to you try to get the self hosted option up and running are are you waiting to see if it's fixed? If so, did it go well?

@argia-andreas
Since they mentioned they will  be  looking at this soon, I haven't tried that option yet. I  am currently tied up with a high priority project, so not  much time to mess with it.

Any updates?


Extend migrations (ColumnSchemaBuilder): add support of db\Expression into ColumnSchemaBuilder::default()

Currently, when i do (in migration class):
$this->timestamp()->defaultValue('NULL')

builder makes following SQL: TIMESTAMP DEFAULT "NULL"
I suggest to add support of db/Expression:
$this->timestamp()->defaultValue(new \yii\db\Expression('NULL'))

and we get: TIMESTAMP DEFAULT NULL
For this need small modification, for example, like this:
https://github.com/yiisoft/yii2/blob/master/framework/db/ColumnSchemaBuilder.php#L164
if ($this->default instanceof \yii\db\Expression) {
    return ' DEFAULT ' . $this->default;
}

Duplicates #9337


Request first and last name separately when submitting talk proposals during cfp

Related to https://github.com/EuroPython/epcon/issues/988

Looking into this one now...


Working with other virtualization products

How does the Sandbox work with other virtualization products like VMware Workstation or Oracle VirtualBox?
I read somewhere that Sandbox and older versions of VMware Workstation causes issues. Still the case?

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

ID: 8c06f3ef-5946-862a-ae14-f897fdb518ca
Version Independent ID: cd6a8b99-b1e9-dff5-f174-a15840b304f0
Content: Windows Sandbox - Windows security
Content Source: windows/security/threat-protection/windows-sandbox/windows-sandbox-overview.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello @ebraiter - Thank you for posting your query, Windows Sandbox works normally on the VM. If there is any specific use case or issues you are facing, please contact Microsoft support for the same.
Thanks.
Imran.

@ebraiter Please let us know if you still have any question regarding the issue you have raised initially.
The issue is being closed since your question seems to be answered. Feel free to re-open this issue if you feel that it hasn't been answered or that there are further suggestions to improve the documentation itself.
Thanks.


fix terminal on DBCS encodings

Support non-UTF-8 encodings on Windows

Codecov Report

Merging #2000 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2000      +/-   ##
==========================================
- Coverage   74.65%   74.64%   -0.02%
==========================================
  Files          77       77
  Lines      125954   125954
  Branches    28188    28188
==========================================
- Hits        94029    94016      -13
- Misses      31921    31938      +17
+ Partials        4        0       -4

Impacted Files
Coverage Δ

src/if_xcmdsrv.c
83.33% <0%> (-2.78%)
:arrow_down:

src/os_unix.c
52.37% <0%> (-0.33%)
:arrow_down:

src/channel.c
79.92% <0%> (-0.18%)
:arrow_down:

src/ex_cmds.c
77.57% <0%> (-0.09%)
:arrow_down:

src/window.c
80.86% <0%> (-0.04%)
:arrow_down:

src/evalfunc.c
82.58% <0%> (-0.02%)
:arrow_down:

src/gui_gtk_x11.c
47.29% <0%> (ø)
:arrow_up:

src/term.c
51.9% <0%> (+0.05%)
:arrow_up:

src/if_py_both.h
76.18% <0%> (+0.13%)
:arrow_up:

src/gui.c
46.3% <0%> (+0.68%)
:arrow_up:

Continue to review full report at Codecov.

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


Clarification on PMPCFG WARL behavior

Hi!
I have a question regarding how WARL should be treated for the address matching field (A) in a PMP entry.
The specification allows for an implementation specific PMP granularity and it also states that if the granularity > 0 then NA4 is not selectable. Not selectable is something I interpret as not being legal, is this correct? If the granularity > 0 and NA4 is written to a configuration, what should the read legal value be?
For some background, I came across this issue when comparing our RTL implementation which defaults to A = OFF, while Imperas OVPsim in the same case ignores the write to the A field. In this case the previous A value was TOR and this could have unexpected consequences since the meaning of PMP-addresses are quite different between TOR and NA4/NAPOT and thus one may intentionally grant permission to non-intended memory areas. Defaulting to OFF has some issues too, since a memory region which permissions were supposed to be granted, were not granted access. As some CPUs support a granularity of zero, testing PMP software on such CPUs could more easily miss the handling/checking of illegal configurations, and thus when deployed may cause memory protection issues.
What's the rationale for not taking an exception on an incorrectly written pmpcfg? Since PMP is a memory protection mechanism I would personally prefer it to fail loudly instead of silently. Could such an exception perhaps be added in a future standard?

Don't get me started on WARL fields....
But, there are numerous examples in the spec where non-normative text says
that you should determine what is legal by writing a specific value, and
then reading it back -
and that applies here also. SW that writes ANY WARL field should always
check that the value written was actually written.
Essentially, the check is implemented in SW by an explicit CSR
read-compare-branch, and not in HW by trapping.
This is not a heavy burden, as CSRs are not often written.
And I would say that changing that aspect of the spec is very unlikely to
occur.
Note that WLRL fields are allowed to (but not required to) raise an illegal
instruction exception
There are very few WLRL fields defined in the spec (only xcause.EXC, and
hstatus.VGEIN), and I'm not sure why those a called out separately)
On Wed, Dec 7, 2022 at 2:19 AM JJ-Gaisler @.***> wrote:

Hi!
I have a question regarding how WARL should be treated for the address
matching field (A) in a PMP entry.
The specification allows for an implementation specific PMP granularity
and it also states that if the granularity > 0 then NA4 is not selectable.
Not selectable is something I interpret as not being legal, is this
correct? If the granularity > 0 and NA4 is written to a configuration, what
should the read legal value be?
For some background, I came across this issue when comparing our RTL
implementation which defaults to A = OFF, while Imperas OVPsim in the same
case ignores the write to the A field. In this case the previous A value
was TOR and this could have unexpected consequences since the meaning of
PMP-addresses are quite different between TOR and NA4/NAPOT and thus one
may intentionally grant permission to non-intended memory areas. Defaulting
to OFF has some issues too, since a memory region which permissions were
supposed to be granted, were not granted access. As some CPUs support a
granularity of zero, testing PMP software on such CPUs could more easily
miss the handling/checking of illegal configurations, and thus when
deployed may cause memory protection issues.
What's the rationale for not taking an exception on an incorrectly written
pmpcfg? Since PMP is a memory protection mechanism I would personally
prefer it to fail loudly instead of silently. Could such an exception
perhaps be added in a future standard?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/933, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJUNP6733ZY7NYQ6LZ3WMBQCFANCNFSM6AAAAAASWTXAV4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Suggestion: Add support for SUS16 encoding

Idea
Use amongus characters as the encoding
Reasoning
sus amongus haha funny
The goal of this issue is to ask if this would be accepted instead of just making a PR.
Other Information

Implementation: https://github.com/EnderKill98/No-Chat-Reports/commit/9d9f742e5184df72b0397d2a01050f7b36794750 / https://github.com/HKS-HNS/No-Chat-Reports/pull/3

Implementation of #244

That message looks really long encrypted. What's the longest message you can write, 100 characters?

I think I can accept a PR with this, but we woud need a more convenient way to select final encoding if we are to have more than one (just having SUS16 variant for each AES option seems cumbersome). If you are willing to work on expanding Encryption Settings gui for that purpose then go ahead, otherwise wait for 1.19.3 when I do that myself.


"Plugin IISBinding did not generate a target" - How to get bindings automatically changed - Probably user error

Hey there, this very well may not be an actual bug, but rather something I am missing.  When I go to generate a certificate with letsencrypt 1.9.7, I can manually create one just fine, but if I try to use any of the auto options it throws a "no valid hosts found" error for each site and then "Plugin IISBinding did not generate a target".
Is there something I need to do to get letsencrypt to see the IIS site host and generate a target?  My end goal here is to use the IIS cert options so that I don't have to manually change the bindings every few months.
Thanks in advanced for any help!
Here is a screenshot of the error, and a screenshot of my IIS Site Bindings (default site being the important one, the other is Exchange Back End, but I've included it in case it matters).
https://imgur.com/a/1LZBn
I have port 80 going to the site, which I believe is how I generate the manual cert to begin with.  I think this issue has to do with it potentially not being aware of the web root path perhaps.

This scenario is something on the roadmap for v1.9.8. For now it's only possible with a workaround, described here #612

Thanks.  Unlike the user posting int #612, I have http requests to OWA automatically forwarding to the HTTPS version of the site, so setting the hostname for the port 80 binding causes no problems for me and allowed me to use the automatic cert generation through IIS.
The new scheduled task created using the IIS option should automatically update the site bindings to the new Cert every 3 months, right?
Thanks a ton!

Also, if I remove a binding for port 80 after the first run, it will renew using https/443 right?

No, if you're using FileSystem (or any other HTTP validation method) you have to keep the port 80 binding there, otherwise it won't be able to renew. You can use DNS or TLS validation if you don't want to keep 80 available.

I seem to be having the same issue with v.1.9.12. This is the command I'm running:
letsencrypt --plugin iisbinding --manualhost example.com --siteid 1 --validation selfhosting --installation iis --installationsiteid 1 --emailaddress<EMAIL_ADDRESS>--accepttos --usedefaulttaskuser --test --verbose
I'm getting the same error as OP "Plugin IISBinding was unable to generate target". When I run it interactively it works.
How does selfhosting work and perhaps it's interfering with IIS on port 80?

selfhosting mode uses native .NET functions to share port 80 with an existing IIS binding. I suspect it would fail if IIS is not set to bind to port 80? I can't say for sure. When you run manually, are you also using selfhosting mode?
I believe manual runs have the option to output the parameters you'd need to do it via cmdline. Have you tried comparing that?

Yes I'm also using selfhosting in interactive mode. I have an test server that I can reproduce this issue on now.
When I run interactively even with --verbose I don't see the command line options that you are talking about. Is there a particular switch or log file somewhere, since I would like to see the difference as well.

I think i was mistaken with the cmd line generation. I'll defer to @WouterTinus on this one

--plugin iisbinding --siteid 1 indicates that you want to create a certificate based on an existing IIS binding, but there is likely just a default/empty binding. Removing those two params will probably get you further.

Changing to --plugin manual and removing --sited 1 does indeed help. I still got an warning that binding info wasn't changed but that might be on my side. Thanks guys!


wrong day for DST change

Hi!
today I detect, that time from ezTime library is invalid. After some investigation I found, that problem is that ezTime thing that I need CET time, but today is last day with CEST
I am set Olsen format "Europe/Prague"
It is converted to POSIX correctly : "CET-1CEST,M3.5.0,M10.5.0/3"
This is correct. Problem is that today (27-Oct-2018) is last weekend on October but not .0  ( =Sunday)
ezTime show Time: Saturday, 27-Oct-2018 12:08:32 CET
Any idea?

Ouch, see the same problem here. Looks like something is off. I will look into that urgently later today or tomorrow...

Same for gb timezone:
UTC:                             Saturday, 27-Oct-2018 12:00:38 UTC
New Zealand:              Sunday, 28-Oct-2018 01:00:38 NZDT
United Kingdom:         Saturday, 27-Oct-2018 12:00:38 GMT
Local (GeoIP):              Saturday, 27-Oct-2018 12:00:38 GMT

I found reason.
Problem is on dst_start and dst_end equations.
Hotfix is +1 on "dow" in input like
	time_t dst_start = ezt::makeOrdinalTime(start_time_hr, start_time_min, 0, start_week, start_dow+1, start_month, tm.Year + 1970); 	time_t dst_end = ezt::makeOrdinalTime(end_time_hr, end_time_min, 0, end_week, end_dow+1, end_month, tm.Year + 1970);
In detal is problem on weekday numbering. In code weeks starts on sunday=1. But posix rule use sunday=0.

I found reason.
Problem is on dst_start and dst_end equations.
Hotfix is +1 on "dow" in library (line 741+742) like

time_t dst_start = ezt::makeOrdinalTime(start_time_hr, start_time_min, 0, start_week, start_dow+1, start_month, tm.Year + 1970);
time_t dst_end = ezt::makeOrdinalTime(end_time_hr, end_time_min, 0, end_week, end_dow+1, end_month, tm.Year + 1970);

In detal it is problem on weekday numbering. In ezTime function UTC.weekday() return sunday=1. But posix rule use sunday=0.

You're absolutely right: a bug indeed, and the fix is exactly as you describe. I will release a new version of ezTime later today.

I'm getting a DST issue here too. Using tz.setLocation(F("Europe/Stockholm")) it's giving me CEST a week in advance. Maybe because this year there are 5 Sundays in March?

Are you using version 0.7.10 ? It should be fixed there.

Yep that update fixed it, thanks


Improving Conway's Game of Life Example

Most appropriate sections of the p5.js website?
Examples
What is your operating system?
Mac OS
Web browser and version
Safari 16.0
Actual Behavior
Noting that there is no Existing Feature Enhancement option for contributing here this may not be the correct issue to raise. In which case please let me know, and I will submit the issue more appropriately. I am new to contributing to open-source projects.
Currently, in the game of life example, the states transition too quickly. This causes an unpleasant flickering effect to occur, which could upset photosensitive individuals.
Expected Behavior
In the original example from the Processing website the game of life has an interval between state updates:
int interval = 100;
int lastRecordedTime = 0;

...

void draw() {

  //Draw grid
  ...
  // Iterate if timer ticks
  if (millis()-lastRecordedTime>interval) {
    if (!pause) {
      iteration();
      lastRecordedTime = millis();
    }
  }

This makes the example considerably more pleasant to watch.
Steps to reproduce
Just simply view the example on the website.
Would you like to work on the issue?
Yes

You can go ahead with a fix. Thanks.


Bringing Messenger icon back after message.

That's my plan:

You have Messenger app opened.
You receive a message from X.
In system tray, app replaced a Messenger icon to X's profile picture.
When checked message, bring back Messenger icon.

P.S. Sorry for my English :us:

I, personally, don't like this behaviour. I think a badge is enough, sorry.


Audit Sentry

We certainly don't need to be recording traces for /.*/ - Sentry initialization will let us choose endpoints to trace or not to trace.


ESP32 does not keep sending data to AWS after reconnecting to Access Point. Wifi credentials were saved previously using BLE mobile app

Hello there. I am still testing the V202002 of AWS FreeRTOS ESP32 from this repo V202002.00, which is just the zip file generated from AWS Console The demo I'm running is this aws_iot_ota_update_demo_and_mqtt.c  . I am using our custom BLE mobile app, which is linked to our AWS account using Cognito, our IoT device and IoT Rule based on this freertos-ble-mobile.
I am testing all the critical scenarios of the whole solution. And of those is when (for any reason) the router has to get restarted (someone has to unplug it from the outlet and plug it back). During the whole test, I am pinging (ping <IP_ADDRESS> -t) the local IP address of the ESP32 (it is generated with DHCP from the router). The firmware is able to reconnect by itself to the router. However, it does not continue sending data to AWS. What it shows is the next log:
I (161706) WIFI: SYSTEM_EVENT_STA_CONNECTED
539 16155 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
540 16155 [iot_thread] [INFO ][MQTT][161550] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
541 16155 [iot_thread] [INFO ][MQTT][161550] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
542 16156 [iot_thread] [ERROR][NET][161560] Error -27648 while sending data.
543 16157 [iot_thread] [INFO ][MQTT][161570] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

544 16253 [IP-task] vDHCPProcess: offer c0a8050bip
545 16257 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
546 16257 [iot_thread] [INFO ][MQTT][162570] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
547 16257 [iot_thread] [INFO ][MQTT][162570] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
548 16257 [iot_thread] [ERROR][NET][162570] Error -27648 while sending data.
549 16258 [iot_thread] [INFO ][MQTT][162580] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

I (163456) event: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (163456) WIFI: SYSTEM_EVENT_STA_GOT_IP
550 16314 [IP-task] vDHCPProcess: offer c0a8050bip
551 16358 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
552 16358 [iot_thread] [INFO ][MQTT][163580] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
553 16358 [iot_thread] [INFO ][MQTT][163580] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
554 16359 [iot_thread] [ERROR][NET][163590] Error -27648 while sending data.
555 16360 [iot_thread] [INFO ][MQTT][163600] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

556 16460 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
557 16460 [iot_thread] [INFO ][MQTT][164600] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
558 16460 [iot_thread] [INFO ][MQTT][164600] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
559 16461 [iot_thread] [ERROR][NET][164610] Error -27648 while sending data.
560 16462 [iot_thread] [INFO ][MQTT][164620] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

561 16562 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
562 16562 [iot_thread] [INFO ][MQTT][165620] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
563 16562 [iot_thread] [INFO ][MQTT][165620] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
564 16563 [iot_thread] [ERROR][NET][165630] Error -27648 while sending data.
565 16564 [iot_thread] [INFO ][MQTT][165640] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

566 16664 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
567 16664 [iot_thread] [INFO ][MQTT][166640] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
568 16664 [iot_thread] [INFO ][MQTT][166640] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
569 16665 [iot_thread] [ERROR][NET][166650] Error -27648 while sending data.
570 16666 [iot_thread] [INFO ][MQTT][166660] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

571 16766 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
572 16766 [iot_thread] [INFO ][MQTT][167660] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
573 16766 [iot_thread] [INFO ][MQTT][167660] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
574 16767 [iot_thread] [ERROR][NET][167670] Error -27648 while sending data.
575 16768 [iot_thread] [INFO ][MQTT][167680] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.
E (168426) i2cdev: Could not write to device [0x77 at 0]: -1

576 16868 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
577 16868 [iot_thread] [INFO ][MQTT][168680] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
578 16868 [iot_thread] [INFO ][MQTT][168680] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
579 16868 [iot_thread] [ERROR][NET][168680] Error -27648 while sending data.
580 16868 [iot_thread] [INFO ][MQTT][168680] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

581 16968 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
582 16968 [iot_thread] [INFO ][MQTT][169680] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
583 16968 [iot_thread] [INFO ][MQTT][169680] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
584 16969 [iot_thread] [ERROR][NET][169690] Error -27648 while sending data.
585 16970 [iot_thread] [INFO ][MQTT][169690] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

586 17070 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
587 17070 [iot_thread] [INFO ][MQTT][170700] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
588 17070 [iot_thread] [INFO ][MQTT][170700] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
589 17071 [iot_thread] [ERROR][NET][170710] Error -27648 while sending data.
590 17071 [iot_thread] [INFO ][MQTT][170710] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

591 17171 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
592 17171 [iot_thread] [INFO ][MQTT][171710] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
593 17171 [iot_thread] [INFO ][MQTT][171710] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
594 17172 [iot_thread] [ERROR][NET][171720] Error -27648 while sending data.
595 17173 [iot_thread] [INFO ][MQTT][171730] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

596 17273 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
597 17273 [iot_thread] [INFO ][MQTT][172730] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
598 17273 [iot_thread] [INFO ][MQTT][172730] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
599 17274 [iot_thread] [ERROR][NET][172740] Error -27648 while sending data.
600 17275 [iot_thread] [INFO ][MQTT][172750] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

601 17375 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
602 17375 [iot_thread] [INFO ][MQTT][173750] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
603 17375 [iot_thread] [INFO ][MQTT][173750] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
604 17376 [iot_thread] [ERROR][NET][173760] Error -27648 while sending data.
605 17377 [iot_thread] [INFO ][MQTT][173770] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

606 17477 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
607 17477 [iot_thread] [INFO ][MQTT][174770] (MQTT connection 0x3fff5014) MQTT PUBLISH operation queued.
608 17477 [iot_thread] [INFO ][MQTT][174770] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Waiting for operation completion.
609 17478 [iot_thread] [ERROR][NET][174780] Error -27648 while sending data.
610 17479 [iot_thread] [INFO ][MQTT][174790] (MQTT connection 0x3fff5014, PUBLISH operation 0x3ffe6a3c) Wait complete with result NETWORK ERROR.

After this, I have to manually reboot the ESP32 and begin its process flawlessly.
Is there any way that the ESP32 can continue sending data to AWS after reconnecting to the access point?
Looking forward to hearing from you soon.
Thanks in advance.

Hello @Yoimer ,
Thanks for reaching out.
A few clarifying questions:

You mentioned that you are using BLE app, but you are waiting to  get IP from the router.  I'm assuming here that you are trying to connect to broker over WIFI. Is that the correct assumption ? Or the connection goes over your mobile ?
Are you using the OTA demo without any change or have you modified it ?
From the logs, I do not see your application attempting to connect to the broker anywhere. I do not see "Connecting to broker..." statement from the demo. Are you sure that IoTMqtt_Connect () is being called  before attempting to send PUBLISH?

Hello @Yoimer ,
Thanks for reaching out.
A few clarifying questions:

You mentioned that you are using BLE app, but you are waiting to  get IP from the router.  I'm assuming here that you are trying to connect to broker over WIFI. Is that the correct assumption ? Or the connection goes over your mobile ?
Are you using the OTA demo without any change or have you modified it ?
From the logs, I do not see your application attempting to connect to the broker anywhere. I do not see "Connecting to broker..." statement from the demo. Are you sure that IoTMqtt_Connect () is being called  before attempting to send PUBLISH?

Thanks

@abhidixi11 Thanks a lot for replying. I will respond each question, precisely:

You mentioned that you are using BLE app, but you are waiting to get IP from the router. I'm assuming here that you are trying to connect to broker over WIFI. Is that the correct assumption ? Or the connection goes over your mobile ?

We are using Wifi_provisioning over BLE mobile app on Android. So you're right on your assumption. The ESP32 needs a wifi router with internet access in order to connect to the broker.

Are you using the OTA demo without any change or have you modified it ?

We are using the modified ota demo from AWS FreeRTOS 202002. The person who modified is pvyawaha  I think he works for AWS. That demo works great!. The very same code is here on my repository V202002.00_aws_iot_ota_update_demo_and_mqtt.c

From the logs, I do not see your application attempting to connect to the broker anywhere. I do not see "Connecting to broker..." statement from the demo. Are you sure that IoTMqtt_Connect () is being called before attempting to send PUBLISH?

I am attaching the whole log over here. This is after we provision the Wifi credentials using the ble mobile app.
Please, ignore the message:
E (5446) i2cdev: Could not write to device [0x77 at 0]: -1
Could not read data from bmp 180 sensor: -1
E (5466) dht: Initialization error, problem in phase 'C'
Could not read data from dht11 sensor

We have two sensors attached to the ESP32. When they're not physically connected, we see these messages on the console, but the code keeps running flawlessly. This is merely for debugging.
Looking forward to seeing your comments.
Thanks in advance.
ota_mqtt_ble_logs.txt

Thanks for detailed explanation !
I think when you physically turn off the router and turn back on , the demo is not not calling MQTT connect again.
After the network is connected , it looks like the code does not check for failed network connection and keeps publishing. The application should detect if either of following has happened :

Publish has failed
Keep-alive has failed. ( through disconnect call back)
If yes, disconnect the MQTT connection and then reconnect.

Let me get back to you I'll sync up with @pvyawaha.
Thanks!

Thanks for detailed explanation !
I think when you physically turn off the router and turn back on , the demo is not not calling MQTT connect again.
After the network is connected , it looks like the code does not check for failed network connection and keeps publishing. The application should detect if either of following has happened :

Publish has failed
Keep-alive has failed. ( through disconnect call back)
If yes, disconnect the MQTT connection and then reconnect.

Let me get back to you I'll sync up with @pvyawaha.
Thanks!

@abhidixi11 Sure. Thanks a lot for your kind support on this!

Hello Yoimer,
OTA V202002
Thank you for sharing details. When a connection issues happens the OTA Agent will try to publish number of times before stopping and reconnecting. The default OTA config for number of attempts is defined in aws_ota_agent_config.h with configuration parameter otaconfigMAX_NUM_REQUEST_MOMENTUM  to 32. You can reduce this to lower value to even 1 to make the OTA Agent shutdown and reconnect sooner. Once the OTA Agent stops after number of publish attempts are tried it will  shutdown and reconnect as implemented in the demo.
I will recommend to move to latest release as that supports resuming the OTA download when a reconnect happens.
Please let me know if you have further questions.

Hello Yoimer,
OTA V202002
Thank you for sharing details. When a connection issues happens the OTA Agent will try to publish number of times before stopping and reconnecting. The default OTA config for number of attempts is defined in aws_ota_agent_config.h with configuration parameter otaconfigMAX_NUM_REQUEST_MOMENTUM  to 32. You can reduce this to lower value to even 1 to make the OTA Agent shutdown and reconnect sooner. Once the OTA Agent stops after number of publish attempts are tried it will shutdown and reconnect as implemented in the demo.
I will recommend to move to latest release as that supports resuming the OTA download when a reconnect happens.
Please let me know if you have further questions.

Dear @pvyawaha,
Thanks a lot for your support on this, this is quite kind from you. I will try as you recommended. At the moment I can not move to the latest  OTA demo on AWS FreeRTOS ESP32, since it is not that easy to use ota and coreMQTT together. What it is making me keeps this current version (202002) is the fact that it is possible to have mqtt and ota running together. I've made quite a few otas from AWS (having the .bin file on an S3) and all working good.
Thanks a lot again, for your support.

@pvyawaha Hello. I really hope you're doing fine.
I followed your instructions as per requested, and although ESP32 reconnects to the router (I verify this by pinging the ESP32 ip address), it does not reconnect to AWS, the console keeps showing the same error (infinitely):
E (222589) i2cdev: Could not write to device [0x77 at 0]: -1
Could not read data from bmp 180 sensor: -1
E (222609) dht: Initialization error, problem in phase 'C'
Could not read data from dht11 sensor
898 22238 [iot_thread] State: WaitingForJob  Received: 1   Queued: 0   Processed: 0   Dropped: 0
899 22238 [iot_thread] [INFO ][MQTT][222380] (MQTT connection 0x3fff4940) MQTT PUBLISH operation queued.
900 22238 [iot_thread] [INFO ][MQTT][222380] (MQTT connection 0x3fff4940, PUBLISH operation 0x3ffe60f8) Waiting for operation completion.
901 22239 [iot_thread] [ERROR][NET][222390] Error -27648 while sending data.
902 22240 [iot_thread] [INFO ][MQTT][222400] (MQTT connection 0x3fff4940, PUBLISH operation 0x3ffe60f8) Wait complete with result NETWORK ERROR.

Here I changed the otaconfigMAX_NUM_REQUEST_MOMENTUM to 1U aws_ota_agent_config.h as you suggested.
I even also tried adding the esp_wifi_connect() function on this specific section of iot_wifi.c, but no success so far.
Is there any way to reboot the ESP32 after, let's say 5 minutes of failing the attempts to send data to AWS after reconnecting to the router?. Since all the wifi credentials are saved on the EEPROM, the ota demo cicle would start from the beginning and the process should be able to continue as usual.
I am asking this because we're evaluating all the scenarios on the field. At the moment we're using the mobile app for BLE WiFi Provisioning based on the AWS SDK with Cognito in our AWS account.
So imagine for a moment that the client has to physically reboot the wifi router, or even the IT department does that from the UI of the own router. The ESP32 won't send any to data to AWS, and can't receive any OTA  automatically with this current configuration.
If by any chance the wifi router is damaged, broken or malfunctioning, definitely  we need to send a technician to the location and ask them to activate a new router and pass the new wifi credentials using the BLE WiFi Provisioning mobile app.
I asked about the self-rebooting-logic after 5 minutes in the ESP32 (after reconnected to the local wifi router) because if I force to reboot it immediately, the ESP32 would be in an endless reboot loop, not giving me any chance the add new wifi credentials from the mobile app. It would try using the ones saved previously on the eeprom, but as the router is out of service, that won't simply work.
Apart of my idea, what would you suggest based on your experience?
Looking forward to hearing from you soon.
Respectfully,
Yoimer.

Hello Yoimer,
Regarding your logs after changing the otaconfigMAX_NUM_REQUEST_MOMENTUM to 1U , can you please share complete log? If you can not share it here you can share with the support channel. It seems the network connection is not re-established before continuing OTA.
Also, the https://github.com/aws/amazon-freertos/releases/tag/202007.00 release is based on the pre-lts ( OTA and previous MQTT library not coreMQTT) and the reconnection is handled in the demo along with resuming the OTA.
This should be handled in the application instead of forcing a reset on every disconnect. If still application logic needs a reset then you can call prvPAL_ResetDevice function from Espressif OTA Pal port which basically calls prvPAL_ResetDevice.

@pvyawaha Hello. Thanks a lot for replying and assisting. Yes, for sure. I will pass you the whole log here.
Regarding the 202007.00 you are suggesting, would I be able to handle the ota and mqtt together in just one code as you created it here aws_iot_ota_update_demo.c with version V202002.00?
The only thing that is keeping me using the V202002.00 version is that it happens to be quite stable. In fact we're using the BLE Wifi Provisioning and 2 sensors and even now we were able to bring a GPS and it works flawlessly.
Of course, if all works OK on 202007.00 and even, we are able to add the reconnection and resuming the OTA features, that would be quite great also. That adds even more value to our current solution for our clients.
In a few hours I'm proving the whole log as per suggested.
Thanks a lot for your support. Looking forward to hearing from your comments.

@pvyawaha Hello,
I am attaching the whole log as suggested. The ESP32 connects to the local wifi router after passing wifi credentials using the ble mobile app.  It begins sending data to AWS IoT Core.
After a few minutes, I rebooted the wifi router. ESP32, reconnects to the router by itself (again, I see it on my network and I can even ping t). But it can no longer send data to AWS by itself.
For security reasons I just edited the endpoint string on the log.
The rest is exactly the same as esp32 console prompted. Thanks in advance for your cooperation.
aws-freertos-v202002-connect-disconnect-log.txt

@pvyawaha Hello. I hope you're doing quite well there.
We made some progress regarding the reconnect issue:

We downloaded the FreeRTOS V202007.00 zip file from AWS Console for the OTA demo and created a repository here AFR_ESP32_FreeRTOS_V202007 with the unzipped files on the main branch.
We were able to implement the ota+mqtt on V202007.00 with a little modification on this integration branch aws_iot_ota_update_demo.c    , it is almost what you did for the V202002 here aws_iot_ota_update_demo.c.
We only tested the connect and disconnect functionality on this new firmware. We observed that the ESP32 was able to reconnect to local wifi router and begin transmitting data to AWS after some Retrying network connection delays, which it is quite good for us, we were looking for something like this since while ago :)
I am attaching the whole log for better understanding of the whole procedure.
Now we are going to perform some OTAS from AWS Console having the new .bin files on our S3 bucket.
If 5 responds OK (likely it will), we are going to begin migrating the sensors and gps we successfully implemented on V202002 to this  current V202007.00.

I will keep you posted on this. Thanks a lot for advancing using V202007.00 yesterday.
Looking forward to hearing any comments or recommendation on this.
Have a great day.
ota_mqtt_ble_202007_OK.txt

Hello Yoimer,
Good to know that you migrated to later release. This release has number of important features like resume as I mentioned earlier, exponential backoff and retries and stability fixes.
Let me know how your testing goes and if you have any further questions.

Hello ,
Closing this ticket now , please reopen for same topic or create new issue for other topics.

Hello ,
Closing this ticket now , please reopen for same topic or create new issue for other topics.

@pvyawaha Hello. Thanks for your support. Sure, I will re-open in case it's needed. Have a great day


chore: add types for core message server

Description

closes: #XXXX
support generic unmarshal and exec msg server methods like:

func unmarshalAndExec[T MsgType, U any](
	bc *RelayerContract,
	input []byte,
	msg T,
	callback func(context.Context, T) (U, error),
) error {
	if err := proto.Unmarshal(input, msg); err != nil {
		return fmt.Errorf("fail to Unmarshal %T", msg)
	}

	var anyMsg any = msg
	if clientMsg, ok := anyMsg.(ClientStateMsg); ok {
		clientState := new(tmtypes.ClientState)
		if err := proto.Unmarshal(clientMsg.GetClientState(), clientState); err != nil {
			return errors.New("fail to Unmarshal ClientState")
		}
		value, err := codectypes.NewAnyWithValue(clientState)
		if err != nil {
			return err
		}
		clientMsg.SetClientState(value)
	}

	return bc.stateDB.ExecuteNativeAction(func(ctx sdk.Context) error {
		_, err := callback(ctx, msg)
		return err
	})
}

Commit Message / Changelog Entry
type: commit message

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Hi @mmsqe! thanks for this PR -- could we have a little bit more context on why you need the unmarshalAndExec method in the msg server?

Yes, I find it cleaner with the help of template function like in ethermint and relayer side.

Hi @mmsqe, thanks for the contribution! It would help us if you could open an issue for these changes so we could have a discussion there on the context of these changes. Issue writeups are a valuable part of our engineering process as it allows us to gain context on the problem and determine if there's other parts of the codebase that could be improved with a similar solution. It's hard for us to determine whether a solution is sufficient without having a full understanding of the problem

Hi @colin-axner, just added #3604, see if it's ok.

temporarily closing this PR until more feedback is provided in #3604


Main thread spread exception when thread-mgr enabled

i guess you need some kind of a retry loop as other threads can create threads in the meantime.
i guess traverse_list should require a lock. (cluster->lock?) but it isn't a fault of this PR.

Thanks for the suggestions.

i guess you need some kind of a retry loop as other threads can create threads in the meantime.

I think we can add a status field to record the status of a cluster. When we spreading the exception:

get cluster->lock
set cluster's status to exception
spread the exception

Then if there are any other threads creating new thread at the meantime, we directly fail it if the cluster's status is exception
@yamt @wenyongh how do you think about this solution?

i guess traverse_list should require a lock. (cluster->lock?) but it isn't a fault of this PR.

Yes, and traverse_list is used for different lists, I‘ll analyze every situation and add the locks if necessary

Thanks for the suggestions.

i guess you need some kind of a retry loop as other threads can create threads in the meantime.

I think we can add a status field to record the status of a cluster. When we spreading the exception:
1. get `cluster->lock`

2. set cluster's status to `exception`

3. spread the exception

Then if there are any other threads creating new thread at the meantime, we directly fail it if the cluster's status is exception
@yamt @wenyongh how do you think about this solution?

i think it works.

i guess traverse_list should require a lock. (cluster->lock?) but it isn't a fault of this PR.

Yes, and traverse_list is used for different lists, I‘ll analyze every situation and add the locks if necessary

thank you.

Thanks for the suggestions.

i guess you need some kind of a retry loop as other threads can create threads in the meantime.

I think we can add a status field to record the status of a cluster. When we spreading the exception:

get cluster->lock
set cluster's status to exception
spread the exception

Then if there are any other threads creating new thread at the meantime, we directly fail it if the cluster's status is exception
@yamt @wenyongh how do you think about this solution?

It looks good to me.


Improve JDBI integration with Alpine

Description

Adds an AlpineRequest-aware JDBI StatementCustomizer, that transparently enriches statement contexts with query template variables and parameter bindings for:

Filtering
Ordering
Pagination
Portfolio Access Control

This removes the need for explicit @DefineOrdering and @DefinePagination parameters in JDBI queries (as introduced in #513).
Functionality-wise, this matches what Alpine is providing via AbstractAlpineQueryManager#decorate for ordering and pagination, and Dependency-Track via QueryManager#preprocessACLs for portfolio ACLs.
Additionally, a QueryManager instance is no longer required to work with JDBI.
Addressed Issue

Relates to https://github.com/DependencyTrack/hyades/issues/1292
Additional Details

Request query parameters for filtering, sorting, and pagination are bound to an AlpineRequest object in Alpine's ApiFilter.
AlpineRequest is available to all resource classes extending AlpineResource.
When performing persistence operations in a resource, the AlpineRequest is passed to the QueryManager, which can use it to refine its database queries.
The majority of queries performed by QueryManager will implicitly use Alpine's AbstractAlpineQueryManager#decorate method, which extends queries with ordering and pagination instructions, based on the AlpineRequest.
This change adds the same capabilities for JDBI. To acquire an AlpineRequest-aware JDBI handle, one of the following methods may be used:
JdbiFactory.openJdbiHandle(alpineRequest);
JdbiFactory.useJdbiHandle(alpineRequest, handle -> ...);
JdbiFactory.withJdbiHandle(alpineRequest, handle -> ...);
JdbiFactory.useJdbiTransaction(alpineRequest, handle -> ...);
JdbiFactory.inJdbiTransaction(alpineRequest, handle -> ...);

These methods are essentially overloads of existing JDBI methods: https://jdbi.org/#_obtaining_a_managed_handle
Filter
If an incoming request defines the filter or searchText query parameter, the statement context will be enriched with the following:

The apiFilterParameter attribute, hardcoded to :apiFilter
The apiFilter query parameter, bound to the provided searchText value

Query templates can now safely embed ${apiFilterParameter}. See Complete Example below for usage example.
Ordering
If an incoming request defines ordering parameters, the orderByClause attribute will be defined. It can be used in query templates, either as entirely optional:
${orderByClause!}

or with a fallback, in case it's not defined:
<#if orderByClause??>
  ${orderByClause}
<#else>
  ORDER BY "name" ASC, "version" DESC
</#if>

Pagination
If an incoming request defines pagination parameters, the offsetLimitClause attribute will be defined (as OFFSET :paginationOffset FETCH NEXT :paginationLimit ROWS ONLY), as well as the :paginationOffset and :paginationLimit parameters.
It can be used as optional part towards the end of a query, like this:
${offsetLimitClause!}

Complete Example Query
SELECT "UUID" AS "uuid"
      , "GROUP" AS "group"
      , "NAME" AS "name"
      , "VERSION" AS "version"
      , COUNT(*) OVER() AS "totalCount"
  FROM "PROJECT"
 WHERE ${projectAclCondition!"TRUE"}
<#if apiFilterParameter??>
   AND LOWER("PROJECT"."NAME") LIKE ('%' || LOWER(${apiFilterParameter}) || '%')
</#if>
<#if orderByClause??>
  ${orderByClause}
<#else>
 ORDER BY "name" ASC, "version" DESC
</#if>
${offsetLimitClause!}

Checklist

[x] I have read and understand the contributing guidelines
~This PR fixes a defect, and I have provided tests to verify that the fix is effective~
[x] This PR implements an enhancement, and I have provided tests to verify that it works as intended
~This PR introduces changes to the database model, and I have updated the migration changelog accordingly~
~This PR introduces new or alters existing behavior, and I have updated the documentation accordingly~

This functionality is used here: https://github.com/DependencyTrack/hyades-apiserver/pull/693/commits/bf5cab878d7cc6c7830f4774246751be050bce56
May be helpful to see a real-world usage example.


dev-todo-mvvm-rxjava: tasks are never saved to local data source when refreshTasks() is called in TasksRepository

I followed the example TasksRepository from dev-todo-mvvm-rxjava branch, specifically the refresh method where the response from the server is persisted to the local data source and found out an issue with the code.
TasksRepository.refreshTasks() is chained with .doOnNext(mTasksLocalDataSource::saveTasks). Tasks are never saved to local data source because the observable (Completable in this case) that is returned from  TasksLocalDataSource.saveTasks(tasks) is never subscribed.
The issue is that doOnNext() doesn't subscribe the observable and should only be used for side effects. Instead you should use flatMap or similar operator so that the observable will be subscribed as part of the stream.

#123


File buildFinished for the root builds only after all included builds

This provides a way to run something after all builds have completed. Additionally that this isn't the behaviour has tripped me up twice, which is an indication that users will assume that this is already the behaviour.
CI: https://builds.gradle.org/project.html?projectId=Gradle&tab=projectOverview&branch_Gradle=ldaley%2Ffinish-included-builds-before-root-build

@oehme yes it does, but it doesn't explicitly test for it. I will add this.

@oehme added as https://github.com/gradle/gradle/pull/4991/commits/fc142b0047f1e8c9f82710abf44d0d4942fafdb6

Have to revert this one because of continuous failures on CI: https://builds.gradle.org/viewLog.html?buildId=12182229&buildTypeId=Gradle_Check_NoDaemon_Java8_Oracle_Windows_compositeBuilds

Added back with test change as 2b041c059dc0a9d50ce6ab649707740e29442c01


VirusTotale Found Java.Trojan.GenericGB.27004

I am check program and This VirusTotal Website found Java.Trojan.GenericGB.27004 ,Java/Kryptik.YO!tr ,Trojan.Java.GenericGB
Why found

False positive ;D
AntiVirus "can't read" obfuscated code, so it's detecting it as virus.

@SyaFR its open source lol. If your worried about a virus build the jar yourself.

Although I have to say it is quite worrying https://i.imgur.com/bUA8DwD.png

@SyaFR Well, I think this is caused by somebody used this program to create malware and an AV Company though that they could just blacklist the obfuscator. I tried reporting a False Positive but they didn't care about it. AntiVirus False Positives are not unusual. The obfuscator is open source, you can check it and you won't be able to find anything malicious. Anyways thank you for reporting this issue, even though I'm aware of it :D


Aggregation of fictional character names

This change will allow a user to pull a random fiction character name from the plethora of those available in multiple namespaces. A rake task will pull all generators with "character" methods and add them to a yml file for ease of maintenance. Although it relies on unspoken naming conventions being followed. Could this be ran as part of a build task?
Although it does what I wanted it to do in my use case, I'm really not sure if this is the right way to do it, or even if it's a good idea, so feedback welcome!
TODO:

[x] Documentation
[x] Unit tests

I’m not convinced this is a great idea, but I’m not necessarily opposed. :)
Instead of having a separate class, though, what if this was added to Name?

So I used this for a while to spice up boring test users, where normally I'd just used normal randomly generated names. But in the end reverted to specific TV shows and movies that I (and colleagues) would recognised the characters from. Not to say others may find it useful.
So still unsure of the value of this, and it may just add unnecessary maintenance.


AWS VPC_Endpoints not imported

Hello,
I am trying to import from aws and its working for the most part. However I don't see the VPC endpoints pulled into plan or import outputs. I have tried --resources="*" , --resources="aws_vpc_endpoint" as well as --resources="vpc_endpoint" without luck.
.\terraformer-aws-windows-amd64.exe --version
version v0.8.24

.\terraformer-aws-windows-amd64.exe import  aws --compact --filter="Name=tags.team;Value=SRE" --regions=us-east-1 --profile "" --resources="aws_vpc_endpoint"
2024/01/08 13:55:38 aws importing region us-east-1
2024/01/08 13:55:42 aws importing... aws_vpc_endpoint
2024/01/08 13:55:42 aws error importing aws_vpc_endpoint, err: aws: aws_vpc_endpoint not supported service

.\terraformer-aws-windows-amd64.exe import  aws --compact --filter="Name=tags.team;Value=SRE" --regions=us-east-1 --profile "" --resources="vpc_endpoint"
2024/01/08 13:55:23 aws importing region us-east-1
2024/01/08 13:55:27 aws importing... vpc_endpoint
2024/01/08 13:55:27 aws error importing vpc_endpoint, err: aws: vpc_endpoint not supported service

.\terraformer-aws-windows-amd64.exe import  aws --compact --filter="Name=tags.fp-team;Value=SREOps" --regions=us-east-1 --profile "" --resources="vpc_endpoint" --verbose > debug.log output attached (edited to remove the account and email ID).
debug.log

I'm having the same problem
italo:terraformer$ terraformer import aws -r vpc_endpoint
2024/02/06 10:55:21 aws importing default region
2024/02/06 10:55:25 aws importing... vpc_endpoint
2024/02/06 10:55:25 aws error importing vpc_endpoint, err: aws: vpc_endpoint not supported service
2024/02/06 10:55:25 aws Connecting....

VPC endpoints were added after the last release, so would need to re-build the binaries to make it work, or wait for a new version to be released that actually includes the vpc_endpoints

any update?

@sergeylanzman can we please re-open this?

Also having the same issue


Click on surface in scenario page not working

On the protein-protein scenario page with a pdb loaded and chain selected.
I can not select a residue by clicking the 3D surface.
Switching to a non-surface representation of selected residues does allow clicking in 3D viewer.

Click only seems to work when a atom popover is shown

Problem of NGL not here


Mouse can't move accross monitors on edges

I have a laptop display and external monitor setup configured with ALIGN=MIDDLE. When moving the mouse from the external monitor over to the laptop display (smaller screen size), the cursor can not move across on the top and bottom part of the edge. However, the cursor can move in the middle.
I think this is related to the different size of the two monitors.

Unfortunately way-displays cannot do anything about that, it simply tells the compositor what size and where the monitors are.
We'll need the compositor to do that "warping" of the mouse. Which compositor are you using? You could raise a feature request - it sounds like a great use case.

Hi, thank you for your reply. I am using way-displays with sway as a compositor.

Very quick search shows https://github.com/swaywm/sway/issues/6607
If that's the one, give it a thumbs up to vote.

This will identify if there are mismatches: #157

This issue should be resolved via #138
Any 1-pixel-rounding-error gaps are now handled by the compositor and way-displays, using the new fractional scaling protocol agreements.
Please comment or reopen if you have any further issues.


Add 5th Inquiry Type to list

Additional Inquiry type was added in the UI called "other point of engagement".  Needs to be hardcoded in the inquiry model.  And needs to be searchable in inquiry report as well.

@n-devr Tested in dev and looks good. the only glitch I see is if you are in the Inquiry Report, and search for all "points of engagement" type, you will see that the inquiry that you had entered yesterday displays the children that were originally associated with this inquiry, even when you have changed it back to Other Point of engagement

@bchiaruttini that's the existing behavior of Inquiries - technically those children are still specified in the Inquiry record, they're just not visible in the admin ui.  If you create a child inquiry and switch it to a general inquiry (or any other inquiry type) the children aren't removed.
That's something we could address in a save hook but IMO it's better left as a manual task.  Automating things like that can lead to data loss and confusion.


Fix RBAC for deletion of configmaps

Fixes #

Proposed Changes

Fix RBAC issue
Post migration deleter was not able to delete some configmaps

Release Note

Docs

/cherrypick main


Candle width does not update after switching interval and zooming

To reproduce (I was on Safari):

change interval to 1hour
double click the chart (zoom)
-note how the candles have gotten wider and now overlap

I noticed the volume bars do something similar on the Integrate with console branch.


Custom JS adds unnecessary empty spaces.

Custom JS adds unnecessary empty spaces every update.
class-wdm-widget-menu.php
line 113-115
everything between   and  is used as the default value.

fixed in 3cbc7bc


Error in multiple substitutions check...

Hi!
Try to decompile and compile back these apks (Phone.apk and PIM.apk) from LeWa OS:
http://www.mediafire.com/?hnmexasxme2tg6y

Phone.apk

\Phone\res\values-zh-rTW\strings.xml:202: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
There is a single "%" symbol in that line (like 78%). Apktool 1.4.2 can handle it without errors.

PIM.apk

\PIM\res\layout\act_edit.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@*android:drawable/item_background_holo_dark_left').
etc.
Again, new apktool can't handle some xmls. 1.4.2 version recompiles this apk w/o errors.

Closing before merge of GoogleCode issues.


The link for fashiongen does not work

As shown in the file:
Download
You can download the training set (download/train) and the validation set
(download/validation).
But the link does not work....

Having the same issue. Will there be an update?


Padding operation

Hello,
it would be nice to have a new feature to pad videos (opposite of cropping).
The use case is making a gif with a white area on the top on which I'd add a text.
This can be useful also for making a video square, or to add a transparent padding.

Hello @sabas,
I will try to include this in the next release.
:+1:


Badge for Total PowerShell Gallery Downloads from all published modules.

:clipboard: Description
With the release of GitHub Profile README's, It would be nice to have a single badge to show your total PowerShell Gallery downloads from all of your published PowerShell Gallery Modules.
Something like |Total PowerShell Gallery Downloads| 2k|
I know there are great badges for single module downloads, but I'm not finding a way to add these values together into a single badge.

:microphone: Motivation
This would be nice to show on your GItHub Profile README showing your collective PowerShell Gallery downloads. Each project should have the download badge for themselves.

Unless there's an official API endpoint that provides the aggregated stats for a user/owner, this seems like something that would probably be best handled via our Endpoint badge

Related: #204 #4964

I ended up creating an action that combines the individual download amounts, adds them up, and creates the generic https://img.shields.io/badge/--.svg link which replaced the link in my README.md.
So I have what I want without an endpoint. Thank you!

Great, going to close this then!