cleanup of TDR staging area

Received from KT on 23 May 2022 at 18:41:38 BST

Hi, all.
Storage costs for HCA have been going up and so we are taking inventory.  The staging areas for import into TDR seem to be hanging on to a lot.  Nate has pulled together this list of the largest buckets:

Bucket
Size (TiB)
Size
Object Count
Contents
Lifecyle Rules

gs://broad-dsp-monster-hca-prod-ebi-storage/
92.74
92.74 TiB
1.455M
Staging area buckets for EBI and UCSC

gs://broad-dsp-monster-hca-prod-ucsc-storage/
38.95
38.95 TiB
3.22M
CGMs for UCSC, unclear if this is still actively used

gs://broad-dsp-monster-hca-prod-lantern/
32.27
32.27 TiB
427.51K
Staging area buckets for LANTERN

gs://broad-dsp-monster-hca-prod-lattice/
12.11
12.11 TiB
14.46K
Staging area buckets for LATTICE

Can each group please review the what's in your bucket and either:

Manually clean up anything that's in there and no longer needed; and set up a process for doing so regularly in the future
OR
Get in touch with Nate to set up appropriate lifecycle rules for your bucket.
This data i costing thousands a month, so please do the first cleanup (at least) ASAP.  Thanks!

kt
Kathleen Tibbetts (she/her)

@amnonkhen is this still required? From the post-demo meeting I understand that the Import team will delete the staging areas 1 week after the project makes it to the Browser. Isn't it?

@amnonkhen is this still required? I am trying to clean up the board and this looks like could go

Closing as there was not response since May I am assuming no longer required


Switch to Toolbar

This allows to show the sidebar above the ActionBar, giving more space for folders.

This doesn't play well with the changes from #3771. K9PreferenceActivity needs a theme with action bar.

Do you have a suggestion what should be done instead?

@cketti what do you think about adding new themes without an ActionBar and then adding a method that converts the R constant from the normal theme to the one without ActionBar? Then the theme without ActionBar can be applied only to MessageList.
This probably also reduces the diff but I am not sure if it is "clean" enough for you to convert themes.

I like that you converted all of the activities to use toolbars. I think we should keep that, then add "legacy themes" with an action bar. Since they will only be used by K9PreferenceActivity subclasses we can omit most of the attributes of the regular K-9 themes.
To avoid having to call setSupportActionBar() in all activities I suggest we add a method K9Activity.setLayout(int layoutResId) that calls setContentView() and then setSupportActionBar().

There are lots of subclasses of K9Activity that haven't been updated yet and are now missing an actionbar.
Using a custom view with a toolbar doesn't seem to automatically disable the regular actionbar title. Adding actionBar.setDisplayShowTitleEnabled(false); in MessageList fixed the issue for me.

I hope that I have finally found all child activities. Sorry for the noise.
I verified that by clicking each activity in the list and searching for "setContentView". Do you think that is enough?

I believe you found all activities. However, the following layouts have small display issues:

account_setup_account_type: padding on root container which also affects toolbar
account_setup_options: layout contains two toolbars
crypto_key_transfer: padding on root container which also affects toolbar
upgrade_databases: gravity attribute on root container which also affects toolbar

And toolbar doesn't seem to support elevation on API levels prior to 21. That's an issue for another pull request, though.

Thanks!

Sorry for ignoring your review. I was busy with university

No worries. You already did most of the work. I just added some minor cleanup. Thanks again!


Docs: Update information on landing page

Add more information to the documentation landing page.

Pull Request Test Coverage Report for Build 2123

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 47.447%

Totals

Change from base Build 2122:
0.0%

Covered Lines:
2007

Relevant Lines:
4230

💛  - Coveralls

The page looks like this and the list of  versions go towards the end of the page.


SDK 2.18.1 is not available in ubuntu 16.04 repo

Hi there,
I've update my d435 firmware to 5.11 and now i'm not able to use the ros wrapper. When SDK 2.18.1 will be available in 16.04 repo ?

Required Info

Camera Model
D435

Firmware Version
5.11.1

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)
4.15

Platform
PC

SDK Version
2.18.0

Language
ROS

Segment
Robot

@rezaxdi , thanks for reporting.
There has been a hiccup with release server. The Debians are made public by now.
Please check and confirm

Yup now it’s available.


Circular reference cause stack overflow

Hi.
I'm evaluating ncalc for a project where I could express values using simple formulas in an Excel-like way.
I'm using parameters to store intermediate variables. I can then reuse them in other expressions correctly.
The problem is when I try to catch circular reference problem : this must be trapped because the formula fields will be free text from the user.
NCalc.Expression exp = new NCalc.Expression("RefCroise1");
exp.Parameters["RefCroise1"] = new NCalc.Expression("RefCroise2 * 5");
exp.Parameters["RefCroise2"] = new NCalc.Expression("RefCroise1 * 12");
object result = exp.Evaluate(); // Causes stack overflow
It should have the same behaviour as another error : generate an Exception / populate the Error property.
What do you think ?
Thanks.
Regards,
mosseb.

Oh I did not pay attention to formatting, I updated my comment. there is not syntax errors, just stackoverflow.

From looking at the code it does not seem that the error member is populated with anything other than syntax errors. I'm not willing to make the change on this project to detect circular references on the parse phase of the evaluation. I'm actually doing it in production on application code. If you need this, I see two possible solutions for you:

Create your own fork of NCalc edge
Make a suggestion for fix and a PR on NCalc2 and we'll see what we can do

What do you mean "you're actually doing it in production on application code".
When I call hasErrors() on the Expression it returns false.
If you rewrite NCalc with NCalc2, this seems obvious to me that this is a mandatory and straightforward thing to check ?
I have very basic knowledge of lex/yacc so I'm not sure I can efficiently propose anything smart.
If you have something to share to achieve the correct behaviour it would be very kind.
Thank you. I'll do a PR an NCalc2 then.

NCalc is not doing circular a reference check as it is not a syntax error.
The .HasErrors() method only checks for syntax errors
I'm using NCalc on a product. On this product, the application code is doing the circular references checking.

out of the top of my head a cirular ref method would look like this somewhat
public bool Check(Expression e, string[] existingParams = null)
{
    existingParams = existingParams ?? new string[0];
    var newParameters = e.Parameters.Where(p => p.Value is Expression).Select(p => p.Key).ToArray();
    if (newParameters.Any(p => existingParams.Contains(p)))  return true;
    return e.Parameters.Where(p => p.Value is Expression).Any(p => Check(p.Value as Expression, existingParams.Concat(newParameters).ToArray()));
}


Creating first superadmin user

I can't find a way how to create the first superadmin user.
I got the dashboard and the server both setup and running, but I can't login with default users from the test build.

You have to register to the super admin tenant and activate it in the DB.

And how do I register to the tenant?

Here :)

ok I tried that but it does nothing when i click to register the user

ok I tried that but it does nothing when i click to register the user

Check the console, you should have the error.
Have you setup your captcha?

I don't get any errors in neither the dashboard or server consoles, but the dashboard console spam this warning everytime I start it up:
Error from chokidar (/home/test/Downloads/ev-dashboard-2.4.88/node_modules/codeceptjs/node_modules/.bin): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/test/Downloads/ev-dashboard-2.4.88/node_modules/codeceptjs/node_modules/.bin'
Oh and to be more specific, when I click register after putting every information for the user it's like it doen't literally send any request from the browser

First time I see that :(
Do you use Chrome?
What OS?

Ok found the problem, it was the recaptcha wrong type (v2 instead of v3) and firefox not showing the error
Now I registered the account but how I activate it from the db and give it the super admin role?

Ok found the problem, it was the recaptcha wrong type (v2 instead of v3) and firefox not showing the error
Now I registered the account but how I activate it from the db and give it the super admin role?

The new user is already a  super admin and use a tool like Robot3T and check the collection named 'default.users'.
Change the 'status' to 'A'.

ok, thanks now it´s working.

You welcome ! :)

Another question still about creating users. How I'm supposed to login to the added organizations? I can't login with the super admin account and creating a new one seems working but I can't see any new user in the DB

Another question still about creating users. How I'm supposed to login to the added organizations? I can't login with the super admin account and creating a new one seems working but I can't see any new user in the DB

You entered an email when you created the org, and you should have received an email. Click on the link and create a password and you'll be able to login.

I didn´t receive anything and the email in config.json is configured correctly

You can check the logs if there is an error?

From the Logs of dashboard there are no errors

We log the email sent, find it and you'll get the link to activate your account in the new org.

where are these logs? tried to find them in the server files but without success

