From "Select Operator" page, can't search operators by CRA business number [5]

Describe the Bug:
Probability (how likely the bug is to happen, scored from 1-5): 3
(For example, probability of 5 is something like "it happens to all users every time they log in."
Probability of 1 "only happens to certain users when a really specific and unlikely path is followed.")
Effect (how bad the bug is when it does happen, scored from 1-5): 2
(For example, effect of 5 is "the entire app crashes and makes it unusable for all users" or "the bug causes the wrong data to be saved, with critical information (e.g. payment) being affected."
Effect of 1 is "It makes some styling look a little bit weird.")
Steps to reproduce the behaviour:
In an app environment with mock data (either local or in DEV env), we have some mock operators with set CRA business numbers (e.g., 123456789, or 987654321).

Sign in with a Business BCeID account that isn't currently assigned to an operator
Go to the Select Operator tile
Click the radio button to search for operators by CRA business number
Start typing 2-3 digits into the search bar.
Click the "Search Operator" button
You'll get an error message saying that there's no matching operator found, even when I've typed in a CRA business number exactly (and it should be fuzzy search anyway)
(Try searching operators by legal name to see the desired behaviour)

Screenshots:

Additional information:

for reference, I found this when running locally, but it will do the same thing in any app environment.

Searching operators by CRA business number should be an exact match based on a previous conversation.

Thanks @Sepehr-Sobhani - I either didn't know about that, or forgot it entirely. I'll close this ticket as not-needed.


Object to JSON

Hi
How do I convert an object to a JSON (Dictionary / Array)
Thank you

Hello,
Motis only supports mapping JSON structures to Objective-C objects. It does not support the other way around.
If you wish to flush Obj-C objects to JSON, you must do it manually or use another library.


RequirementMachine: Fix potential 'pollution' from installing an invalid requirement machine [5.9]

Original PR: https://github.com/apple/swift/pull/68055

Description: When we build a new generic signature, we associate the rewrite system we just built with this generic signature, to avoid building the rewrite system again. However if the signature contains invalid requirements, we cannot re-use the requirement machine. The check for invalid requirements did not walk inside concrete types, so if you had such a signature, it would "pollute" the cache.

Origination: Always broken.

Scope of the issue: Causes a crash-on-invalid when some other error should have been diagnosed elsewhere instead.

Radar: I believe this is part or all of the cause of rdar://113943346, which I was unable to reproduce.

Tested: I added a new test case which demonstrates the old broken behavior.

Risk: Low. This disables rewrite system reuse in one new case, and it should always be safe to not reuse rewrite systems; we can always build a new one, it's just an optimization.

Reviewed by: @hborla

@swift-ci Please test

This might also fix rdar://110704624.


Exposing params and relabel_configs via charm's config

Enhancement Proposal
Would it be possible to expose params and relabel_configs of the prometheus job via this charm's config options? It would allow this charm to configure Prometheus to scrape Blackbox exporter.
I realise that relabel_configs is possible via prometheus-scrape-config-k8s charm, but it feels bit excessive to pipe scrape job config from this charm, which is all about manual configuration, through another charm just to add relabels.
I'd be happy to submit PR.

We have recently developed the blackbox exporter charm; would using this solve your issue?

Thanks for the reply @lucabello. This might work for me although it's a slightly different workflow. I currently work with blackbox exporters that are external to juju but I don't see why I couldn't switch to juju-managed BB exporter now that there's a charm for that.
I still think that it might be useful to be able to scrape external BB exporters but feel free to close this if that's not intended for this charm.

Closing as it's indeed not intended for this charm.


Changes in pattern handling and improved logging.

Use ~ in enforce for DoNotEnforce patterns.
Remove ! special handling in paths/assignments patterns.
Add debug logs in pattern matching.
Add warning when no policies found to deploy.
Treat dot in file paths with no special meaning.
Block / in assignment/enforce patterns

Does 'enforce' needs to be added in action.yml?

Yes @rgsubh. Done!
Thanks for calling out.


Fix tf.argmax/argmin documentation

https://www.tensorflow.org/api_docs/python/tf/argmax

The documentation does not explain what an "index" is. I can imagine a billion definitions of "index". Is it the same as the "index" in tf.one_hot?
The documentation does not explain what happens if axis is set to None.
"For vectors, use axis = 0.": Why?
The documentation should clearly explain how the rank+shape of the returned tensor correlates with the rank+shape of the input tensor.
The documentation incorrectly indicates that there is a guide if you click "See the guide", but it takes you to a function reference/index. A redundant 3 sentence description is not a "guide".

@wolffg, could we queue this in our next doc fixit?
@hnsl, if you have time, a PR would be most welcome to fix some of these things.

I would love to do a PR to fix the documentation, but the truth is that I can't write it because I don't know the answer to those questions. That's why I wanted it to be documented in the first place. I've tried to reverse-engineer argmax to understand what it does in higher dimensions, but I can't say that got me anywhere.

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 16 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 107 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 122 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 137 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 152 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 167 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 182 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 197 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 212 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 227 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 242 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@wolffg  Hi, could you please look into this issue ?

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


feat: wrap gas limit into a new type

Fixes #3813
I tried to create the new type, but I'm not sure if I got everything right. Can you please tell me if I'm missing something?
Thanks!

I merged main into my branch and ran the formatter so the pipeline should pass now.

Do I need to fix anything on my side?


Update Open Subtitles corpus with original sentence IDs

Hi! It would be great if you could add the original sentence ids to Open Subtitles.
I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts.
I think I should tag @abhishekkrthakur as he's the one who added it in the first place.
Thanks!

Hi ! You're right this can can useful.
This should be easy to add, so feel free to give it a try if you want to contribute :)
I think we just need to add it to the _generate_examples method of the OpenSubtitles dataset builder here

Hey @lhoestq , absolutely yes! Just one question before I start implementing. The ids found in the zip file have this format:
(the following is line 22497315 of the ids file of the de-en dump)
de/2017/7006210/7063319.xml.gz  en/2017/7006210/7050201.xml.gz  335     339 340 (every space is actually a tab, aside from the space between 339 and 340)
Where filenames encode the information like this: lang/year/imdb_id/opensubtitles_id.xml.gz whereas the numbers correspond to the sentence ids which are linked together (i.e. sentence 335 of the German subtitle corresponds to lines 339 and 340 of the English file)
That being said, do you think I should stick to the raw sentence id (and replace the current sequential id) or should I include more detailed metadata (or both things maybe)?
Going with raw ID is surely simpler, but including year, imdbId and subtitleId should save space as they're just integers; besides, any operation (like filtering or grouping) will be much easier if users don't have to manually parse the ids every time.
As for the language-specific sentenceIds, what could be the best option? A list of integers or a comma-separated string?
Note: I did not find any official information about this encoding, but it appears to check out:
https://www.imdb.com/title/tt7006210/, https://www.opensubtitles.org/en/subtitles/7063319 and https://www.opensubtitles.org/en/subtitles/7050201 all link to the same episode, so I guess (I hope!) it's correct.

I like the idea of having year, imdbId and subtitleId as columns for filtering for example.
And for the sentenceIds a list of integers is fine.

Thanks for improving it @Valahaar :)

Something like this? (adapted from here)
result = (
  sentence_counter,
    {
      "id": str(sentence_counter),
      "meta": {
        "year": year,
        "imdbId": imdb_id,
        "subtitleId": {l1: l1_sub_id, l2: l2_sub_id},
        "sentenceIds": {l1: [... source_sids ...], l2: [... target_sids ...]},
        # or maybe src/tgt? I'd go with the first one for consistency with 'translation'
        "subtitleId": {"src": l1_sub_id, "tgt": l2_sub_id},
        "sentenceIds": {"src": [... source_sids ...], "tgt": [... target_sids ...]},
      },
      "translation": {l1: x, l2: y},
    },
  )

Or at top level, avoiding nesting into 'meta'?

Merged in #1865, closing. Thanks :)


Korean translation

Hi Nicky,
I have translated your essay on mental health tips into Korean language. I enjoyed reading and translating the essay and I found it very informative and helpful. Thank you very much for your awesome work!

Hi @kmsunmin ! Sorry for the very long wait, but thank you so so much for going through the time & effort to make this accessible to more folks! Your translation is now live at https://ncase.me/mental-health/ko.html 🐺 🎉  Thank you!!


277 - When coronavirus taxon present get priority breadcrumb

What

Updates ContextualNavigation to identify taxons that match particular content_ids
Use that facility to identify a coronavirus taxon, and to use that to build a contextual bread crumb with the title and base url from the taxon.
When more than one matching taxon is found, selected one is based on position in lookup list GovukPublishingComponents::Presenters::ContentBreadcrumbsBasedOnPriority::PRIORITY_TAXONS

Why
The taxon superbreadcrumb will provide users with a link back up to coronavirus pages if they are tagged to part of the taxon tree.
Visual Changes
Page before change showing breadcrumbs

Page after change showing new breadcrumb

