[now-cli] Add tests for alias rules

Add integration tests for alias -r rules.json

Codecov Report

Merging #3003 into canary will decrease coverage by 1.3%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           canary    #3003      +/-   ##
==========================================
- Coverage   13.27%   11.96%   -1.31%
==========================================
  Files         268      268
  Lines       10329    10180     -149
  Branches     1223     1295      +72
==========================================
- Hits         1371     1218     -153
+ Misses       8896     8870      -26
- Partials       62       92      +30

Impacted Files
Coverage Δ

src/util/dev/server.ts
61.21% <0%> (-5.69%)
:arrow_down:

src/util/dev/yarn-installer.ts
85.71% <0%> (-5.03%)
:arrow_down:

src/util/dev/builder.ts
73.07% <0%> (-4.35%)
:arrow_down:

src/util/dev/router.ts
78.57% <0%> (-4.13%)
:arrow_down:

src/util/dev/builder-cache.ts
77.27% <0%> (-3.48%)
:arrow_down:

src/util/metrics.ts
68.18% <0%> (-2.41%)
:arrow_down:

src/util/projects/get-project-by-id-or-name.ts
28.57% <0%> (+3.57%)
:arrow_up:

src/util/prefer-v2-deployment.ts
61.9% <0%> (+5.65%)
: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 c944706...ad8bb97. Read the comment docs.

Adding new tests reduces code coverage by 1.3%.


Add Facebook DPR Question Encoder Models

https://huggingface.co/facebook/dpr-ctx_encoder-multiset-base
https://huggingface.co/facebook/dpr-question_encoder-single-nq-base

No demand for DPR family models in the intervening months. Closing this.


UNIQUE constraint failed: issue_user.id

2015/06/16 10:55:30 [issue.go:251 CreateIssuePost()] [E] issue.CreateIssuePost(?): UNIQUE constraint failed: issue_user.id

This occurs on every new issue being created after I added the first collaborator to a project.

Sorry, this looks like #1298

No worries, please follow on #1298. :smile:


Issue when creating nodejs template

Whenever I try to generate a project, the only files generated are the VueJS ones however the NodeJS template never gets created, and I get a few "errors"
Cloning vue-typescript-template
Cloning into 'MyShopifyApp'...
configuring template
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/vite.config.ts
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/package.json
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/tsconfig.json
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/index.html
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/.env.example
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/.env.test
cp: copyFileSync: could not write to dest file (code=ENOENT):/MyShopifyApp/src/services/common/BaseService.ts
cp: cannot create directory '/MyShopifyApp/server': No such file or directory
Installing packages
Please Wait
The system cannot find the path specified.
Template generated!
change directory to 'MyShopifyApp'

Hello @gobboo , apologies for the late response. Please try this new update version -<EMAIL_ADDRESS>


Issues with lagginess in Asana

OS version:
Browser version:
Extension version: 3.0.9

Relevant integration (if any):
Asana
🐛 Describe the bug
I'm using Chrome version: Version 114.0.5735.119
I've closed and restarted it, and restarted my laptop.
I currently have the following extensions installed and switched on: App Launcher for Drive; Clipboard History Pro; DuckDuckGo Privacy Essentials; Google Docs Offline; Magical Text Expander; Meta Pixel Helper; Papier; Toggl Track; Video Speed Controller.
So... in the last 10 minutes, I've uninstalled the extension, restarted the laptop, re-installed the extension, restarted the laptop again, and then attempted to use the extension with Asana.
I pressed one of the buttons and Asana froze. I clicked over to my timer, and it took 30 seconds before task appeared and the timer started. It then took another 30 seconds before Asana unfroze
I then clicked the button on another task, and Asana froze again, but the timer switched over as it should.
Asana hasn't crashed completely, but I'll leave the extension on for the timebeing and see what happens.
I don't disable the Track extension completely. I just turn off the Asana integration.
But as soon as I do, all is fine. Asana never crashes, and it runs smoothly. And that is with the DDG extension turned ON also.
It's only when I switch on the Asana integration in the Track extension settings that I start seeing issues.
Case
Expected behaviour

Steps to reproduce

Steps to reproduce the behaviour:

Go to ...
...

Other details or context

Came here to open the same issue for Firefox. After one of the last updates, the whole browser got delayed so much, especially in Asana.

Case ref


[Request] Cancel Classroom student guardian invitations

Is your feature request related to a problem? Please describe.
I am implementing some logic to automatically manage guardians in Google Classroom. I can create guardian invitations with New-GSStudentGuardianInviation and I can remove guardians once they have accepted the invitation with Remove-GSStudentGuardian. However, if the need arises it does not appear that I can cancel a pending guardian invitation.
Describe the solution you'd like
Add a function to update a 'pending' student guardian invitation to 'complete'. Per this API page https://developers.google.com/classroom/reference/rest/v1/userProfiles.guardianInvitations/patch
A new function called Update-GSStudentGuardianInvitation is probably what is needed in this instance. Which lets you update the status value.

Hey @Foggy2 - I'm on it! Since the only action for that API is to perform that action, what are your thoughts on Revoke-GSStudentGuardianInvitation?

Hey @scrthq  Sounds good to me!

Deploying shortly in v2.24.0!

Available now, enjoy!
https://www.powershellgallery.com/packages/PSGSuite/2.24.0


feat: default sorted set increment score amount to 1 if undefined

how did we handle the 0 case for, e.g., dictionaryIncrement in other languages?

@cprice404 @eaddingtonwhite
If they don't pass it in, it defaults to 1.
If they pass 0, it increments by 0. That makes sense in other languages; don't second guess the user.