Check both the collections default.logs or the .logs

Should be this log? it's immediately after the log of created organization
Message:
Express HTTP Response - 1499 ms - 0.05 KB >> POST/200 '/client/api/TenantCreate': Execution must be < 1000 ms, got 1499 ms
Detalied message:
[
{
"error": "Error: Execution must be < 1000 ms, got 1499 ms\n    at ServerResponse. (/home/test/Downloads/ev-server-2.4.88/dist/webpack:/src/utils/Logging.ts:339:25)\n    at ServerResponse.emit (events.js:412:35)\n    at onFinish (_http_outgoing.js:792:10)\n    at callback (internal/streams/writable.js:513:21)\n    at afterWrite (internal/streams/writable.js:466:5)\n    at afterWriteTick (internal/streams/writable.js:453:10)\n    at processTicksAndRejections (internal/process/task_queues.js:81:21)"
}
]

In the org logs, check the action = EmailNotification:

I just checked and it works on my side

tried, it's empty

What collections did you check?

default.logs both from dashboard and mongodb compass

The log is in the new org and I don't see any collections starting with an ID with logs at the end.
When you create a new org, it creates a sub-set of collections like this:

So I assume that something went wrong when you created the org!?

I have not logs like that, and I can't see logs from org dashboard since I can't login there.

Sorry wrong screenshot, this one:

found the log, there's an error sending the email, but i found the link which is "http://cristomaiale.localhost:80/verify-email?VerificationToken=384386cb80a6029caa3cdc535273760afbda9cb9e9eff87e2b4c3a3ad1dbed26&Email=####&ResetToken=9231f80f-8475-4cbc-9ee8-f9783b491d4c" but it doesn't work

found the log, there's an error sending the email, but i found the link which is "http://cristomaiale.localhost:80/verify-email?VerificationToken=384386cb80a6029caa3cdc535273760afbda9cb9e9eff87e2b4c3a3ad1dbed26&Email=####&ResetToken=9231f80f-8475-4cbc-9ee8-f9783b491d4c" but it doesn't work

And what is the log now that you used the link? :-)

ok I tried changing port to 45000 and it takes me to a page where i should enter an email but i can't write into it

this is the detailed message in the next log:
{
"_id" : ObjectId("6149a9c30c1a4e724dbe2093"),
"userID" : null,
"actionOnUserID" : null,
"level" : "D",
"chargingStationID" : null,
"companyID" : null,
"siteID" : null,
"siteAreaID" : null,
"source" : "Central Server",
"host" : "test",
"process" : "master",
"type" : "S",
"timestamp" : ISODate("2021-09-21T09:45:39.723Z"),
"module" : "Logging",
"method" : "logExpressRequest",
"action" : "HttpRequest",
"message" : "Express HTTP Request << GET '/verify-email?VerificationToken=adae32cc788f499dc364ea2bf4b14808c53a9922aa809572fdc5256521fff8b4&Email='",
"detailedMessages" : "[\n {\n  "url": "/verify-email?VerificationToken=adae32cc788f499dc364ea2bf4b14808c53a9922aa809572fdc5256521fff8b4&Email=####",\n  "method": "GET",\n  "query": {\n   "VerificationToken": "adae32cc788f499dc364ea2bf4b14808c53a9922aa809572fdc5256521fff8b4",\n   "Email": "####"\n  },\n  "body": {},\n  "locale": "en_US",\n  "xhr": false,\n  "ip": "<IP_ADDRESS>",\n  "ips": [],\n  "httpVersion": "1.1",\n  "headers": {\n   "host": "con9.localhost",\n   "user-agent": "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0",\n   "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8",\n   "accept-language": "en-GB,en;q=0.5",\n   "accept-encoding": "gzip, deflate",\n   "dnt": "1",\n   "connection": "keep-alive",\n   "upgrade-insecure-requests": "1"\n  }\n }\n]"
}

tried to use reset password and same, can see log with link, but when I use it it takes me to a blank page with the link "subomain.localhost:45000"

ok I tried changing port to 45000 and it takes me to a page where i should enter an email but i can't write into it

Normally, for a new org, you should get into the password creation.

I got that, but how I can resolve that? It seems to be the link wrong or something gets redirected

Check the internal logs (default.logs and .logs)

ok I tried that but it does nothing when i click to register the user

Check the console, you should have the error. Have you setup your captcha?

Hi may i ask something. When i try to register user. At user password. I key in the password, follow the instruction 8 charater, pne lowercase and other. still cannot register. Need your advice. Thanks

Try again? :)

Try again? :)

ok done again. when i try to register. no response mean not go to page register. Any setting need to solve. pls advice.

I don't get what you wrote.
Can you rephrase?

https://user-images.githubusercontent.com/49600677/164575944-9107a131-9cde-4723-8a68-64a25232dccf.mov
you can see the short video this reply. When click button registers no response and action.
pls advice Sir. Thanks

Check the Chrome console if you see an error.

ok. It new for me. But I will go and read what the error occurring.


Merge master branch to prTesting1_201903171956 branch

OPS Build status updates of commit 8ec36c1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Dev eerpom dataclass refactor

Need some feedback on the new protobuf dataclass, edgepi_eeprom_data.py
consists of dataclasses of each module which requires calibration parameters
protofiles folder include proto message definition files and python output files
Todo:
delete protobuf_mapping file (old confusing dataclass)
refactor rest of eeprom class with the new dataclass

I feel like this repo's file structure is super hard to understand. I think it needs to be organized more, with documentation in the form of a README.md. Maintaining this in the future seems like a nightmare, at least at first glance. Let me know if I am missing something. Maybe it is actually easy and straightforward to understand.

I agree that there are nested folders make the repo seems like a rabbit hole lol, at least things are divided by modules. A documentation is indeed necessary to provide a quick overview of the structure, but it's the responsibility of the future maintainer(quite possibly myself and someone else, hopefully, if this repo gets popular) to understand the repo structure.
This will only get worse due to the nature of open-source :)


android-mobile-app: Add loading website

App now loading apache2 sample website using Android WebView.
Signed-off-by: Wojciech Panfil<EMAIL_ADDRESS>

Looks good for me, works both on emulator and physical phone

I will just manage commits and will be ready to merge.


Add version: JetBrains.Kotlin.Compiler version 1.0.3

Pull request has been created with Komac v1.9.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116305&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error


Energy channel unable to output to multiple machines at the same time even though enough power is supplied.

I have an energy cube as input of power and an Mekanism infuser and TE induction smelter as output. While the infuser is running it uses 100 rf/t, the cube outputs 320 rf/t. Still the induction smelter is not getting any power.  Both machines are on the same energy channel.

Why do people always forget to tell what version they are using...

My mistake sorry, xnet 1.2.0 in the nuts and bolts torqued pack.

That's old. Please update and try again


Change default font to Roboto

cc @akshayaurora

The hinting issue was fixed in the latest version of roboto, so light hinting is not required anymore.

@akshayaurora we could keep the default hinting normal in kivy, but the discussed config option would still be great.


ResearchKit  for proposed Clinical Trial

Please advise if this is the appropriate avenue to inquire how to go about developing an app. for a clinical trial I plan on conducting later this year and if so what type of descriptions and specifications are welcome/required. Thanks. Kevin

Hi Kevin, please contact<EMAIL_ADDRESS>

Thank you jwe-apple. ResearchKit gave me a response that lead me to you, see below. I am interested in contacting someone to help me. Kevin
Hi,
Thank you for your interest in ResearchKit. We are excited you want to play a part in revolutionizing the way research is performed. You can refer to our open source site to learn best practices for working with ResearchKit as well as download the ResearchKit code at our GitHub site. Once you have finalized your study, we recommend you identify app developers that can help you build your research app.
We would love to share your amazing ideas with our colleagues here at Apple. Please keep us informed of your progress by filling out this short survey. Similarly, be sure to subscribe to our mailing list so we can keep you notified of future ResearchKit updates.
If we can help in any way, please feel free to reach out to us.
We can’t wait to see what you decide to create within this open platform. Good luck!
Sincerely,
Apple’s ResearchKit Team

Removing private email and locking - Kevin, please drop another email to<EMAIL_ADDRESS>we'll follow up there.


The ability to add labels

Adding labels/tags is essential in order to analyze the page performance.
For example - account_id, page_name and more
Is it possible to send a label/tag?
Other tools support it:
https://support.speedcurve.com/docs/rum-page-labels
https://docs.sentry.io/platforms/python/enriching-events/tags/