https://trello.com/c/w3jmEyNT/277-add-super-breadcrumb-to-content-tagged-to-a-hub-page-or-hub-subtopic

Approved pending product review

Product review caused delay in deployment while content was updated. That is not complete so merging.


phpPackages.composer: 2.1.5 -> 2.1.8

Motivation for this change
https://github.com/composer/composer/releases/tag/2.1.6
https://github.com/composer/composer/releases/tag/2.1.7
https://github.com/composer/composer/releases/tag/2.1.8
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

6 packages built:

adminer
bookstack
php74Packages.composer
php74Packages.php-parallel-lint
php80Packages.composer
php80Packages.php-parallel-lint

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 140574 run on x86_64-linux 1

6 packages built:

adminer
bookstack
php74Packages.composer
php74Packages.php-parallel-lint
php80Packages.composer
php80Packages.php-parallel-lint


Enable automatic monthly uploads of new works to Internet Archive

iabulkupload subfolder (obtain_work_ids.py, bulkupload.sh and README.md): committed as a record of what steps were used for the original manual bulk back catalogue upload. Feedback would be interesting, but I don't intend to change the logic itself at this stage.
obtain_new_ids.py: a script to find all published works that haven't yet been uploaded to IA. This has the drawback that it will keep re-finding any works that have already been determined to be unsuitable for upload (e.g. some early punctum works which were published as paperback only).
An alternative would be to only search for works published within the time period since the last scheduled upload. This would require some changes to either the Thoth GraphQL API (e.g. adding a publicationDate filter to the books query) or thothlibrary (e.g. retrieving the updatedAt date in books query results). There would be a risk of missing out works due to race conditions, or records being updated significantly before/after actual publication, etc.
bulk_ia_upload.yml: a GitHub Action to periodically run the above script and pass the results to the Dissemination Service. Creates separate jobs for each work to make it clearer which uploads succeeded/failed (although this requires multiple Dockerhub image pulls instead of just one). Can also be run manually. Based on manual_ia_upload.yml, which is retained alongside it as a useful way to trigger uploads of individual works via GitHub.

Before merging, it'd be good to tackle suggestions, rather than relying on notes that we'll likely forget about.
Mainly:
* ensuring that each process writes its stream to stdout

* replace hardcoded run configuration with either env variables or input arguments

The suggestions I haven't implemented were on iabulkupload/ files, which were intended as a record of what steps were used for the original manual bulk back catalogue upload, rather than necessarily something we'd continue to use on an ongoing basis. It could be confusing if I make changes so that it no longer reflects what was actually done. If we do want to repurpose it in the future, the notes indicate what ought to be changed first.

Before merging, it'd be good to tackle suggestions, rather than relying on notes that we'll likely forget about.
Mainly:
* ensuring that each process writes its stream to stdout

* replace hardcoded run configuration with either env variables or input arguments

The suggestions I haven't implemented were on iabulkupload/ files, which were intended as a record of what steps were used for the original manual bulk back catalogue upload, rather than necessarily something we'd continue to use on an ongoing basis. It could be confusing if I make changes so that it no longer reflects what was actually done. If we do want to repurpose it in the future, the notes indicate what ought to be changed first.

In that case I'd either remove the directory completely and relied in version control to bring it back if needed, or move it to a different repo


Use InferenceMode guard instead of NoGradGuard

Support for InferenceMode was added in Pytorch 1.9.0

Read more here: https://pytorch.org/cppdocs/notes/inference_mode.html

Can you share the performance improvement you see with the switch?  resnet50 may be?

Can you share the performance improvement you see with the switch? resnet50 may be?

Yes I am gathering some perf numbers for resnet50 batch size 8 and 128 before and after these changes. I will share them shortly

Two things to think about. resnet50 is not representative of all models. It seems like InferenceMode is the official, recommended pytorch way for inferencing? If that is so then there may be ongoing enhancements that will improve its functioning over time. So it seems like having it as an option seems safer than not having it at all.


[Feature][SolidUI] Version 0.2.0 replaced by 0.3.0

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Problem Description
All instances of version 0.2.0 in the configuration files should be replaced with 0.3.0.
Description
No response
Use case
No response
Solutions
No response
Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

I want to address this issue.


Add requirements for Trust Policy management.

PR for #83 , Trust Policy management and Trust store updates, there are no comments on the corresponding hackdoc to track. Also created a new folder for requirements so that we don't crowd the top level dir.
Signed-off-by: Milind Gokarn<EMAIL_ADDRESS>

@gokarnm, Has this been captured in the signature specs?

This PR will complete the last remaining issue around Trust Policy mgmt, and once merged we can close https://github.com/notaryproject/notaryproject/issues/83

@iamsamirzon @gokarnm @priteshbandi  Any suggestions on how to move this PR forward? It has been open for quite a long time. Thanks.


As a NUS student with stingy and over-controlling parents, I can send my expense report for the month to my parents to view easily

... so that they don’t bother me by asking what I have been spending on all the time.

Feature planned for v2.0

This feature violates the constraints of our application NFR which allows our app to work for a single user only.


Add './src' as a default resolve path

What problem does this feature solve?
As the app grows, managing the dependencies should be as simple and consistent as possible.
With complexity and multiple folders it can be tedious to travers through all the paths using relative references.
import Bar from '../../components/foo/Bar'
// Better
import Bar from 'components/foo/Bar'

This is super simple to do in Webpack.
Currently I create a config file looking like this:
module.exports = {
  chainWebpack: config => {
    config.resolve.modules.add("./src");
  }
};

What does the proposed API look like?
Adding ./src to the default webpack config would make this easier for many people and prevent some errors for some developers as the path can always be used from the actual src folder.

You can already write:
import Bar from '@/components/foo/Bar'

IMHO this is even better because it's more explicit that it's from the source code and note a node_modules package.


Add instructions for using the Web Configurator on KDE

I was trying to access the Web Configurator on my Linux PC but the page kept returning that it took to long to respond. After testing on my laptop I discovered that KDE sees the controller as a Wired Connection, and automatically connects to it when the controller is pluged in while holding START, but when using an already wired connection (like on my main PC), KDE won't automatically connect to the controller embedded web configurator.
The solution is rather simple and takes only around a minute, but someone that stumbles on this same problem might not find why it doesn't work automatically. So, basically:

Connect the controller to your PC while holding START;
Open System Settings > Connections | Alternatively, click on the Networks applet (screen with a cable icon) on the System Tray > click on the Configuration Button on the top-right;
Click the + button;
Click on Wired Ethernet and then on the Create button at the bottom of the window;
Click on the down arrow in Restrict to device;
Choose the one that says enp11s0f3u1 (or something like that, yours could be different), don't choose eno1, that's your primary connection;
Click on the Save button;
Done.

(Optional) On the Wired tab of your main connection (Wired Connection in the list on the left), choose eno1 in the dropdown menu for Restrict to device and click Apply. This way it won't show duplicated entries when you open the Networks applet on the System Tray while having the controller connected in Web Configurator mode.

I run Arch with KDE Plasma (would need to look at specific versions) and I have not experienced this. It is able to be connected to my network via Ethernet and still connect to the WebConfig off of the Pico with no further alterations. They just appear as 2 separate wired connections

I run Arch with KDE Plasma (would need to look at specific versions) and I have not experienced this. It is able to be connected to my network via Ethernet and still connect to the WebConfig off of the Pico with no further alterations. They just appear as 2 separate wired connections

I think that for me doesn't connect automatically since it doesn't detect the Pico as a new standalone connection. I can see the device when I open the applet, but as a duplicate of my main connection and can only have one or the other active at a time, unless I do what I described in the issue.
For reference I'm on Plasma 5.27.4. It could very well have different behavior on another version.

I'm a Linux user who this particular problem doesn't effect either (I don't use KDE Plasma but it shouldn't make a difference since this a networking/network-manager issue). It has also come up in the past in discord and there were some people who this effected and others who it didn't.
There's likely to be some routing weirdness going on with the people who it effected, possible that their local subnet also uses <IP_ADDRESS>/24?

I think that for me it doesn't connect automatically because it doesn't detect the Pico as a new standalone connection. I can see the device when I open the applet, but as a duplicate of my main connection and can only have one or the other active at a time, unless I do what I described in the issue.

@Khrona98 Could run the command ip route from a terminal and post the output in this issue? Run it twice, once with your regular connection active and again with the web configurator connection active.

@Khrona98 Could you run the command ip route from a terminal and post the output in this issue? Run it twice, once with your regular connection active and again with the web configurator connection active.

Pico disconnected:
default via <IP_ADDRESS> dev eno1 proto dhcp src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 dev eno1 proto kernel scope link src <IP_ADDRESS> metric 100

Pico connected (with the configuration I cited in the original post):
default via <IP_ADDRESS> dev eno1 proto dhcp src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 dev eno1 proto kernel scope link src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 dev enp11s0f3u1 proto kernel scope link src <IP_ADDRESS> metric 101

