Add first run commands

Describe the task
Once the repo is cloned, in case one need to work with any backend (in Java), maven will be required. Since mvnw is a wrapper e doesn't include a jar file, is required a command to retrieve this file (or manual copying from somewhere else).
I think would be good to add this notes on the CONTRIBUTING.md files.
This is the command: mvn wrapper:wrapper.
⚠ Note that maven should be globally installed for this command work. A good option is to use sdk man, that is already covered in the contributing guide.
Acceptance Criteria

[ ] All steps for running locally clearly described in the contributing guide.

Additional context

No additional notes.

I think this is more or less covered by docker-compose.yml.  We can add to the docs if that's unclear.


how to use i18n function in assets/js/files.js

Hi all!
I need use i18n() in my code inside of assets/js of my sailsjs project. How can i to do it?
In my views is ok but in my js not, why?
thanks you very much.
I have<EMAIL_ADDRESS>

Hello @lamujeresponja,
Because JS is statically served. If you wish to use variables inside of your JS you'll have to change the grunt (or gulp) config to do so. These typically use a view engine so it might be a bit tricky.
Also, please post this question on stackoverflow. It's not a bug or feature request so it doesn't really belong here.

Thanks RWOverdijk.
Sorry.
I put my question in Stackoverflow. http://stackoverflow.com/questions/29493181/sails-js-how-to-use-i18n-function-in-assets-js-files-js
Best regards.


Change the way of installing photon

npm install
submodule of git
download zip

I bet on npm

close as https://github.com/react-photonkit/react-photonkit/commit/47cff74b8b41bc774c41842593bf7dfd0a89d147 go NPM!

:tulip:

https://github.com/react-photonkit/react-photonkit/commit/4bfeee423256efad4288724c3f1fdffc0f46b6a4

LGTM? https://github.com/react-photonkit/react-photonkit/commit/dd176d23dc8faacb399fc6fcc3203e0d365c62ef

LGTM

@ragingwind I've removed photon dir.

:+1:


Words not found after

Umbraco v.7 but I expect the problem to be universal.
In RTE if a word comes after br tag it is not found by ezSearch.
It looks like the problem results from the fact that the tag isn't stripped in search.
text - text not found
 text - text found
Makes sense but is a problem in rte where editors don't enter html tags manually.

Hi @InaBox,
Can you check that the CS file "ezSearchBoostrapper.cs" which should be located in the App_Code folder of your website is present and working?
If you want to test that it is working, you can attaching a debugger to your website, adding a breakpoint in the mentioned CS file, followed by rebuilding the ExternalIndex. This should cause your breakpoint to be hit.
This file is required as it appears to strip out HTML as each node is indexed. In my tests, I found that the Lucene indexer would not pick up search terms unless this stripping was done.


[Bug]: Some pages on documentation are breaking in mobile view.

Current Behavior
The pre-requisites part is breaking in mobile view. I noticed it here and in other installation guides as well.
Expected Behavior
The text is going beyond the box, ideally it should be within the box.
Screenshots/Logs

Environment
Found this in Chrome browser.

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Layer5 site in Figma (open invite)
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@Haimantika, thanks for raising the issue, but you've posted it in the wrong repository. This repository is for docs.layer5.io, not docs.meshery.io


Don't apply patch that made it into condor-9.0.2

Could you add a grep for one of the lines the patch adds? I would like the build to fail if the change isn't present (in case we remove the patch too soon or something)


Keybase client cli on Netbsd (using procfs on NetBSD)

These are really relatively minor changes (just adding netbsd build headers to files) that get me a working Keybase cli client on NetBSD. As such I see little harm in merging them in.
I'm relying on NetBSD's linux emulation and the fact that that gives me a profs (/proc). With this the cli seems to work perfectly - i.e. it launches the server to the background. I can read and send chats. It's great 😄
This was inspired by dressupgeekout's post which I had initially followed. But then I wanted to build a more recent version and so ended up with these changes.

Used dressupgeekout's commit as a basis
Added "bsd" (openbsd, freebsd and netbsd) headers to a couple of files after bsd building was inadvertently broken in:

https://github.com/keybase/client/pull/16949
https://github.com/keybase/client/commit/38900b9cfacfb03c83619191379e6d84d3dd61ec

Removed the go-ps/process_netbsd.go file from dressupgeekout's approach and instead use the go-ps/process_unix.go for netbsd since I can take advantage of procfs on NetBSD.

Ultimately I would like to get a proper go-ps/process_netbsd.go approach working on NetBSD, but at the moment although it builds fine I can't get the tests to pass so that's why I've just gone for the procfs approach with this PR.
The only downsides I see with this PR is that some NetBSD users might be able to have this build and then not work because they don't have a procfs.

Thanks for the PR.
Since the go-ps change is in another repo, can you make a PR on https://github.com/keybase/go-ps with the relevant changes?
After that is merged I can vendor it in.
It would probably be a good idea to add building this to CI so we don't break it in the future.  cc @jzila, shouldn't be too bad because of go's cross compilation support?
One last thing, I'll also need make a new PR and cherrypick these commits for CI to run.

Thanks for the reminder about the PR for go-ps. I had pushed that but just forgot to PR. It's here: https://github.com/keybase/go-ps/pull/10

We can add x-compilation to CI. Go ahead and make a ticket.

See comment here: https://github.com/keybase/go-ps/pull/10#issuecomment-525020341


DNACharacterMatrix.export_character_indices() very slow

This is not exactly a bug, but the method export_character_indices() runs very slowly, taking several minutes in my computer for a dataset with a few hundred species and about 10000 columns. The same alignment read using AlignIO in Biopython can be sliced in seconds.
Maybe there is some part of the code that can be optimized so it runs more smoothly on large datasets?

What formats are you working with? What version of DendroPy?
On 5/10/17 7:41 PM, Bruno de Medeiros wrote:

This is not exactly a bug, but the method export_character_indices()
runs very slowly, taking several minutes in my computer for a dataset
with a few hundred species and about 10000 columns. The same alignment
read using AlignIO in Biopython can be sliced in seconds.
Maybe there is some part of the code that can be optimized so it runs
more smoothly on large datasets?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jeetsukumaran/DendroPy/issues/82, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AABmR6_N_zOxW4q8xNCVWIngCZirhHvVks5r4ks8gaJpZM4NXWYE.

--

Jeet Sukumaran
<EMAIL_ADDRESS>Blog/Personal Pages:
http://jeetworks.org/
GitHub Repositories:
http://github.com/jeetsukumaran
Photographs (as stream):
http://www.flickr.com/photos/jeetsukumaran/
Photographs (by galleries):
http://www.flickr.com/photos/jeetsukumaran/sets/

Hi @jeetsukumaran, thank you for your quick response. I am using DendroPy 4.2.0 on python 2.7.11 in a Mac.
I am attaching a zip folder with files that reproduce the problem. Briefly, I had phylip alignment with associated partition file from raxml, and wanted to produce an alignment containing only some species from a list. Since the shorter alignment now contains columns with only gaps, I created a function to locate these columns and remove them, preserving character subsets. The part that takes a really long time in this function is exactly the method export_character_indices().
Maybe I am missing something and there is another way of removing gap-only columns?
test_export_character_indices.zip