Make incrementing by 0 an error.
Take a pointer to a float, then it would be null if it's not passed in.
Define an Increment interface like Ellery suggested. For example, sort has to provide interfaces for various slice types.

I prefer 1, return an InvalidArgument error. It's an (almost) useless operation. Since it has the side effect of potentially updating the collection TTL I can see users wanting to use it for that. If so, we should provide a Touch method.

@schwern agree just chatted w/ @cprice404 in zoom for bit as well I think were all 3 aligned on 1 for now. Going to update this pr to reflect that.


Visualizations: Stronger indicators for zoomed visualizations; dismissable yellow bars

While discussing w the dataviz group how to clearly indicate when the Map viz was zoomed it was decided that we could implement the same for all vizs which would provide us consistency across vizs. Our suggestion is as follows:

add a yellow hazard symbol above any zoomed plot
Yellow zoom indicators within the plot grid of stats charts need a tooltip explaining what they are
map viz will not have yellow indicators on the map itself
confirmed birds eye bar and plot titles should not respond to zoom

I added the question label because it seemed like there wasn't a conclusion on how to address this (just a suggestion), so UX discussion is necessary. I think that is what we use that label for.

Thanks. There's also discussion needed about how the warning triangle will be triggered:

With server-side viewport/zooming (e.g. x-axis of histograms and XXX) we know for sure if there are points not shown due to viewport/zooming because we can compare various numbers from the response.
WIth client-size zooming (e.g most dependent axis range zooming) we don't currently make a data-based decision on whether or not to show the yellow warning bars. The bars are shown if the zooming could truncate data (e.g. when zooming into a subset of the annotated range, but not when zooming out beyond it) but not if they actually do truncate data.  I don't quite remember the decision process behind this, but it does prevent possibly yet-another-pass-through-the-data on the client side.

The logic for the yellow triangle could simply be any yellow bars are shown and then there is no real debate needed.
I'll add the question label back again!

@danicahelb for your information, I have tried to make yellow warning icon (hazard symbol) and its tooltip above the plot. Unfortunately, yellow icon is not clearly visible under white background so tried a couple of different colors and round icon: also shows a tooltip implementation when mouseover to the icon.

Thanks @moontrip. We discussed this ticket in today's UX meeting and still have a lot of debate about what should be done, so I'm going to add a paused label & move out of this cycle for now.
Discussion from today (these are ideas not decisions):