I did find something else too. If I delete the config I did for the Pico in the settings and connect, it shows exactly the same as the first screenshot, but if I Restrict my main connection to en01 and then connect the Pico, it works correctly showing as another connection and connects automatically every time without the workaround I described. It also shows this output:
default via <IP_ADDRESS> dev eno1 proto dhcp src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 dev eno1 proto kernel scope link src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 dev enp11s0f3u1 proto kernel scope link src <IP_ADDRESS> metric 101

This has been added into the documentation - closing


Add RFP-012

Adds RFP-012 spec; already listed on Apply
Updates codeowners to the current RA team
Fixes links for all RFPs in readme

@ebryson2 thanks for the edits! :)


Changing email addresses in 'user accounts' page doesn't synchronize to 'user emails' page

Gitea Version
1.15.6
Git Version
2.34.0
Operating System
Windows Server 2019
How are you running Gitea?
I downloaded 'gitea-1.15.6-gogit-windows-4.0-amd64.exe' from github release page, and  registered gitea as a windows service using:
sc.exe create gitea start= auto binPath= "\"C:\gitea\gitea.exe\" web --config \"C:\gitea\custom\conf\app.ini\""
Then gitea was configured following install page.
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
When I try to change email addresses in 'Site Administration' -> 'User Accounts' page, it did successfully change the email in 'User Accounts' page. But the email addresses in 'Site Administration' -> 'User Emails' page remained the old ones, and didn’t synchronize with the configuration in 'User Accounts' page.
I'm not sure whether it is caused by the same problem mentioned in: https://github.com/go-gitea/gitea/issues/17519
Screenshots

Could you confirm that #17549 also fix this issue?

Could you confirm that #17549 also fix this issue?

Could you confirm that #17549 also fix this issue?

Could you confirm that #17549 also fix this issue?

I'm not sure about whether #17549 could fix this issue. I'm not familiar with Go language.
Besides, I just made a maloperation to close this issue. I have reopened this issue. Sorry for the inconvenience.

This should also be fixed by #17840


How can I get the label data from the web?

I want to use the label to contral otherthings

Could you provide more information?


Mark-Pre-All bug

I believe this issue occurred when implementing undo/redo. I will fix this in v1.4


Highlight and code completion is not working in plugin.kts

Idea version: 2024.2
Highlight and code completion is not working in plugin.kts, but working in live-plugins.kts

same issue for me here except it's not working live-plugins.kts either

Sorry, for the slow reply. I have the same issue :(
It looks like 2024.2 broke many things and I'm slowly fixing them.
Highlight and code completion is the next one.

This should be partially fixed in the plugin version 0.9.0.
Kotlin script has changed the way it's matching script files based on regex and how it's resolving dependencies of the script. All of that is hard to debug unfortunately :(

The highlight and code completion is working, but cannot be compiled anymore...
#186


Add new event, user shared device token

See "Sending user device tokens to Mixpanel" under:
https://mixpanel.com/help/reference/ios-push-notifications
This will let us support push notifications down the line.

Closing because it has been with no activity for a long time.
Please, feel free to reopen or comment this issue, whether it's of your interest or you want to contribute on this.


Consider separating file uploads from publish call

Coupling the publish call with metadata with the file upload raises two issues:

It means a file upload cannot begin until all metadata is provided
It changes the typical signature of API calls to require multipart posts

Instead, the design could be a two part process:

A file upload endpoint that receives files from authenticated users and returns a unique file token.
A publish endpoint that takes a file token in the place of the file_path parameter

This will be addressed in #202


How to distinguish location event from a reply to an ask for location?

I my code I need to ask a location for a specific purpose, so I use the ask plugin with something like :
...
bot.sendMessage(id, 'Please attach your location here!', {ask: 'location'});
...
bot.on('ask.location', msg => { ... } );
...

It works perfectly, however I also have another piece of code that trigger on every 'location' event at the same time of the 'ask.location' event :
bot.on('location', msg => { ... } );

Is there a  way to avoid the last when the location is in reply of a question ('ask.location')? What is your advice?

Explained in TeleBot Community Group.


[CARBONDATA-3195]Added validation for Inverted Index columns and added a test case in case of varchar

This PR is to add a validation for inverted index when inverted index columns are not present in the sort columns they should throw a exception.Also added a test case in case when varchar columns are passed as inverted index.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1922/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2133/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10175/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1926/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2136/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1927/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10180/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2137/

I think you need describe this validation in the ddl-of-carbondata.md of Inverted Index Configuration part

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/1954/

I think you need describe this validation in the ddl-of-carbondata.md of Inverted Index Configuration part

Done!

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10207/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2229/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2258/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2052/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10304/

LGTM

LGTM


[⭐] Coding challenges for web3 challenges

Those web3 hacking challenges that originate from a security flaw in their smart contract implementation, should receive a corresponding coding challenge. This requires:

[ ] Adding the original smart contracts to the codebase so they can be parsed as code snippets (for "Find It" phase)
[ ] Adding 3-4 possible fix options each (for "Fix It" phase)

Adding the original smart contracts might best be done by auto-copying them over from https://github.com/juice-shop/web3-contracts/tree/dev/contracts every time they change there, and also have the vuln-marker comments over there so we do not end with redundant maintenance.

Added copy job https://github.com/juice-shop/web3-contracts/actions/workflows/update-contract-snippets.yml that currently fails due to tokens of @JuiceShopBot not working or wrongly configured.


Using the jsonb column type

This corresponds with changes in CityofSantaMonica/mds-provider-services#12

@thekaveman effects on implementation? / Migration path?

Migration should be straight-forward, see https://github.com/CityofSantaMonica/mds-provider-services/blob/db/db/migrate/0.2.0.sql.
Everything I've been reading says there are only very limited use-cases for using a json column type (e.g. if you absolutely need to preserve whitespace or key order for some reason). jsonb is more performant, it is indexable, and has some interesting query capabilities not available in json. The Postgres JSON Types doc has a pretty good write-up.
There could be a slight performance hit on writing new data, as there is some work done to format text into jsonb.

Thanks. I have to make corresponding changes into aqueduct for migrations, not super hard but good to have reference implementation.


functionality for accessing subspaces of states and operators

i don't see this in the docs for the python qutip package, but it would be very handy to have access to subspaces of quantum objects, c.f. this docs page in QuantumToolbox.jl.
in QuantumCollocation.jl we have constructed an EmbeddedOperator object for handling operators embedded in subspaces. we also frequently call a function a get_subspace_indices to index into the subspace of quantum states -- this functionality does not currently exist in QuantumOptics.jl, where also the tensor product ordering does not match what we (and you) have currently implemented.

For the subspaces stuff, we have a similar function called tensor_contract in python qutip, maybe can add it to QuantumToolbox.jl too.
As for the tensor product ordering, we had a discussion in issue #129.
So far we will follow the tensor ordering to be the same as python qutip, since this is most of the users come from python wanted.


Write a C program to find the trace of a matrix

Description
Write a C program to find the trace of a matrix
The trace of a square matrix is the sum of the elements on the main diagonal (from the upper left to the lower right).
Input  :
1 2 3
4 5 6
7 8 9

Output :
15

How to contribute

Save the solution in program/FindTheTraceOfAMatrix.c file
Add FindTheTraceOfAMatrix.c file in find-the-trace-of-a-matrix folder

!assign


added integration with quarkus TLS registry

This PR brings in integration with Quarkus TLS registry to allow easily register custom certificates etc that should be used by the HttpSink/WebScoektSink part.

How are you doing, my old friend? Thank you for the PR!

doing ok, and thanks for bringing my age to the game ;)

How are you doing, my old friend? Thank you for the PR!

doing ok, and thanks for bringing my age to the game ;)

HAHAHAHAHAHA

@ricardozanini any plans to get it in? and once merged what would be the release ETA?

@mswiderski, I need one more approval for this PR, and then I can merge and release a patch afterward.
@hbelmiro @fjtirado, do you mind taking a look, please?


Use cairosvg<2 for any python<3

Per the CairoSVG change long, support for Python 2 was dropped at
cairosvg==2.0.0.  The last version that supported python2.x was 1.0.22

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Per #22.
@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

It seems the hash check failed when downloading the source from PyPI to the cache? I'm stuck.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Amended the commit, @conda-forge-admin, please rerender.  Let's see if it works.
I couldn't find how to look up the hash on PyPI the way you linked.  It looks like hashin could do it too, but I'm curious where you got that URL.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

All tests seem to be passing, there's just this warning about conda-verify being unavailable:
Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.
WARNING:conda_build.build:Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.
WARNING conda_build.build:bundle_conda(1042): Importing conda-verify failed.  Please be sure to test your packages.  conda install conda-verify to make this message go away.