Hi @tomsender thanks for raising this!
We've just added a feature that allows tags to be added to page views. See the recordPageView command.
E.g.,
const awsRum: AwsRum = new AwsRum(
  APPLICATION_ID,
  APPLICATION_VERSION,
  APPLICATION_REGION,
  config
);
...
awsRum.recordPageView({ pageId: '/home', pageTags: ['en', 'landing']});

Does this feature fit your use case?
Note that the page view automation (PageViewPlugin) does not currently support page tags, so to use this feature you will need to manually record page views using recordPageView. If you would like support added to PageViewPlugin, please +1 this issue to help us prioritize.

@qhanam Should tags also replace the recommendation to record custom pageids for react apps https://github.com/aws-observability/aws-rum-web/blob/main/docs/cdn_react.md#instrument-routing-to-record-page-views

Tags is an addition to page IDs.
Tags should maybe be read as "page groups". It is a way for you to define, in your web application code, sets of pages with related characteristics. The data for these page groups can then be easily aggregated (e.g., in the CloudWatch RUM console). For example, this is useful if I want to see the average page load time across all landing pages.
A page ID is still required to uniquely identify the UI that the user is interacting with.
Or am I miss-understanding the question? Please let me know :-).

CloudWatch RUM now supports the ability to tag pages with a "page group".


S3 object key url encoding issue

Describe the bug
I am writing to report a bug in the s3 sns handler in substation. The function call at line tries to download an object with a bucket name and object key. The object key in the SNS notification event is url encoded, according to this document. The key needs to be url-decoded before downloading the object. Otherwise, Substation reports the error "NoSuchKey: The specified key does not exist".
Error Message
s3 sns handler: s3manager download bucket my-bucket key my-prefix/date%3D2023-04-14/hour%3D00/my-object.gz: NoSuchKey: The specified key does not exist.\n\tstatus code: 404.
The object exists in the bucket. The key is my-prefix/date=2023-04-14/hour=00/my-object.gz
Expected behavior
Substation should be able to download the object which exists in the bucket.
Cloud (please complete the following information):

Provider: AWS
Service: s3

Thanks @Bin-security, I also confirmed this bug and merged a fix into main from #96

Thanks @jshlbrd for the quick fix.

No problem, thanks for raising it!


Adding Doc strings.

There are many classes and function where the doc strings aren't added.

Sir @agrawalshubham01, I would like to work on this issue.

Sure @Mayank662 , Go ahead.

@Mayank662 can you share any updates regarding this issue?

@Mayank662 has not forked the repository yet nor responded with any updates. This issue can be assigned to somebody else for now.

can I work on this issue too?

Can I work on this ?

Can I work on this ?

 Kindly share an example here before implementation.

This worked nicely Thank you to the contributors!


Can't login with 411

npmplus-1  | [Express  ] › ⚠  warning   Invalid regular expression: /^[a-z\-]+:\/\/(?:\[([a-z0-9]{0,4}\:?)+\])?/?(:[0-9]+)?$/u: Invalid escape
In current release, works with 410, see https://github.com/ZoeyVid/NPMplus/blob/fad27a887794009e41e9d052a9c10a45cc1139bb/backend/lib/express/cors.js#L13
Best
Andreas

Is there just a warning or what does not work?

You can not log in. This is the error that you get when you enter your credentials at the login screen.
[Nginx    ] › ℹ  info      Starting Nginx
[Express  ] › ⚠  warning   Invalid regular expression: /^[a-z-]+://(?:[([a-z0-9]{0,4}:?)+])?/?(:[0-9]+)?$/u: Invalid escape
I rolled back to 410 and it's fixed again.

Can you please try the develop tag?

Please retry when the newest build is pushed

still on develop

Can you retry again?

Can you open your browser console and sent me all warnings and errors you see?

@Zoey2936, i got the same error and downgraded it

There is currently a new image building, it should be done in a few minutes, please retry then again

Can someone please test it?

I just pulled the develop docker image. I am now getting this when trying to log in: npmplus  | [Express  ] › ⚠  warning   strict mode: unknown keyword: "version"

Login still doesn't work?

No, the error I posted in the last comment is the error that is thrown into the console after clicking login - the login page just says Internal Error.

Can you try again please?

Still nothing, it throws this now:
npmplus  | strict mode: unknown keyword: "version"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: missing type "object" for keyword "properties" at "root#" (strictTypes)
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | [Express  ] › ⚠  warning   unknown format "date-time" ignored in schema at path "#/properties/users/properties/created_on"

I think it should now work

latest should work ahain because I made 410 to latest, but it would be nice if someone can further test for me if develop works again

I changed my public instance to latest, and yes, it works. I spun up a second instance with develop on it, so just let me know if you need to test it.

Does develop currently show errors? If yes, what ertors?

Can you please tra again?

Almost the same thing, with some error messages different, also two login attempts:
npmplus  | strict mode: unknown keyword: "version"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: missing type "object" for keyword "properties" at "root#" (strictTypes)
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "stability"
npmplus  | strict mode: unknown keyword: "links"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | [Access   ] › ✖  error     users:get 1 validator is not a function
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | [Access   ] › ✖  error     users:get 1 validator is not a function

I think it should work now, but I also said this mitiple times

Sorry for the late response, yes, it is working now, I can login just fine. Thank you!
There are still errors in the console, but I don't know if they are anything to do with this, I am posting them just so you know:
npmplus  | strict mode: unknown keyword: "example"
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: unknown keyword: "example"
npmplus  | strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "required" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "#" (strictTypes)
npmplus  | strict mode: unknown keyword: "example"
npmplus  | NOT SUPPORTED: option missingRefs. Pass empty schema with $id that should be ignored to ajv.addSchema.
npmplus  | strict mode: missing type "object" for keyword "additionalProperties" at "permissions#" (strictTypes)
npmplus  | strict mode: missing type "object" for keyword "properties" at "permissions#" (strictTypes)

many thanks!


endpoint_is_ready test is failing

Seems like to be related to Python 2.x deprecation:
https://stackoverflow.com/questions/47142848/python-sslerror-bad-handshake-unexpected-eof
Updating test worker Dockerfile.

@gabrielwen I just saw this. It looks like we might have both been working on updating the test worker image.
See https://github.com/kubeflow/testing/pull/606

@gabrielwen any update on this?

still working on the py3 image.

kubeflow/tf-operator#1133 has to be checked in first so that #227 can be fixed.

@gabrielwen could you please explain what the issue is? IIRC there is an issue with the endpoint test requiring python3?
Do we need to update all the tests to use python3 just to fix the endpoint ready test? Could we just run the endpoint is ready test using the new docker image and let all the remaining tests continue to use the existing python2 based docker image?

@gabrielwen could you please explain what the issue is? IIRC there is an issue with the endpoint test requiring python3?
Do we need to update all the tests to use python3 just to fix the endpoint ready test? Could we just run the endpoint is ready test using the new docker image and let all the remaining tests continue to use the existing python2 based docker image?

you are right we could just use python3 image on endpoint test.  it's just that I thought we'd like to migrate to python3 images.  however, I think changing to python3 on kfctl e2e test is almost completed.

@gabrielwen we should definitely migrate to python3; however it would be good to get the endpoint test fixed as soon as possible so that get clear signal about whether KF is working or not.

@gabrielwen hey Gabriel - can we please close this issue ?

I think this is resolved by https://github.com/kubeflow/kfctl/pull/245
/close


Combobox emits null when all characters removed from input

Describe the bug
When a combobox option is chosen, removing all input causes the combobox to emit null, regardless of whether null is a valid combobox option.
How to reproduce
Stackblitz templates don't seem to be working right now. (See issue #5559.) This repository reproduces the bug.
Steps to reproduce the behavior:

Download the repository.
npm install
ng serve
Open localhost:4200/ on a browser.
You will see a combobox at the top left. Click the dropdown arrow to open the dropdown.
Choose something from the dropdown. Note that the combobox output is displayed to the right of the combobox. Example: choose 'ac', and 'ac' will appear to the right of the combobox.
While focused at the end of the combobox input, click Backspace. Notice that the input now displays 'a', and the combobox output does not change. (The dropdown continues to display with all results containing 'a'.) This shows that the combobox is likely designed to only emit output when one of the dropdown options is chosen.
Click Backspace again.

Notice that the combobox outputs null. null is not one of the available dropdown options.
Expected behavior
The combobox should only emit when a valid option is chosen.
Versions
App

Angular: 11.1.2
Node: 12.13.1
Clarity: 5.0.0/5.0.0-next.0

Device:

Type: PC (HP Elitebook)
OS: Windows
Browser: Chrome
Version: 89

Additional notes
This has an easy workaround: ignore null if need be when processing combobox emits. But emitting null may not have been by design.