Range truncation messages should also be in yellow (to match the color of the color of the zoom indicator(s) on the plot
Just have the warning icon next to the “Range” label, the rest of the information in the warning message can be moved to mouseover information
Move the warning message to the top next to the plot title (ie, after XX Communities), and simplify (we don’t need separate text for y-axis and x-axis truncations
For the map, when the user has zoomed in and removed some data from view, the title of the plot should change to “Viewing 12 out of 16 communities”
For all other viz tools truncated by range selection: when the user has zoomed in on the x-axis, the title of the plot should change to reflect the data shown (ie, “Viewing 10,000 out of 20,000 Participants”)
For bar and histogram (and box plot? and line plot?) visualizations: when the user has zoomed in on the y-axis, the title of the plot will not change (because they are just seeing the very top or bottom of the bars, but those participants are still contributing to the summary data indicators (bars or points)
For scatter visualizations: when the user has zoomed in on the y-axis, the title of the plot will change to reflect the removal of certain data points
For the map viz tool, we can have a thumbnail of the world with a rectangle that covers the whole area where data in the subset is found (to differentiate subsetted data from the displayed subsetted and zoomed data and give context more globally to the study locations)

Feedback from David:

yellow bar indicating truncation should be based on subset, not full datasets: if I filter UMSP to only consider data from 2007-2020 there should be no yellow bar.  If I (try to) plot the full dataset and then modify graph scale to 2007-2020 this should provide truncation warnings.


fix(docs): Update about component groups source link

Closes https://github.com/patternfly/patternfly-org/issues/3891
The "View source on Github" link was broken on the "About Component Groups" Page so I added the sourceLink to the docs

Preview: https://react-component-groups-pr-component-groups-124.surge.sh


Multiple levels of cache

Hi Jim,
First of all, congrats, you did a really good job with image processor, totally loving it, I had my own imageservice working in les than an hour... definetly need to donate for atleast a beer for you.
One thing that I came across and I did not found in documentation is suporting various levels fo cache, its kind of confusing because in the cache config looks like you can set multiple caches but I don't see anyway how to do it...
My Idea is to create 3 levels of cache:
-Memory (own implementation) for really small images and frequently requested images
-Redis for another level of cache with a limited set of images that are big and higly requested (i'm not sure if im going to actually use it because I have to do proper load testing to see if there is really a performance gain.
-DiskCache / BlobCache (need to decide ) for  everything else.
I just need to know if there is any way to do what I actually have in mind, because acording to documentation I am not really sure how.
I guess that my best option is to extend the DiskCache / blobCache and create the multilevel inside it, but I wanted to keep it separated if posible.
Cheers.

Hi @alejandroMunozMulet
Thanks for your message, It's always great to hear that my work is helpful 😄
There's no documentation on that process because it's not supported. You never really want to hold an image, no matter how small, in memory - They simply take up too much space that could be required elsewhere. For image processing to be successful under load you need at least 1GB of contiguous memory available to GDI+ or else you'll start to get out of memory exceptions when processing even small files.
Internally the DiskCache holds a an in-memory store that contains a reference to the cached location. You can see that here. That indexer allows for fast location mapping to the file system without having to  make a request. You can't get much quicker than the indexer. After that it's best for us to let the IIS StaticFileHandler take over on redirect. both that and the operating systems file system are so finely tuned for rapid access there's simply no point in trying to beat it. By introducing a Redis cache you would be adding overhead.
I also do the same for the AzureBlobCache. Though admittedly, I hate the reliance I have on the 302 redirect I have there.
The multiple caches identified in the configuration documentation are either/or.  A single cache would inherit ImageCacheBase (or implement IImageCache) and you would choose which of those caches to implement that single cache does the grunt work.
Does that make sense?
Cheers
James

Hi James,
First of all thanks for your response is really nice to have such a complete explanation by someone who probably has better things to do.
Yes it makes absolute sense,  I guess I have got way too obsesed with performance that I have literally overthink it,  and missjudged the need of memory that image processing takes.
My main concern was the load that the service is going to take,  wich is going to be really huge,  and avoid any service degradation.
But I think the smart thing to do is stay with the disk cache, and just scale horizontally if the load gets really really huge And not try to optimize which really doesnt need any optimization.
Thanks for your time,  you really deserve that beer.
cheers.

Thanks @alejandroMunozMulet
If I have any advice from my experience to give to you it would be this.
Never think that someone who owns a code repository, no matter how popular it is, has better things to do than listen to your suggestions.
We all have something to learn.
I know a little bit more than most about image processing. I've studied very hard and am reaping the benefits of my efforts. Does that make me infallible and unable to learn? Absolutely no! I am constantly seeking to gain better knowledge about a myriad of technologies my software can integrate with. I'm constantly eager to learn more about image processing too!
Our conversation, and many like it, serve as a catalyst for the evolution of not just this project, but for software development as a whole.  We progress by learning collaboratively.
We better ourselves and serve our industry and the people that consume it together; collaboration is paramount to successful development.
I hope that this conversation fuels a greater involvement for you in open source software and that you go on to lead in developing great solutions for others.
Thank you for your efforts.
P.S If you do ever spot something funky in my code, please open an issue.


In non-gomod project, everything is work perfectly. But in gomod project, which has go.mod and GO111MODULE =on, go list error.

 Thanks for your woking.


Add n_features_in_ for scikit-learn compliance

FutureWarning: As of scikit-learn 0.23, estimators should expose a n_features_in_ attribute, unless the 'no_validation' tag is True. This attribute should be equal to the number of features passed to the fit method. An error will be raised from version 0.25 when calling check_estimator().

need to look at everything we claim passes check_estimator()

I can do this one then.

Hi I am wondering how do I locate places where I need to add the 'n_features_in_'

for now, just the stuff here


Colab

Please add a collab. The interface can be taken from here: https://stackoverflow.com/questions/59630751/simple-ui-on-top-of-colab

All the source code is given. You may add it to your colab if you have the demand.


live555: 2018.10.17 -> 2018.11.26

Motivation for this change
http://lists.live555.com/pipermail/live-devel/2018-November/021099.html

then you should upgrade to this newest version of the code ASAP.

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build vlc


Jest Security warning for hosted-git-info

🐛 Bug Report

When run against Jest, NPM audit returns moderate security errors from hosted-git-info - https://www.npmjs.com/advisories/1677
To Reproduce
Steps to reproduce the behavior:
mkdir jesttest
cd jesttest
npm init --yes
npm add --save-dev jest
npm audit

Expected behavior

npm audit should return no moderate or severe errors.
Link to repl or repo (highly encouraged)

envinfo

  System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  Binaries:
    Node: 13.8.0 - /usr/local/bin/node
    Yarn: 1.12.1 - /usr/local/bin/yarn
    npm: 6.14.3 - /usr/local/bin/npm
  npmPackages:
    jest: ^26.6.3 => 26.6.3

https://github.com/facebook/jest/issues/11379#issuecomment-833914286


[FIX] do not index files that start with certain string

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

[ ] Does your submission pass tests?
[x] Have you lint your code locally prior to submission?

Changes to Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?

fixes https://github.com/cpp-lln-lab/bidspm/issues/801

@all-contributors please add @DanielaMariaPinzon  for bug


Ability to pass the countdown

We play every day and we love the game. However, we would love to be able to pass the countdown when all player had select the number of tricks (bids).

Thanks
I'm so glad that you like the game.
During the bidding phase, we can't be certain if the user has finalized their decision. For example, if a bid of zero is their final choice, there's no way to confirm it, as zero is the default bid. To address this, we'd need to add an additional button to confirm when the user is done making decisions. However, for now, I want to avoid adding complexity and focus on keeping the user interface as simple as possible.


Minor fixes for CL_UNORM_SHORT_565, CL_UNORM_SHORT_555

Fix verification for undefined bit
Relax current infinitely precision requirement for these formats
and move check in common function.
Add proper debug output.

Signed-off-by: John Kesapides<EMAIL_ADDRESS>

@JohnKesapidesARM This now needs rebasing.

Rebased

@bashbaug @StuartDBrady Can I get another round of review please?


SqlTableDependency on Views

Hey Christian,
I'm pretty new to SQL Server and databases in general.
I was wondering if it is possible to get SqlTableDependency to work with views instead of tables only. Currently it throws a TableWithNoColumnsException if I try this out.
So do the triggers and the notification pipeline theoretically work with Views?

Hi
No, SqlTableDependency works only with TABLEs


date formatter is create timezone difference with Node server

Hello,
I've encountered an issue on the date formatting recently.
The variable|date('H:i') formatting for example is working properly on my localhost (the date is well rendered on the right timezone).
However on a distance server (AWS Ireland), I'm having a logical but un-explainable 2hours difference without any code change.
I've managed to manually correct the anomaly with a date_modify, however that won't be the best solution.
Any idea ?
Thanks
Alex

Check your AWS config timezone

Fixed by #566.


ECDSA funcs updated, added is_address

ECDSA functions accept compressed keys; is_address and related added

This PR is required since the previous PR refers to is_address, which is not in main.py


adding spirentitestdevter as a developer

Description

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

@daniel-beck, OK spirentitestdevter has now logged in to Artifactory - sorry, thought this was already done


[BugFix] Fix the problem of chunks partitioner not handling nullable column well

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #21268
Problem Summary(Required) ：

FE cannot give the accurate nullable info about the partition by columns of window function. So in terms of generality, it gives nullable=true to these columns.
PartitionTopn relies heavily on the nullable info. If the hash map init to a nullable version, but the actual partition column is not nullable, then the execution hits exception.
So the solution is simple, wrap the partition column based on given nullable info before putting them into hash map.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

please add test case

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


BA-646 Feature Request: Configurable Timeout for Buckaroo requests

Problem Description
We have observed that bank transfer payments through Buckaroo occasionally take longer than expected to complete. In some cases, the current timeout of 10 seconds is insufficient, leading to failed operations.
Proposed Solution
We would like the ability to configure the timeout value to better accommodate these longer processing times. For example, we may need to increase the timeout to 15 seconds.
Implementation Suggestion
To achieve this, the HttpsClient class needs to be updated to allow the timeout value (this._options.timeout = 10000;) to be configurable.

Hi @gijsmin ,
Thank you for reaching out.
We’ll review your issue and proposed solution with our team and will get back to you as soon as we have more information.

Hi @gijsmin ,
Thanks again for your suggestion! We’ve discussed this with the team and are planning to implement it.
However, it hasn’t been scheduled into a sprint yet (backlog). We’ll keep you updated once it’s prioritized and scheduled.

Hi @gijsmin ,
This ticket has been scheduled for the upcoming sprint (Sprint 25), which begins tomorrow.
Please note that our sprints run for two weeks.
Once we’ve implemented a fix, we’ll provide more details about the expected release date.

Hi @gijsmin ,
I’m pleased to inform you that this functionality has been included in version 1.5.0.
If you encounter any issues or have feedback, please don’t hesitate to reach out.
Best Regards,
René


Separate reading parameters from writing files in the db_handler

By now the function getModelParameters reads the list of parameters and, in the background, writes the files out.
We would better separate these two steps.
In the TelescopeModel, the files should be written out only when calling the exportConfigFile function, not whe building the list of parameters.

I agree that it should be written out only when you call exportConfigFile. I am not sure how to implement it though. It means that TelescopeModel will have to keep the list of files (or rebuilt it by going over the parameters again) and provide to the configuration exporter. Then the exporter will have to call the db_handler. Probably that could be done.
Who should work on it depends on the urgency. I don't think I will be able to implement it in the next few weeks, if it can wait, then I can do it.

I agree that it should be written out only when you call exportConfigFile. I am not sure how to implement it though. It means that TelescopeModel will have to keep the list of files (or rebuilt it by going over the parameters again) and provide to the configuration exporter. Then the exporter will have to call the db_handler. Probably that could be done.
Who should work on it depends on the urgency. I don't think I will be able to implement it in the next few weeks, if it can wait, then I can do it.

I think the db_handler should provide a method to write a single file into a specific directory and then we can go over all parameters of TelescopeModel and write them out. The TelescopeModel is storing the parameters with the same structure as they come out of the DB, so we have the flags isFile and Applicable available.
This should all be done by the TelescopeModel, not by the SimtelConfigWriter.
I can probably work on that soon. But I wanted to give you the chance in case you have the time.

Yes, this is similar to what I would like to do for the LST file missing in #107. I will try to do it at some point in the next couple of weeks, but if it is urgent and you want to do it yourself, no problem.

Ok, I will work on this soon, while I want for the PR that I opened today.


More details about PERSONAL_GITHUB_TOKEN

The documentation should probably mention which permissions PERSONAL_GITHUB_TOKEN needs to have. Not entirely sure this is right but I got it working with :
 PERSONAL_GITHUB_TOKEN — read:org, read:packages, read:public_key, read:repo_hook, read:user, repo:status

Thanks a for a nice project ! My profile is up https://github.com/arthurlogilab/ !

It depends a bit which features you access from the templating language. For example accessing sponsors needs different permissions than just retrieving your recently created projects. We should probably add documentation for each method and the scope it operates on. We can also refer to the GitHub documentation here.

Indeed, it should be documented.

Thanks!


⚠ Bofrost.fr has degraded performance

In a834310, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 953 ms

Resolved: Bofrost.fr performance has improved in 5c95476 after 14 minutes.


Development planning, Milestone 3

This list covers the next steps after having both a full TS runtime and the full runtime/api tests ported to TS.

[x] Consolidate the TS runtime (consistent naming of properties, remove leading underscores in properties, really make private what is private, convert data-only classes to interfaces etc.).
[x] Optimize the runtime to get it as close as possible to the old JS runtime execution speed.
[x] Do initial port of the Java ANTLR4 tool to TS and make it build.
[x] Port all tool tests to TS and make them run successfully.
[ ] Clean everything up and get the TS tool port to work properly.
[ ] Release the tool as node package.

The first two steps are handled in an own branch, which later gets released as a new major version (because of API changes).

🎉 The optimized antlr4ng runtime performs really well. It's faster in most aspects than any of the other TS/JS runtimes (antlr4, antlr4ts, antlr4wasm).

Getting closer to finish the next step - only ~3500 errors left. They are exclusively in the most challenging parts of the tool: the tree walkers. These are generated from ANTLR3 tree grammars and will be rewritten to avoid the need of ANTLR3. No (re) generation possible after this point, but we finally get rid of ANTLR3 entirely.

🥳 All syntax errors fixed.

Lots of progress meanwhile:

Grammar parsing works. A conversion of the parse tree to an AST has been introduced, which eases many tasks.
Tree walkers mostly do their job. One old ANTLR3 prediction is left and needs a fix.
Semantic pipeline working (inclusive left recursion removal).

A large part of code generation works now (see b3d8cc68b181e40fddee1cff1d8f327b1638e8e1). A couple of things need fixes (ATN generation, rule/token names, things like that), but we are getting closer.

Didn't expect that working on ANTLRng would show such an amount of runtime problems in antlr4ng and stringtemplate4ts, which lead to the stream of minor releases lately.

All tests are done and run successfully now, so I'd say we have a working TypeScript port of the ANTLR4 tool! Next step (besides cleanup) will be to generate a number of parsers/lexers from large grammars, once with antlr4ng and once with the antlr4 jar, and compare the generated code.
@kaby76  I'm eager to hear your suggestions for the best approach to use - difficult grammars that use as many of ANTLR4's feature as possible, in any of the supported languages).

Fabulous!! Will think about it. And will give it a try.

I might not be up to date, but I'm getting this on "main".
ken@DESKTOP-DL44R7B:~/ANTLRng$ tsc -p tsconfig.json
src/antlr3/BaseRecognizer.ts:374:28 - error TS2531: Object is possibly 'null'.

374         const stopIndexI = this.state.ruleMemo![ruleIndex].get(ruleStartIndex);
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/antlr3/BaseRecognizer.ts:424:13 - error TS2531: Object is possibly 'null'.

424             this.state.ruleMemo![ruleIndex].set(ruleStartIndex, stopTokenIndex);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/tool/Grammar.ts:789:13 - error TS2322: Type 'string | null' is not assignable to type 'string'.
  Type 'null' is not assignable to type 'string'.

789             return this.typeToStringLiteralList[ttype];
                ~~~~~~

src/tool/Grammar.ts:793:13 - error TS2322: Type 'string | null' is not assignable to type 'string'.
  Type 'null' is not assignable to type 'string'.

793             return this.typeToTokenList[ttype];
                ~~~~~~

src/tool/ast/GrammarRootAST.ts:100:13 - error TS2322: Type 'unknown' is not assignable to type 'string | undefined'.

100             return this.toolParameters[key];
                ~~~~~~

Found 5 errors in 3 files.

Errors  Files
     2  src/antlr3/BaseRecognizer.ts:374
     2  src/tool/Grammar.ts:789
     1  src/tool/ast/GrammarRootAST.ts:100
ken@DESKTOP-DL44R7B:~/ANTLRng$ node --version
v16.13.0
ken@DESKTOP-DL44R7B:~/ANTLRng$ tsc --version
Version 5.3.3
ken@DESKTOP-DL44R7B:~/ANTLRng$

For bootstrapping, I did alias antlr4ng='java -jar ./node_modules/antlr4ng-cli/antlr4-4.13.2-SNAPSHOT-complete.jar -Dlanguage=TypeScript' in my .profile (Ubuntu) and invoked with base -i to run the tool.

You are quick @kaby76 :-) I'm currently working to provide something to run the tool and debug it. I have pushed another patch to address the issues in BaseRecognizer.ts

Another push later you can use the TS tool. Make sure you update the node packages (npm i in the project root). Then run:
npx tsx cli/runner.ts -Dlanguage=CSharp --exact-output-dir --generate-visitor -o temp tests/grammars/Java.g4

... you know the parameters. The output parameter is currently being ignored. Need to fix that yet. If you get an error about npx install it using npm install -g npx.

I found a number of differences while comparing the generated files (from the jar and antlr-ng) and fixed them all in the last patch. Time to set up a script that generates the files for all grammars in the grammar directory and compare them.

From here it looks like all common/major problems have been addressed. Generated files differ only in insignificant parts from those generated with the old ANTLR jar, that is, the file names that appear in the output (if the used grammar is located in a different folder) and the order of generated visitor/listener methods, as well as parser contexts for alts with an alt label. The latter has no functional impact. It's just that antlr-ng writes out these elements in the order they appear in the grammar, while old ANLTR seems to have a rather random order.

I've added the two remaining bugs of the antlr-ng tool with antlr4ng runtime testing. All parse trees between the new tool and the old "java -jar" tool are identical except for these two parse bugs, of course.
The eiffel grammar does not work with the other ports, including Antlr4ng. The only target listed is Java. The reason why we don't just blanket test everything is because people sometimes embedded target-specific code in actions, which is why the eiffel grammar isn't tested with antlr-ng. The assumption is: "Why test the tool if you can't actually do a build and/or a parse?" That was probably too restrictive. But, if antlr-ng really works with the other ports, the error will probably, eventually get caught.
The plan is to continue testing the new antlr-ng tool with the other runtimes. Trash is written in C#. I would also like to test the parses with the "trace" feature. That technique goes one level down further to verify that the config sets are correct. I do plan on adding the antlr-ng tool and antlr4ng pair to the builds for grammars-v4.


Fix bug ignoring missing test case file

Move fast and break all the things.

Actually, since the value can populate something that goes into go-getter, it doesn't make sense to stat the value at all.


[FEATURE REQUEST] Application Management

An Tabbaritem to manage the applications in gotify (create/edit/delete/copy token)

coming with iOS 18 version 1.4.
Currently in closed beta


Add Sinclair Community College

Official website
https://sinclair.edu/
IT Related course
https://sinclair.edu/program/params/programCode/CS-S-AS/
Address
Sinclair Community College
444 West Third Street
Dayton, Ohio 45402
Domain proof

Proof of @sinclair.edu domains:

https://sinclair.edu/about/contact/
https://it.sinclair.edu/services/student-and-guests-services/email/

@coped I am sorry, the domain sinclair.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


snippets: added more snippets

Purpose
snippets added
What
useOnDocument, useOn and useOnWindow

Thank you so much for this additional snippets @the-r3aper7 , please update the readme as well.

cool i will update it


Review/consolidate ODP message on odp.finos.org (and across other web properties)

https://odp.finos.org is almost ready! It's time to review its message and consolidate it across all FINOS web properties.

[ ] Review message across https://odp.finos.org/index-staging/ and https://odp.finos.org/docs/what-is-odp :

[x] What is ODP
[ ] Why do I need ODP
[ ] What is it used for
[ ] Who uses ODP
[ ] Who develops ODP
[ ] How can I use it
[ ] How can I sign up
[ ] How can I contribute to it

[ ] List here all FINOS web properties (www.finos.org, FINOS/FDX/OSR Wiki spaces, mailing-list info, github info, ...), to deprecate (that should link to ODP). Describe detailed actions to be taken.
[ ] Plan internal FINOS review
[ ] Define announcement strategy

Dup of #143


Either os.path or path - not both

Use either:
	import os
	os.path...

or:
	from os import path
	path...

Don't use both! I have changed evrything to the latter because it was used much more often, but using the former would have the benefit of working around an LGTM.com recommendation:
https://lgtm.com/projects/g/python-versioneer/python-versioneer/snapshot/0fac2b06f40206face530fc992d3978642daece5/files/setup.py?sort=name&dir=ASC&mode=heatmap#x1c1370788a826155:1

I think I would prefer os.path to from os import path, and to use pathlib.Path when it's cleaner. Okay to patch your PR, or would you prefer to do it?

Please do. I could do the os.path → from os import path part, but I'm not certain what to do about the pathlib.Path part - it's too recent for someone who started with Python 1 :smile:

Excellent, thank you.


XML only partially parsed and returned

import SWXMLHash

let xml = SWXMLHash.parse("<?xml version=\"1.0\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><s:Body><u:GetTransportInfoResponse xmlns:u=urn:schemas-upnp-org:service:AVTransport:1\"><CurrentTransportState>PAUSED_PLAYBACK</CurrentTransportState><CurrentTransportStatus>OK</CurrentTransportStatus><CurrentSpeed>1</CurrentSpeed></u:GetTransportInfoResponse></s:Body></s:Envelope>")

// Following line prints `nil` although node is present
print(xml["s:Envelope"]["s:Body"]["u:GetTransportInfoResponse"]["CurrentTransportState"].element)

// Children of s:Body have been ignored
print(xml.description)

prints
nil
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body></s:Body></s:Envelope>

thus leaving out all children within s:Body tag.
If you remove xmlns:u=urn:schemas-upnp-org:service:AVTransport:1\" from s:Body, document is properly parsed.

Just realized that the XML is invalid, there's a missing " at the beginning of the attribute value for xmlns:u. Unfortunately this xml is not returned by us.

@larsblumberg sorry to hear that - I know of a few cases where people have done some string modification on bad XML prior to it being parsed by SWXMLHash. It is very clearly a hack and extremely brittle, but at least some people are doing it. If you're able to work with the party that is generating the XML, though, that would be best I'm sure.

Thanks for your feedback, I'm getting the response from a web service and as you suggest we now do string manipulation prior to handing it over to swxmlhash.
What's your opinion on adding a strict mode parameter to the parsing methods? It could default to true but when false it would ignore missing quotation marks or missing closing tags.
Right now the parser creates semi parsed models as in my case without letting me know, it took me a while to understand that the document wasn't valid. I would prefer the parser to return nil instead if the XML document wasn't valid.
I understand if this is however beyond the scope of this library.

I like the idea of validating the XML ahead of time because it is a lot easier when an "invalid XML" error is thrown instead of dealing with partially parsed XML; however, based on my limited research, I didn't see anything related to doing this with NSXMLParser (which is what SWXMLHash is based on). SWXMLHash will have any limitations that NSXMLParser has.
I'll keep it in mind and will keep thinking about possible options to handle it, though.


Allow customers to configure Kubernetes API in tenant clusters

Is your feature request related to a problem? Please describe.

As a user, I would like to modify  API parameters dynamically to enable feature gates or admission controllers.
Now we set some default but they cannot influence it. If they want to try a feature gate or add admission controller they need. to use k8s-initiator-app to hack the master instance thanks to daemonset.
Describe the solution you'd like

Make configurable feature gate, audit policy, admission controllers,... flags to let our customers configure different options available on k8s API.
Ideall  we offer a way to enable/disable these options (Configmap on Control Plane or properties in a  CR).
It would be a  pre-requisite for https://github.com/giantswarm/roadmap/issues/196
Describe alternatives you've considered

Make the  k8s-initiator-app worked for all use-cases.
Additional context

@cornelius-keller and the team were thinking of moving toward this with ignition-operator and adaption of more upstream CAPI work.

Yes this is the preferred way, @pipo02mix we plan to start working on the ignition-operator in Q1 2021, is this an acceptable timeline for this story? it would allow us to not invest more time in the solution we would like to remove anyway.


[AutoDiff] Emit SIL diff witnesses into original function's IRGenModule.

The differentiation transform does not yet canonicalize differentiability
witnesses so that they always have JVP/VJP functions. TF-894 tracks this.
Until then, emit SIL differentiability witness into the IRGenModule for
the original function. This significance of this is unclear;
IRGenerator::getGenModule seems relevant only for multi-threaded
compilation.
Resolves TF-960: crash when SILDifferentiabilityWitness::getVJP is null.

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow

@swift-ci Please test tensorflow macOS


Scaffold-ETH #2 Documentation: Code Comments

Create the docs for the best developer experience, starting with code comments for the followings:
Hardhat

[x] YourContract.sol
[ ] 00_deploy_your_contract.ts
[ ] hardhat.config.ts
[ ] .env.example

NextJS

[ ] example-ui.tsx (still in progress https://github.com/scaffold-eth/se-2/issues/81)
[ ] tailwind.config.js
[ ] _app.tsx
[ ] .env.development

Hey @edakturk14
As we discussed, listing here the files that would be nice to add comments to (some of them might be commented already: we can review & tweak).
Hardhat

YourContract.sol
00_deploy_your_contract.ts
hardhat.config.ts
.env.example

NextJS

example-ui.tsx (this might be the one we need to comment the most... but still in progress #81)
tailwind.config.js
_app.tsx
.env.development

Happy to add some ideas for comments on any of these files.

thanks @carletex! these are super suggestions, I've updated the issue to reflect all the files we should be covering. Hope thats okay! I'll continue to work on these files

Hey, @edakturk14 would like to work on example-ui.tsx and _app.tsx file to add documentation for the same.

hey @Chirag018 sure, feel free to make a PR for it!

@Chirag018 It could also be useful to read the following bit on comments first: "typescript styleguide: comments-documentation"
We're trying to follow this style guide a bit. It's not set in stone, but it serves as a solid starting point, see also discussion in #232

Can I participate in this section?
Hardhat
YourContract.sol
00_deploy_your_contract.ts
hardhat.config.ts
.env.example
Particulartly for this please

Hey thanks @syed-ghufran-hassan, actually we had already updated those files at #96 and #106
Closing this, thanks all 🙌


guttiness, aspartame

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,g]

/trunk merge


Frontend Project "Recipe_Book" Styling

Describe the Feature you want to end
Changing few styling properties of this project to improve its design.
Expected behavior
Improved design of the website.
Screenshots (optional)
Current Design

Expected Updated Design

Additional context (optional )
N/A

@MohitGupta121 Kindly assign me this issue.


Can't Select Image

Software Versions

Python: Tried 3.12.0 first, and that didn't work so I tried 3.10.11 in a virtual environment and that didn't work either
OS: Windows 11 Pro
Kivy: 2.3.0
Kivy installation method: pip install kivy kivy_deps.sdl2 kivy_deps.glew kivy_deps.angle

Describe the bug
When using Kivy's FileChooserListView to select an image file, the selection event is not triggering as expected, and no actions occur upon selecting an image. The application does not update the image display, and no debug messages are printed to the console, indicating that the selection event might not be firing.
Expected behavior
The expected behavior is that upon selecting an image file using FileChooserListView, the selected image path is printed to the console, the image is displayed in the Image widget, and appropriate debug messages are shown in the console and UI.
To Reproduce
A short, runnable example that reproduces the issue with latest kivy master.
Code and Logs and screenshots
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.filechooser import FileChooserListView
from kivy.uix.image import Image
from kivy.uix.label import Label
import os
class SimpleImageApp(App):
def build(self):
self.layout = BoxLayout(orientation='vertical')

self.image_display = Image(size_hint=(1, 0.7))
self.layout.add_widget(self.image_display)

self.debug_label = Label(text="File selection not yet triggered.", size_hint=(1, 0.3))
self.layout.add_widget(self.debug_label)

filechooser = FileChooserListView(size_hint=(1, 0.7))
filechooser.bind(on_selection=self.on_image_select)
self.layout.add_widget(filechooser)

return self.layout

def on_image_select(self, filechooser, selection):
self.debug_label.text = "Selection event triggered."
print("Selection event triggered")
print(f"Selection: {selection}")
if selection:
image_path = selection[0]
print(f"Selected image path: {image_path}")

if os.path.exists(image_path):
print("File exists, setting image source")
self.image_display.source = image_path
self.image_display.reload()
print("Image path set and reloaded")
self.debug_label.text = "Image path set and reloaded."
else:
print("Error: Invalid image file!")
self.debug_label.text = "Error: Invalid image file!"
else:
print("No file selected!")
self.debug_label.text = "No file selected!"
if __name__ == "__main__":
SimpleImageApp().run()

Logs:
[INFO ] Logger: Record log in C:\Users\devri.kivy\logs\kivy_24-11-12_85.txt
[INFO ] deps: Successfully imported "kivy_deps.angle" 0.4.0
[INFO ] deps: Successfully imported "kivy_deps.glew" 0.3.1
[INFO ] deps: Successfully imported "kivy_deps.sdl2" 0.7.0
[INFO ] Kivy: v2.3.0
[INFO ] Kivy: Installed at "D:\Python*classified*\kivy_env\lib\site-packages\kivy_init_.py"
[INFO ] Python: v3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
[INFO ] Python: Interpreter at "D:\Python*classified*\kivy_env\Scripts\python.exe"
[INFO ] Logger: Purge log fired. Processing...
[INFO ] Logger: Purge finished!
[INFO ] Factory: 195 symbols loaded
[INFO ] Image: Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO ] Text: Provider: sdl2
[INFO ] Window: Provider: sdl2
[INFO ] GL: Using the "OpenGL" graphics system
[INFO ] GL: GLEW initialization succeeded
[INFO ] GL: Backend used
[INFO ] GL: OpenGL version <b'4.6.0 - Build <IP_ADDRESS>9'>
[INFO ] GL: OpenGL vendor <b'Intel'>
[INFO ] GL: OpenGL renderer <b'Intel(R) UHD Graphics'>
[INFO ] GL: OpenGL parsed version: 4, 6
[INFO ] GL: Shading version <b'4.60 - Build <IP_ADDRESS>9'>
[INFO ] GL: Texture max size <16384>
[INFO ] GL: Texture max units <32>
[INFO ] Window: auto add sdl2 input provider
[INFO ] Window: virtual keyboard not allowed, single mode, not docked
[INFO ] Base: Start application main loop
[INFO ] GL: NPOT texture support is available
Additional context
The issue persists despite updating all dependencies and verifying file paths and permissions. The debug information indicates that the selection event is not being triggered as expected.

This is not a bug.  In the future please report these issues to one of the support forums.  Discord or kivy user group.  You can find the links at the bottom of the www.kivy.org landing page.
You need to bind to selection, not on_selection.
change to:
filechooser.bind(selection=self.on_image_select)

Here is your code with the change:
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.filechooser import FileChooserListView
from kivy.uix.image import Image
from kivy.uix.label import Label
import os

class SimpleImageApp(App):
    def build(self):
        self.layout = BoxLayout(orientation='vertical')

        self.image_display = Image(size_hint=(1, 0.7))
        self.layout.add_widget(self.image_display)

        self.debug_label = Label(text="File selection not yet triggered.", size_hint=(1, 0.3))
        self.layout.add_widget(self.debug_label)

        filechooser = FileChooserListView(size_hint=(1, 0.7))
        filechooser.bind(selection=self.on_image_select)
        self.layout.add_widget(filechooser)

        return self.layout

    def on_image_select(self, filechooser, selection):
        self.debug_label.text = "Selection event triggered."
        print("Selection event triggered")
        print(f"Selection: {selection}")
        if selection:
            image_path = selection[0]
            print(f"Selected image path: {image_path}")

            if os.path.exists(image_path):
                print("File exists, setting image source")
                self.image_display.source = image_path
                self.image_display.reload()
                print("Image path set and reloaded")
                self.debug_label.text = "Image path set and reloaded."
            else:
                print("Error: Invalid image file!")
                self.debug_label.text = "Error: Invalid image file!"
        else:
            print("No file selected!")
            self.debug_label.text = "No file selected!"
if __name__ == "__main__":
    SimpleImageApp().run()


Error

Hello, even though I installed the library, it doesn't work for me.

Hi @komi490, without any details about your setup and your specific problem there's nothing anybody can do here to help so I'll close this for now. If you add more details we can re-open this.


Issue #102: add HA section 3 system components

## GitHub Issue
Issue #102
Description
added section 3 system boundaries and components
How I tested
local compile

Are there any boundaries we need to reference in this section too? Like no cloud storage or no user profile storage etc? if not then I'm good to merge/

Are there any boundaries we need to reference in this section too? Like no cloud storage or no user profile storage etc? if not then I'm good to merge/

The little blurb in the template focused on components, I think its okay to leave those out since the hazards would only reference the components anyways.


Better handling of template errors

Detect when templates return an error, and put "Template Error" as the menu item substring. Look for ways to avoid crashing.

Need to internationalise the string "Template Error".


Blocking User option Needed ? Current Peers Name List

I need to explicitly block user to chat with me. Is there any possibility?
Is there way to view the Online Peers list instead of clicking on the peers?

Currently there is no way of blocking a user from chatting with you. Anybody can join any channel and everybody has read and write access. There are plans to implement the ability to have channels for which only certain users have write access and everyone has read access.
Regarding the peer list, currently we only have a list of IPFS peer Id's which are basically just multihashes ("Qma63TiX691SSa5Yvd37TH8pcrevZ9EJ12JtWRYPRpin3W") and I don't think that is associated in any way with an orbit user. @shamb0t and @aphelionz might have better understanding of the IPFS peer id.

Thanks @latenssi. There is currently no direct way to get orbit addresses if you only know the peer id.

Thanks @latenssi  and @aphelionz  for the response and providing me the information.


[Feature Request]: SUPPORT OF AZUREOPENAI IN NLSQL TABLE QUERY ENGINE

Feature Description
SUPPORT OF AZUREOPENAI IN NLSQL TABLE QUERY ENGINE IS REQUIRED SO THAT I CAN USE MY AZURE CREDENTIALS AND CAN WORK IN AZURE MARKET PLACE
Reason
No response
Value of Feature
No response

@swagatamr Its already supported
Setup azure
https://docs.llamaindex.ai/en/stable/examples/customization/llms/AzureOpenAI/?h=azure
And either set on the global settings
Settings.llm = azure_llm
Or pass it in
NLSQLTableQueryEngine(..., llm=azure_llm)


Deploy task to device

Before deploying a task to a device, the feasibility of the whole task set that we want to run on the device needs to be checked. This is done by computing the total CPU utilization and depends on the number of cores of the target device. Removal of tasks from a device should be possible too.

[x] Check task set feasibility
[x] Send files to device
[x] Build image on device
[x] Run container on device
[x] Remove task from device

Task deployment can be made using the official Docker library for Python and SSH keys. This way, the whole operation is simpler and less error prone. We also won't need to store the user's SSH password anymore, which is better for security.


feat: add DEVENV_RUNTIME directory

This PR creates a new directory, DEVENV_RUNTIME. Its purpose is similar to /run and XDG_RUNTIME_DIR. It's created under /tmp with a short path name so that Unix domain sockets can be created there without hitting path length limits.
This also changes PostgreSQL to use DEVENV_RUNTIME so that it can work without worrying about the path length of the project directory. It should fix the issue described in #540. For a complete fix, modules that use Unix domain sockets also need to be fixed.

Hey, this is great! Could you make a PR against #1005 and add a test into tests/cli to assert runtime directory is set?
Sorry for the mess, but we're working towards 1.0

@midchildan if you'd like I can port it over since I'm working on fixing all the tests :)

Merged into #1005, thank you!

Thanks!