Is this something optional that we can choose to enable in meta.yml?  If this would run the tests the 1.0.22 tag, keep in mind that the tag doesn't pass it's own tests.
@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi @carlodri, I closed this because of the force pushing and didn't want to blow up your email inbox, there's at least one more problem that should be fixed even though tests are passing, and also have one important question:  CairoSVG has optional dependencies.  I'm not sure if we should include those in the conda dependencies list (to verify it is safe to import them / it is such an old release) or leave them out.  See commits aa7c989 (minimum dependencies) and c8d8e64 (no unused dependencies like defusedxml and pilllow, added all optional dependencies and use the correct versions for 1.0.22).

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Per#24, this ready for review
@conda-forge-admin, please rerender


[web] render error on AppBar with FlexibleSpace and TabBar

Steps to Reproduce

Run flutter create bug.
I mainly followed the TabController example in https://api.flutter.dev/flutter/material/TabController-class.html and added a FlexibleSpace in AppBar. The full code is available here -https://github.com/leekaimun/web_build_error.
The code build successfully and run fine on Chrome, Android emulator, IOS emulator and real Android devices.
Next, build the application for web: flutter build web --profile.
Using a web server to serve out the generated web pages in build/web, the AppBar did not render probably and displayed a javascript error.

Expected results:
Page renders AppBar with the TabBar.
Actual results:
A grey-out box in place of the AppBar. Chrome browser console showed a javascript error:
NoSuchMethodError: method not found: 'get$value' on null

Logs
There are no errors during flutter run.

$ flutter doctor -v
[✓] Flutter (Channel stable, 2.2.0, on Linux, locale en_SG.UTF-8)
    • Flutter version 2.2.0 at /opt/flutter
    • Framework revision b22742018b (2 weeks ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/lawrence/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /usr/local/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /usr/local/android-studio
    • Flutter plugin version 56.0.2
    • Dart plugin version 202.8488
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] Android Studio
    • Android Studio at /home/lawrence/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] VS Code (version 1.56.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.22.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212

• No issues found!

Hi @leekaimun
Thanks for filing the issue,
Reproduced on the web using the following --web-renderers

chrome
canvaskit
html

debug
No issue
No issue

profile
Issue reproduced
Issue reproduced

release
Issue reproduced
Issue reproduced

Reproduced the issue using the following minimal code sample

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flexible Space',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: MyTabbedPage(),
    );
  }
}

class MyTabbedPage extends StatelessWidget {
  static const List<Tab> myTabs = <Tab>[
    Tab(text: 'LEFT'),
    Tab(text: 'RIGHT'),
  ];

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: myTabs.length,
      child: Scaffold(
        appBar: AppBar(
          flexibleSpace: Container(color: Colors.amber),
          bottom: TabBar(tabs: myTabs),
        ),
        body: TabBarView(
          children: myTabs.map((Tab tab) {
            final String label = tab.text!.toLowerCase();
            return Center(
              child: Text(
                'This is the $label tab',
                style: const TextStyle(fontSize: 36),
              ),
            );
          }).toList(),
        ),
      ),
    );
  }
}

AppBar renders fine if you comment flexibleSpace in the AppBar

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flexible Space',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: MyTabbedPage(),
    );
  }
}

class MyTabbedPage extends StatelessWidget {
  static const List<Tab> myTabs = <Tab>[
    Tab(text: 'LEFT'),
    Tab(text: 'RIGHT'),
  ];

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: myTabs.length,
      child: Scaffold(
        appBar: AppBar(
          // flexibleSpace: Container(color: Colors.amber),
          bottom: TabBar(tabs: myTabs),
        ),
        body: TabBarView(
          children: myTabs.map((Tab tab) {
            final String label = tab.text!.toLowerCase();
            return Center(
              child: Text(
                'This is the $label tab',
                style: const TextStyle(fontSize: 36),
              ),
            );
          }).toList(),
        ),
      ),
    );
  }
}

Reproduced on the following channels

stable
master

❌
❌

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale
    en-GB)
    • Flutter version 2.2.1 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 02c026b03c (4 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.77

• No issues found!

[✓] Flutter (Channel master, 2.3.0-17.0.pre.121, on macOS 11.4 20F71 darwin-x64,
    locale en-GB)
    • Flutter version 2.3.0-17.0.pre.121 at
      /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 71e711547f (8 hours ago), 2021-05-30 19:31:03 -0700
    • Engine revision 73fe3dd31c
    • Dart version 2.14.0 (build 2.14.0-165.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.1.1)
    • IntelliJ at /Volumes/Extreme/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.22.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.4 20F71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 91.0.4472.77

• No issues found!

✅ : No Issue ❌: has Issue

May be related: https://github.com/flutter/flutter/issues/78041

I have this same problem in "flutter run --release".
In browser console, I have the mensages:
Installed new service worker;
NoSuchMethodError: method not found: 'gl' on null
and
Another exception was thrown: Instance of 'minified:eO'

I'm not able to reproduce this using the code from https://github.com/leekaimun/web_build_error. I built using flutter build web --profile then used python -m SimpleHTTPServer to server the build/web directory.
Did I miss some step?


🌱 update to cluster API v1.7.4

this commit updates CAPH to latest release of cluster API which is v1.7.4
// cc @janiskemper (kubeadm v1beta4 types https://github.com/kubernetes-sigs/cluster-api/pull/10771)

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squash commits
[ ] include documentation
[ ] add unit tests

@kranurag7 do we have to do something about this? https://github.com/kubernetes-sigs/cluster-api/pull/10771

@kranurag7 do we have to do something about this? kubernetes-sigs/cluster-api#10771

Not immediately for sure but still I wanted to bring this to attention. This page is a good reference for looking into what's new in v1beta4 API.
Ref: https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/
CAPI supports it starting v1.7.4 so we can use more secure EncryptionAlgorithm (I remember a scanner was flagging this out at runtime). This is the one that's coming top of my head.


Do I need to create a map and location application?

Hi, a friend has asked me to help develop a mapping application. I have managed to install and display a map of my region with Mapsui 2.0. My question is this:
Do I need to show the location with the GPS and update the route as the user moves? Is Mapsui sufficient for this or do I need something else? Thank you.

Which platform is the application targeting? For me, I'm using Xamarin.Forms on  mobile and the MyLocation layer sort of does all I need. But if you use a desktop platform, you will need to feed the GPS info in to the engine to make it work I think.

Thank you. I'm using Xamarin.Forms on mobile too.

Xamarin.Forms supports this. It this functionality is not sufficient you could create some functionality like this yourself. Perhaps using Mapsui's code as a basis.


Analog information decoding

Description
WIP.
This PR integrates the newest analog information decoding scripts.
Checklist:

[x] The pull request only contains commits that are related to it.
[ ] I have added appropriate tests and documentation.
[ ] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.

disabling numba due to https://github.com/vc1492a/PyNomaly/issues/32


Use Crowdin action for translation sync

Switch from the old self-built action to the official one.
We get:

config managed inside the repo
automatic upload when source file changes
automatic invalidation if source string changes (tested)
automatic download of new translation files

Tested both upload and download.

Seems to work: https://github.com/go-gitea/gitea/commit/bcf3be3a6c2794f7a3841f9d110b14be29327e1a https://github.com/go-gitea/gitea/commit/7eb3ab076549f83fadf4034f77e7794e785725fa.

@silverwind In terms of pull interval, there's nothing different - we just had a manually scheduled test run earlier yesterday to check if it works, otherwise this would have been one commit :)

Ok, then the second commit really was a day's content.


mini.sessions Issue with restoring Neo-Tree

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.sessions
Description
When Saving and Restoring a Session with Neo-Tree open, an Empty Buffer gets restored. This buffer also isn't recognized as Neotree as running :Neotree toggle, open another Neo-tree Instance.
Neovim version
0.9.5
Steps to reproduce

Install mini.sessions and neo-tree
require('mini.sessions').write('testing')
restart neovim
require('mini.sessions').read('testing')

Expected behavior
The best option would be to properly restore Neo-tree to how it was. If this isn't possible, allowing the exclusion of certain buffer types from the Session might works as a workaround. I personally don't need Neo-Tree to be restored with the Session. This can be done with the existing hooks in the settings. But this means that Neo-Tree will always be closed when loading or saving a Session.
Wether properly saving and loading neo-tree status is in scope of this project, is another question.

Thanks for the suggestion!
'mini.sessions' is built to rely on built-in mksession. This type of behavior is aligned with how it operates. I am not sure about 100% accuracy here, but built-in sessions seem to work reliably only for windows currently displaying normal buffers.
For customizing that behavior there are indeed hooks. As a more drastic but filetype agnostic measure, I'd suggest closing all windows which at the moment of writing contain non-normal buffer. With something like this:
local close_non_normal_windows = function()
  for _, win_id in ipairs(vim.api.nvim_list_wins()) do
    local buf_id = vim.api.nvim_win_get_buf(win_id)
    if vim.bo[buf_id].buftype ~= '' then vim.api.nvim_win_close(win_id, true) end
  end
end
require('mini.sessions').setup({ hooks = { pre = { write = close_non_normal_windows } } })

Closing as not planned.

I ran into this as well and used the hook workaround at first. Then I found out that I could also adjust the session options not to save blank buffers:
-- don't save blank buffers to sessions (like neo-tree, trouble etc.)
vim.opt.sessionoptions:remove('blank')

It doesn't restore Neo-Tree on session read, but it does prevent blank windows.


[Android] TextField & TextFormField External keyboard number pad enter key is not trigger onSubmitted & onFieldSubmitted

Steps to reproduce

Connect wireless keyboard with number pad
Focus TextField or TextFormField
Press Enter key in the Number pad

`class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text(widget.title),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              TextField(
                onSubmitted: (value) {
                  ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
                      content: Text('TextField onSubmitted called')));
                },
              ),
              TextFormField(
                onFieldSubmitted: (value) {
                  ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
                      content: Text('TextFormField onFieldSubmitted called')));
                },
              )
            ],
          ),
        ));
  }
}`

Actual results
Did not show snackbar bcoz onSubmitted or onFieldSubmitted did not trigger
Logs
No response
Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.23.0-0.1.pre, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.91.1)
[✓] Connected device (3 available)
[✓] Network resources