So, sometimes the simplest things can make a difference!
The stock code logic first cloned the existing data, then iterated over the sequences, looking up the index of each cell to see if it was in the container of indexes to be retained, deleting them if not. Yes, I know, very inefficient! But this approach was called for as the most robust and efficient way to retain all the other supporting information (especially metadata) associated with cells, sequences, and data matrices. It is tragic because, in my experience, most folks do not use or even know about the existence of such rich, in-depth, and fine-grained metadata support, but to continue to supporting this metadata we need to adopt this ponderous approach.
Here is the thing though --- the look-ups on the container of indices are the horrendously expensive part of the operation if the dataset is very large and the container passed in by the client code is a list, due to the O(n) complexity of this container. Simply casting the container of indices to a set before beginning the pruning operation brings the complexity down to O(1), and the correlated performance improvement is absolutely radical! It is just a little more than the basic cloning operation itself.
---
Small ("pythonidae.chars.phy'': 33 taxa, 2716 chars):
  - Current:                2318139
  - No-op:                  3
  - Just cloning:           449891
  - Casting indices to set: 478947
Large ("genus_concatenated.phy": 909 taxa, 22127 chars):
  - Current:<PHONE_NUMBER>
  - No-op:                  3
  - Just cloning:           101391377
  - Casting indices to set: 108345588

This modification is found on the development-master branch, revision 6b0affd. Let us know how it works.
There are probably a bunch of other places in the library where a coercion to a more suitable container would greatly improve performance. Will fix them as we encounter them in bottle-necks.
BTW, the test code for the above results is:
#! /usr/bin/env python

import sys
import dendropy

@profile
def strip_gaps():
    char_matrix = dendropy.DnaCharacterMatrix.get(path=sys.argv[1], schema="phylip")
    idx_to_keep = []
    gapamb = ['-','N']
    for i in xrange(char_matrix.sequence_size):
        for seq in char_matrix.sequences():
            if str(seq[i]) not in gapamb:
                idx_to_keep.append(i)
                break
    stripped_matrix = char_matrix.export_character_indices(idx_to_keep)
    return stripped_matrix

strip_gaps()

I am glad that this was easy to solve, many thanks for looking into this!
I have now a related question, since you mentioned metadata. When I used it, export_character_indices() was removing information about character subsets. I then wrote some very clumsy code to translate subset indexes from the full matrix to the stripped one, which was very fast but annoying (this can be tested with the same scripts I sent before). Is it very hard to preserve character subsets by default?

The challenge is re-mapping the indices to account for dropped columns. Completely do-able, of course, but needs a lot of care and thought in the logic to be robust and reliable, accounting for various corner cases (retained/deleted indices specified out-of-order, invalid/missing, etc. etc.).

Got it. In any case, I was able to solve this for my particular dataset.
Also, I installed dendropy from the development branch and my scripts are running super-fast now. Thanks for taking care of this, I really like dendropy!

👍


Manipulation of Turtlebot3 with Open Manipulator. joint state error

I did follow emanual in Manipulation of Turtlebot3 to setup Open Manipulator with Turtlebot3 Waffle.
But I face problems when follow emanual to run.
On Remote PC:
roslaunch turtlebot3_bringup turtlebot3_robot.launch, No problem
roslaunch turtlebot3_manipulation_bringup turtlebot3_manipulation_bringup.launch, No problem
roslaunch turtlebot3_manipulation_moveit_config move_group.launch, I got a warning:

does anyone know what i'm doing wrong? or how can I fix this problem? my knowledge of ROS is currently not good enough to remedy this.

Hi @jellegroothuis
Which ROS do you use?
You should run the bringup command on your Turtlebot3 SBC(Raspberry Pi), not on your Remote PC
$ roslaunch turtlebot3_bringup turtlebot3_robot.launch

the problem is solved. the wrong software was on the openCR.
turtlebot3 with openmanipulator was needed while turtlebot 3 core was in the manual.

@JaehyunShim please close the issue if your problem is solved.


[Workflow] fzf file selection

Hey, love aider, just want to share the shell function I use for file selection using fzf, in case it's useful for anyone.
Not sure if this could/should be implemented into the main program, but it can save some time when making file selections across larger code bases.
Prerequisite is having fzf installed ( https://github.com/junegunn/fzf?tab=readme-ov-file#installation ).
The script allows for fuzzy finding files across a folder and its subfolders, while allowing directory and file exclusions to be specified to ignore at the top of the script. It also reads .aiderignore but this check is not robust and could be improved, as directories are only handled correctly if they're specified with a trailing slash (e.g. 'test/').
Files can be fuzzy-searched and selected using 'Tab' key, once confirmed with 'Enter' the selection is passed to aider (or just 'Enter' for a single file). The function is written to both work in Bash and ZSH.

faider() {
    local dir_exclusions=('.git' '__pycache__' 'node_modules')
    local file_exclusions=('.aider*' '__init__.py' '*.log')
    local find_args=()
    local selected_files

    # Add directory exclusions
    for dir_exclusion in "${dir_exclusions[@]}"; do
        find_args+=(! -path "*/$dir_exclusion/*")
    done

    # Add file exclusions
    for file_exclusion in "${file_exclusions[@]}"; do
        find_args+=(! -name "$file_exclusion")
    done

    # Add exclusions from .aiderignore if it exists
    if [ -f ".aiderignore" ]; then
        while IFS= read -r line || [[ -n $line ]]; do
            # Skip empty lines and comments
            [[ $line = \#* ]] || [[ -z $line ]] && continue
            # Check if the line ends with a '/'
            if [[ $line == */ ]]; then
                # Remove the trailing '/' for directory exclusion
                local dir=${line%/}
                find_args+=(! -path "*/$dir/*")
            else
                find_args+=(! -name "$line")
            fi
        done < .aiderignore
    fi

    # Run find command and select files with fzf
    if [[ -n $ZSH_VERSION ]]; then
        # Zsh specific command
        selected_files=("${(@f)$(find . -type f "${find_args[@]}" -print | fzf --multi --exit-0)}")
    else
        # Bash specific command
        IFS=$'\n' read -d '' -r -a selected_files < <(find . -type f "${find_args[@]}" -print | fzf --multi --exit-0)
    fi

    # Check if any files were selected
    if [ -n "$selected_files" ]; then
        aider "${selected_files[@]}"
    else
        echo "No files selected."
    fi
}

There's actually a python library around fzf called pyfzf: https://github.com/nk412/pyfzf
Here is a propositional PR implementing fzf file selection using --fzf argument but without .aiderignore check as of yet: https://github.com/paul-gauthier/aider/pull/498

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

Sounds good. I meant to provide an example implementation for a 'pip extra packages' solution allowing 'install aider-chat[fzf]' as suggested in https://github.com/paul-gauthier/aider/pull/498 , but my capitalist setup doesn't make for a lot of remaining air atm, plus further discussion seems appropriate within the context of a new PR
Keep up the great work, best wishes


Exception in thread "main" org.apache.spark.sql.AnalysisException: LOAD DATA input path does not exist: examples/src/main/resources/kv1.txt

My spark job yaml file is as follows:
apiVersion: "sparkoperator.k8s.io/v1beta2"
kind: SparkApplication
metadata:
name: spark-hive
namespace: default
spec:
type: Scala
mode: cluster
image: "gcr.io/spark-operator/spark:v3.1.1"
imagePullPolicy: Always
mainClass: org.apache.spark.examples.sql.hive.SparkHiveExample
mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.12-3.1.1.jar"
sparkVersion: 3.1.1
restartPolicy:
type: Never
driver:
cores: 1
coreLimit: "1000m"
memory: "512m"
labels:
version: 3.1.1
executor:
cores: 1
coreLimit: "1000m"
instances: 1
memory: "512m"
labels:
version: 3.1.1
I'm trying to apply this yaml file on my k8s cluster but I keep running into this issue. Am I missing something here?

Does the exception in the title of the issue only have the relative path?
The starting dir is /opt/spark/work-dir/ but that kv1.txt file lives in /opt/spark/examples/src/main/resources/kv1.txt.
# docker run -it --entrypoint bash --rm --name spark-app-test0 gcr.io/spark-operator/spark:v3.1.1
Unable to find image 'gcr.io/spark-operator/spark:v3.1.1' locally
v3.1.1: Pulling from spark-operator/spark
6f28985ad184: Already exists
b3555c388585: Already exists
42965fccf401: Already exists
484bb3bd28a7: Already exists
88db0de5c834: Already exists
327ea804e4fb: Already exists
9a55db341cf9: Already exists
1556a52b6ac4: Already exists
7a78bd9be10c: Already exists
d78a463127b4: Already exists
05f6a21d0644: Already exists
a6926b1a05ce: Already exists
ea8c3d739f32: Already exists
26b401b5233a: Already exists
Digest: sha256:1a51dd49c15dac9058abbd7ef7773db62a5c0ae1ac23414bf040ae6efb0b0265
Status: Downloaded newer image for gcr.io/spark-operator/spark:v3.1.1
I have no name!@c460d4a565cd:/opt/spark/work-dir$ cd ..
I have no name!@c460d4a565cd:/opt/spark$ find . -name kv1.txt
./examples/src/main/resources/kv1.txt

Yes. But then I copied it into another file which was made accessible to all executors as well as driver.


 Please make sure that the image is hosted on a trusted domain, such as i.imgur or cdn.discordapp.
https://media.discordapp.net/attachments/847785763621699584/848373164546850816/small.jpg
Additional Confirmation:

[x] My badge does not contain any NSFW material.
[x] My badge is not a badge that signifies that I am an official developer / staff for Discord or client mod communities.

done


Use the 'name' of associations as a base for the generated queries and resolvers

How to define associations between models is explained in this document.
For instance a Dog might have an associated instance of the Person model. Note that the data model Person is named exactly that: Person, as defined by the "target" argument below.
"associations" : {
    "person" : {
      "target" : "Person",
        // ...
    }
  }

Enable naming the association any way the user likes, e.g. Owner, but still be linked to the correct data model Person. All related queries, mutations, and resolvers should be named respectively.
Expected work time: 6h

Done. Commits<PHONE_NUMBER>f0 0c43ca


Release Function Mesh 0.7.0 to openshift

[x] k8s-operatorhub/community-operators https://github.com/k8s-operatorhub/community-operators/pull/1854
[x] redhat-openshift-ecosystem/certified-operators https://github.com/redhat-openshift-ecosystem/certified-operators/pull/1443
[x] redhat certificated image https://catalog.redhat.com/software/containers/62d06b34df1077330aa2619d?architecture=amd64&tag=v0.7.0

👍🏼


Get delta table files

I checked the answer here: https://github.com/delta-io/delta/issues/623
but wondering whether the of inputFiles is a reliable enough method of getting all the files?  https://spark.apache.org/docs/3.1.3/api/python/reference/api/pyspark.sql.DataFrame.inputFiles.html
Docs are a bit vague on how reliable this is, we hosting our tables on S3

Came across this answer in regards to reliability with delta: https://stackoverflow.com/a/77107953

I think this is much more useful for what I need: https://docs.databricks.com/en/ingestion/file-metadata-column.html#metadata-examples


Revamp balances and incentivisation

Substantive changes:

Use capped and rounded balance as the effective balance (stored in validator.effective_balance)

Consistency with fork choice rule and light clients 🎉

Only update validator.effective_balance once per epoch

Restore 1 epoch proposer lookahead 🎉
Cleaner modularity
Parallel processing of rewards 🎉
Restore per-epoch (as opposed to per-slot) proproser reward processing

Introduce two effective balances: one for the current epoch, and one for the previous epoch. Use the appropriate effective balance when doing incentivisation. 🎉
Make logic in get_attestation_deltas relative to previous_epoch throughout (as opposed to mixing current_epoch and previous_epoch)

Cosmetic changes (mostly related to get_attestation_deltas):

About 60 lines removed 🎉
Significantly improve readability 🎉
Remove and merge helper functions where appropriate.
Improve naming of helper functions
Abstract away common logic and rework for readability
Add MAX_FINALITY_LOOKBACK and BASE_REWARDS_PER_EPOCH constants
Rescale INACTIVITY_PENALTY_QUOTIENT

@JustinDrake could you give a summary of how exactly the rewards/penalty change through this? I would like to read it with this info side by side :)

See the "substantive changes" section (which I fleshed out a bit) in the PR description.


Issue #79: add ALS support - part 1

Adding support for making predictions with ALS in MLeap.
I still need to add support for:

recommendForAllItems()
recommendForAllUsers()
recommendForItemSubset()
recommendForUserSubset()

but I might add that in a subsequent PR, if that's ok.

@hollinwilkins @ancasarb is there any possibility to add support for:

recommendForAllItems()
recommendForAllUsers()
recommendForItemSubset()
recommendForUserSubset()


atDataBrowser Enhancements Jul 28 Group Tests

Notes are referenced from this document:

[ ] Add a button that clears all the search filters @Dariamarg needs design
[x] Link for FAQ is wrong

"all of the apps that link to the atsign.com FAQ are now going to the more enterprise focused FAQ list instead of the consumer one, which has moved to this spot: https://atsign.com/people-support/"

[ ] Deleting keys one-by-one is tedious -> we need a button for multi select @Dariamarg needs design

Multi-Delete Design are in this file:

Clear button Design are in this file:


Add vimscript to the language list.

There are plenty of VIM plugin projects on GitHub and other hosting sites, and VIM already has some good preexisting ASCII art for its logo. Like SammysHP's Vim logo in ASCII art.

Done in #322
It will be deployed in the next release.


feat: [PLATO-409] Segment.io integration

What will change?
Added Segment / Typewriter for analytics purposes
More intricate documentation is available through the readme file that was added in the analytics folder, but in a nutshell:

Added a boilerplate for generating a typewriter.yml file, which is then used to generate a typed typewriter.analytics object.
Sentry is set uo to report any Segment schema violation
The configuration of Segment is driven by environment variables
The typewriter schema is automatically regenerated on various events

Ticket: https://contentful.atlassian.net/browse/PLATO-409
Docs: https://contentful.atlassian.net/wiki/spaces/PROD/pages/4138500311/Templates+-+Segment+tracking
Learnings

Typewriter and Segment are reliant on each other, but diverge a lot in types and package versions
Typewriter's config doesn't really accommodate for different workspaces in Segment.

Testing steps

Follow the instructions to set up the additional configurations in the analytics/readme file
Please check out the branch, run yarn install and confirm if the process completes successfully.
Confirm the trackingPlans property has a valid ID in the generates typewriter.yml file
Confirm yarn typewriter:update runs successfully
(optional) Attempt to send a typewriter event to Segment.

Codewise it's lookin good! i'll test it locally now

Should SEGMENT_TRACKINGPLAN_ID be added to .env.example?

Test resultz:

[x] set up the additional configurations in the analytics/readme file
[x] check out the branch, run yarn install and confirm if the process completes successfully.

Typewriter config exists -- continuing to update
Attempting to update tracking plan
Successfully created typewriter config

[x] Confirm the trackingPlans property has a valid ID in the generates typewriter.yml file
I see a  typewriter.yml file in my repo root, with a trackingPlans.id property.

[x] Confirm yarn typewriter:update runs successfully

Loading tracking plans... Loaded
Generating files... Done
Running After Script: ./node_modules/.bin/prettier --write ./analytics/plan.json... Done

Decided against it for now! Because we didn't add them for the Sentry stuff either

Looks like you're missing the update to .env.example too


Alacritty v0.12.3 says "Config warning: bar has been deprecated; use colors.footer_bar instead".

Alacritty v0.12.3,
Config warning: bar has been deprecated; use `colors.footer_bar` instead
I created a PR, but Alacritty's CHANGELOG.md says it is supposed to be changed to 1.30.0.

CC: @svengreb

Alacritty's manpage
https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd?plain=1#L358

Thanks!!


Beginners manual

I have installed both versions, 0.3.10 and 0.2.4, for "umap-learn". Is there a good beginners manual to get me started yet. Thanks
Dave

Closing due to inactivity


Replacing HighlightedText with SpecialText

Here is a demo. The general functionality of the chat and text bubbles should remain the same.
Currently working on using SpecialText onClick to toggle dropdown rather than using dropdownButton.
Note: Temporarily changed VoiceFlow API blocks URLs to test VUI with local database.

@ericlin11354  This repository has been deprecated please move the code to the CE MonoRepo


Add the checkbox feature

Users can add the checkboxes within the notes.

Can you assign me for this?

Can i work on this feature?
If so could you tell me a little bit more about the feature?
Is it simply that the user can add checkboxes? If so in what form? How and should the state be saved somehow?


Unix System (Mac + Linux) compatibility has still not been added yet.

Problem: The program looks for a Java component that does not exist.
Error Message:

Your system doesn't seem to want to work! Are you on Windows?
[The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform

As far as I know, Among Us isn't even on Mac is it? And that message clearly states you should be on Windows

...A major selling point of Java is that it's cross-os-compatible. Personallh, I prefer to run Among Us on my Steam with Linux.
Why is this locked to Windows? It certainly isn't because of Java.

As far as I know, Among Us isn't even on Mac is it? And that message clearly states you should be on Windows

ProtonDB rates Among Us with a Gold rating.
You can run it on GNU systems, just with a small hoop and a few hiccups in animations.
Sorry if I came off as aggressive, I just wanted to remind.

Why is this locked to Windows? It certainly isn't because of Java.

The program requests from a Windows component (is this the right terminology?), the theme.
Since neither MacOS or GNU use Windows themes, it comes up with an error. That's all I could get from the .jar.
Take this with a grain of salt, since I'm clearly not a Java programmer.
I'll go ahead and close the issue, since this clearly was a mistake on my part. Thanks for your understanding.
THREAD CLOSED.

This was not your fault, it was mine. I did state Windows only but that's because I didn't know you could play on Linux. The reason it's force set to use the Windows look and feel is because I prefer it over the default Java one but honestly I can fix it up. I'll also require someone to inform me of the player prefs directory or I could just add a File Chooser if your OS is Linux. Im writing this on my phone about to go to bed (AEST Timezone) so I'll probably get to work on this tomorrow. For now im reopening the issue. Thank you for bringing this to my attention!

Problem: The program looks for a Java component that does not exist.
Error Message:

Your system doesn't seem to want to work! Are you on Windows?
[The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] not supported on this platform

...A major selling point of Java is that it's cross-os-compatible. Personally, I prefer to run Among Us on my Steam with Linux.
Why is this locked to Windows? It certainly isn't because of Java.

This was fixed as of Version 1.25.
Thank you for bringing this to my attention, once again I have zero clue it was playable on non-windows/mobile platforms like Linux and possibly even mac.


compat with sympy 1.2 and requirements

Update custom Indexed and .dot deprecation for symyp 1.2
fixes #615

Freaking new version of pip is screwing stuff up

Codecov Report

Merging #631 into master will decrease coverage by <.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #631      +/-   ##
==========================================
- Coverage   88.22%   88.21%   -0.01%
==========================================
  Files          90       90
  Lines        8435     8437       +2
  Branches     1666     1666
==========================================
+ Hits         7442     7443       +1
- Misses        787      788       +1
  Partials      206      206

Impacted Files
Coverage Δ

devito/function.py
90.95% <100%> (ø)
:arrow_up:

devito/types.py
93.09% <50%> (-0.24%)
:arrow_down:

Continue to review full report at Codecov.

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

uncontroversial. Thanks for this, Mathias.


Update Jetson Orin NX, Orin Nano and AGX Orin examples for L4T 35.4.1

Since all three are based on the same T234 platform, we can use the same examples for all of them on L4T 35.4.1
Tested on AGX Orin Devkit:

xfce displayed on screen using:

DisplayPort cable
DisplayPort to HDMI adapter

container GPU access works

Change-type: patch

@balena-ci I self-certify!


Custom axis titles in the graphs

As a Publisher, I want to customize x and y axis titles so my graph looks more informative.
Reported in https://github.com/datahq/datahub-qa/issues/134
Acceptance criteria

[x] I can set my titles for x and y axis in the views
[x] there is some explanation in docs - http://datahub.io/docs/features/views#how-it-works

Tasks

[x] refactor datapackage-render-js library to handle xTitle and yTitle properties in the spec
[x] test and rebuild bundle.js in showcase-js
[x] add docs
[x] deploy

FIXED, see the graph on https://datahub.io/anuveyatsu/simple-views and take a look at its views in descriptor https://datahub.io/anuveyatsu/simple-views/datapackage.json
The docs are in http://datahub.io/docs/features/views#how-it-works


Ptxed cannot open the aux file perf.data.aux-idx4.bin

Hello,
This has been a recurring problem with me when I am trying to use ptxed to generate decoded instructions out of perf.data file.
When I use the command :- script/perf-read-aux.bash -- the intel-pt traces are probably extracted correctly and a file perf.data-aux-idx4.binis generated.(4 being the CPU number)
Now when I try to generate the traced memory image and simultaneously send this output to ptxed using the below command --
script/perf-read-image.bash | xargs ptxed --cpu auto --pt perf.data-aux-idx4.bin
I get an error message :- ptxed: warning: failed to open 0]:: No such file or directory.
I cannot understand why this is happening. I already have the file in the correct directory. I have also added all the necessary environment variables. Can you guide me on this problem ?

Arnab

`

Hello Arnab,
thanks for taking the time to report this.  I don't think that the error is caused by failing to load the trace file.  I'd rather expect that something went wrong with generating options for the binary files.  Could you run just script/perf-read-image.bash?  It should print a series of --elf  to stdout.
You could also try branch experimental/pevent.  This provides support for system-wide tracing.
regards,
markus.

Hi Markus,
Thanks for the reply. Yes as you said, if I simply run script/perf-read-image.bash - I can see a series of --elfs being generated (the sequences are numbered as 0], 669162510], 0], 669162509]). I guess because of the elf file being numbered like "0]" - I get this error : ** ptxed: warning: failed to open 0]:: No such file or directory.**
However, what I wanted to highlight was that when the binary files that get generated are of the form perf.data.old-aux-idx0.bin the file opens correctly for processing and I do not face that error. That is, in the filename idx should be followed by 0 -- essentially indicating a --per-thread computation or cases when the cpu id is 0.
Why are other types of binary files raising an error ?

Hello Arnab,
I can reproduce the issue.  The script that scans the output of perf script -D is too simple.  It assumes that the trace was recorded with "perf record -e intel_pt//u --per-thread -- ".  Additional samples, omission of the --per-thread option, or system-wide recording will cause it to pick the wrong fields in the PERF_RECORD_MMAP record.
That script will become obsolete in a few weeks.  It will be replaced with a set of different scripts to support more general sideband correlation that will also support system-wide recordings.
In the meantime, I would recommend using branch experimental/pevent or adjusting the script to pick the right fields for your recording method.
If you are OK with this workaround I would close the issue.
regards,
markus.

Hi Markus,
Thanks for helping !
Yes I will try either modifying the script or to use branch experimental/pevent to pick the right fields for our recording method. You can close the issue.

Arnab


Bug #356: Oldest executed transaction goes on top of transaction list after execution

This PR closes #356, by:
Using the submissionDate of the outgoing transactions for the date field in the Transactions table.

Travis automatic deployment:
https://pr364--safereact.review.gnosisdev.com


Process.run wrongfully returns stdout as stderr

Environment

dart version: 2.8.1 (stable)
OS version: Windows 10

Problem
Process.run is wrongfully returning stdout as stderr. This could be an issue of dart cli or issue of dart:io.
Steps to Reproduce
The code
var pr = await Process.run('echo', ['ok'], runInShell: true);
print('exit-code: ${pr.exitCode}');
print('stdout: ${pr.stdout}');
print('stderr: ${pr.stderr}');

yields the output, which is expected.
exit-code: 0
stdout: ok

stderr:

But running dart --version yields an unexpected result.
var pr = await Process.run('dart', ['--version'], runInShell: true);

exit-code: 0
stdout:
stderr: Dart VM version: 2.8.1 (stable) (Thu Apr 30 09:25:21 2020 +0200) on "windows_x64"

I'm not sure if this is a problem of dart cli or of dart:io. But that definitely is a problem.

This is not a problem in dart:io. dart --version writes the information to stderr and that's why you see it in stderr when you use Process.run.
Closing this issue as working as intended since there's no dart:io issue. As for whether dart --version should write to stderr or stdout, that is debatable. I suppose it's more useful to write it to stdout although things like foo --help writing to stderr isn't unusual.
We can open another issue to debate whether dart --version should write to stdout instead of stderr if you'd like?


Add Hong Kong University for students

https://webmail.hku.hk/
A proof for this domain (CONNECT.HKU.HK).

@IanFla I am sorry, the domain connect.hku.hk is removed from our trusted domains list because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


Async Azure Function

Are async Azure functions supported? If so, can you provide an example?

You can see a raw examples of Azure Functions at https://github.com/pulumi/examples/tree/master/azure-ts-functions.
You can find some examples of Azure Functions hooked up to Azure event sources at https://github.com/pulumi/pulumi-azure-serverless/blob/master/nodejs/azure-serverless/examples.  That @pulumi/azure-serverless library is very early, but shows some of the patterns of what can be built on top of the core pulumi-azure resources.
All of these are "async" in at least some interpretations of the word - if there is something more specific you have in mind - let us know.


[ClangImporter] rdar://39801675 Treat fake-buffer locs as invalid, …

Cherry pick of edge case with demultiplexing diagnostics during bridging PCH (all of my favourites!)
rdar://39801675

@swift-ci please test and merge

@swift-ci Please test macOS


Redactor feature request

When editing a block containing a link (internal or external), it would be nice to have an "Edit link" feature, when selecting the link in question.
Now the redactor is just showing "Insert link" and "Delete link"

Click the link:

This is very very embarrassing! thx for pointing at....


4.8.0 to 4.9.0 upgrade issue (port 8000)

Doc should maybe specify that some settings changed in the official production Docker image, especially the exposed port that is now 8000 instead of 80.
I had to reconfigure reverse proxy and config.json to adapt this setting (ListenAddress).
First release in quite some time that did not simply worked with docker pull mattermost/mattermost-prod-app:4.9.0 &&  docker pull mattermost/mattermost-prod-db:4.9.0 && docker-compose down && docker-compose up -d

I'm sorry about that, it seems that it cause more troubles than expected. In fact I write down some release notes on this Github repository + posted a message on the Mattermost community server.
First, maybe it was not the best way to notify users and maybe, in the future, I should also add an entry to the official Mattermost changelog (ping @jasonblais to discuss about a procedure for me to add information on this changelog).
Second our documentation is poor of information for users who want to use their own reverse-proxy (which is something I want to encourage). That's an issue, and we must work on it.

@pichouk What if we follow the Mattermost deprecation policy? https://docs.mattermost.com/process/deprecated-features.html
This would mean sufficient notice ahead of time + notes in changelog, important upgrade notes, etc. at the time of release. We should also consider following the removal targe date guidelines.
Let me know your thoughts? If that sounds reasonable, perhaps you can help draft a description to our changelog and important upgrade notes that affected v4.9 release? It can be short with a link to a more detailed release note in the GitHub repository. I can help with it of course too.

fine for me, this can be closed

Short notice to everyone who's read this issue : we are working on a better way to warn users when there is changes that required some extra steps to upgrade.
For this time, my bad I'm sorry. I just added some notes also on the README file which seems to be more read than the Github release notes. We will also probably add some notes on the Mattermost official changelog.


KozaniHostRuntime implementation and FTA and protocol launch support

KozaniHostRuntime
Added logics to load up the APPX manifest of the local variant package (LVP) and find the remote app AUMID. The AUMID is specified as command line parameter to the host runtime EXE when the LVP app is activated by launch contract. For example:
uap10:Parameters="-aumid Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
However, if it is activated by file type association (FTA) or protocol, the command line will not contain the parameter. That's why we need additional logics to parse the manifest xml to get that info for FTA and protocol activation.
Added logics to get the configuration file paths (connection.rdp file and AdditionalSettings.txt) from LVP's app data folder.
Implemented IKozaniStatusCallback interface to handle remote app status changes. It will exit the KozaniHostRuntime process if the remote app is terminated, or the remote app activation fails, or the activation does not start a new instance (like UWPs that do not start a new app process for multiple activations).
KozaniManager
Fixed various bugs in process lifetime tracking, race condition, etc.
Moved Remote Desktop Client (RDC) launcher code to KozaniManagerRuntime.dll, which is loaded in-proc by the KozaniHostRuntime.exe to ensure RDC is launched in foreground. KozaniManager.exe is a background process with no UIs. Launching RDC by it will not guarantee the RDC login window to show up in foreground. Instead, it will be launched minimized with flashing icon at the taskbar, unless RDC itself pops up a warning dialog in the first connection to the new host. KozaniHostRuntime.exe on the other hand, has foreground privileges as it is launched by the user by activating the LVP app. Launching RDC from KozaniHostRuntime.exe will guarantee the RDC login dialog shows up in foreground.
KozaniRemoteManager
Added support for FTA and protocol launch in remote desktop server side.
Moved activation code to KozaniRemoteManagerLauncher.exe to ensure the activated apps show up in foreground. KozaniRemoteManager.exe is a background process with no UIs. Launching apps from it will not guarantee the app will have foreground. If the app activation causes a new process to be created, then the windows from the new process will show up in foreground. However, if the activation does not create a new process, then the app window will not show up in foreground. UWP apps are single instancing and once launched, subsequent activation will not create a new process. It will be problematic if the activation is done from KozaniRemoteManager.exe as if the UWP app is already running and not in foreground (e.g., minimized), the activation will not bring the app to foreground, like nothing has happened. Win32 apps have the same problem if they implement single instancing. KozaniRemoteManagerLauncher.exe on the other hand, has foreground privileges as it is launched by remote desktop shell by RAIL. It is also a new process each time it is launched by the client. Activating apps from it will guarantee the apps will show up in foreground, whether a new process is created or not.
Used IApplicationActivationManager::ActivateForFile for UWP FTA activation, IApplicationActivationManager::ActivateForProtocol for UWP protocol activation because these 2 APIs only works for UWPs. Used ShellExecuteEx for Packaged desktop apps FTA and protocol activation. Implemented registry lookup logics to find the ProgId of the FTA and protocol association for the app to be used in ShellExecuteEx.

/azp run

However, if it is activated by file type association (FTA) or protocol, the command line will not contain the parameter. That's why we need additional logics to parse the manifest xml to get that info for FTA and protocol activation

Can't you query the ActivatedEventArgs to determine why you're KozaniHostRuntime is being activatied (e.g. ActivationKind.FileTypeAssociation)?
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/get-activation-info-for-packaged-apps
or event better https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.windows.applifecycle.appinstance.getactivatedeventargs?view=windows-app-sdk-1.3
(Any games involving "Find, Load and Parse appxmanifest.xml" is strongly discouraged for the yuuuge perf implications)

@DrusTheAxe , the problem is not because I can't get why KozaniHostRuntime is being activated. Of course we can get that info easily from ActivatedEventArgs. The problem is what the AUMID is for the remote app, associated with the LVP app being activated. It is encoded in the manifest of the LVP, like this:

The uap10:Parameters will be passed to the KozaniHostRuntime.exe as command line parameter IF the LVP app is activated by launch contract (i.e., clicking the tile to launch it). However, if it is activated by FTA or Protocol, then the command line parameter will NOT contain the info. Instead, it will be the file path for FTA, or uri for protocol launch. That's why we need to load up the manifest to get the remote app AUMID. LVP's manifest is very small and perf hit is minimal.

The problem is what the AUMID is for the remote app, associated with the LVP app being activated. It is encoded in the manifest of the LVP, like this:

Ahhh. So when the LVP app runs you need to know the associated app on the server to run?
RECOMMENDATION: Use appextension.
Add to the LVP's manifest
<uap3:Extension Category="windows.appExtension">
    <uap3:AppExtension Name="com.microsoft.kozani.localvariant.remoteapp.AUMID" Id="kozani.remoteapp.PRAID" DisplayName="Kozani RemoteApp REMOTEAUMID">
        <uap3:Properties>
            <RemoteApp AppUserModelId="REMOTEAUMID"/>
        </>
    </>
</>

where PRAID=the parent <Application>'s PRAID, AUMID=the parent <Application>'s AUMID and REMOTEAUMID=the remoteapp's AUMID. Then KozaniHostRuntime.exe can use the AppExtension API to retrieve this e.g.
aumid = GetCurrentApplicationUserModelId()
pkgfamilyname,praid = ParseApplicationUserModelId(aumid)
catalog = AppExtensionCatalog.Open("com.microsoft.kozani.localvariant.remoteapp." + aumid)
list<AppExtension> aes = co_await catalog.FindAllAsync()
IPropertySet properties = co_await aes[0].GetExtensionPropertiesAsync()
remoteaumid = properties.Lookup("RemoteApp").Lookup("@AppUserModelId")

The manifest is parsed when the app's installed and AppExtension is the generic metadata mechanism with APIs working off that already parsed and optimized data. Leverage that.
"Find, Load and Parse appxmanifest.xml" is strongly discouraged.

@DrusTheAxe , I have updated the PR with the use of app extension. Please review. Thx.

@Howard @.***>, can you take a look at my updated PR? Used app extension for remote app AUMID.
Thanks
Ruke
From: Howard Kapustein @.>
Sent: Monday, July 10, 2023 6:44 PM
To: microsoft/WindowsAppSDK @.>
Cc: Ruke Huang @.>; Author @.>
Subject: Re: [microsoft/WindowsAppSDK] KozaniHostRuntime implementation and FTA and protocol launch support (PR #3714)
The problem is what the AUMID is for the remote app, associated with the LVP app being activated. It is encoded in the manifest of the LVP, like this:
Ahhh. So when the LVP app runs you need to know the associated app on the server to run?
RECOMMENDATION: Use appextension.
Add to the LVP's manifest
<uap3:Extension Category="windows.appExtension">
<uap3:AppExtension Name="com.microsoft.kozani.localvariant.remoteapp.AUMID" Id="kozani.remoteapp.PRAID" DisplayName="Kozani RemoteApp REMOTEAUMID">

    <uap3:Properties>

        <RemoteApp AppUserModelId="REMOTEAUMID"/>

    </>

</>

</>
where PRAID=the parent 's PRAID, AUMID=the parent 's AUMID and REMOTEAUMID=the remoteapp's AUMID. Then KozaniHostRuntime.exe can use the AppExtension API to retrieve this e.g.
aumid = GetCurrentApplicationUserModelId()
pkgfamilyname,praid = ParseApplicationUserModelId(aumid)
catalog = AppExtensionCatalog.Open("com.microsoft.kozani.localvariant.remoteapp." + aumid)
list aes = co_await catalog.FindAllAsync()
IPropertySet properties = co_await aes[0].GetExtensionPropertiesAsync()
remoteaumid = @.***")
The manifest is parsed when the app's installed and AppExtension is the generic metadata mechanism with APIs working off that already parsed and optimized data. Leverage that.
"Find, Load and Parse appxmanifest.xml" is strongly discouraged.

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/WindowsAppSDK/pull/3714#issuecomment-1629975501, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS5OW5JRXN3PSGZ7OSNBK3DXPSVXRANCNFSM6AAAAAA2DEKOVI.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Nicely done. Only 2 Qs come to mind:
#1 Manifest extension XML Is that doc'd? I see the comment in dev/Kozani/KozaniHostRuntime/main.cpp line 118+ which looks close (see comments there). Is that meant to doc the expected info in the manifest?

The doc is not created yet. Right now the comments in line 118 serves the documentation.

#2 E2E testing Is there an automated E2E test for this here? Or in the Aggregator as an Integration test? Is that not possible without a remote environment?
No automatic E2E testing as of now. Yes, it needs a remove environment for E2E.

/azp run

/azp run


Make combineActions works with nested handleActions

Fixes #241 (I used the code @Parakleta suggested)
It allows nesting of actions in handleActions after a combineActions (very useful for loadings):
const reducer = handleActions(
  {
    [combineActions(apiCall1, apiCall2)]: {
      LOADING: () => ({ loading: true }),
    }
  },
  { loading: false }
);

I had some troubles to write a clean test, let me know if you want to improve it.

Thanks! I'll look into this asap.

@timche To be honest, I wanted to use a "nested" handleActions with combineActions. I found out it wasn't working (only the last action was handled) so I search through issues and found the #241. Someone provided a code solution and after some tests in my local project, that was perfectly working. I filled this PR.
Currently, if you write your handleActions like this:
handleActions({
  NOT_NESTED: function,
  [combineActions(action1, action2)]: {
    NESTED: function,
  }
})

Only action2/NESTED will be handled. Not action1/NESTED.

Thanks @Kerumen for explaining. I'm not questioning your pull request, it's totally fine and appreciate it. Please don't get me wrong, I'm just trying to understand and to make everyone clear what we are trying to achieve as this must also be documented in the documentation and change log. Also regarding the left-over comment in the test, it doesn't mean we can't do better and fix it, right?
Do I understand correctly that combineActions is not working as expected and should be considered as a bug or is this just adding a new feature where we can additionally pass an object beside a function and it was just working with the last action accidentally?

I don't know how the library was designed. I'm sure that this is not documented for combineActions. But nested handleActions works and is documented:

If reducerMap has a recursive structure, its leaves are used as reducers, and the action type for each leaf is the path to that leaf.

So a combination of both should work?

Alright, so it really sounds more like a bug to me. So we are basically fixing combineActions to work with handleActions as advertised.

@timche I've renamed variables to better match my app and my intention.
Here, it's weird because the LOADING action is created next to the initial action. In a real app, the LOADING would have been created else where (in a middleware).
Is that clearer? Sorry for that, I can't find a proper way to write this test..

Sorry for the delay. Published.


Tuning admin's change list

It's always using distinct() if there is an m2m field in list_filter. I think we only need to check if distinct() is necessary for fields in lookup params. Correct me if I am wrong.

Possibly related tickets based on a quick search:

https://code.djangoproject.com/ticket/18729
https://code.djangoproject.com/ticket/15819

If not, please open a Trac ticket that explains the issue and also include a test.

I think it's same as ticket #18729 I will add some unit tests for it

Updating https://github.com/django/django/pull/2749 could be an option, in case you didn't see it.

Please send a new PR if you return to this. Thanks!


[CIT-557] add skip-clean flag to fasten tarpaulin run

Proposed changes
Avoid rebuilding the thin-edge.io test code if its already built. This will quicken the process of code cov testing.
Types of changes
What types of changes does your code introduce to thin-edge.io?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Codecov Report

Merging #431 (26e5fc4) into main (85e0037) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #431   +/-   ##
=======================================
  Coverage   62.68%   62.68%
=======================================
  Files         107      107
  Lines        6738     6738
=======================================
  Hits         4224     4224
  Misses       2514     2514

Continue to review full report at Codecov.

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


Create reading-school

@daniel-stoneuk Pull request merged. I am renaming the file for you, it has to have .txt extension. Thank you!


[Bug]: Missing Qt6GuiTools in QT6 package for MinGW (Windows)

Bug description
Hello,
I have 4 workflows in my CI involving QT6 on Windows:

QT 5.15.2 (win64_mingw81)
QT 6.7 (win64_mingw)
QT 5.15.2 (win64_msvc2019_64)
QT 6.7 (win64_msvc2019_64)

There is a problem with QT 6.7 (win64_mingw). There is a problem only with this configuration (workflows use the same code, the same base image). I think that package may miss something.
Cmake reports Error:
 CMake Warning at C:/msys64/mingw64/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  By not providing "FindQt6GuiTools.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt6GuiTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt6GuiTools"
  (requested version 6.7.1) with any of the following names:

    Qt6GuiToolsConfig.cmake
    qt6guitools-config.cmake

MinGW doesn't work also with 6.5, 6.6 and 6.2 releases (so I guess all the 6.X versions are broken)
All of the logs can be found in the logs from GitHub Actions on my repository:
https://github.com/AntiMicroX/antimicrox/actions/runs/9408049153/job/25915160132
Reproduction

Fork repository https://github.com/AntiMicroX/antimicrox/
Enable Github Actions for fork
Check Actions Output

Expected behavior
QT6 with MinGW should work like remaining variants.
aqt and python version
Python 3.11, aqt 3.1.15
Operating System
Windows
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi! Did you try installing Qt6 MinGW with the official installer on Windows locally? If the official installation is broken, too, I think you could raise an issue on Qt's bug tracker: https://bugreports.qt.io/.
And I guess this change is not only for MinGW, but also macOS: Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) - Pastebin.com.

Hello @pzhlkj6612 ,
I don't have Windows. That's why the only contact I have with this system is via runners used in Continous Integration.

@pzhlkj6612
Is there any official way of installing QT on windows purely by CLI? Which could be replicated inside a GitHub runner? In such a case I could figure out whether the source of problem lies in QT or in AQT

@pktiuk
There might be a way to install Qt with its online installer by CLI, but I didn't succeed.
My command in PowerShell on Windows 11:
.\qt-unified-windows-x64-online.exe `
  --email '<email>' `
  --password '<password>' `
  --no-save-account `
  --accept-licenses `
  --accept-obligations `
  --default-answer `
  --confirm-command `
  install qt.qt6.671.win64_mingw

ATTENTION: use Secrets in GitHub Actions to protect your credentials.
Always failed due to this error:
[526488] perform qt.tools.qtdesignstudio operation: Execute
[526491]        - arguments: C:\\Qt\\Tools\QtDesignStudio\bin\sdktool.exe, -s, C:\\Qt\\Tools\QtDesignStudio\share\qtcreator\\QtProject\qtdesignstudio, addTC, --id, ProjectExplorer.ToolChain.Custom:{9799e31f-e3d0-47cb-8bc1-1d0806d0ed23}, --language, C, --name, mock C compiler, --abi, x86-windows-msvc2019-pe-64bit, --path, not_existing, ProjectExplorer.CustomToolChain.TargetAbi, QString:x86-windows-msvc2019-pe-64bit, UNDOEXECUTE, {0,2}, C:\\Qt\\Tools\QtDesignStudio\bin\sdktool.exe, -s, C:\\Qt\\Tools\QtDesignStudio\share\qtcreator\\QtProject\qtdesignstudio, rmTC, --id, ProjectExplorer.ToolChain.Custom:{9799e31f-e3d0-47cb-8bc1-1d0806d0ed23}
[526645] C:\\\\Qt\\\\Tools\\QtDesignStudio\\bin\\sdktool.exe" started, arguments: "-s C:\\\\Qt\\\\Tools\\QtDesignStudio\\share\\qtcreator\\\\QtProject\\qtdesignstudio addTC --id ProjectExplorer.ToolChain.Custom:{9799e31f-e3d0-47cb-8bc1-1d0806d0ed23} --language C --name mock C compiler --abi x86-windows-msvc2019-pe-64bit --path not_existing ProjectExplorer.CustomToolChain.TargetAbi QString:x86-windows-msvc2019-pe-64bit
[529361] Warning: SOFT ASSERT [17:09:26.661]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:927
SOFT ASSERT [17:09:26.661]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
SOFT ASSERT [17:09:29.360]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
SOFT ASSERT [17:09:29.360]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
SOFT ASSERT [17:09:29.360]: "false" in C:\Users\qt\work\build\qt-creator\src\libs\utils\filepath.cpp:991
Error: Could not save settings C://Qt//Tools/QtDesignStudio/share/qtcreator//QtProject/qtdesignstudio/toolchains.xml.

I don't know why. I was running the installer with the Admin right.
References:

windows - Open-Source Version Installation Problems - Stack Overflow
Get and Install Qt with Command Line Interface | Qt 6
Using from Command Line | Qt Installer Framework Manual

@pktiuk , you can try to deploy a Windows VM on Linux. Debugging build system on CI looks painful to me. If you have Windows users, making a Windows test environment may not hurt.
I've viewed the directory hierarchy of Qt 6.7.0, 6.7.1 and 6.7.2 official installations on a Windows 11:
$ find . -iname '*Qt6GuiTools*'
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersionImpl.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-relwithdebinfo.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsVersionlessTargets.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersionImpl.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-debug.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-relwithdebinfo.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsVersionlessTargets.cmake

$ grep -rn 'Qt6GuiTools' .
./6.7.0/mingw_64/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:36:set(__qt_Gui_tool_deps "Qt6GuiTools\;6.7.0")
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake:1:# Additional target information for Qt6GuiTools
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake:35:if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsDependencies.cmake")
  <more results from "Qt6GuiToolsConfig.cmake">
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake:5:include("${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsConfigVersionImpl.cmake")
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:5:set(Qt6GuiTools_FOUND FALSE)
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:16:set(Qt6GuiTools_FOUND TRUE)
./6.7.0/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake:69:file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsTargets-*.cmake")
./6.7.0/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:6:set(__qt_WidgetsTools_tool_deps "Qt6CoreTools\;6.7.0;Qt6GuiTools\;6.7.0")
./6.7.0/msvc2019_64/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:36:set(__qt_Gui_tool_deps "Qt6GuiTools\;6.7.0")
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake:1:# Additional target information for Qt6GuiTools
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake:35:if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsDependencies.cmake")
  <more results from "Qt6GuiToolsConfig.cmake">
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake:5:include("${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsConfigVersionImpl.cmake")
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:5:set(Qt6GuiTools_FOUND FALSE)
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake:16:set(Qt6GuiTools_FOUND TRUE)
./6.7.0/msvc2019_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake:69:file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiToolsTargets-*.cmake")
./6.7.0/msvc2019_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:6:set(__qt_WidgetsTools_tool_deps "Qt6CoreTools\;6.7.0;Qt6GuiTools\;6.7.0")

Versions 6.7.0, 6.7.1 and 6.7.2 all have the same structure.

@pzhlkj6612
This is really strange: https://github.com/AntiMicroX/antimicrox/actions/runs/10945179079/job/30388800737?pr=1001
These files seem to be already placed in a proper location. Maybe I should prepare some kind of minimal reproduction.
Run find D:/a/antimicrox/antimicrox/Qt/6.4.2/ -iname '*Qt6GuiTools*'
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsAdditionalTargetInfo.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersion.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfigVersionImpl.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsDependencies.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets-relwithdebinfo.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsTargets.cmake
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsVersionlessTargets.cmake
-- Building for: Ninja

........

CMake Warning at C:/msys64/mingw64/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  By not providing "FindQt6GuiTools.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt6GuiTools", but CMake did not find one.
  Could not find a package configuration file provided by "Qt6GuiTools"
  (requested version 6.4.2) with any of the following names:
    Qt6GuiToolsConfig.cmake
    qt6guitools-config.cmake
  Add the installation prefix of "Qt6GuiTools" to CMAKE_PREFIX_PATH or set
  "Qt6GuiTools_DIR" to a directory containing one of the above files.  If
  "Qt6GuiTools" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  Qt/6.4.2/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsDependencies.cmake:9 (find_dependency)
  Qt/6.4.2/mingw_64/lib/cmake/Qt6WidgetsTools/Qt6WidgetsToolsConfig.cmake:34 (include)
  Qt/6.4.2/mingw_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:62 (find_package)
  Qt/6.4.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:34 (_qt_internal_find_tool_dependencies)
  Qt/6.4.2/mingw_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:40 (include)
  Qt/6.4.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
  CMakeLists.txt:536 (find_package)

Run find D:/a/antimicrox/antimicrox/Qt/6.4.2/ -iname '*Qt6GuiTools*'
D:/a/antimicrox/antimicrox/Qt/6.4.2/mingw_64/lib/cmake/Qt6GuiTools/Qt6GuiToolsConfig.cmake
...
  Could not find a package configuration file provided by "Qt6GuiTools"
  (requested version 6.4.2) with any of the following names:
    Qt6GuiToolsConfig.cmake
    qt6guitools-config.cmake
  Add the installation prefix of "Qt6GuiTools" to CMAKE_PREFIX_PATH or set
  "Qt6GuiTools_DIR" to a directory containing one of the above files.  If
  "Qt6GuiTools" provides a separate development package or SDK, be sure it
  has been installed.

Look at https://github.com/AntiMicroX/antimicrox/blob/4f053c687b017a84e7eb0fde6226343139472301/.github/workflows/main.yml#L144-L150:
            - name: Configure CMake
              run: |
                find D:/a/antimicrox/antimicrox/Qt/6.4.2/ -iname '*Qt6GuiTools*'
                cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -B "${{ github.workspace }}/build" ${{ matrix.cmake-args }}
              env:
                  CMAKE_PREFIX_PATH: ${{ env.Qt5_Dir }}
                  WORKSPACE_DIR: ${{ github.workspace }}

I think you can try this:
env:
    CMAKE_PREFIX_PATH: ${{ env.Qt6_Dir }}/lib/cmake/Qt6GuiTools

Is there a GuiTools in Qt 5? I don't know.

I think you can try this:
env:
    CMAKE_PREFIX_PATH: ${{ env.Qt6_Dir }}/lib/cmake/Qt6GuiTools

Is there a GuiTools in Qt 5? I don't know.

This did not help https://github.com/AntiMicroX/antimicrox/commit/93262c4e14f972106864126f66a2cbe91b49b77a

I think I fixed it. https://github.com/AntiMicroX/antimicrox/pull/1066
Proper walue was:
CMAKE_PREFIX_PATH: "${{ env.QT_ROOT_DIR }}/lib/cmake"

@pzhlkj6612
your suggestion helped a lot.
Somehow, only one variant of build was affected by this problem
Great thanks.  I wouldn't make it without your comments.

@pktiuk,

I think you can try this:
env:
    CMAKE_PREFIX_PATH: ${{ env.Qt6_Dir }}/lib/cmake/Qt6GuiTools

This did not help...

Proper walue was:
CMAKE_PREFIX_PATH: "${{ env.QT_ROOT_DIR }}/lib/cmake"

@pzhlkj6612 your suggestion helped a lot. Somehow, only one variant of build was affected by this problem
Great thanks. I wouldn't make it without your comments.

Good to hear that!
That was my bad. I forgot about what install-qt-action@v4 has changed. There is no Qt5_Dir or Qt6_Dir environment variables any more, but the QT_ROOT_DIR one ^1.


Geirst/proton matching metrics with new naming schema

@havardpe please review
@baldersheim FYI

Issue https://github.com/vespa-engine/vespa/issues/5750


Lab19 only Event Hubs resource is created when running the setup script

Module: 00
Lab/Demo: 00
Task: 00
Step: 00
Description of issue
only the events3rovcam Event Hubs Namespace is created when running the setup.ps1.
The following errors/warnings is showing up when running the setup script:
Outputs                 :
DeploymentDebugLogLevel :
Creating Event Hub client app...
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '>=18.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '>=18.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm notice
npm notice New major version of npm available! 8.19.4 -> 10.2.4
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.4
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
Repro steps:

Thanks for helping to sort this out Gramme.

I misunderstood the lab. This lab is only showing how to output streaming data to power BI. That's why it doesn't need Azure Synapse Analytics workspace created.


Generated enum case has difficulty with certain keywords

As per screenshot. The enum cases generated from autorest doesn't seem to add the `` around keywords such as public.

Fixed by #300.


How to keep asdf-standard subdirectory up to date?

Apologies for the possibly naïve newbie question, but is there a canonical procedure recommended how to update the asdf-standard subdirectory? I have just updated my local asdf clone to the latest master (f58dc868), with git status still showing that asdf-standard is modified; but the diff only indicates it apparently has an unexpected commit no.
Building and installing runs smoothly, but 95 % of the tests are failing catastrophically with ValueError: Don't know how to write out ASDF version 1.4.0
and the like; and indeed there is no
schemas/stsci.edu/asdf/version_map-1.4.0.yaml either in the installed asdf tree or the asdf-standard in the git repo. So how does the git control of the included subdirectories work - is one supposed to manually clone and update them from the right location (removing it entirely and getting a fresh checkout only creates an empty asdf-standard directory, and from there on everything fails)?
P.S.: browsing the related issues I found that initialising an empty asdf-standard is recommended via
git submodule update --init
which solved the last part of the problem and now provided me with up-to-date version_maps. This had been added to the README in #215, but apparently disappeared again since (cf. also #719). Also it is still not clear how to apply this to updating an existing asdf-standard submodule.

Submodules are new to me, but I'll take a crack at answering this.  It looks like git's default behavior is to fetch the submodule when pulling changes to the parent repository, but not automatically update it.  This command updates the submodule manually:
git submodule update

Another option is to configure git to automatically update the submodule to match the parent repository's commit pointer.  You can do that for your clone with this command:
git config submodule.recurse true

Or globally, for every repo you've cloned:
git config --global submodule.recurse true

I'm glad you asked -- I didn't have this option set on my own system, it makes managing the submodule much less annoying :)

I agree that we should revive the submodule instructions in the readme (and include this new trick), I'll open a separate issue to address that.

Another option is to configure git to automatically update the submodule to match the parent repository's commit pointer. You can do that for your clone with this command:
git config submodule.recurse true

Thanks, that was just the kind of solution I was looking for!


CLOUD-48916 update cb client version due to template API change

@schfeca75

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1870/


[Bug] MSI cloud shell the error message is not parsed from the error response.

Library version used
NA
Java version
NA
Scenario
ManagedIdentityClient - managed identity
Is this a new or an existing app?
None
Issue description and reproduction steps
The error response for cloud shell is different and needs to be handled differently to get the error message.
Sample error response from cloud shell when a wrong scope is passed.
"{\"error\":{\"code\":\"AudienceNotSupported\",\"message\":\"Audiencehttp://management.azure.comisnotasupportedMSItokenaudience.Supportedaudiences:https://management.core.windows.net/,https://management.azure.com/,https://graph.windows.net/,https://vault.azure.net,https://datalake.azure.net/,https://outlook.office365.com/,https://graph.microsoft.com/,https://batch.core.windows.net/,https://analysis.windows.net/powerbi/api,https://storage.azure.com/,https://rest.media.azure.net,https://api.loganalytics.io,https://ossrdbms-aad.database.windows.net,https://www.yammer.com,https://digitaltwins.azure.net,0b07f429-9f4b-4714-9392-cc5e8e80c8b0,822c8694-ad95-4735-9c55-256f7db2f9b4,https://dev.azuresynapse.net,https://database.windows.net,https://quantum.microsoft.com,https://iothubs.azure.net,2ff814a6-3304-4ab8-85cb-cd0e6f879c1d,https://azuredatabricks.net/,ce34e7e5-485f-4d76-964f-b3d2b16d1e4f,https://azure-devices-provisioning.net,https://managedhsm.azure.net,499b84ac-1321-427f-aa17-267ca6975798,https://api.adu.microsoft.com/,https://purview.azure.net/,6dae42f8-4368-4678-94ff-3960e28e3630\"}}"

Relevant code snippets
No response
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
Look for the error message one level down in the json.

Fixed in https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/750 and released in 1.14.4-beta


Removed focus content first when hiding

Moved the removal of focusable content to occur first since the content is added last when shown.  This prevents GiveUpFocus from re-activating the same content being hidden in the case where the content being hidden is the only content shown.
Steps to reproduce the original issue:

Use the DockingMDI style with multiple dock contents in a pane
Hide all dock content (hide the active content last)
Show all dock content
When the user switches between the dock content panes, the activated event will fire for all panes except when switching to/from the pane that was active before hiding.

Thanks. Will review it soon.

@dafuchs The changes look good, but can you share more details about the issue you were fixing? I found it difficult to follow your point 4, so is there a way to accurately verify it?

Hi,
Thank you for the post, as I need to say, this issue partially fixes an issue, but for the most important part. I non active pane gets closed the first pane isn't selected anymore. So I would say put this in the release.
However, if the active pane gets closed, the first pane gets selected instead of the previous selected one.

@bkbartk Thanks for evaluating this patch. I will put it into 2.11, and create a new issue #370 to track the side effect.


Please add support for React Native

My experience with React Native doesn't go beyond checking out some documentation. As far as I understand, it doesn't support SVG.

react-native-svg requires converting an entire icon code to React nodes tree. That means each icon must be pre-parsed, so it cannot be used with any icon components that load icon data on demand.
So the only solution is to use packages that generate components on demand during compilation, such as Unplugin Icons: https://github.com/antfu/unplugin-icons Currently it does not support React Native, but I think that's the best option to make Iconify icons work with React Native.

Closing as not planned.
Creating separate packages with icon data converted to JSX tree is not planned, as it is counter productive. The only use for such packages would be for React Native, which doesn't even fully support SVG.
It can be done with something like Unplugin Icons, as mentioned above, but that's out of scope for this project. Third party components are welcome.


Add instruction on how to "update" a docker image

https://stackoverflow.com/questions/49316462/how-to-update-existing-images-with-docker-compose

Fixed


Ant built failure

I've created a Docker image with the following:
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y git vim
RUN git clone https://github.com/UniTime/unitime.git /opt/unitime
WORKDIR /opt/unitime
RUN apt-get install -y ant
ENTRYPOINT bash

I then connected to that image and ran ant (after fixing the deprecation warnings as proposed in #113):
root@c511ef11c0ab:/opt/unitime# ant
Buildfile: /opt/unitime/build.xml

load-properties:

clean:
   [delete] Deleting directory /opt/unitime/temp/build

set-debug-mode:

set-optimize-mode:

init:
    [mkdir] Created dir: /opt/unitime/temp/build

prepare:
     [echo] Build number: 3 (dev)
     [echo] Build date: Tue, 26 Jul 2022
[propertyfile] Updating property file: /opt/unitime/build.date
     [copy] Copying 2710 files to /opt/unitime/temp/build

compile-java:
    [javac] Compiling 2598 source files to /opt/unitime/temp/build
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

timetable-jar:
      [jar] Building jar: /opt/unitime/Distributions/timetable.jar

compile-gwt:
     [java] Compiling module org.unitime.timetable.gwt.UniTime
     [java]    Compiling 30 permutations
     [java]       Compiling permutation 0...
     [java]       Process output
     [java]          Compiling
     [java]             Compiling permutation 1...
     [java]       Process output
     [java]          Compiling
     [java]             Compiling permutation 2...
     [java]       Process output
     [java]          Compiling
     [java]             Compiling permutation 3...

BUILD FAILED
/opt/unitime/build.xml:109: Java returned: 137

Total time: 15 minutes 8 seconds

How should I investigate this?

I guess that ant runs out of memory. Try to set ANT_OPTS with -Xmx1g before running ant. That is
export ANT_OPTS=-Xmx1g
ant

Though I have not seen this particular error before. From what I was able to find, it may mean that the process received signal 9 (SIGKILL), which is an unblockable kill. This could be an out-of-memory condition on the operating system, as the GWT build uses four threads, each allowed to allocate up to 2 GB of memory. You can try to change the build.xml here to set the number of local workers to just one.

With the change to use only one thread and ANT_OPTS environment variable, we get the following:
BUILD SUCCESSFUL
Total time: 80 minutes 18 seconds

Thanks for your suggestions.


master: Added device capability for Selenium tests.

Now you can run Selenium tests with Browserstack on mobile devices. Browserstack doesn't suport device capability within extra_capabilities.

This device setting is BrowserStack only? If so, then maybe you should add it to specific BrowserStackFactory class instead.

Right, there is already device capability within browser_stack session

I guess you're using wrong factory or otherwise I have no idea how that capability was missed.


How use with Alert?

I'm trying to use this with alert from react native,when the user select a option i show a alert to confirm .
But after use Alert the modal dropdown never hide , it stays on the screen forever, no matter what screen I go. I'm showing the alert inside a function that a pass in onSelect prop.
Thanks.

I am also facing the same issue today.

Ir's a bug of react-native.
You can delay the alert after the dropdown dismissed completely.

I faced this issue too. Fadeout animation conflicts with Alert's fadein  animation and it stuck in a strage state.
Although I don't like using timeouts in react-native, because it doesn't guarantee exact amount of timeout, adding setTimeout(()=> Alert.alert('...','...'), 100) will work as expected.


feat: fix latent pylint errors in many source files

Description
This is toward #114. We'd like to replace the many-entrypoint linting with the single-entrypoint pre-commit tool. When run in CI, we'll run pre-commit against all files for convenience. So, I ran pylint against all files in DGP and found some latent issues in master. This MR addresses the issues. The issues are almost entirely documentation issues, so the bulk of this MR is docs changes.
Note one quirk. According to the numpydoc style guide, we should be able to document parameters as
Parameters
----------
name: type, default: value
    Description.

if name gets a default value such as in f(name: str = "asdf"). However, pylint with the numpydoc plugin does not seem to recognize the default: value syntax when placed inline with the type documentation. To get around this, we use the canonical optional annotation and move the default value annotation into the parameter description.
Besides these docs changes, this does introduce some new code for calls to open. Pylint is very strict and requires we provide an encoding, so we just explicitly specify what will be used as the default in the end anyway, locale.getpreferredencoding(). Alternatively, we could suppress this pylint warning. This is only done for text-mode (not binary-mode) files.
Lastly, there were a few places where I simply couldn't intuit the types reasonably. In these cases (and in test code), I simply asked pylint to ignore missing docs.
Checks
I built the docs locally after this change. There are very many Sphinx warnings about unexpected section titles (for all sections: Parameters, Returns, etc.) in documentation of callables. These issues appear to exist on master already.
I reviewed the built documentation (and PDF, a la rinoh), and they still appear conveniently human-readable to me.

This change is

Thanks!


dot_general type constraints in spec are too strict

What happened?
https://github.com/openxla/stablehlo/blob/main/docs/spec.md#dot_general
states that the LHS and RHS of a dot_general must have equal types. (Constraint C1)
This is stricter than what XLA already supports: XLA allows the LHS and RHS to have different types.
Steps to reproduce your issue
No response
Version information
No response

Linking related issue as I've also pointed this out in #755

Hi @hawkinsp
Thanks for pointing to the issue. I agree that the constraint is too strict and (rightfully) not honored  by the current verifier.
From here, hlo_verifier, and conversation of XLA/HLO experts, I realized that there are no particular constraints on the type of the operands and the result is as precise as if the operands were casted to the output type.
As pointed by @ghpvnist, there is closely related concerns around the interpretation of the enum values value of precison config which governs at what precision the computation happens on those operations and at what precision the accumulation of results happens.
So here is my proposal:

Remove the constraint from the spec.md
Clarify the spec.md with the interpretation of different operand types as part of https://github.com/openxla/stablehlo/issues/1354.

@hawkinsp Please let us know if this sounds right to you?

From my offline conversation,  @hawkinsp is onboard with the proposal. Here is the PR removing the redundant constraint. With that let us close the current ticket to be superseded by the action item discussed in issue https://github.com/openxla/stablehlo/issues/755.

Hi @hawkinsp
As it turned out in the conversation that the "removing the constraint from the spec" cannot be isolated from addressing #755. Do you mind if we address the current issue once we have clarity on #755?

From my offline discussion with @hawkinsp, let us revisit this as proposed above. Unassigning for now.


A more helpful error message for missing simulators

This vague error message caused me a lot of pain in CocoaPods/CocoaPods#5878. I thought it was an xcodebuild error, while in fact it was a very simple thing to fix. This should spare future generations from this failure mode.

Will it be clear to people what “have a [OS] simulator installed” means and the steps they need to take? Can this be phrased differently to include the steps they need to perform?

@alloy Good point. What do you think about this?

Invalid OS tvos, valid values are ios, watchos. Go to Xcode and open Window -> Devices to make sure you have at least one tvos simulator set up. You can create a new simulator by pressing '+' in the bottom left corner of this window.

Maybe this could be enough?

Ensure that Xcode -> Window -> Devices has at least one tvos simulator listed or otherwise add one.

Ah! I like when errors first say what went wrong, then suggest a solution:

Could not find a tvos simulator (valid values: ios, watchos). Ensure that Xcode -> Window -> Devices has at least one tvos simulator listed or otherwise add one.

Is that cool?

Yup, totally 👍 Sorry, I didn’t mean to remove that first part, that part was just a given imo.

@segiddins I’m unfamiliar with the CI status of this. Is the build failing because of CI specific reasons?

I have no clue, maybe @neonichu would know?

Looks to me as if the Travis env changed since the last build, I'll make a PR to the fix the build.

↑ Updated the branch, passes CI now

Awesome 👍 Thanks, @radex!


I got 404 error

Hi I try to use public api to deploy and consume but this doesn't work, all the curl request response the some "HTTP/1.1 404 Not Found”
I use kong version 2.0.1
{
  "host": "dt.test.com",
  "created_at":<PHONE_NUMBER>,
  "connect_timeout": 60000,
  "id": "f2dec095-c195-422f-b915-3c5f12390f24",
  "protocol": "http",
  "name": "test1",
  "read_timeout": 60000,
  "port": 3000,
  "path": "/apitest/",
  "updated_at":<PHONE_NUMBER>,
  "retries": 5,
  "write_timeout": 60000,
  "tags": [],
  "client_certificate": null,
  "extras": {
    "createdUser": null,
    "updatedUser": null,
    "kong_node_id": "1",
    "service_id": "f2dec095-c195-422f-b915-3c5f12390f24",
    "createdAt": "2020-03-04T23:28:20.338Z",
    "updatedAt": "2020-03-04T23:44:01.955Z",
    "id": 16
  }
}

What curl requests are you using to test this configuration?

I tested with this curl : curl -i localhost:8000/apitest/users
what I want to do is request this api : http://dt.test.com:3000/users

Use the -H flag to set the Host header.
curl -H “Host: dt.test.com” localhost:8000/apitest/users
Please have a read of https://docs.konghq.com/2.0.x/getting-started/quickstart/. Please also use the discussion forums at https://discuss.konghq.com/ for user assistance. Github issues are reserved for bugs with Kong itself. Thanks.


7.10.1

Got all the displays building on 7.10.1.

Could you change .travis.yml to test the ihaskell-display packages on GHC 7.10 as well?
See the line
   if [ ${GHCVER%.*} = "7.8" ]; then

after script:. Change it to
   if [ ${GHCVER%.*} = "7.8" ] || [ ${GHCVER%.*} = "7.10" ]; then

If that builds it would be awesome to merge this.


Generator can't find app/models/User.rb

Command "rails generate sorcery:install" fails because the generator tries to insert code into file "app/models/#{model_class_name}.rb" which translates to "app/models/User.rb".
Error message:
/home/jari/.rvm/gems/ree-1.8.7-2011.03/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb:5:in `initialize': No such file or directory - /home/jari/work/sorcerytest/app/models/User.rb (Errno::ENOENT)
...
from /home/jari/.rvm/gems/ree-1.8.7-2011.03/gems/sorcery-0.7.1/lib/generators/sorcery/install_generator.rb:36:in `configure_initializer_file'

I just created a new rails app using:
rails new bla

Then cd into the new app, added sorcery 0.7.1 to the gemfile, bundle
install.
Then:
mac-pro:bla noam$ rails generate sorcery:install
create  config/initializers/sorcery.rb
generate  model User --skip-migration
invoke  active_record
create    app/models/user.rb
invoke    test_unit
create      test/unit/user_test.rb
create      test/fixtures/users.yml
insert  app/models/User.rb
create  db/migrate/20111022151417_sorcery_core.rb
Everything seems to work.
On Sat, Oct 22, 2011 at 5:02 PM, Jari Jokinen <
<EMAIL_ADDRESS>
Command "rails generate sorcery:install" fails because the generator tries
to insert code into file "app/models/#{model_class_name}.rb" which
translates to "app/models/User.rb".
Error message:
/home/jari/.rvm/gems/ree-1.8.7-2011.03/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb:5:in
initialize': No such file or directory - /home/jari/work/sorcerytest/app/models/User.rb (Errno::ENOENT)    ...    from /home/jari/.rvm/gems/ree-1.8.7-2011.03/gems/sorcery-0.7.1/lib/generators/sorcery/install_generator.rb:36:in configure_initializer_file'
--
Reply to this email directly or view it on GitHub:
https://github.com/NoamB/sorcery/issues/101

I'm not sure why you don't get errors, but your output says it creates user.rb and then inserts code into User.rb which is not the same file as user.rb, right?
I tested both, ree-1.8.7 and ruby-1.9.2.

Yes, I agree the output is weird.
The end result though is OK.
On Sat, Oct 22, 2011 at 5:39 PM, Jari Jokinen <
<EMAIL_ADDRESS>
I'm not sure why you don't get errors, but your output says it creates
user.rb and then inserts code into User.rb which is not the same file as
user.rb, right?
I tested both, ree-1.8.7 and ruby-1.9.2.
--
Reply to this email directly or view it on GitHub:
https://github.com/NoamB/sorcery/issues/101#issuecomment-2490605

Yes, it seems you are right.
On Sat, Oct 22, 2011 at 6:06 PM, Jari Jokinen <
<EMAIL_ADDRESS>
Did you notice that edit I made to my latest comment?
I think the new generator works only if your filesystem is case-insensitive
(Mac OS X?). It fails on most Linux environments, because Linux uses
case-sensitive filenames (meaning user.rb and User.rb are two different
files).
--
Reply to this email directly or view it on GitHub:
https://github.com/NoamB/sorcery/issues/101#issuecomment-2490749

Looks like it was a simple fix.
Thanks.


Add test to catch parameters that are not streamable to yaml

Basically, if we want to use yaml.safe_load() to read configuration files (and to keep them readable) then the stage config parameters have to be of simple types.
There are a few thing that break this, like trying to have a numpy array or a tuple as a stage parameter.
This will add a test to catch these cases, and fix a few outstanding cases.

done in #114


Records created outside of transaction block gets rolled back when transaction raises exception

What Ruby, Rails and RSpec versions are you using?

Ruby version: 3.1.2
Rails version: <IP_ADDRESS>
RSpec versions:

rspec-core 3.11.0
rspec-expectations 3.11.0
rspec-mocks 3.11.1
rspec-rails 5.0.3
rspec-support 3.11.0

Observed behaviour
When the application code raises exception in .transaction, records created outside of its block, including test data, got rolled back.
Expected behaviour
Raising exception in .transaction block rolls back only the data created in the .transaction.
Background
Although I'm attaching the reproduction repo below, I bet it doesn't look very straightforward. So let me explain why here.
I came across this behavior while I was struggling with a method which looked like this (but far larger): https://github.com/sato11/rspec-rails-transaction-sample/commit/169a98aa753b1de8638e884ac5035f1bcffc0b9f. I wanted it to become this: https://github.com/sato11/rspec-rails-transaction-sample/commit/5f8d90b0ea3c3641d7d791661966661b8e2279d8. Because on detecting deadlock our innoDB rolls back the transaction (doc), we needed to not only rescue it but also explicitly BEGIN again. However when I wrapped .transaction in begin-end the test started to fail and that's what I'm reporting here.
I'm not really sure if it's somehow related to #use_transactional_fixtures, but I bet it's a very subtle one. I'd be glad if I could get any advice of how I can work on this or how I can write the test in a different way 🙏
Can you provide an example app?
Sure.
https://github.com/sato11/rspec-rails-transaction-sample

Nested transactions are very tricky, especially with their (subjectively) nonsensical defaults.

By default, this makes all database statements in the nested transaction block become part of the parent transaction.

if :requires_new is set, the block will be wrapped in a database savepoint acting as a sub-transaction.

Exception handling and rolling back:

Also have in mind that exceptions thrown within a transaction block will be propagated (after triggering the ROLLBACK), so you should be ready to catch those in your application code.

The above statement covers the behaviour you're observing with ActiveRecord::Deadlocked with handing the exception outside of transaction block: your inner transaction propagates the exception to the outermost that Rails start for fixtures (with joinable: false), and presumably it rolls back everything, including the outermost transaction.
When you rescue the exception inside the transaction block, and the transaction handler doesn't rescue the exception, the outermost transaction has no way of knowing it has to roll back, too. I guess this is what you're aiming for exactly.
Side note: requires_new: true is an option that I strive to default to in my code.
For transactions that may have nested transactions, use joinable: false to prevent nested transactions from joining your explicit transaction. This may happen with implicit transactions ("save and destroy are automatically wrapped in a transaction") or an irresponsible code that opens transactions without requires_new: true.
Related cop suggestion.
:warning: Beware, turning off use_transactional_tests does not selectively turn it on and off for examples if you happen to do this from before/after/around hooks. For the very brave, there's a uses_transaction option.

Thanks for comments. Now it's making sense to me. It didn't occur to me at all that my transaction counts as nested, but yes apparently it seems wrapped by the test example's transaction.
Turning off transactional tests (I've chosen uses_transaction for trial), the issue has apparently resolved. On the other hand the records set up by before and let! are committed as well in this case, polluting the test database. It was sort of unexpected to me at first, but this is exactly what transactional tests mean, taking the documentation into account, right?

Transactional Tests
Test cases can use begin+rollback to isolate their changes to the database instead of having to delete+insert for every test case.
https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

Hi, yes without transactional tests you will need another database cleaning solution such as database_cleaner. As this is resolved by turning off transactional tests confirming it was the nested transactions causing the issue, I've closed this issue. The transactions are managed all by Rails test helpers.

I'd suggest staying away from uses_transaction unless you are testing code that is guaranteed to open the outermost transaction. This is not usually the case with application code where your code under test might be called from inside a transaction.
The burden of cleaning up manually is not much fun and as you've noticed has side effects on other tests as you've noticed.
I'd keep the code the way it was, rescuing the deadlock exception inside the inner transaction.
Specifically for your problem, retrying of deadlocks, there's deadlock_retry in the Rails org. You may want to look for some fresher forks, e.g. this one.
Not to say that there are some practices to avoid deadlocks, e.g. making updates ordering by the primary key, but this highly depends on your schema.

Yes I agree with everything you've mentioned. Thanks for quick advices! It was a great lesson for me that I can take advantage of hereafter 👍


fix: no state id finalized

Motivation

Right now we get the finalized state from block state cache but it's not guaranteed we have it there because it ranges between 96 states - 128 states

Description

Get from the checkpoint state cache instead, this does not work with n-historical state flag but will address that later in a separate issue
Rename the current/old checkpoint state cache file to inMemoryCheckpointsCache.ts to reflect the class name

Closes #6583

deployed to a node, this works fine
curl http://localhost:9596/eth/v1/beacon/states/finalized/validators/1
{"data":{"index":"1","balance":"32002032576","status":"active_ongoing","validator":{"pubkey":"0xa1d1ad0714035353258038e964ae9675dc0252ee22cea896825c01458e1807bfad2f9969338798548d9858a571f7425c","withdrawal_credentials":"0x01000000000000000000000015f4b914a0ccd14333d850ff311d6dafbfbaa32b","effective_balance":"32000000000","slashed":false,"activation_eligibility_epoch":"0","activation_epoch":"0","exit_epoch":"18446744073709551615","withdrawable_epoch":"18446744073709551615"}},"execution_optimistic":false}

:tada: This PR is included in v1.18.0 :tada:


[TE] Let's put this name in configuration

https://github.com/apache/incubator-pinot/blob/a1401de18c10fc07b557a6e5ce0efacd8d486869/thirdeye/thirdeye-frontend/app/pods/home/index/route.js#L81
@harleyjj

Closing third-eye related issue as the project has been moved out of the pinot repo. For unsolved issue that still applies, please create a new one under third-eye repo: https://github.com/project-thirdeye/thirdeye


BUG: Allows 'contract' in get_spot_value with daily frequency

Coverage decreased (-0.005%) to 87.021% when pulling de72246570f2420a59de093388255aa2ee4db848 on get-spot-value-contract-daily into 84e1813e95e69f2dcce57d0547ad5ce9f4eebbdd on master.

Coverage decreased (-0.005%) to 87.021% when pulling de72246570f2420a59de093388255aa2ee4db848 on get-spot-value-contract-daily into 84e1813e95e69f2dcce57d0547ad5ce9f4eebbdd on master.

We should add a test to test_continuous_future which covers using this with daily.
To do so, we may need to change the create_bardata method to accept an optional data frequency.
This change works, (and not blocking on this question), but I wonder if we can make all the conditionals on data_frequency and field etc. a bit cleaner with some dispatching/routing machinery.

Coverage increased (+0.002%) to 87.028% when pulling 2e1bfe6851443dca185de63222ed72bf5898c7ca on get-spot-value-contract-daily into 84e1813e95e69f2dcce57d0547ad5ce9f4eebbdd on master.

Coverage increased (+0.002%) to 87.028% when pulling 2e1bfe6851443dca185de63222ed72bf5898c7ca on get-spot-value-contract-daily into 84e1813e95e69f2dcce57d0547ad5ce9f4eebbdd on master.