Thanks for the report and sorry about Stackblitz :(
We will triage and get this into the backlog once we know more about what is going on.

Stackblitz version of the repo from above: https://stackblitz.com/edit/gh-issue-5564-clarity-combobox-emits-null

Thanks for bringing this to our attention.
It actually behaves correctly, because the single-selection combobox needs to have means for removing the selection. Similarly to the W3C examples we do it when the input field is cleared. So, there is a real "deselection event" happening and the null was expected.
Looking at your 7. question - the answer is "...the combobox is ~likely~ designed to only emit output when one of the dropdown options is chosen or when the value is cleared"
I'll close this as working as designed. If you have other ideas or preferences, feel free to log them in the Discusions section, so they can be considered when working on the Clairty Core version of the Combobox.


API rename cost_curve in stopping criterion ?

It's not a curve but a list, and it contains objectives (dicts) that are broader than plain cost. WDYT of objective_list ?
A priori this part of the code is not exposed so no need for a deprecation cycle.

@AmelieVernay maybe you can handle this?


CWA does not recognize QR-Code of booster (i.e. 3rd) certificate, but the CovPass app does

[ ] Bug is not mentioned in the FAQ
[ ] Don't know whether Bug is specific for Android only
[ ] Bug is not already reported in another issue, I checked

Technical details

Samsung Tab A
Android version: 8.1.0
App version: 2.15.1

The bug
The CWA does not recognize the QR-Code on my last (3rd) COVID certificate, but the CovPass app does.
The CWA did not read the QR-codes on the 1st two certificates either but I was able to create files using a separate reader and then read those into the CWA. The same workaround was not successful with the 3rd COVID certificate as all readers I tried could not read that QR-code either, or rather, recognized only text

@6riah
Are you asking for help or did you just want to report a bug?
The next version of the Android app 2.16. is planned to use different scanning software. See https://github.com/corona-warn-app/cwa-app-android/pull/4590. That may help you when it is released.
Officially tablets are not supported by CWA (see https://www.coronawarn.app/en/faq/#smartwatch), however I checked on my own Samsung Galaxy Tab A (SM-T510) running Android 11 and CWA Android 2.15.1 and I was able to successfully scan a booster certificate.
Just for reference the scan FAQ is https://www.coronawarn.app/en/faq/#scan_tips.

This is correct, the scanning on Android will be significant improved with 2.16, the release is planned in ~10days

Internal Tracking ID: EXPOSUREAPP-8028
Internal Tracking ID: EXPOSUREAPP-10502

Can confirm that with Rev 2.16 I was able to scan the booster QR-Code no problem

@6riah Thanks for your feedback!
Best wishes, DS

Corona-Warn-App Open Source Team


Enhancement: Clarify state when logged in

The home page in a logged in state never fails to confuse me.  This PR attempts to clarify that a little by:

[x] Removing "Sign up" panel when logged in.
[x] removing "Log In" panel header when logged in.

:+1: Thanks!!


Question - How can i integrate it with git

Hi,
I am using this for first time. How  we can  integrate it with git

I think you'd need to be more specific about your question.


Publish to crates.io

I saw, that this repo has no entry in crates.io, but i think its awesome and should be accessible by more people!

+1 here, looking to do something similar with Pico2, and happy to find this repo (after not finding much for bare-metal/RPi on crates.io..)!


docs(formatting): add missing spaces to correctly render tags

Description
While going through the docs (lazy.nvim.txt) I noticed some tags not rendering correctly.
Screenshots

The docs are auto-generated. Please see the docs branch


UCP 224 Installer has new --data-path-addr flag

Proposed changes
The --data-path-addr flag was added to the UCP installer in UCP 2.2.4
Unreleased project version (optional)

Related issues (optional)

Thanks for keeping the docs fresh 🥑. Let's ship it!


tlsmanager: fix autocert autogeneration

As the getConfig() function would previously overwrite the GetCertificate function of the tls config, the autocert manager would never be used.
This PR moves the setUpLetsEncrypt func to where it would correctly override the GetCertificate function.
Closes https://github.com/lightningnetwork/lnd/issues/7734

Sorry for intervening! Can you please fix this issue a little bit faster? I had to update my LND to resolve another problem, and then I lost my Let's Encrypt. Thank you.

@sputn1ck, remember to re-request review from reviewers when ready

@sputn1ck, remember to re-request review from reviewers when ready

Hi guys. Just trying to remind you that there's a broken piece of your "beta" software that people relied on, and it's been a long time for it to get fixed.

@sputn1ck needs a rebase.

@khashmeshab can you confirm this patch is working for you? The whole Let's Encrypt setup is quite difficult to test in non-production environments.

@guggero I'm on it.

@guggero patched, compiled, and tested both with my old letsencrypt dir and then after I deleted it, and it seems to work flawlessly. You may check: https://maxod.ir:8081

@guggero patched, compiled, and tested both with my old letsencrypt dir and then after I deleted it, and it seems to work flawlessly. You may check: https://maxod.ir:8081

Thank you for testing!


Help Adding new helpers

Hi
I'm experimenting with porting the xdp_synproxy_kern.c to aya and a couple of helper functions are missing like bpf_xdp_ct_lookup, bpf_skb_ct_lookup, 'bpf_ct_release'.
How hard is it to add support for new functions?

Those are kfuncs, not helpers, so they require BTF support, which is being worked on here https://github.com/aya-rs/bpf-linker/tree/feature/fix-di. Once that branch gets merged, it should be fairly easy to add support for them.

See also: https://github.com/aya-rs/aya/issues/432. @alessandrod @GEverding Are you okay with closing this issue in favor of #432?


Could not get environment variable AWS_LAMBDA_RUNTIME_API

When I create and run the Docker image locally, I get the following error
Could not get environment variable AWS_LAMBDA_RUNTIME_API
When I host it on the Lambda and test, it shows the following error
Error: fork/exec /lambda-entrypoint.sh: exec format error Runtime.InvalidEntrypoint

When I create and run the Docker image locally, I get the following error

How are you running the docker image locally? These images are designed as base images for a lambda function, as opposed to running interactively in a local environment. For example, a command like this will fail with the error message you gave:
docker run -it public.ecr.aws/aleph0io/lambda/java:17.0.4-al2

You can't really test the base image by itself. Instead, you'd need to build a lambda function on top of the base image (e.g., this example), and then run that example locally using sam or similar.

When I host it on the Lambda and test, it shows the following error

It sounds to me like you're running a local setup and there's a mismatch between the platform of the image you're using and the architecture of the machine it's running on (e.g., x86_64 vs arm64). If my head is on straight, then this is an issue with how downstream images are built (per similar issues) as opposed to an issue with this base image. I hope to release a multi-platform release of this image soon, but for now the published images are x86_64 only.
Hope that helped! Let me know if you find other problems!

@sigpwned Apologies for the late reply.
I was able to find the issue and was able to fix it on my end.
In my case, I had arm64 running on amd64 box as you pointed it out. Thanks!

Glad you got it figured out! I'll close this issue as resolved.

@tompro Sorry for closing the issue with your question still active! Honestly just didn't notice your comment. I have successfully tested lambda functions built using these base images with this documented method. I'm not able to address your issue from the information given above. If you'd like more information or guidance, can you open a separate issue with more information? Thank you!


Allow signals to be used when building for std

@Dirbaio Version of #135 that makes critical section independent of signal.

Looks great! Thanks :)


Provide control of Graphite metrics tags support

By default, the Graphite reporter assumes that Graphite does not support tags on metrics. The reporter configuration can be changed to tagsEnabled: true to send tags to Graphite.
Also removed the prefix configuration item from the Graphite config. This prefix feature does not exist in the micrometer graphite integration.

By default, the Graphite reporter assumes that Graphite does not support tags on metrics. The reporter configuration can be changed to tagsEnabled: true to send tags to Graphite.
Also removed the prefix configuration item from the Graphite config. This prefix feature does not exist in the Micrometer Graphite integration.


export history to pandas dataframe

After a simulation, the user can get the tracked variables through the agent.history property.
This history is a dictionary, where keys are tracked variables and values are a T x N array, where N is the number of agents (AgentCount) and T is the number of periods in the simulation.
I'd like to have the feature of easily exporting this into a Pandas DataFrame format.
It would help with some kinds of analysis.
Do this would require adding Pandas as a dependency.

Great point.
I see this as related to #847 now.

Great point.
I see this as related to #847 now.

See if Dolo has this functionality already for reporting.


refactor(tests): remove mock

Description
Remove mock functions from tests. Common functions are used to unify tests.
What is being done:

Used universal test functions `TestUpdate` and `TestGet`.

All vulnsrc packages.

The `TestVulnSrc_Commit` function has been removed. Mock functions have been removed from `TestVulnSrc_Update` function (The `vulnsrctest.TestUpdate` function is used). Tests from `TestVulnSrc_Commit` have been added to `TestVulnSrc_Update` function.

node_test.
nvd_test.
oracle-oval_test.
photon_test.
redhat_test.
suse-cvrf_test.

Mock functions have been removed from `TestVulnSrc_Get` function. The `vulnsrctest.TestGet` function is used.

oracle-oval_test.
photon_test.
suse-cvrf_test.

Test files have been moved or added to subfolders for separating tests.

composer_test.
ghsa_test.
node_test.
nvd_test.
oracle-oval_test.
photon_test.
redhat_test.
suse-cvrf_test.
vulnerability_test.

Removed initDB function. The dbtest.InitDB function (from vulnsrctest.TestGet) is used.

amazon_test.

Added tests for the "Update" function.

composer_test.
ghsa_test.

Some old test files have been changed to the current ghsa format.

ghsa_test.

'sad paths' tests and necessary test files have been added.

nvd_test.

Mock functions have been removed from `TestGetDetails` function.

vulnerability_test

Coverage changes:
Old coverage:
  ```
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/alma       0.039s  coverage: 70.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/alpine     0.027s  coverage: 71.1% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/amazon     0.046s  coverage: 77.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/arch-linux 0.021s  coverage: 71.4% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/bucket     0.005s  coverage: 46.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/bundler    0.028s  coverage: 75.5% of statements
  ?       github.com/aquasecurity/trivy-db/pkg/vulnsrc/composer   [no test files]
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/debian     0.033s  coverage: 83.9% of statements
  ?       github.com/aquasecurity/trivy-db/pkg/vulnsrc/ghsa       [no test files]
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/glad       0.030s  coverage: 84.3% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/govulndb   0.021s  coverage: 81.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/mariner    0.063s  coverage: 82.6% of statements
  ?       github.com/aquasecurity/trivy-db/pkg/vulnsrc/mariner/oval       [no test files]
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/node       0.007s  coverage: 54.4% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/nvd        0.036s  coverage: 87.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/oracle-oval        0.009s  coverage: 87.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/osv        0.033s  coverage: 86.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/photon     0.003s  coverage: 87.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/redhat     0.005s  coverage: 93.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/redhat-oval        0.072s  coverage: 87.0% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/rocky      0.031s  coverage: 65.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/suse-cvrf  0.007s  coverage: 83.6% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/ubuntu     0.016s  coverage: 62.9% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/vulnerability      0.013s  coverage: 82.0% of statements
  ```

New coverage:
  ```
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/alma       0.039s  coverage: 70.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/alpine     0.025s  coverage: 71.1% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/amazon     0.037s  coverage: 77.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/arch-linux 0.023s  coverage: 71.4% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/bucket     0.013s  coverage: 46.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/bundler    0.035s  coverage: 75.5% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/composer   0.045s  coverage: 84.4% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/debian     0.041s  coverage: 83.9% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/ghsa       0.096s  coverage: 79.4% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/glad       0.032s  coverage: 84.3% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/govulndb   0.020s  coverage: 81.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/mariner    0.076s  coverage: 82.6% of statements
  ?       github.com/aquasecurity/trivy-db/pkg/vulnsrc/mariner/oval       [no test files]
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/node       0.101s  coverage: 86.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/nvd        0.040s  coverage: 89.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/oracle-oval        0.144s  coverage: 87.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/osv        0.031s  coverage: 86.8% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/photon     0.038s  coverage: 82.1% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/redhat     0.114s  coverage: 89.1% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/redhat-oval        0.080s  coverage: 87.0% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/rocky      0.035s  coverage: 65.2% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/suse-cvrf  0.071s  coverage: 81.1% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/ubuntu     0.018s  coverage: 62.9% of statements
  ok      github.com/aquasecurity/trivy-db/pkg/vulnsrc/vulnerability      0.015s  coverage: 82.0% of statements
  ```

Thanks a lot!


Mercurial Broken in 1.31.0 on Mac

VSCode Version: 1.31.0
OS Version: macOS 10.14.1

Steps to Reproduce:

Launch VSCode with a Folder or Workspace that has a Mercurial repository
Open Source Control view

Nothing appears and hitting reload within the source control panel loads a dialog that states "Hg Callback must be a function". I've attached a screenshot of the dialog.
hg log
Using hg 4.7.1 from /Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/hg
hg root
hg paths
hg root
hg paths
hg root
hg paths
hg incoming -q
hg outgoing -q
hg incoming -q
hg outgoing -q
hg incoming -q
hg outgoing -q

Does this issue occur when all extensions are disabled?: No because the mercurial extension isn't loaded

I just confirmed that hg works after rolling back to 1.30.2

Closing because this is already an issue on the vscode-hg extension and I didn't notice that before. There's a PR on that project with a fix in place.


appveyor badge

I think this is available for the settings section of this project appveyor, but unlike travis this doesn't appear to be public.... Unsure why.
@ef4 you likely have to do this, or maybe I'm missing something.

@ef4 ping

Done in 4e4859020a2647f24fe2833c9d1c499047097773


Package SyncTrayzor with scoop

Scoop is nice.

Contributions welcome. I already provide a chocolatey package.
On 22 March 2020 09:06:35 GMT, jtagcat<EMAIL_ADDRESS>wrote:

Scoop is nice.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/canton7/SyncTrayzor/issues/556


refactor: Fix inconsistencies in issue credential and present proof modules API

Codecov Report

Merging #1050 (9501f09) into 0.3.0-pre (97d3073) will decrease coverage by 0.05%.
The diff coverage is 84.61%.

@@              Coverage Diff              @@
##           0.3.0-pre    #1050      +/-   ##
=============================================
- Coverage      88.22%   88.16%   -0.06%
=============================================
  Files            680      680
  Lines          15852    15916      +64
  Branches        2548     2566      +18
=============================================
+ Hits           13986    14033      +47
- Misses          1861     1875      +14
- Partials           5        8       +3

Impacted Files
Coverage Δ

...ges/core/src/modules/credentials/CredentialsApi.ts
84.11% <0.00%> (-3.63%)
:arrow_down:

...les/credentials/protocol/v2/V2CredentialService.ts
90.07% <ø> (ø)

packages/core/src/modules/proofs/ProofService.ts
64.51% <ø> (ø)

...e/src/modules/proofs/protocol/v1/V1ProofService.ts
80.51% <57.14%> (-0.35%)
:arrow_down:

packages/core/src/modules/proofs/ProofsApi.ts
85.26% <94.11%> (+1.35%)
:arrow_up:

...e/src/modules/proofs/protocol/v2/V2ProofService.ts
87.61% <96.87%> (+1.66%)
:arrow_up:

...ore/src/modules/indy/services/IndyHolderService.ts
67.53% <0.00%> (-5.20%)
:arrow_down:

...ntials/formats/indy/IndyCredentialFormatService.ts
86.38% <0.00%> (-1.05%)
:arrow_down:

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Throwing system hotfix

About the PR
Small corrections to the new throwing system changes done in #29726
This fixes items that are thrown very fast not being "in air". In particular the pneumatic cannon was affected, as using it with with throwing knifes would no longer embed them in the target.
Thanks to @luizwritescode for figuring out the reason for this.
I also buffed the base throwing speed for hands by 10%. Due to my recent change the effective throwing speed was made slightly lower to not overshoot the target. People mentioned that they were no longer able to reflect thrown items from walls in front of them. This adjustment makes it feel more similar to the behaviour before the change, but keeps the throwing precision.
Why / Balance
fixes and adjustments
Technical details
The code comments in the ThrowingSystem before my recent PR said that below a certain threshold flyTime was set to 0 and items never enter the air. However, this was a lie since an offset was applied to the timespan until landing in ThrownItemSystem. I had removed this offset since it was causing problems with precision. The MinFlyTime is no longer necessary due to the precision changes. This fixes items thrown very fast (even over long distances) with a flying time below 0.15s not entering the "in air" state, which prevented embeddable weapons from working.
Media
https://github.com/user-attachments/assets/9320dc79-8a79-463e-be3c-2279f83b9ce5

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog
:cl: coffeeware, slarticodefast

fix: Fixed items thrown very fast not being in the air. In particular this fixes the pneumatic cannon.
tweak: Buffed base hand throwing speed by 10% to be more similar to before the recent throwing changes.

Can someone check if I did the changelog template for multiple contributors correctly?


conflict with django-constance app?

Request Method: | GET
http://localhost:8000/admin/constance/
Django 2.2.10
AttributeError
'Meta' object has no attribute 'concrete_model'
/.venv/3.6.4/lib/python3.6/site-packages/admin_tools/dashboard/dashboards.py in
def get_app_content_types(self):
"""
Return a list of all content_types for this app.
"""
# Import this here to silence RemovedInDjango19Warning. See #15
from django.contrib.contenttypes.models import ContentType
line 211        return [ContentType.objects.get_for_model(c) for c in self.get_app_model_classes()]

Confirmed

https://github.com/jazzband/django-constance/issues/244  related ticket in that app
a workaround for admin.py is worked - but maybe this bag  can be resolved without a workaround?

https://github.com/jazzband/django-constance/issues/244  related ticket in that app
a workaround for admin.py is worked - but maybe this bag  can be resolved without a workaround?

I've "fixed" the issue by intercepting the AttributeError, but IMO, this should be fixed on django-constance side because it can happen with other third party apps (see @jezdez comment : https://github.com/jazzband/django-constance/issues/244#issuecomment-346974463)

I've "fixed" the issue by intercepting the AttributeError, but IMO, this should be fixed on django-constance side because it can happen with other third party apps (see @jezdez comment : https://github.com/jazzband/django-constance/issues/244#issuecomment-346974463)

I've opened a PR in django-constance to see if this fixes the issue..

I've opened a PR in django-constance to see if this fixes the issue..


Update sbt to 1.3.10

Updates org.scala-sbt:sbt from 1.3.8 to 1.3.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Codecov Report

Merging #389 into develop will increase coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #389      +/-   ##
===========================================
+ Coverage    77.09%   77.18%   +0.09%
===========================================
  Files           46       46
  Lines         1039     1039
  Branches        28       28
===========================================
+ Hits           801      802       +1
+ Misses         238      237       -1

Impacted Files
Coverage Δ

.../main/scala/com/twitter/bijection/Bufferable.scala
91.95% <0.00%> (+1.14%)
: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 ba9e10c...a8c556c. Read the comment docs.


OutOfMemoryError: Java heap space

Describe the bug

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Open sample '...' (provide sample download if possible)
Navigate to '....'
Do something '....'
See error

Exception
If applicable, add the exception/stacktrace.
stacktrace goes here

Screenshots
If applicable, add screenshots to help explain your problem.

You didn't specify any details.


The asterisks are distinguished as BOLD and ITALIC in code block

The pointers are usually highlighted.

Can you give an exact (code) example of what happens, and what you had expected it to do?

I found not only the “*”, but the c++ code cannot be highlighted properly.
I think the "*pre = NULL” here was detected as italic...

On 19 Jun 2017, at 12:26, David van Gemeren<EMAIL_ADDRESS>wrote:
Can you give an exact (code) example of what happens, and what you had expected it to do?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/burodepeper/language-markdown/issues/182#issuecomment-309335746, or mute the thread https://github.com/notifications/unsubscribe-auth/ANEEPKLEWozSw0d1m06umAWiK3FBhExvks5sFfiIgaJpZM4N9rBL.

Can you paste the C++ code so I can try the code myself?

The return, int are not highlighted for this
class Solution {
public:
    /**
     * @param triangle: a list of lists of integers.
     * @return: An integer, minimum path sum.
     */
    int minimumTotal(vector<vector<int> > &triangle) {
        if (triangle.empty()) {
            return -1;
        }

        int result = dfs(0, 0, triangle);

        return result;
    }

private:
    int dfs(int x, int y, vector<vector<int> > &triangle) {
        const int n = triangle.size();
        if (x == n) {
            return 0;
        }

        return min(dfs(x + 1, y, triangle), dfs(x + 1, y + 1, triangle))  + triangle[x][y];
    }
};

The *pre = NULL is highlighted as italic
ListNode *ReverseList(ListNode *head) {
    ListNode *pre = NULL, *tmp;
    while(head) {
        tmp=head -> next;
        head -> next = pre;
        pre = head;
        head = tmp;
    }
    return pre;
}

The return, int are not highlighted

On 19 Jun 2017, at 13:25, David van Gemeren<EMAIL_ADDRESS>wrote:
Can you paste the C++ code so I can try the code myself?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/burodepeper/language-markdown/issues/182#issuecomment-309341708, or mute the thread https://github.com/notifications/unsubscribe-auth/ANEEPF5LIKLXDeVOnKlk6jLBZobFw2Ncks5sFgYsgaJpZM4N9rBL.

I've seen that happen before, and I believe it is related to these language-gfm issues: https://github.com/atom/language-gfm/issues/45 and https://github.com/atom/language-gfm/issues/40
I'm afraid there's not much I can do about it, since it isn't directly related to this package. You can try escalating the linked issues since they've become rather stale.


Intercom questions

Great plugin, thanks sharing.
About the intercom I can see the camera image but is it possible to operate the door opener and the speaker associated?
Thanks a lot.

The Intercom V2 function block has 3 outputs available that are advertised as push buttons. I suspect you have connected your door opener to one of these outputs?
A new (beta) version of the plugin is available. If you install this, configured intercom outputs will be available within HomeKit. The push buttons are additional services on the camera accessory. If you go to the live view of the camera, you will see a button at the bottom right. Below that are the configured outputs. Is this what you had in mind?
The speaker and microphone option (2 way audio) is a bit more difficult. Currently the plugin uses an mjpg video stream provided by the intercom.
For intercom (2 way audio) functionality, Loxone uses WebRTC and requires a websocket connection to the intercom for WebRTC signaling. This must then be translated into a protocol that is supported by homekit. I do think it is technically possible, but it can take a while and the question is whether the translation process generates so much overhead that there is too much delay in the audio connection, making intercom functionality unusable. Of course you can use more powerful hardware, but I personally think it should be able to run on a raspberry pi or similar hardware.

thanks for your response.

Thanks a lot. I will check. I am new on home assistant and times is hard...
I am using now HomeKit with a plugin with Loxone working with the camera and rest of the buttons. I would like to have everything in home assistant due most of the integrations are better solved here.

Sorry for this newbie question.... how to install the beta version over the previous. I have uninstalled the integration but the repository downloaded is the last official. I don't know how to play with it...


build: rename run kata mount file with illegal char

Rename run Kata mount file so it does not contain a character that is illegal to have in a file in a go module.
Change the pod VM builds for different cloud providers so the run kata mount file is renamed to run-kata\x2dcontainers.mount after the file is copied into the pod VM.
Fixes #483
Signed-off-by: Matthew Arnold<EMAIL_ADDRESS>

I've tested this change works for the IBM Cloud cloud provider and am in the middle of setting up a libvirt environment to test the change for the cloud provider.
I don't have access to AWS, Azure or VSphere cloud resources so I'd require the help of volunteers who have access to resources from those cloud providers to test this change for those cloud providers.
Checklist of cloud providers this change should be tested with:

[x] ibmcloud
[ ] libvirt
[ ] AWS
[ ] Azure
[ ] VSphere - Ubuntu Pod VM image
[ ] VSphere - RHEL Pod VM image

@bpradipt, @snir911 @knrt10, @mkulke  - are you folks able to test this with some of the other cloud providers, some of which we can't access and for libvirt, we haven't got much experience, so in the absence of the automation that is coming are having some difficulties getting it running and testing.
Alternatively if anyone has a better suggestion for this problem we're open to suggestions there too. Thank you!

would it make sense to add empty go.mod files in the folders that we want to ignore instead? (i.e. azure/files and podvm)?
see remarks in this doc.

Hi @mkulke
That sounds like I great suggestion. I think it works because I tried your suggestion in my fork of CAA tagged as v0.0.2, and with a go.mod file for a new project containing:
require (
	github.com/mattarnoatibm/cloud-api-adaptor v0.0.2
)

go mod tidy I get
go: downloading github.com/mattarnoatibm/cloud-api-adaptor v0.0.2
go<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/confidential-containers/cloud-api-adaptor
	        but was required as: github.com/mattarnoatibm/cloud-api-adaptor

which I think's expected because the go.mod for the CAA in my personal fork is still declaring itself as github.com/confidential-containers/cloud-api-adaptor, so there's a mismatch.
With a Go project that has a go.mod with
require (
   "github.com/mattarnoatibm/cloud-api-adaptor" v0.0.0-20230103115832-493f1c9091f3
)

running go mod tidy causes it to complain about malformed file paths for paths in the CAA project that contain the run-kata\x2dcontainers.mount file.
I'll open a new PR using your suggestion.

Closing this PR as we'll probably use the solution proposed by PR 500.


Configuration file not honored when prompted for public deployment

When deploying with an OSS account and not specifying the deployment is going to be public the configuration defined in now.json is not being honored.
Example:
now.json
{
  "files": [
    "test.html"
  ]
}

index.html

It doesn't work!

test.html

It works!

✅ When deploying with a paid account it uploads the test.html and not the index.html (https://static-hbyvviucqe.now.sh)
✅ When deploying with an OSS account adding "public": true to the now.json it uploads the test.html and not the index.html (https://static-puwkpwvqwa.now.sh)
✅ When deploying with an OSS account adding --public to now it uploads the test.html and not the index.html (https://static-uaixtripzi.now.sh)
❌ When deploying with an OSS account without adding "public": true or --public the user is prompted for confirmation for the deployment being public and index.html is upload alongside test.html (https://static-juowmoiunl.now.sh and https://static-juowmoiunl.now.sh/test)

Maybe that problem is related to now-desktop cc @sergiodxa

I will take care of solving this problem 😸 ❤

Thank you so much for the effort you have put into this issue! 😊
However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now.
You can read more about our biggest release yet here: https://zeit.co/blog/now-2


期望主题可支持uml相关markdown

Expected behavior (预期行为)
可以通过markdown书写渲染uml的类图、序列图等功能
Actual behavior (实际行为)
相关语法显示为代码，非渲染成类图图片效果
Steps to reproduce the behavior (重现步骤)
有无可用的插件可以支持这种渲染显示

NexT Informations
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:

Master ✔
Latest Release
Old version -

NexT Scheme:

All schemes
Muse
Mist ✔
Pisces

Other Informations (Like Browser, System, Screenshots)

@nickylin dont understand u, write in English if not solved. If solved, close it please. Thank's!


Add mayarog20's file

created a branch, created a file and made a commit, and opened a pull request


Documentation error in example.cpp

Thanks for making this code available to the open source community. I am evaluating the library for inclusion in a personal project that I am doing. In looking at the source code for the example.cpp, I did notice a mistake. On line 40:
//now the variable "word" should equal "document"

should be
//now the variable "word" should equal "transport"

Thanks again for making this available!

Sorry for the delay, and thanks for spotting this.
Should be "documentation" in the initial value, "transportation" shouldn't have been there; fixed now.  Thanks, and good luck with your project!!!


jlelse.blog

My blog: https://jlelse.blog/

Thank you for suggesting this website. Added in commit 0c7a7c5.


Add a test for sequential values on a column

Describe the feature
For instance, we incrementally update a table everyday, we want to make sure if missing dates exist or not.
We can implement a test to make sure if distinct values of a column is sequence without missing ones.
When the updated_date column should have sequential dates without missing ones from 2020-01-01 to 2020-12-31, we can declare the test as below:
columns:
  - name: updated_date
    tests:
      - dbt_utils.sequencial_values:
          period: day  # ["minute", "hour", "day", "week", "month", "year", "integer"]
          gaps: 1  # Optional, default 1
          where: "updated_date NOT IN ('2020-05-01', '2020-09-04')"

period: (Required) duration of sequential values, say about 1 day
gaps: (Optional) gaps of the sequence, default: 1
where: (Optional) conditions to accept missing values

The genrated query for the test in BigQuery can be like:
WITH unique_values (
  SELECT
    DISTINCT `updated_date` AS v
  FROM `project`.`dataset`.`table`
  ORDER BY 1
)

, gaps_to_subsequent AS (
  SELECT
    DATE_DIFF(LEAD(v), v) AS gaps
  FROM unique_values
)

SELECT COUNT(*)
FROM gaps_to_subsequent
WHERE
  gaps != 1
  AND updated_date NOT IN ('2020-05-01', '2020-09-04')

Describe alternatives you've considered
We can of course implement a dbt data test by hand. But, such a test is repeated in different tables.
Additional context
I don't think it is database-specific.
Are you interested in contributing this feature?
I want to implement the feature.

Hey there @yu-iskw! This is a cool test, I would definitely support it in dbt-utils. I'm doing a big cleanup of open PRs this week, do you mind holding off on writing the code on this for a week or so?

@clrcrl Good to know. Sure things!

@clrcrl Please let me know if we are ready to start implementation.

This was already implemented. But, I think it would be great to support the where clause so that we sometimes want to have conditions to exclude the test scope.
https://github.com/dbt-labs/dbt-utils/pull/327

@clrcrl Can we close the issue, although we can support whare as well?

Additional PR
https://github.com/dbt-labs/dbt-utils/pull/401


Restful

1、README中增加了PaddleX RESTful API说明与链接
2、对PaddleX RESTful API使用教程进行了修改

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wangsiyuan06 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


401 response not defined in api.yaml

The endpoints tagged as admin can return 401, which is not defined in the schema. Maybe under components you could add a 401 response component and reuse it with $ref: "#/components/responses.
components
[...]
  responses:
    '401':
      description: Authorization information is missing or invalid.

With the contents {"message" : "authorization required"}
But I am not sure if this is necessary.
Refs: https://swagger.io/docs/specification/describing-responses/

Closing this. Feel free to reopen.


Optimize the spotlight_cache implementation

Summary
Optimize the spotlight_cache implementation by replacing the current database storage approach with an in-memory synchronized singleton to improve performance and reduce database load.
Problem Definition
The current implementation of the spotlight_cache involves a scheduled job that runs every 5 seconds, inserting a new record into the spotlight_cache table each time. The corresponding endpoint retrieves and serves only the most recent record, meaning the historical data is not being utilized.
This approach is inefficient for several reasons:

The database currently holds around 18 million rows, taking up 15GB of space on mainnet.
Every time the endpoint is called, a database query is made, which could be avoided if the latest spotlight data was stored in memory.
The current implementation results in unnecessary storage use and increased database load, slowing down the system.

Proposal

Replace the current implementation that inserts records into the spotlight_cache table with an in-memory synchronized singleton that stores only the most recent spotlight data.
Before removing the spotlight_cache table from the database, confirm that the history of this data is not being utilized by any other part of the system.
Implement the necessary logic to replace the old spotlight data in memory with the latest, avoiding the creation of new database records.
The expected improvements include:

Reduced calls to the database for every endpoint request.
Faster access to the spotlight data since it will be retrieved from memory.
Significant space savings by removing the large and growing spotlight_cache table from the database.

For Admin Use

[x] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

I decided to go with an in memory cache.  This will remove the need to store records in the database.
I will drop the whole database table in a different PR.


feat: permutateRegex

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Helper dealing with regex that should allow specific parts in any order. Ie. for regex composed from parts a, b and c, it should match both a || b || c and b || a || c, and any other permutation.
Name is a bit rough.
Default elementsSeparator is a bit arbitrarily picked...
A bit of context https://github.com/freeCodeCamp/freeCodeCamp/pull/53606#issuecomment-1960408047

Capturing groups in individual regex

It's rather easy to think of situation where it might be handy - ie. ("|')thing\1, (?<m>"|")thing\k<m>. It'd be good to support it.
If individual regex has capturing group, it will likely break. Named capturing group will surely break - group names have to be unique. Reference to non-named capturing group will reference to the same capturing group from every permutation, so that most likely will also not work as intended.
What comes to mind is replacing the group reference or name when joining permutations, to ensure their uniqueness and that reference is to the right thing. In such case expecting the capturing group to be named named would make it much easier, than finding/replacing unnamed groups and their numbered references.
Any ideas?

Yes this would be so helpful for saving me on some of the regex I've written.


Remove the word "just" from documentation

Though intended to indicate that a process is easy, language like this can have the unintended side-effect of making the reader feel inadequate.
https://adactio.com/journal/13521

100% agree. Thanks for the heads up @adactio

Sweet! Thank you.


Display minute roundup

Summary | Résumé
Trello:
https://trello.com/c/zKUqKOah/809-date-time-display-rounding-the-times

Shifted all entry times by 1ms
more consistent approach to time creation
workaround for display 23:59 as opposed to 12:00 AM on end time.

Test instructions | Instructions pour tester la modification

Create QR alert form no longer shows minutes xx:29, xx:59
Views on alert form, confirmation page and alert history all show new time ending in xx:30, xx:00 or 23:59 in end of day cases.

 Date + Time display - rounding the times


ERROR 502: Bad Gateway

I have an error : « ERROR 502: Bad Gateway »
The CFT installation seems working fine. I have no error message.
On the Head Node I have the same message :

[ec2-user@ip-XXXX ~]$ wget https://XXXX.eu-west-1.elb.amazonaws.com/ --no-check-certificate
--2022-01-18 17:05:38--  https://XXXX.eu-west-1.elb.amazonaws.com/
Resolving XXXXX.eu-west-1.elb.amazonaws.com (XXXXX.eu-west-1.elb.amazonaws.com) [SNIP] connected.
WARNING: cannot verify XXXXX.eu-west-1.elb.amazonaws.com's certificate, issued by ‘/C=US/ST=WA/L=Seattle/O=AWS WWSO/OU=HPC/CN=EnginFrame’:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 502 Bad Gateway
2022-01-18 17:05:38 ERROR 502: Bad Gateway.

Thanks @ubik76 , this issue has been fixed with commit https://github.com/aws-samples/1click-hpc/commit/2813f4a498a2692682423a8b6d1aa7ff8a8ce25f


Cannot zoom with '+', '-', and '=' keys on Firefox

Confirmed with Firefox version 34.0.5 on Linux.

It seems that the keycodes are very different on Firefox.


Better handling of implicit clk and reset during translation

PyMTL 3 implicitly adds clk and reset ports to every component to ensure the framework has a reliable way to reset and tick components during simulation. Both clk and reset will be collected and translated as if they are ports added by users. However it's not safe to assume the desired clock and reset signal name are always clk and reset, especially when trying to integrate PyMTL-generated code with other RTL designs.
One possible solution is to add flags to components indicating the exclusion of clk and/or reset signals. Under these flags, it becomes the user's responsibility to create and connect clock and reset signals correctly. Note that component simulation will still use the implicit clk and reset.

Well in the port mapping dict can you map clk/reset to those clock/reset signals in the provided verilog source code?

Closing because we now support port map, has_clk, and has_reset flags.


Discord Music Player v6.0.0 Update

Discord Music Player v6.0.0 Update
I am starting to work on the v6.0.0 Uptate, with v6.0.0 branch.
What I am planning to add?:

[x] YouTube Link Support (the current one is a bit buggy per #12),
[ ] YouTube Filters such as TIME: short/long; UPLOADED: today/week/month/year; SORTBY: rating/views/date (per #3),
[ ] Shuffle Method, to play queue songs in shuffle (per #3),
[ ] Progress Bar, of the current song (suggested in #5),
[ ] Code quality fixes,
[ ] Code size reduction,
[ ] Minor Fixes.

Note, that this branch is experimental and can cause such errors.
Please report every bug in the Issues Tab, when everything would be ready, v6.0.0 would be officially published as NPM Module.
Any suggestions?
Please use the Issues or Pull Requests Tab.

Code Updates

[27.11] Added YouTube Link Support in https://github.com/SushiBtw/discord-music-player/commit/04cd900054ff8ab1740ae32bacd9eab5c4e668a9

Ready to test.


About section styling improvment

I can improve the styling of the about section and make it look better.
Please assign me this issue, i would like to work on it.
@arushi2610
@Rizwan102003

Hi https://github.comgauravsingh1281,
I’d like to take up this task: About section styling improvment #196
I’m confident I can complete it and contribute to the project.
Could you please assign it to me? I’ll make sure to deliver by the deadline and follow the project’s guidelines closely. If there are any specific requirements or preferences, feel free to let me know.
Looking forward to your approval!
Thanks,
@naitikhoriya1

@aarch34 I have assigned you the issue. @SaurabhS55 @pulkitpathak99 please put the labels here. @naitikhoriya1 we will be assigning the issues on a first come first serve basis. If @aarch34 wants to collaborate with you then we can allow it,otherwise not.

Thank you


problem when synthesize

thanks for this nice job

but I have some promble when synthesize, there is always sound reverberation in synthesize audio compared with raw audio, does someone have same problem with me(batch size = 4,1000k step). I guess the "change order"module may lead in this problem?

after 200k step, I found loss almost remain unchanged in (-3.4,-3.7), and the result of synthesize is similar too from 200k to 1000k，so I want to ask it is reasonable? and if not, which scale of loss  is reasonable

Hi,can you upload your result wav

raw:https://github.com/binyi10/-/blob/master/yibintest7.wav
syn:https://github.com/binyi10/-/blob/master/generate_890682_7_0.7.wav

      Hi,can you upload your result wav

hello，instead of using ljspeech data ,I use my dataset, so I change the source code about some para(e.g. change the value of hop_length = 120), the results have been uploaded, do you meet the similar problem?

How many audio samples are in your dataset? The scale of the loss function varies from dataset to dataset(VCTK, LJSpeech, ...). In the case of LJSpeech, it's near -4.5.

Your wave maybe wrong and cannot be opened

      Your wave maybe wrong and cannot be opened

sorry, you can link to this repohttps://github.com/binyi10/-
raw: yibintest7.wav
syn: generate_890682_7_0.7.wav

      Your wave maybe wrong and cannot be opened

      Your wave maybe wrong and cannot be opened

sorry,

      How many audio samples are in your dataset? The scale of the loss function varies from dataset to dataset(VCTK, LJSpeech, ...). In the case of LJSpeech, it's near -4.5.

i use 30k samples of audio, but my cuda mem only support me use batch size = 4, so I think maybe it's suboptimal, I have try to change your code to multi-gpu, I use pytorch function DATAPARALLEL(model), and I change your code in train.py in line 110
loss = -(log_p + logdet).mean()
but the loss may be wrong, and I syn the audio is just noise.
can you open a multi-gpu version code?

      How many audio samples are in your dataset? The scale of the loss function varies from dataset to dataset(VCTK, LJSpeech, ...). In the case of LJSpeech, it's near -4.5.

i use 30k samples of audio, but my cuda mem only support me use batch size = 4, so I think maybe it's suboptimal, I have try to change your code to multi-gpu, I use pytorch function DATAPARALLEL(model), and I change your code in train.py in line 110
loss = -(log_p + logdet).mean()
but the loss may be wrong, and I syn the audio is just noise.
can you open a multi-gpu version code?

Actually for the multi-GPU training there is subtle caveat. The ActNorm parameters need to be initialized with the first training batch before converting the model into DataParallel, or else the training diverges badly. We'll upload the (correct) multi-GPU training part of the code shortly.

We'll close the issue, but feel free to re-open if the problem persists. FYI: please also refer to #13 .


Implement methodology to download all features

It would be nice to have the ability to download all buildings regardless of the feature.
          Building is implemented, with the given features albeit,

the 'all' wildcard is still wip.
Originally posted by @mnm-matin in https://github.com/pypsa-meets-earth/earth-osm/issues/26#issuecomment-1637147156

I confirm that downloading 'all' buildings is a critical feature for pypsa-distribution.
It may be nice to draft a plan and/or understand a path for its feasibility.


loading Animation(FBX) not working accross different skeleton versions

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
loading Animation(FBX) not working accross different skeleton versions
Expected Behavior:
loading Animation(FBX) should be working accross different skeleton versions
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:

Load rig
Load Animation
Unreal gives an error message

Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response

https://github.com/user-attachments/assets/c919a314-4620-4e28-bea2-0ef5c3a32040


Checks for empty parameters when insterting tip in app_logic

Codecov Report

Merging #8 (704b99a) into main (9a4d4fe) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main      #8   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines         11      11
=====================================
  Misses        11      11

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 9a4d4fe...704b99a. Read the comment docs.


Feature Request: Run configuration with debug mode

That would be very nice for fast inspection of states and variables if there was a way to debug an ember app using intellij. I found this which I'm not sure if has been further considered or not, but maybe there could be some configuration done in ember-cli config so that it generates proper map files.
the run configuration itself is rather easy to do but the real value is in debugging.

see https://github.com/Turbo87/intellij-emberjs/pull/109

oops sorry, just searched between issues. thx


chore: Update gitignore

Description

This adds some missing file types to our .gitignore file using the values from this repo; primarily from the Android, Gradle anf Java examples
It also rearranges some of the existing file types so that related ones are grouped together

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

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

Bitrise
View test reports
View more details on Bitrise

Build Artifacts

grype_output_vm_build.csv

grype_output_vm_build.json


Remove poetry.lock

Since the project was migrated to uv in #1406 the poetry.lock file is no longer needed.

The test failure doesn't seem to have anything to do with the removal of  the poetry.lock file. It is failing on test_crew_train_success which shouldn't have anything to do with poetry.lock. Other PRs seem to be failing on the same test so I assume it's unrelated?


build(deps-dev): bump esbuild from 0.19.8 to 0.19.10

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
178

Relevant Lines:
178

💛  - Coveralls