i tested with google keep notes app, the number keypad enter key is working in the same mobile.

This issue only with number pad enter key, the backspace under enter key is working fine.

@selvam920
I tried using latest stable and running the code on pixel emulator, connected wireless keyboard and the snackbar is shown properly indicating the methods are being called as exepected.
https://github.com/user-attachments/assets/5468d9a6-26a4-4d73-ac07-4e63970a4337
You should try on latest beta / master or stable.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.91.1)
[✓] Connected device (3 available)
[✓] Network resources
checked with stable version, still issue exist.
please check with real phone & keyboard

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.24.0-1.0.pre.247, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.91.1)
[✓] Connected device (3 available)
[✓] Network resources
In master branch also having same issue

please check with real phone & keyboard

I used real hardware keyboard (magic keyboard) running on mac. Also verified on Android Samsung S10+ device in which I get expected behavior as below:
https://github.com/user-attachments/assets/51af8046-420d-45d3-b1e9-c257b4d1f955

Can you check with Logitech wireless keyboard?
Is your magic keyboard has number keypad?

Is your magic keyboard has number keypad?

Yes.

Can you check with Logitech wireless keyboard?

We don't have this keyboard, but checked with another generic keyboard with which it works as expected. Can you check if it only occurs on Android or on desktop and web as well ?

This issue only with android platform
I think you can check with any keyboard(wired or wireless) with number pad on right side

What is model of the dell wireless keyboard?

did you check Enter Key in the right side below plus button?

did you check Enter Key in the right side below plus button?

Yes.
Can you check with another keyboard?

tested with

Portronics POR 2207 Bluetooth Multi-device Keyboard
logitech k270 wireless keyboard
It's not working

Is there any short-cut key or any macro configured with these keyboards which could be conflicting with the enter key ?
Maybe it could be a fault with those keyboards itself ? See https://www.reddit.com/r/LogitechG/comments/ln3x2i/logitech_g910_enter_key_not_working_properly/

The same numpad enter key is working with other app.
Also when I press enter the focus lost from the textbox but did not the onSubmitted call

Closing as duplicate of https://github.com/flutter/flutter/issues/147138.
Not sure why you closed that issue and filed this. I will reopen it, as it was already triaged and prioritized.


fix a window size for cypress tests of survey components

Currently window sizes are not fixed, leading to screenshots having small diffs each time they are re-rendered. If we fix a specific screen size (probably a default, and then modify it for each test?) then we might have fewer diffs

Here's the cypress command to set the viewport size: https://docs.cypress.io/api/commands/viewport
I'll let you figure out what the right size should be.

closed in https://github.com/Watts-Lab/surveys/pull/156


Passing an object into data property causes an error.

Hi all,
According to the docs you are able to pass in an object directly into the data attribute, each time I try I seem to get the error:
Warning: undefined is not a function...
Snippet:
data: {
    test: {
        foo: 'bar'
    }
}

Whilst usually I would just pass in a data file in, I have a very specific case in which I need to pass in an object on this occasion.
Any help would be much appreciated...

Hi @gearboxdesign, which version of grunt-assemble are you using?

also, is that data object in a json file? or is it in the grunt config? if it's in a file, what is the name of the file? If you're using it in data.json, then you might be loading that object onto data.data.test etc...

Hi guys thanks for the responses, I am currently using 0.4.0, it is in the grunt config, ok so a more complete example, do let me know if I'm going about this a ridiculous way!
So I need to generate a series of index pages which contain links to each files / directories which sit underneath them in a site structure, essentially exactly what a standard server generated index would do.
So I have already written something which, once the initial assemble process has ran to create the static site, scans the output directly creating a tree of paths, so now I recursively run through the tree creating a assemble subtask on the fly in which I want to pass a very specific data object, i.e. the current tree object which pertains to that index... i.e.
'use strict';

var getDirs = require('./getDirs.js'),
	path = require('path'),
	_ = require('lodash');

module.exports = function(grunt) {

	grunt.registerMultiTask('indexer', '.', function() {

		var options = this.options({
			baseDir: null,
			assembleOptions: null
		});

		if(!this.files.length) {
			grunt.log.warn('No files found.');
		}

		this.files.map(function (file) {
			return getDirs(file.src, options);
		}).forEach(_.partial(writeFiles, options));
	});

	function writeFiles (options, content) {

		if (content.paths) {

			grunt.config.set('assemble.indexer-' + content.id, {
				options: _.extend({
					data: content
				}, options.assembleOptions),
				src: options.template,
				dest: path.join(options.baseDir, content.url, 'index.html')
			});

			grunt.task.run('assemble:indexer-' + content.id);

			content.paths.forEach(_.partial(writeFiles, options));
		}
	}
};

I do wonder a little if all this is necessary, but I was unable to achieve what I wanted with the pages option i.e. gathering a nested structure without extraneous use of helpers, for the above you can assume content.id is a unique id for the task.
the content argument is an object, but even if I try something simple in its place such as an empty object literal or one with test properties such as foo:'bar' I get the same error.
For reference the original default assemble config options are:
options: {
	deploy: grunt.option('deploy'),
	layoutdir: '<%= project.dirs.views.layouts %>',
	partials: [
		'<%= project.dirs.views.elements %>/**/*.hbs',
		'<%= project.dirs.views.components %>/**/*.hbs'
	]),
	helpers: ['handlebars-helpers'],
	data: '<%= project.dirs.views.data %>/**/*.json'
}

Thanks...

Digging a little deeper it would seem that lib/assemble.js line 43 forces any data passed into an array which by the time it reaches tasks/assemble.js line 55 it is assumed the contents are file globs and passing the object through file.expand seems to cause the error... am I trying to do something it simply can't do here?

I ran into the same problem.
@jonschlinkert, I think the problem is that we were both using version 0.4.0 (the latest version on npm), where this feature was added only in v0.4.14:

v0.4.14:
date: "2013-10-21"
changes:
- Adds support for plugins running once, before and after (thanks @adjohnson916).
- Adds pagination!
- Thanks to @xzyfer, options.data can now also directly accept an object of data.

See https://github.com/assemble/grunt-assemble/blob/master/CHANGELOG#L28

Oh, so 0.4.41 refers to a release of the original assemble library, right? I'm confused 😕

The changelog is wrong. this library is grunt-assemble. if you do npm install grunt-assemble, that will give you the latest version.

Thanks for clearing that up

no prob sorry for the confusion


Organize XSLT based on scenario

We should organize our XSLT based on scenarios. This will mean have a primary XSLT (the existing one) and import the scenarios. Tentative scenarios:
-- metadataFix.xsl - where we inventory and add metadata to fix issues in the production metadata. This fix is temporary until it is fixed in the metadata.
-- toolingFix.xsl - where we inventory and alter metadata that works around issues in our generation tools. This fix is temporary until we fix the tools.
-- apiWorkaround.xsl - where we inventory and alter metadata that works around OData non-conformance.
https://github.com/microsoftgraph/msgraph-metadata/pull/33

@irvinesunday please propose your scenario here

PermissionsAnnotations.xsl - Where we add MS Graph permissions info. mapping to request endpoints, aka permissions annotations.

For additive scenarios, like adding permissions, let's make this a CSDL file instead of XSLT and just include that in the XSLT.


Ability to Attach APM Profiles to Service_TCP Virtual Servers

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
This appears to be supported from the F5 GUI. Allow us to attach APM profiles with profileAccess to Service_TCP Virtual Servers.
Describe alternatives you've considered
Could use Service_HTTP/S
Additional context
Add any other context or screenshots about the feature request here.

How do you get this apply in the GUI?  APM Requires HTTP enabled VIPs.  Under 15.1.2 the GUI displays a JavaScript pop-up warning of this condition.


Software fallback when rules cannot be pushed to hardware

When some switch/coil/rule combination is not possible in hardware raise an RuleNotPossibleError
Provide a software implementation as fallback

Useful for OPP or when mixing different platforms

will not fix


shift lock for long all-caps words

This app had a shift lock for capital words. it's quite tedious to press shift + letter to output capital words like README.md, etc.

Yeah, there should be an option in the keyboard settings to enable/disable shift lock. 😊

Long pressing the shift key will lock it, like in most keyboards. I removed the option in the settings when I added this feature since it's more intuitive.


Maximum line-length

Related to #74. I'd imagine it wrapping comments over the max line-length.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Im not interested in comments, but a max line length for selectors would be great.
I cant seem to find any solution or open issue regarding a long list of selectors which exceeds a maximum line length and should IMO be split across multiple lines.


Page Faul on Unmapped Page

Expanding cons area by 1000000
page fault on unmapped page 208001BFFF30 in thread #<4E46B9>
2000016FFFD0 4ECA69
2000016FFFF0 3C96F7

Happens when write-string is defined like this:
(defun write-string (string &optional (stream standard-output) &key (start 0) end)
(let ((s (frob-output-stream stream)))
(sys.gray:stream-write-string s string start end)))

Looks like it was a stack overflow, which wasn't handled very gracefully.


feat(headers): add Warning header

Implements Warning header from RFC7234
Closes #883

Looks excellent! Thanks!


Start upload on submit ?

Hello,
Thanks for your plug.
I read https://github.com/danialfarid/angular-file-upload/issues/61 but I don't understand your explanation and don't see related issue in readMe. I tried many things but it seems var file can't be null or empty.
May I ask you to give few lines of code to illustrate your answer ?
Thanks again.

FWIW: I received this error when running jasmine specs via karma setting an expectation on what Upload.upload() should receive.
The cause:
$scope.files = ['Im a pretend file for specs'];

The fix:
var testFile = new Blob(['Im a pretend file for specs']);
$scope.files = [testFile];


Add LIKE operator

We need to add support for LIKE in order to support the Tiramisu workload. We already have some string functions support. We will want to support both the "match any single character" operator (.) and "match multiple characters" operator (%).
This task has two parts:

Add a new function StringFunctions::Like to our utility class. You will want to also add test cases in StringFunctionsTests (which actually doesn't exist).

Add support for the LIKE operator in the parser. I think that @MattPerron wrote documentation for how to do this but I forgot where it is. I think that same logic for the EXTRACT function should work here. I might just work automatically. Be sure to write new SQL test cases for this once you have it working.

I will clean up StringFunctions and move it into its own .cpp file now so that it matches our new DateFunctions organization.

@bilisun I will write StringFunctionsTest tonight and merge it into the master branch for you. You can then add the LIKE operator code.

You should add a new Like function it to the StringFunctions utility class:
https://github.com/cmu-db/peloton/blob/master/src/include/expression/string_functions.h
Then I think you just need to update ComparisonExpression::Evaluate() to handle ExpressionType::COMPARE_LIKE:
https://github.com/cmu-db/peloton/blob/master/src/include/expression/comparison_expression.h#L43
From what I can tell in the parser code, it is already handling the LIKE operator so it should just work:
https://github.com/cmu-db/peloton/blob/master/src/parser/sql_parser.y#L759
You'll want to also add a test function in StringFunctionsTests
https://github.com/cmu-db/peloton/blob/master/test/expression/string_functions_test.cpp


[GH-814] End-to-end test for AOU processing

Purpose

https://broadinstitute.atlassian.net/browse/GH-814
Changes
Add an end-to-end test that sends a message to the dev JMS queue and then checks that:

Files in the message were uploaded to the arrays input bucket
An arrays workflow was started by WFL
The workflow succeeded in Cromwell

Review Instructions

~Depends on https://github.com/broadinstitute/push-to-cloud-service/pull/24 being merged & deployed so that PTC uploads to the aou input bucket.~ This is complete
To run this test, get on the Broad VPN and run: clojure -A:test e2e
TODO:

[x]  Use a test message that references real arrays testing data
[x] Replace queue-message-placeholder with queue function after PTC is updated

(Testing this on-prem is blocked by #24)

Thanks for the reviews everyone! :octocat:


optimize seek write-cf

Please add tests.

test case test_write_imp of txn logic has already cover the function of seek_write_impl. @ngaut

the main optimization is using prefix seek instead of total order seek which is already enabled before this pull : (
but replacing upper bound with prefix bound simply the seek logic.

LGTM

LGTM.


Linux: Add Git kernel package

This one is intended for development purposes

Seems like the build breaks on ARM @temerkhanov

Also @temerkhanov -- I'm still not clear as to why we need this package long term. There's absolutely no way we will be taking kernel source from random github repos for production builds. The kernel has to come from upstream and we have to know exactly what kind of patches we add on top of it.

It has only been tested on x86 - this branch is mostly for debugging/testing.

Sometimes we just need to produce custom test builds, so this one might be a start point

It has only been tested on x86 - this branch is mostly for debugging/testing.

Well, that's my point -- we need to disable this package in the default make pkgs path (b/c we can't have build failures on ARM). But if we do, I'm not sure how is this different from you simply having this package in your own repo and using it as needed?
IOW, once you're comfortable with the set of patches that need to go on top of 5.10 (btw forget about 5.4) -- those patches will have to be submitted to pkg/new-kernel (btw I'm going to rename it to pkg/kernel to avoid confusion with 5.4 soon).

BTW, we might want to maintain our own kernel git repo and adapt this one to be our pkg/kernel  eventually.

honestly, I really don't think this could be merged as-is. It is fine for it to sit in a storage branch, but not in master

Re-targeted this one to the "storage" branch as it is the one where all the experimental code goes


Fatal error when installing do_sqlite3

Trying to deploy to Heroku, when Bundler runs I get this:
Using dm-validations (1.2.0)
Using datamapper (1.2.0)
Using dm-do-adapter (1.2.0)
Installing do_sqlite3 (0.10.6) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
/usr/local/lib/ruby/1.9.1/rubygems/installer.rb:483:in rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)        /usr/local/bin/ruby extconf.rb        checking for sqlite3.h... no        *** extconf.rb failed ***        Could not create Makefile due to some reason, probably lack of        necessary libraries and/or headers.  Check the mkmf.log file for more        details.  You may need configuration options.        Provided configuration options:        --with-opt-dir        --without-opt-dir        --with-opt-include        --without-opt-include=${opt-dir}/include        --with-opt-lib        --without-opt-lib=${opt-dir}/lib        --with-make-prog        --without-make-prog        --srcdir=.        --curdir        --ruby=/usr/local/bin/ruby        --with-sqlite3-dir        --without-sqlite3-dir        --with-sqlite3-include        --without-sqlite3-include=${sqlite3-dir}/include        --with-sqlite3-lib        --without-sqlite3-lib=${sqlite3-dir}/lib        Gem files will remain installed in /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/do_sqlite3-0.10.6 for inspection.        Results logged to /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/do_sqlite3-0.10.6/ext/do_sqlite3/gem_make.out        from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:486:in block in build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in each'        from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:446:in build_extensions'
from /usr/local/lib/ruby/1.9.1/rubygems/installer.rb:198:in install'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/source.rb:90:in block in install'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:78:in preserve_paths'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/source.rb:89:in install'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:73:in block in install_gem_from_spec'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/rubygems_integration.rb:93:in with_build_args'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:72:in install_gem_from_spec'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:56:in block in run'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:55:in run'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/installer.rb:12:in install'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/cli.rb:219:in install'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/task.rb:22:in run'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor.rb:263:in dispatch'
from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/lib/bundler/vendor/thor/base.rb:386:in start'        from /tmp/build_fvuhfbo90gc7/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc/bin/bundle:13:in <top (required)>'
from vendor/bundle/ruby/1.9.1/bin/bundle:19:in load'        from vendor/bundle/ruby/1.9.1/bin/bundle:19:in '
!
!     Failed to install gems via Bundler.
!
!     Heroku push rejected, failed to compile Ruby app

Please ask heroku for help with heroku.
Please read ISSUES, which has troubleshooting steps if a gem will not compile.
Please read the error, which explains that you are trying to install the sqlite3 gem without the sqlite3 library installed.

Thanks!


Want --json output for forget.

Output of restic version
restic 0.11.0 compiled with go1.15.3 on windows/amd64
What should restic do differently? Which functionality do you think we should add?
output of forget should have an option for --json
repository a3aca485 opened successfully, password is correct
[0:00] 100.00%  1 / 1 files deleted
What are you trying to do? What problem would this solve?
Trying to hook up stdout to a restic GUI I'm making.
Forget is pretty quick for most I assume, but for bigger
repos, It would be nice to give some feedback to the user.
There is already a percentage and a file count. Just need it to
be json so I can stream stdout the results.
Did restic help you today? Did it make you happy in any way?
restic always impresses me. I'm just trying to make it more user friendly for the masses.
I'm currently making an electron app. I know everyone hates electron but I see it's the only way to
be platform agnostic.

forget should already support the --jsonoption.
Can you please give an example of a forget --json run: What output do you acutally get and what you want to get?

Indeed, forget --json already works. Why do you think it doesn't? :)

I get no output using --json. It's just blank. Where if I leave off --json. I get some stdout. It's not like a big deal or anything, I have it displaying the summary as an alert.

Hm, can you show us what's printed on stdout? If nothing is forgotten, then restic won't print any json output...

I'm seeing no output on restic forget --json, output shown below:
$ ./restic snapshots -r ~/test_repo
repository a0989999 opened successfully, password is correct
ID        Time                 Host        Tags        Paths
------------------------------------------------------------------------------
75e03da4  2020-11-25 22:44:28  monolith                /home/$USER/Videos

5224a5e0  2020-11-25 22:44:56  monolith                /home/$USER/Pictures

c1983770  2020-11-25 22:46:11  monolith                /home/$USER/Videos

b80b8e20  2020-11-25 23:40:50  monolith                /home/$USER/Videos

955cad15  2020-11-25 23:40:55  monolith                /home/$USER/Videoss
------------------------------------------------------------------------------
5 snapshots
$ ./restic forget --json -r ~/test_repo 955cad15 | jq
$ ./restic snapshots -r ~/test_repo
repository a0989999 opened successfully, password is correct
ID        Time                 Host        Tags        Paths
------------------------------------------------------------------------------
75e03da4  2020-11-25 22:44:28  monolith                /home/$USER/Videos

5224a5e0  2020-11-25 22:44:56  monolith                /home/$USER/Pictures

c1983770  2020-11-25 22:46:11  monolith                /home/$USER/Videos

b80b8e20  2020-11-25 23:40:50  monolith                /home/$USER/Videos
------------------------------------------------------------------------------
4 snapshots

This is an example of normal output for the forget command:
$ ./restic forget  -r ~/test_repo d332874a
repository a0989999 opened successfully, password is correct
[0:00] 100.00%  1 / 1 files deleted

Ah, I guess to point is the direct given snapshot id.
restic forget --json gives the table with snapshots to delete/keep and the reasons for it - as does the command without --json.
If you give the ids to forget directly, restic forget simply removes the snapshots. Without json you also don't so that table but only the verbosity of the deletion process...

I am missing in the json output for forget the id's in the snapshots within  reasons.
For me it would be enough, when here only the id's would be included as a reference to keep.
I made for this requirement a local change and could push the change if wanted.


Just added a few algorithms (of the operations)in Stack section and it's implementation altogether.

I somehow had changed the commit message under the Sorting file too and so had to make a few minor changes to restore it again.

Great , But refactor your code there are bunch of repetitive statements and functions in implementation file
Check out my code here  you can do like this .

Rename Implement Stack to StacksWithoutSTL better to relate with the file name.

Rename  Operations Algo to Stack Operations

Rest everything is okay
After this requested changes i m good to go with the merge .

Made the desired changes, in case of any further improvement, suggestions or guidance will be appreciated.

👍

@all-contributors please add @rutujaingole  code

@all-contributors please add @rutujaingole  code


Fixed bug if callback not set

If callback not set there is an error because missing check if callback set.
Fixed with adding small check if "callback" is function.
P.S. Going to make more pull requests today.

Thanks!


🐛 Bug: Two release comment in PRs

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Expected
Single release comment in PR using https://github.com/apexskier/github-release-commenter like this https://github.com/apexskier/github-release-commenter/pull/179#issuecomment-846418924
Actual
Two release comment in PR https://github.com/JoshuaKGoldberg/template-typescript-node-package/pull/519#issuecomment-1589852554 & https://github.com/JoshuaKGoldberg/template-typescript-node-package/pull/519#issuecomment-1589852453
Additional Info
https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/7793c61cf363a689c0e902159483e8e2252cf6bd/.github/workflows/post-release.yml#L24-L28
I think the issue is because of having two invocations

on github release published
on github action post-release workflow dispatch

So, removing this line here https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/7793c61cf363a689c0e902159483e8e2252cf6bd/.github/workflows/release.yml#L38 or here https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/7793c61cf363a689c0e902159483e8e2252cf6bd/.github/workflows/post-release.yml#L25-L27 should fix the issue IMO.
Context: https://github.com/apexskier/github-release-commenter/issues/433

Oh! Thank you, that makes a lot of sense 😄. I'll try it out now & mark you as a co-author.

Nice, you were right! Thanks!


initial logger

Functionality

Logs interactions with AutoProfiler
Saves the interactions to the notebook metadata every 5 seconds

TBD on if we want to merge this in, or only merge it in for a specific version for evaluation

Currently tracking the following events:

UI.ColumnToggleOpen
UI.ColumnToggleClose
UI.ColumnHover
UI.ToggleDFOpen
UI.ToggleDFClose
ProfileModel.connectNotebook
ProfileModel.kernelRestarted
ProfileModel.updateData

Can add setting to let people turn it on, or set it through code and have off by default

Added settings menu with option for turning logs on or off.


Attribute not created when added in an already existing model

Impacted version
jarvis4se version: 1.1.3
Describe the bug
Taking an already existing model without an attribute.
When creating an new attribute, Jarvis indicates that it is created without any errors. But the xml is not containing it.
When trying to assign it a value, Jarvis does nothing without showing an error.
To Reproduce
Assuming that test is a model containing a single function F1
Execute the followings commands:
%%jarvis
with test
a is an attribute

Jarvis indicates:
test.xml parsed
a is an attribute (added)
test.xml updated
%%jarvis
with test
The a of F1 is "toto"

Jarvis indicates:
test.xml parsed
Expected behavior
Jarvis must create the attribute in the xml file
Desktop (please complete the following information):

Browser: Chrome
Browser version: 100.0.4896.75
Java: JRE
Java version: 1.8.0_291

A workaround for this :

Delete existing .xml file
Rerun your notebook(restart kernel + run all cells) with the new Jarvis version

This is due to the fact that at the root of the xml :  has been added in 1.1.3. and wasn't there before. So in your .xml made from previous version jarvis cannot find this tag.


Better support for OIDC4VP

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

Hi!
In the OIDC4VP specs, the presentation_submission object is either in the id_token or in the vp_token itself. If I want to evaluate a VP using @sphereon/pex, I have to preprocess the verifiablePresentation param of the evaluatePresentation function. IMHO, it would be better to provide 2 separate params: 1 for presentation_submission, the other for verifiablePresentation. But this not my main request.
Right now, the evaluatePresentation requires the second param (verifiablePresentation) to be an IPresentation. How am I supposed to pass a JWT VP then? In my case, I would have a presentation_submission like:
        "presentation_submission": {
            "id": "Selective disclosure example presentation",
            "definition_id": "Selective disclosure example",
            "descriptor_map": [
                {
                    "id": "Ontario Health Insurance Plan",
                    "format": "jwt_vp",
                    "path": "$.presentation",
                    "path_nested": {
                        "format": "jwt_vc",
                        "path": "$.presentation.vp.verifiableCredential[0]"
                    }
                }
            ]
        }

And pass a verifiablePresentation object like this:
{
    "presentation":
        "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImRpZDpleGFtcGxlOmFiZmUxM2Y3MTIxMjA0
        MzFjMjc2ZTEyZWNhYiNrZXlzLTEifQ.eyJzdWIiOiJkaWQ6ZXhhbXBsZTplYmZlYjFmNzEyZWJjNmYxY
        zI3NmUxMmVjMjEiLCJqdGkiOiJodHRwOi8vZXhhbXBsZS5lZHUvY3JlZGVudGlhbHMvMzczMiIsImlzc
        yI6Imh0dHBzOi8vZXhhbXBsZS5jb20va2V5cy9mb28uandrIiwibmJmIjoxNTQxNDkzNzI0LCJpYXQiO
        jE1NDE0OTM3MjQsImV4cCI6MTU3MzAyOTcyMywibm9uY2UiOiI2NjAhNjM0NUZTZXIiLCJ2YyI6eyJAY
        29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSIsImh0dHBzOi8vd
        3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL2V4YW1wbGVzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZ
        UNyZWRlbnRpYWwiLCJVbml2ZXJzaXR5RGVncmVlQ3JlZGVudGlhbCJdLCJjcmVkZW50aWFsU3ViamVjd
        CI6eyJkZWdyZWUiOnsidHlwZSI6IkJhY2hlbG9yRGVncmVlIiwibmFtZSI6IjxzcGFuIGxhbmc9J2ZyL
        UNBJz5CYWNjYWxhdXLDqWF0IGVuIG11c2lxdWVzIG51bcOpcmlxdWVzPC9zcGFuPiJ9fX19.KLJo5GAy
        BND3LDTn9H7FQokEsUEi8jKwXhGvoN3JtRa51xrNDgXDb0cq1UTYB-rK4Ft9YVmR1NI_ZOF8oGc_7wAp
        8PHbF2HaWodQIoOBxxT-4WNqAxft7ET6lkH-4S6Ux3rSGAmczMohEEf8eCeN-jC8WekdPl6zKZQj0YPB
        1rx6X0-xlFBs7cl6Wt8rfBP_tZ9YgVWrQmUWypSioc0MUyiphmyEbLZagTyPlUyflGlEdqrZAv6eSe6R
        txJy6M1-lD7a5HTzanYTWBPAUHDZGyGKXdJw-W_x0IWChBzI8t3kpG253fg6V3tPgHeKXE94fz_QpYfg
        --7kLsyBAfQGbg"
}

In other terms, the evaluatePresentation should not make any assumption about the shape of the verfiablePresentation. It should only process it based on the information given by the new presentationSubmission param.
Or maybe I've missed some features of this lib. If it can already process JWT VP properly, please show me how. :)
Thanks!

Hi Yannick and thanks for contacting us.
We will look into it and implement the support for it as soon as possible. In the mean time you can decode the JWT which should be acceptable as an ICredential.

Hi @sksadjad, thanks for your feedback.
I also realise that the the lib doesn't support VC JWT either. So I have to fully decode both the JWT VP and each of the JWT VCs. I was hoping that @sphereon/pex would do it out of the box.

Hi Yannick,
That is correct. Unfortunately we are lacking a bit on the JWT side of things. It is something we will be fixing soon and should be part of the next minor release (1.1.x).
I also agree with the separation of the VP and the submission BTW

Thanks @nklomp, I'll keep an eye on the future releases :)

@yhuard V2 is just released, which was long overdue. It has better support for OID4VP.
You can now have separate presentation submissions, but also supply Formats and DID methods to filter against, outside of what is in the definition. Handy for when a RP lists these in it's registration/discovery metadata.

Excellent, thank you @nklomp 👍 I will check it on Tuesday 😃


APC Admin GUI

ISSUE TYPE

Feature request

SUMMARY

Add an admin GUI for APC (APCu) cache system like PHP Memcache Admin.
Data are refreshed in live time !
Goal

Add ability to live monitor data in APC(u) cache.
I propose to include the vendor https://github.com/jithinjose2/APC-Admin
We have to adjust a little to be compatible APC/APCu (because the project was not updated since a long time).

Download ZIP from project page at https://github.com/jithinjose2/APC-Admin/archive/master.zip

Unzip content in Devilbox folder .devilbox/www/htdocs/vendor/

Modify the .devilbox/www/include/Html.php around line 111 to add entry in Tools Menu
	array(
		'name' => 'APC cache GUI',
		'path' => '/vendor/APC-Admin-master/index.php',
		'target' => '_blank'
	),

Use optional config apc.conf.php file as APC polyfill (included in init.php file)

// apc.conf.php
// APC polyfill.
if (function_exists('apcu_add') && !function_exists('apc_add')) {
	function apc_cache_info() {
		return call_user_func_array('apcu_cache_info', func_get_args());
	}

	function apc_clear_cache() {
		return call_user_func_array('apcu_clear_cache', func_get_args());
	}

	function apc_sma_info() {
		return call_user_func_array('apcu_sma_info', func_get_args());
	}

	function apc_delete() {
		return call_user_func_array('apcu_delete', func_get_args());
	}

	function apc_store() {
		return call_user_func_array('apcu_store', func_get_args());
	}

	class APCIterator extends APCUIterator {}
}

Some Screenshots

@llaville I have got this working as per your instructions and tried this. I dind't find any valuable information in the Gui though. Any hints on why this is desired or what you'd do with that?

@cytopia The APC Admin GUI is no more maintained, and after using it in real application context usage, I don't see, me too, any valuable information.
I realized that this feature is a bit obsolete, because PHP echo system used more Redis or Memcache as Cache Backend.
Symfony projects used also APCu Backend for PHPDoc annotations, but Symfony Profiler is more efficiency that this APC Admin GUI.
I think we could close this report !

Closing in favour of: https://github.com/cytopia/devilbox/issues/654


[Model Update]: PartsAnalysis use new shared semantic model

Update Reason
Use/integrate new shared quality model for common properties.
Affects: PartsAnalysis:3.0.0
MS1 Criteria

[x] The model that should be updated exists
[x] The referenced use case exists
[x] The potential updates are discussed with all stakeholders
[ ] A decision on versioning was made in consensus with the affected parties according to the guidelines.
[x] The potential update will be either

[x] backward compatible or
[ ] a (chain of) migration strategy(-ies) from all non-deprecated previous versions to the new model will be developed

[ ] A modeling steward has been assigned

#794


Implement N-1 support policy for Go versions

Follow up to https://github.com/jaegertracing/jaeger/issues/4329.

[ ] implement a linter check scripts/check-go-version.sh that verifies that all our build scripts are using the same Go version N, but go.mod is N-1. This includes GH actions, Alpine images, etc.
[ ] implement a convenience script scripts/update-go-version.sh that updates those scripts to another version, to make these upgrades easier in the future (see #4652 for reference). It should also bump go.mod to N-1.
[ ] add a section to README (similar to Version Compatibility Guarantees) explaining the policy. For reference: https://github.com/open-telemetry/opentelemetry-collector#compatibility

Since Go 1.21 is out, this is an opportunity to test this new process.

Hi @yurishkuro ,
in task 1 : "verifies that all our build scripts are using the same Go version N"
1.how do i find those build scripts from such large code base ?
2.Are these {build scripts} present in "script" folder as ".sh" files?

hey @yurishkuro what is the estimated/expected time limit if any for these issues to get resolved/implemented?

Hey @yurishkuro as I was trying to setup the project I encountered this issue

I have already tried removing the go.sum and then regenerated it using go mod tidy but still if gave me the same error. I am new to contributing and stuff, can you suggest me what should I do next ?

Hey @yurishkuro as I was trying to setup the project I encountered this issue  I have already tried removing the go.sum and then regenerated it using go mod tidy but still if gave me the same error. I am new to contributing and stuff, can you suggest me what should I do next ?

Continuing this, I faced issue in running make lint because<EMAIL_ADDRESS>was not able to install correctly. When I installed its updated version  go install<EMAIL_ADDRESS>everything seems to work fine now. Should the version be changed to 1.54.1 ?

Should the version be changed to 1.54.1 ?

If we upgrade golangci-lint, we'll be subject to the problem described in: https://github.com/golangci/golangci-lint/issues/3906, where a large number of depguard lint errors appear.
We'll need to understand why those linting errors are appearing and what actions need to be taken to address them, or if it's better to stick with the current version until that problem is ironed out in a later version.
FWIW, I didn't have any issues installing 1.52.1.


Output Linting results to an Nunit Xml file

Is your feature request related to a problem? Please describe.
I would like to use the Bicep Linting to validate bicep code as part of my (ADO) build pipelines as an alternative to using the ARM-TTK toolkit. Ensuring code is created and tested against the same ruleset. While I can do this I can't report in ADO that n linting tests have been run across m bicep files and light up all the ADO charts/analysis.
Could the linter be extended to generate a Nunit XML output file (new option in bicepconfig.json)
I did look at enabling the verbose output in the hope I might have been able to parse/manipulate that but it does not report successes and in any event there is probably a far easier way :-)
Describe the solution you'd like
Not too fixed on how but if I could add an output filename to the bicepconfig.json such that the pipeline could run the linting tests over one or more bicep files and the XML file is then available for import into ADO using the PublishTestResults@2 task that would be great!

Compilers and linters typically just fail the build if there are errors and log results to a text log file or stdout. Usually, it's the test results run by a test framework (like nUnit or mstest) that get published to ADO rather than compiler logs.
I have some questions to make sure I understand the ask:

Do you see the Bicep linter as a set of tests that validate the template rather than "just" a linter?
Would you expect us to model each rule that is run as a test in the output file with a corresponding pass/fail state?
What do you do with the results after they were published from the pipeline?

Darn must have failed to hit comment last time before I got distracted :(
In brief:

Yes, we run all 22 arm-ttk 'tests' currently and it does improve quality/consistency
Yes, 22 tests on two Bicep files would show 44 tests with pass/fail status and details of the failures
They light up the ADO pipeline analysis graphs/dashboards showing test rates and failures over time

Happy to provide more info of show what we're doing in ADO with our Bicep pipelines

I'm coming from having used arm-ttk in my pipelines to provide a level of quality testing of the code and didn't consider it a linter. Arm-ttk "can be used for analyzing and testing Azure Resource Manager Templates" and I'm using the PublishBuildArtifacts@1 task to publish the results into ADO.
To output the results in NunitXML format I'm using the psm form here: https://github.com/MathieuBuisson/PowerShell-DevOps/blob/master/Export-NUnitXml/Export-NUnitXml.psm1

@alex-frankel - eslint outputs to JUnit. The Publish Test Results Task mentioned in the original post supports this.
https://github.com/eslint/eslint/blob/master/lib/cli-engine/formatters/junit.js
https://eslint.org/docs/user-guide/formatters/#output-examples

I'm going to close this in favor of #2973. Definitely a case to be made for publishing linter results in a variety of formats per eslint - thanks for the context @nicktolhurst