Programmatically Detecting Whether Oculus Service Developer Mode is On or Not

Hi,
I am developing an app that disallows users to run in developer mode. I wonder if I can do it within the GearVRf. There should be a property that flags whether the developer mode is on or not.
Thanks,
L

Hi. Assuming you are talking about the GearVR developer mode (https://developer3.oculus.com/documentation/mobilesdk/latest/concepts/mobile-troublesh-device-run-app-outside/). There is no public API to my knowledge. You may check whether the phone is docked or not instead. It is not the same but it may work. We expose GVRActivity.getConfigurationManager().isHmtConnected() to determine the status.

Thanks. The isHmtConnected might work for me now.
Is the gearvr-developer-mode API is unavailable from Oculus side or it is just not included in GVRF now?

There is nothing from Oculus.

Got it. Thanks!


Add all possible_values to network command option

Description
This PR adds all possible values for network command option, it now shows a better help message with all valid values. It also updates a typo from demon to daemon on Node command docs.
Fixes #88

Notes to the reviewers
As described in the issue #88 comments, I went through the commands but did not find other than the network that we could update it to show all its possible values.

Checklists
All Submissions:

[x] I've signed all my commits
[x] I followed the contribution guidelines
[x] I ran cargo fmt and cargo clippy before committing

ACK.. Merged this into the branch.. Thanks for this @oleonardolima .. I also think there is no other place to put possible values in..


bump version and sha

Checklist

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

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

@gwaybio I unfortunately likely can't do anything hands on until middle of next week at the earliest, but essentially what I was suggesting was to add an outputs section ala below (this is copied directly from the linked comment in the other thread), so you'd essentially have pycytominer and pycytominer.collate packages made from the recipe. This is the manual section on doing so.
outputs:
  - name: scikit-image
    # Most of your original recipe would go here.
  - name: scikit-image.test
    requirements:
       run:
       - {{ pin_subpackage('scikit-image', exact=True) }}
       - pytest
  - name: scikit-image.docs
    requirements:
       run:
       - {{ pin_subpackage('scikit-image', exact=True) }}
       - numpydoc
       - sphinx
       - something else
  - name: scikit-image.all
    requirements:
       run:
       - {{ pin_subpackage('scikit-image', exact=True) }}
       - {{ pin_subpackage('scikit-image.test', exact=True) }}
       - {{ pin_subpackage('scikit-image.doc', exact=True) }}

Perfect, thanks for pointing to this. I can make these updates if I get to this sooner than you. If I do, I'll tag you to have a second set of eyes

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: run: cytominer-database >= 0.3.4 should not contain a space between relational operator and the version, i.e. cytominer-database >=0.3.4

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

I added the pin_subpackage logic to pycytominer.collate, but have received the following error:
Attempting to finalize metadata for pycytominer.collate
INFO:conda_build.metadata:Attempting to finalize metadata for pycytominer.collate
Traceback (most recent call last):
  File "/opt/conda/bin/conda-mambabuild", line 10, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/boa/cli/mambabuild.py", line 239, in main
    call_conda_build(action, config)
  File "/opt/conda/lib/python3.9/site-packages/boa/cli/mambabuild.py", line 211, in call_conda_build
    result = api.build(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/api.py", line 186, in build
    return build_tree(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 3088, in build_tree
    packages_from_this = build(metadata, stats,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/build.py", line 2051, in build
    output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
  File "/opt/conda/lib/python3.9/site-packages/conda_build/render.py", line 788, in expand_outputs
    for (output_dict, m) in deepcopy(_m).get_output_metadata_set(permit_unsatisfiable_variants=False):
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 2121, in get_output_metadata_set
    conda_packages = finalize_outputs_pass(ref_metadata, conda_packages, pass_no=0,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 770, in finalize_outputs_pass
    output_d = om.get_rendered_output(metadata.name()) or {'name': metadata.name()}
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 2180, in get_rendered_output
    for output_ in self.get_rendered_outputs_section(
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 2166, in get_rendered_outputs_section
    outputs = (yaml.safe_load(self._get_contents(permit_undefined_jinja=permit_undefined_jinja,
  File "/opt/conda/lib/python3.9/site-packages/conda_build/metadata.py", line 1602, in _get_contents
    rendered = template.render(environment=env)
  File "/opt/conda/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/opt/conda/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 8, in top-level template code
  File "/opt/conda/lib/python3.9/site-packages/conda_build/jinja_context.py", line 329, in pin_subpackage
    raise ValueError("Didn't find subpackage version info for '{}', which is used in a"
ValueError: Didn't find subpackage version info for 'pycytominer', which is used in a pin_subpackage expression.  Is it actually a subpackage?  If not, you want pin_compatible instead.
##[error]Bash exited with code '1'.
Finishing: Run docker build

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The recipe must have a build/number section.

Aha! With some trial and error, I think I finally have the recipe right, but now there is another issue - anything that's a dependency also needs to be in conda, which cytominer-database 0.3.4 is not. It looks like you set up an earlier version of cytominer-database with a conda recipe, but as cytominer_database (note underscore instead of dash) - I think it's therefore a matter of a) fixing the version (and name) there, then once that's pulled, adding here.

woohoo!! :)


Add BelowExSet

Coverage increased (+1.9%) to 96.813% when pulling 8c3ad97e6f5e59017b6d9baf1931c1f942f63107 on below_exset into e69c217df73050c2acf9f247cfc9a45c9fa5e2bc on master.


Definite large memory leak using sessionDelegate.taskDidComplete

I don't want to sound rude, but I think #1938 needs some urgent attention.  Anyone wiring up taskDidComplete for background upload or download will suffer a lot of leaks. The taskDelegate queue never gets resumed before the task is removed from requests. The queue leaks everything in it.

Please don't create new issues just to tell us to look at an existing issue.


405 GitHub community standards

Fixes #405

My personal repo is here to test the new changes.
https://github.com/arifulhaqueHO/testRepo
Please ignore the new feature issue template

Hey @michaelpearsonHO I think we should just include the feature request template in this PR as well. We already have it over in @arifulhaqueHO's test repo, just needs to be copied over from there. We'll get that done today.


Add account API methods

The following blockstack.js methods should be added:
getNamePrice
getNamespacePrice
getGracePeriod
getNamesOwned
getNamespaceBurnAddress
getNameInfo
getNamespaceInfo
getZonefile
getAccountStatus
getAccountHistoryPage
getAccountAt
getAccountTokens
getAccountBalance
estimateTokenTransfer

@larrysalibra @shreyasthiagaraj Are these the right methods, I don't see a use case for the ordinary app developer. I understand that it is interesting for a wallet/browser developer. Shall we provide it in a separate library?

@friedger Wallets are apps too. I think we should support all methods and let developers figure out the use cases.


src/simulator/graphics/gui/widgets/widget.cpp requires #include  for std::isnan()

Ops, thanks! Fixed in the last commit.


Runtime of the method?

How long does it usually take for a sample training run? I'm currently running this model on CUB using the given example parameters and it is taking a significant runtime (hours for 10s of iterations). Why is this significantly slower than the baselines compared against, like TF-VAEGAN? Is there a way to improve the runtime?

Thanks for your interest in our work.
In our experiments, the computation for the class-level contrastive embedding loss costs a lot of GPU memory. Thus, we calculate this loss with the form of 'for-loop', which corresponds to the function 'class_score_for_loop' and it slows down the training. To improve the runtime, you can use the function  'class_score_in_matrix' with a smaller batch size. As I have tested, using the matrix-form loss with the batch size of 512 takes about one hour (~140 epochs) to get similar results.

This sounds good! great work BTW.


CU-5vxv25 rebuild code for log can output by gunicorn -b <IP_ADDRESS>:5000…

… 'hive:create_app()'

Task linked: CU-5vxv25 check no node log  running by gunicorn

Task linked: CU-5vxv25 check no node log  running by gunicorn


Focus space command doesn't work

Suddenly, focus space commands such as yabai -m space --focus 1 stopped working on my machine (Mac OS 10.15.7), and I don't see anything that I may have broken before that. There are no errors or suspicious logs in debug files, but nothing happens when the command is executed.

Same issue with M1 mac Big Sur 11.5. using @xorpse's fork at https://github.com/xorpse/yabai for M1 support.

Make sure you are on the latest yabai version (v3.3.10 as of now), and reinstall the scripting-addition (sudo yabai --install-sa -- se wiki if you need more detailed instructions), and it should work again. Apple released a supplemental security update to Catalina that broke the existing Catalina support in yabai (prior to v3.3.10).

Can confirm that it works with M1 mac after https://github.com/xorpse/yabai/commit/ce793ce39d761d88a0fb02c1de0c0813831198d3 and after reinstalling the scripting-addition.


Reload bug

When you reload with / reload then you still have your rank but you have no rights anymore. A reboot does fix that, but it's pretty annoying to have to reboot.(spigot)

You shouldn't be doing a reload in the first place. Spigot even warns you about it.

It's best to do restarts as it refreshes the plugins correctly, it's the same with Windows tbh, reloads only restart some parts of the plugins, which will remove permission plugins' set prefixes/permissions.


C-chain cleanup remove atomic import/export tx

Pull Request Test Coverage Report for Build 590567312

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

Totals

Change from base Build 589487344:
0.0%

Covered Lines:
1558

Relevant Lines:
5602

💛  - Coveralls


"don't have enough balance" when I do

First, thanks for this, and good work! Setup was really simple. This bot surfaced when I googled something close to, 'slack bitcoin bot.'
I'm receiving "You don't have enough balance" when the balance command shows that I do. I dug into the code really quick and looks like this error message might have multiple underlying meanings? I'm not sure whether I've set up something incorrectly (and it really can't find the wallets it has created), or whether it truly thinks my balance is below 1bits.
Anyways, here's my chain of events in case it helps:

sent transaction for main wallet during setup
interacted with the bot to sanity check things (at which point it created my personal wallet)
waited for that main transaction to finish
also waited for a separate transaction to finish (me manually funding my tip wallet, since it was created before the main wallet was funded)
verified that the balance command was returning successfully ("You've got 100 bits")
started doing some secret reactions to test, noticed that no transactions were being created in coinbase
did some manual tip <user> <amount> commands in private chat with the bot (for 10bits and 1bits) and am now getting this error message every time: You don't have enough balance for that

edit: to clarify, when I say, "noticed that no transactions were being created in coinbase," I meant that I didn't notice any tip transactions being created. During initial interactions, the wallets for new users were being created successfully and their initial 100bits were being sent succesfully

also, I learned that it will PM the recipient in the event of this error, which I did not expect to happen when testing late at night...

Since I see other issues where users are successfully using this, my best guess is that this is happening because the default balance of 100 bits isn't enough to actually send bitcoin, if there are fees being added on the transactions?

For example, I sent $1 between two coinbase wallets and there is a 100 bits fee added onto this transaction:

After adding $1 to my wallet, I was able to successfully tip someone (and was not able to tip that person before the transaction completed). The default minimum balance looks to be too low.

Doesn't coinbase have an off-chain micropayments api? If the bot is creating all wallets, they are all coinbase wallets and should be able to be fee-free.

I think you are right about fees not applying to transactions between coinbase wallets. However, multiple people have tried tipping with our tipbot and experienced this behavior. My guess that it's related to fee logic still stands, since I have no other ideas. No tipping works unless you have more than 100 bits, even if you're only trying to send 100 bits. After your wallet balance exceeds 100 bits, you must tip at least 100 bits for it to work:

I don't have enough balance to send 99, but I have enough for 100? Regardless, I guess we personally discovered the reason behind things not working, and even then tipbot doesn't seem to be something we'll use, so I'm unsubbing from this issue. Feel free to close this, or leave it open to provide insight to others.


Seeking Maintainers for Showdown

With apologies, I've long been unable to stay up with maintaining Showdown on Github. As such, I've moved the repository to the "showdownjs" organization. I'm seeking maintainers to take over ownership of that organization and the Showdown project.
Please respond here if interested.

@al-the-x I should be able to release a very alpha version of the re-factored version of showdown in the next couple of days. I would really appreciate your help and @tracend too, if @coreyti agrees.

I've just pushed a very very alpha version of the showdown refactoring. Love if you could have a look.
https://github.com/showdownjs/showdown/tree/showdown2

@tivie would you mind opening a PR? I'll give it a shot at reviewing

@tivie @all maybe it's time we open a google group for general discussion (both dev and user)?

I'd like to help out as well- specifically on the AngularJs integration side.

I'd also be happy to help migrating from grunt to gulp(v4.0 when its released) task automation.

@SyntaxRules I'm fine with you coming aboard, if @pdeschen and @coreyti agree.
Regarding migrating to gulp, my question is: why?! The best thing would be dropping grunt (or gulp, or brocolli, or whatever) altogether and switch to pure NPM based tasks. =P

@tivie Thanks. An advantage of gulp over grunt is speed. Its hard for me to say how much of a speed up you would get by migrating (if any) because I don't know all the specifics of how this project uses grunt.
I can see the argument for just using npm modules and I totaly agree this works out well for simple projects. So maybe that applies here.

switch to pure NPM based tasks

Not enough power, no incremental rebuilds etc. etc.

After I used Showdown on my own project I've written a Dev.to article about extending it:
https://dev.to/gtanyware/how-to-customize-markdown-4geo

Am also interested.


Sneaking up on image cache upgrade issues

This looks good for review about from a transcient network CI blip in the last test run.

This looks good for review about from a transcient network CI blip in the last test run.


Resurrect support for loading the LLNL Richtmyer-Meshkov bob volume

I made these changes a bit back on my fork of ospray but didn't get around to opening a pull request. I'm not sure if it'd bork my fork if I pushed these same changes directly or such.
This fixes up the LLNL Richtmyer-Meshkov loader since some changes to the loading API broke support. Since you have to pass a "file extension" for the loader to get called it will handle ".bob" files where the file is actually the directory containing the blocks. So like ./ospVolumeViewer bob123.bob where bob123 is the directory with the volume data to load will load the volume.

There's a few other tweaks actually that I want to put in so I'll just copy this over & push it internally.


The directory to run the command could not be found

Hello, I'm very sorry to disturb you with this question. I'm a beginner. I don't know which root directory contains readme, that is, I can't find a suitable directory to run: Python setup.py Install. After searching many folders, I still can't find it. So can I ask you about this problem? Thank you

Hi, thank you for using Kaolin! The library went through a major rewrite with the version 0.9.0, and only the core library components we can thoroughly test and maintain are now part of this repository. Please refer to our latest documentation:
https://kaolin.readthedocs.io/en/latest/
I would suggest to follow our documentation here: https://kaolin.readthedocs.io/en/latest/notes/installation.html


Code to keep camera centered on Aruco board

Which section of robot code is this for?
SLAM
Description of feature
We are planning to have a camera pointed towards the collection bin at all times so we can localize using the Aruco Board(s). The camera will be mounted on some sort of device that allows it to pan side-to-side. We'll need to write some sort of control code that constantly adjusts the position of the servo in the panning device so that the board(s) stay in the camera frame as we move. This will require some computer vision work, along with some kind of feedback loop.
Summary
Write a ROS node that subscribes to a camera image topic as well as a topic indicating the current angle of the servo and outputs a message indicating the angle that the servo should move to (either an int or float message).
We also need to design and build the hardware for this ASAP

So we decided that within the aruco_localization node, we should publish an additional topic that is just the average of the corner values returned by the function that reads the board. Then a separate node should run a simple P or PI controller that adjusts the commanded servo position to minimize the error between the center of the board and the center of the camera frame.

That node should also listen to the 'marker_detected' topic and if the value is false, it should just sweep back and forth until the board is detected.

Sorry to be off topic here:
@danwarlevy @SwapnilPande @partlygloudy @pertbanking
Dear Robotics Club,
I am a professor at the University of Washington and faculty adviser to our student club ARUW.   I am collecting a list of contact info for Undergrad Robotics Clubs around North America.   Would you be so kind as to reply to this email with a simple confirmation?   If you are no longer involved, could you please connect me with current club president?
Thank you for your help!
Blake Hannaford
Electrical and Computer Engineering
University of Washington, Seattle WA

Our current club president is Stephanie Schroth<EMAIL_ADDRESS>


Change argon2 salt length to recommended value (16 bytes)

This pull request changes the Ksf implementation for Argon2 and sets the salt length to 16 bytes (instead of the minimal length of 8 bytes), the value recommended for password hashing in section 3.1 of the Argon2 specification.
This also serves to improve interoperability: for example, with this change, it's possible to use opaque-ke in conjunction with libopaque, since it also uses a 16-byte salt by default.
Note that this will make existing registrations (i.e., those made with an 8-byte salt) invalid, since KSF parameters (including salt length) must stay the same across registration and login.

Given https://github.com/RustCrypto/password-hashes/pull/306, perhaps it would be more apt to use the constant newly-exported constant RECOMMENDED_SALT_LEN?

Thanks for your comments! Should we wait until https://github.com/RustCrypto/password-hashes/pull/307 is merged so that the constant can be used, or do we want to address this in a follow-up PR?

Agreed, we can land now. Thanks for contributing!


Track review hours reported

It would nice to have a graph of the hours of review time reported.  Something that shows the distribution over time (violin/ridge?)

Done: https://dashboard.ropensci.org/history.html#individual-review-times (There seems to be quarto glitch with hrefs; you may need to scroll/click to get to right place.) Data are plotted as a simple time series of (default) quarterly averages, which I think is sufficient here, and the clearest way to present it. Explanation of data at top of that section. @noamross Let me know what you think, and/or suggest any changes you like. Thanks!

Thanks! For a time series, you are probably right that a simple average
makes sense.  But I'd really like to have a distribution handy.  How about
a separate plot of a histogram of all review times in, say, the past two
years? (Maybe 2 years is the default and the slider can filter it).
On Wed, Jul 3, 2024 at 6:26 AM mark padgham @.***>
wrote:

Done: https://dashboard.ropensci.org/history.html#individual-review-times
(There seems to be quarto glitch with hrefs; you may need to scroll/click
to get to right place.) Data are plotted as a simple time series of
(default) quarterly averages, which I think is sufficient here, and the
clearest way to present it. Explanation of data at top of that section
http://localhost:6146/history.html#review-duration. @noamross
https://github.com/noamross Let me know what you think, and/or suggest
any changes you like. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/ropensci-review-tools/dashboard/issues/37#issuecomment-2205733640,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELS2HM7Y25AN3LIWGMHUTZKPGVBAVCNFSM6AAAAABKB6DCD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVG4ZTGNRUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure, re-opening to address that ...

You could do the same for the total review duration

e.g., https://ropensci.org/blog/2016/03/28/software-review/#review-takes-a-lot-of-time

Interactive histograms of review durations and times at https://dashboard.ropensci.org/history.html#review-dur-time-histograms. I would have liked a ridgeline-type plot like https://observablehq.com/@observablehq/plot-psr-b1919-21, but (1) we don't really have enough data, and individual years are very chunky; and (2) current state of observable requires data for those kinds of plots to be passed as raw data, so histograms would have to be pre-aggregated, which is messy.
I think this is sufficient for now, but let me know if you want to iterate further. Thanks!

Could we use column plots or filled area? These are very visually similar to the time series and columns or filled areas better visually convery the concept.  Also, "Histograms" in the title should be "Distributions", (i.e., the other titles don't say "Line Plots" 😉)


UPNP responder not shutting down

Upon restart of home assistant from the UI it often gets stuck on the following and only a manual restart will work.
16-10-05 08:49:00 INFO (Thread-2) [homeassistant.components.emulated_hue] UPNP responder shutting down.

Did you ever find a solution to this? I now have the same issue as I need the service for my Amazon Echo.

I removed the mjpeg cameras that I had from hass and this seemed to have improved the problem.  I still get hanging on upnp occasionally.  in which case I just Control+C from terminal.
luckily hass is very stable so the only time I am restarting is when I am testing new components or changes in the configuration files so Control+C is not a problem.

Sadly I need my hue emulation. Thanks for responding though.
Any1 else maybe?

Issue is still existent in 0.40.1 and I'd still very much appreciate some kind of workaround or solution :-)


[PE-D][Tester C] Profile panel overspills when there are too many modules/groups

Suggestion: could make it so that the user can scroll if there are too many things to display in the profile panel

Labels: severity.Low type.FeatureFlaw
original: cyiting/ped#6

not in scope.


Update quickstart to correctly deploy from KUADRANT_REF

There was a line missing to set the deploy kustomization to the one for KUADRANT_REF so main was being used (also the deployment patching was unnecessary so removed). I've cherry-picked the commit to a test release branch to verify this:
export KUADRANT_REF=release-v0.6.0-hotfix
export KUADRANT_ORG=adam-cattermole
curl "https://raw.githubusercontent.com/${KUADRANT_ORG}/kuadrant-operator/${KUADRANT_REF}/hack/quickstart-setup.sh" | bash

Can see that the deployment images are now pinned (apart from authorino-operator):
kubectl get deployments -n kuadrant-system -o yaml | yq '.items.[].spec.template.spec.containers[].image'
quay.io/kuadrant/authorino:latest
quay.io/kuadrant/authorino-operator:latest
quay.io/kuadrant/authorino:v0.16.0
quay.io/kuadrant/kuadrant-operator:v0.6.0
quay.io/kuadrant/policy-controller:release-0.3
quay.io/kuadrant/limitador:v1.3.0
quay.io/kuadrant/limitador-operator:v0.7.0

Authorino operator has a separate issue, where the tagged version of the code is pointing to latest in the manifests https://github.com/Kuadrant/authorino-operator/blob/v0.10.0/config/manager/kustomization.yaml#L14-L16.

changes look fine, but I haven't had chance to verify


Selective INSERT does not return DEFALUTed field values

When persisting an entity, Speedment will return a possibly updated entity. Using selective persistence, the user may select to omit some fields from the operation and let the database fill them in. The returned entity will then have the omitted fields set to the values now present in the database. See https://speedment.github.io/speedment-doc/crud.html#selecting-fields-to-persist
This works for example for an autoincrementing ID field where persisting the entity with the ID field omitted will return an entity with the ID set to the generated value in the database.
It does not work for DEFAULT values in the database, however. For those values, the field will not be updated. JDBC does not seem to return any values at the time of persistence here, but the default values are available via JDBC metadata.
Solving this problem would allow for more efficient Hazelcast persistence. The easiest solution is probably just to document this bevaviour.

Documented


Serverside hidden activities

Very epic Rust code. Probably not very good looking and I will be sticking with TS from now.
Adds support for hiding activities for specific projects. This has been implemented client-side with hashes on the VSCode extension but I'd personally prefer to myself see the projects with names. Currently hidden projects can't be distinguished from each other and they will all have a empty string as the project name along with "hidden": true.

Additionally would it be possible for you or someone else (@Eldemarkki) to implement the funcitonality to the Frontend side so that we can enable it immediately after merging?


Setting font and text color in Interface Builder has no effect

Font and text color I set in IB are not applied in runtime. This issue affects both text field and text view.
These lines in JVFloatLabeledTextView.m look suspicious:
- (void)commonInit
{
    //...
    _placeholderLabel = [[UILabel alloc] initWithFrame:self.frame];
    // by default self.font is nil - so make UITextView use UILabel's default
    self.font = _placeholderLabel.font;
    _placeholderLabel.font = self.font;
}

This has been resolved.


Cannot hide the select box in a has_one field

Hello RailsAdminTeam!
I'm having some issues trying to remove the select box from a form for a model with a has_one present
I have two models:
Class Repository
  has_one :tag_filter

  edit do
   field :tag_filter do
     inline_edit false
     inline_add false
     formatted_value do
            bindings[:view].link_to 'Edit Tag Filter',
                                    bindings[:view].rails_admin.edit_path(:tag_filter, bindings[:object].tag_filter.try(:id))
     end
   end
  end

Class TagFilter
  belongs_to :repository

What I'm trying to achieve:

(just worked when passing a partial to the field, but then somehow I cannot trigger the modals correctly)
What I have today:

There is any solution for that? I want to avoid users mistakenly connecting their repository with a wrong tag_filter, but I'm not sure how to make it work.

There can be several ways to achieve this, and one solution is:
   field :tag_filter do
     read_only true
     formatted_value do
            bindings[:view].link_to 'Edit Tag Filter',
                                    bindings[:view].rails_admin.edit_path(:tag_filter, bindings[:object].tag_filter.try(:id)),
                                    {class: 'btn btn-info'}
     end
   end


Ghost element transparent on firefox and chrome windows

First I want to ask if this is a bug or a feature.
And second : is there any way to make the ghost element to be the same like the one drag started ?
Thank's.

Yes and no. See https://github.com/RubaXa/Sortable/issues/146


0.59 breaks pychromecast

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.59
Python release (python3 --version):
3.6
Component/platform:
pychromecast
Description of problem:
Ever since upgrade to 0.59, I get multiple tracebacks for pychromecast.  Downgrading to 0.58.1 resolves the issue.  Easily reproduced by running any automation that has a cast action.
Expected:
No errors
Problem-relevant configuration.yaml entries and steps to reproduce:
not sure if this is relevant - https://github.com/home-assistant/home-assistant/pull/10728 as that is the only change to the platform I can see in the repo.
Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 182, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/core.py", line 1031, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/media_player/__init__.py", line 408, in async_service_handler
    yield from getattr(player, method['method'])(**params)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/media_player/cast.py", line 315, in play_media
    self.cast.media_controller.play_media(media_id, media_type)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/controllers/media.py", line 465, in play_media
    callback_function=app_launched_callback)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 803, in launch_app
    self.update_status(lambda response:
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 794, in update_status
    callback_function=callback_function_param)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/controllers/__init__.py", line 84, in send_message
    self.namespace, data, inc_session_id, callback_function)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 603, in send_platform_message
    inc_session_id, callback_function_param)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 597, in send_message
    raise NotConnected("Chromecast is connecting...")
pychromecast.error.NotConnected: Chromecast is connecting...

Additional info:
If this is due to the firmware on cast devices and the API, I am not sure what needs to be done in HA if anything as this seems to be a breaking change with the pychromecast version bump.  I only have this configuration in HA.
  - platform: cast
    host: !secret cast_host1 -- Just an IP address

I also see the latest version via the setup says 1.0.2 but this link says 1.0.1 is
https://github.com/balloob/pychromecast/releases/tag/1.0.1
Maybe I'm missing something.

Yeah, I've lost streaming too since upgrade.

@mf-social are you casting to a group or just a single device?

I haven't grouped any of the devices in HA, just in Google Home app.
My configuration is simply - platform: cast
I have 3 devices (living room, kitchen and bedroom)
I have 2 groups (everywhere - all 3, and downstairs - living room and kitchen)
I cannot cast to anything atm.  Local files and remote streams have both been tested, same result.
Hope this is enough information, but if you need anything else let me know.

I just reported it, I'm not a python guy lol.  Hopefully someone with some knowledge on the subject can help us. Thanks for confirming.  I was hoping it wasn't just because I have devices grouped in HA.  I stopped using google home groups because the device ID would change randomly and I'd get occasional errors

+1 for me. Also use Groups in GH.

Same here
Home Assistant release (hass --version):
0.59.0
Python release (python3 --version):
3.5.2
Description of problem:
Turning on media players such as chromecast audio or google home mini fails.
The media player state is still off.
Expected:
Turn on without errors
Problem-relevant configuration.yaml entries and steps to reproduce:
Auto discovery configuration

Turn on chromecast audio or google home mini media player

Additional info:
When the google home mini media player is turned on, I do hear the chime sound as if the Default Media Receiver was started (and the Google home app also shows Default Media Receiver) but the state in HA is still off. Chromecast video seems to work fine though.
No issues when downgrading to 0.58.1
Firmware version:
Chromecast video: 1.28.100555
Chromecast audio: 1.28.100555
Google home mini: 1.28.100429

I'm also having issues with TTS to a Google Home unit, with a simple automation that triggers TTS when the garage door changes state (e.g. "Garage Door Is Open" when it opens).  Worked under 0.58.1 (and prior) and Logbook shows that the automation is triggering.
Only one Chromecast device, the Google Home.
Getting this traceback:
Dec  3 19:23:20 hass1 hass[591]: #033[32m2017-12-03 19:23:20 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=media_player, service=play_media, service_data=media_content_id=http://<IP_ADDRESS>:8123/api/tts_proxy/dc724af18fbdd4e59189f5fe768a5f8311527050_en_-_google.mp3, media_content_type=music, entity_id=['media_player.family_room_home'], service_call_id=1967042864-954>#033[0m
Dec  3 19:23:20 hass1 hass[591]: #033[31m2017-12-03 19:23:20 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved#033[0m
Dec  3 19:23:20 hass1 hass[591]: Traceback (most recent call last):
Dec  3 19:23:20 hass1 hass[591]:   File "/usr/local/lib/python3.6/asyncio/tasks.py", line 182, in _step
Dec  3 19:23:20 hass1 hass[591]:     result = coro.throw(exc)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/core.py", line 1031, in _event_to_service_call
Dec  3 19:23:20 hass1 hass[591]:     yield from service_handler.func(service_call)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/media_player/__init__.py", line 408, in async_service_handler
Dec  3 19:23:20 hass1 hass[591]:     yield from getattr(player, method['method'])(**params)
Dec  3 19:23:20 hass1 hass[591]:   File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
Dec  3 19:23:20 hass1 hass[591]:     yield self  # This tells Task to wait for completion.
Dec  3 19:23:20 hass1 hass[591]:   File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
Dec  3 19:23:20 hass1 hass[591]:     future.result()
Dec  3 19:23:20 hass1 hass[591]:   File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
Dec  3 19:23:20 hass1 hass[591]:     raise self._exception
Dec  3 19:23:20 hass1 hass[591]:   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
Dec  3 19:23:20 hass1 hass[591]:     result = self.fn(*self.args, **self.kwargs)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/media_player/cast.py", line 315, in play_media
Dec  3 19:23:20 hass1 hass[591]:     self.cast.media_controller.play_media(media_id, media_type)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/controllers/media.py", line 465, in play_media
Dec  3 19:23:20 hass1 hass[591]:     callback_function=app_launched_callback)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 803, in launch_app
Dec  3 19:23:20 hass1 hass[591]:     self.update_status(lambda response:
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 794, in update_status
Dec  3 19:23:20 hass1 hass[591]:     callback_function=callback_function_param)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/controllers/__init__.py", line 84, in send_message
Dec  3 19:23:20 hass1 hass[591]:     self.namespace, data, inc_session_id, callback_function)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 603, in send_platform_message
Dec  3 19:23:20 hass1 hass[591]:     inc_session_id, callback_function_param)
Dec  3 19:23:20 hass1 hass[591]:   File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pychromecast/socket_client.py", line 597, in send_message
Dec  3 19:23:20 hass1 hass[591]:     raise NotConnected("Chromecast is connecting...")
Dec  3 19:23:20 hass1 hass[591]: pychromecast.error.NotConnected: Chromecast is connecting...#033[0m

CC @OttoWinter

I seem to be experiencing the same issue on 0.59.1

Huh... That's really weird. Even more so because I myself am not experiencing any of these errors. Anyway, I'm really sorry for breaking some cast devices.
Now to the error: I think it's really weird these errors are appearing when attempting play some audio and in the SocketClient class; I mean the code I changed was only used during the initialization phase and so it would be much easier to understand if the initialization of some devices failed and they wouldn't show up, but that doesn't seem to be the case here.
My first guess would be that some parameter handed to SocketClient is incorrect - but the only one is cast_type which probably wouldn't cause such an error.
I really currently have no idea what might be causing this. I'm currently not at home but I'll look into it more in a few hours.

Just noticed this commit which corresponds quite well with the error (self.connecting staying set to True -> the mentioned error in the log because self.connecting is True). I don't really know why I bumped the version to 1.0.2 in my Hass PR #10728 (probably to include balloob/pychromecast#198 - I don't know much about how pip works), but maybe somebody could try without that commit and share their results. Thx!

Ah, sorry for CCing you @OttoWinter but thanks for trying to figure it out anyway. Would be great if someone that experiences the error can report back if that fixes it.

I actually don't think that the referenced commit is part of the release that we included. If someone can try with reverting these changes, that might be the culprit: https://github.com/balloob/pychromecast/pull/184/files#diff-9829f5e02f299d2bfb52a4d320201b8eR820

@OttoWinter @balloob
Tested this yesterday with @edif30, forcing 0.8.2 does not change the behavior.
Issue is present on all devices except Ultra. Ultra also is the only one that still shows the volume control.
Issue is present regardless if GH group is defined or not (one of my CAudio being part of the group is powered off, I initially thought this could be the issue as all affected devices are part of the group and Ultra being the only unaffected is not as its not compatible with GH group).
My setup (diff ver from @chocomega) @OttoWinter can you compare with yours please?
Audios: 1.29.104827 (beta)
Ultra: 1.28.100555
Home: 1.28.99956
Side note: I did get, I believe always on 1st attempt of tts the following error:
2017-12-04 00:00:15 ERROR (MainThread) [homeassistant.components.tts.google] Error 404 on load url http://translate.google.com/translate_tts?total=1&client=tw-ob&q=&textlen=0&tk=688168.846120&idx=0&tl=en&ie=UTF-8
2017-12-04 00:00:15 ERROR (MainThread) [homeassistant.components.tts] Error on init tts: No TTS from google for ''

Just noticed another issue which makes me think this may not be linked with the cast libraries at all: I have webostv setup since ever, and I have the same lack of control (no volume, current selected app, does not respond to anything except power on).
Can you guys test other media_player devices in installations where cast is affected?

So I just figured out how to recreate this issue using my Google Home Mini (version 1.28.100429).
For me, after restarting Home Assistant the Home Mini works and I can play tts without a problem - though if I stop the "Default Media Playback" using the power on/off button in hass, I experience the same issue as @chocomega : Only the playback-begin chime is played but nothing else + the pychromecast.error.NotConnected: Chromecast is connecting... exception.

I'm now starting to think that the chime issue and SocketClient error are unrelated because I now am able to replicate the chime issue with a small script - but I'm not getting any pychromecast.error.NotConnected errors. Maybe somebody who knows more about pychromecast can check out what might be going wrong here. With my setup, the first time play_media is called everything works just fine and type': 'LOAD' is sent but the second time it is called the library seems to be waiting indefinitely for 'type': 'GET_STATUS' to succeed.
import pychromecast
import time
import logging

logging.basicConfig(level=logging.DEBUG)
c = pychromecast.get_chromecasts()[0]
mc = c.media_controller

URL = 'https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3'
print("Casting media...")
mc.play_media(URL, 'music')
time.sleep(10)

print("Stopping app...")
c.quit_app()
time.sleep(5)

print("Casting media...")
mc.play_media(URL, 'music')
time.sleep(10)

(That song is just a random mp3 I snagged from the internet and does not remotely reflect my music interest 😂 )

Same here cannot play mp3 files keep getting: pychromecast.error.NotConnected: Chromecast is connecting...

Home Assistant release (hass --version):*
0.59.1
Component/platform:
hass.io -> media_player
Description of problem:
Cannot "Turn on" devices or play TTS through them (also applies to sending music)
Expected:
Be able to "turn on" and use TTS
$> pip install pychomecast==0.8.2
$> python
>> import pychromecast
>> x = pychromecast.get_chromecasts()
>> c=x[0]
>> c.status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.10000000149011612, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='')

>> c.play_media('https://home-assistant.io/images/cast/splash.png', pychromecast.STREAM_TYPE_BUFFERED)
>> c.status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.10000000149011612, volume_muted=False, app_id='CC1AD845', display_name='Default Media Receiver', namespaces=['urn:x-cast:com.google.cast.debugoverlay', 'urn:x-cast:com.google.cast.broadcast', 'urn:x-cast:com.google.cast.media'], session_id='a7e3986d-171e-46a5-9188-058681d4f304', transport_id='a7e3986d-171e-46a5-9188-058681d4f304', status_text='Now Casting')

>> c.quit_app()
>> c.status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.10000000149011612, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='')

Updating to new version
$> pip install pychomecast==1.0.2
$> python
>> import pychromecast
>> x = pychromecast.get_chromecasts()
>> c=x[0]
>> c.status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.10000000149011612, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='')

>>> c.play_media('https://home-assistant.io/images/cast/splash.png', pychromecast.STREAM_TYPE_BUFFERED)
>>> c.status
CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.10000000149011612, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='')

Running >>> c.play_media('https://home-assistant.io/images/cast/splash.png', pychromecast.STREAM_TYPE_BUFFERED) ~3 times results in
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ryanm/workspace/home-assistant/vplex/lib64/python3.6/site-packages/pychromecast/controllers/media.py", line 465, in play_media
    callback_function=app_launched_callback)
  File "/home/ryanm/workspace/home-assistant/vplex/lib64/python3.6/site-packages/pychromecast/socket_client.py", line 803, in launch_app
    self.update_status(lambda response:
  File "/home/ryanm/workspace/home-assistant/vplex/lib64/python3.6/site-packages/pychromecast/socket_client.py", line 794, in update_status
    callback_function=callback_function_param)
  File "/home/ryanm/workspace/home-assistant/vplex/lib64/python3.6/site-packages/pychromecast/controllers/__init__.py", line 84, in send_message
    self.namespace, data, inc_session_id, callback_function)
  File "/home/ryanm/workspace/home-assistant/vplex/lib64/python3.6/site-packages/pychromecast/socket_client.py", line 603, in send_platform_message
    inc_session_id, callback_function_param)
  File "/home/ryanm/workspace/home-assistant/vplex/lib64/python3.6/site-packages/pychromecast/socket_client.py", line 597, in send_message
    raise NotConnected("Chromecast is connecting...")
pychromecast.error.NotConnected: Chromecast is connecting...

Reverting Hass.io to 0.58.1 resolves the issue

Currently on .58.1  I have not upgraded to 59.  I am unable to get the google mini to play.    I do get the google chime startup,  but no audio

I'm reverting to the old pychromecast in 0.59.2. Will give people time to figure out what is wrong with the new pychromecast version.

Thanks all!  If you need me to test anything, please let me know!

I have now rolled back Home Assistant (Running in Docker on Synology) to 0.58.1, however my chromecast devices are still not being discovered. Any ideas?

@jjanderson Chromecast discovery doesn't currently work inside Docker containers (zeroconf basically only listens on one interface for discovery messages).

@OttoWinter  This was working until around 58 cant remember which version it stoppewd wortking on, but all my Chromecast devices used to be discovered (LG Musiclows x4, Android with caster) even the groups were discovered correctly...

I have discovery currently working in docker, 0.59.2, network is set to host mode though.
The other issue I have is that the minis I have don't seem to play the tts sound on the first go, if i sent it I heard the notification tone and then nothing, then send it again and it plays, kind of like it needs to be woken up.

@jjanderson Sorry, I didn't think of the net: host mode - I'm just so used to manually having to add my Chromecast devices. Well anyway, if it stopped working around the 0.58 release I believe it is not related to this particular issue, but I would take a look at balloob/pychromecast#197. Could you try manually downloading the latest version of pychromecast (pip install pychromecast) and running the following code:
import pychromecast

pychromecast.get_chromecasts()

@danpowell That issue should be fixed via balloob/pychromecast#202, could you try with the latest pychromecast version?


[FEATURE] Open folder instead of single files

It would be nice if we could open a folder containing files for both amps and IRs instead of having to open 1 by 1 to try them out.
The idea would be to indicate a folder, where several files would be and then select from any file through a drop-down menu instead of having to open the files 1 by 1. That would speed up the process of selecting cabs or IR quite a bit.
Thank you for the amazing plugin.

The current plan is to add scrolling buttons -- see #63, #65. But we'll see what the options are

I believe a drop down would be handy as well since we could see the list and select any option instead of having to navigate 1 by 1. It would improve the user experience.

see PR #242

can be closed


Re-enable Redis 5 support in vmq_diversity

In relation to:
https://github.com/vernemq/vernemq/pull/2112
PR enables Redis 5 compatibility (when we do not have a given Redis Username).
cc @goldyfruit @mths1

Thanks @ioolkos


Railway Tailscale personal VPN

Contact Details
<EMAIL_ADDRESS>Template URL
https://railway.app/template/uIBpGp?referralCode=KgmRt8
What does this template deploy?
This template deploys a tailscale instance running an exit node that routes all traffic from other machines on the same tailnet through it, effectively making a small personal VPN
Originally I created this project on railway privately, but thought that others might also find it useful, especially that at the time of creating the project there wasn't any other vpn templates on the platform, so I made it a template on railway
Demo project
No response

To the best of my knowledge, VPNs/Proxies/VNC/Virtual Machines are not allowed on the platform. A member of the team can correct me if I'm wrong.


Cosign Keyless Sign OIDC Providers

Hi there,
I've created a ticket in the past, but I have been looking into using keyless signing again. My problem is that I want to be able to use keyless signing completely from the command-line / terminal (without the need to login through a UI). So far, the cosign docs haven't shown how to do this with OIDC providers other than GCP... The example in the documentation is:
cosign sign --identity-token=$(gcloud auth print-identity-token --audiences=sigstore) gcr.io/user-vmtest2/demo
We do not use GCP so unfortunately this is not an option for us. Alternatively, I did try using my Amazon EKS Cluster as the OIDC provider (following this guide), and the Identity Token I received from that turned out to work with cosign just fine. The ID token from EKS took this form:
{
  "aud": [
    "sigstore"
  ],
  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "https://oidc.eks.us-west-2.amazonaws.com/id/EKS_ID",
  "kubernetes.io": {
    "namespace": "MY_EKS_NAMESPACE",
    "pod": {
      "name": "MY_EKS_POD",
      "uid": "1234567899"
    },
    "serviceaccount": {
      "name": "MY_EKS_SERVICE_ACCOUNT",
      "uid": "1234567890"
    }
  },
  "nbf":<PHONE_NUMBER>,
  "sub": "system:serviceaccount:MY_EKS_SERVICE_ACCOUNT"
}

I wanted to try and see if we can use Hashicorp Vault as an OIDC provider. Our Vault ID token takes the form:
{
  "aud": "sigstore",
  "email"<EMAIL_ADDRESS>  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "https://stg.vault.company.com/v1/VAULT_NAMESPACE/identity/oidc",
  "namespace": "t9wNo",
  "nbf": "1727328682",
  "sub": "1234567890"
}

The public keys can be reached at https://stg.vault.COMPANY.com/v1/VAULT_NAMESPACE/identity/oidc/.well-known/keys. However, using this token unfortunately leads to the error:
cosign sign-blob --identity-token eyabc --output-certificate cert.txt --output-signature sig.txt test.txt --bundle cosign.bundle
Using payload from: test.txt
Generating ephemeral keys...
Retrieving signed certificate...
Error: signing test.txt: getting key from Fulcio: retrieving cert: not verified by identity provider
main.go:74: error during command execution: signing test.txt: getting key from Fulcio: retrieving cert: not verified by identity provider

Is there anything wrong with the Vault token claims? Is the Vault token not an option we can use? Are there any other options we can use for our use-case?

Closing as this is an issue with supported providers in Fulcio.


ci: update github actions

Not related to consensus, but it's useful to take a look at our CI.yaml for general understanding of what we are testing ;)


Add missing virtiofsd warning

@monstermunchkin this PR can use the new d.state.Cluster.UpsertWarningLocalNode and warnings.ResolveWarningsByLocalNodeAndType functions now they've been merged.

Testsuite passed


Support Swift Package Manager

PMKUIKit doesn't support Swift Package Manager. This requires a Package.swift file at the root of the repository following the format defined in Package Description.

+1 Would love this support too


Update NextCloud

Hello,
I am trying to update my Nexcloud to the latest version and don't see a way to do it.
The "Open updater" takes me to a page that doesn't exist (https://<my server ip>/updater) and I don't see any documentation on how to perform updates.
This is the screen I am looking at:

Can anyone tell me how to install this?
Also I updated the OnlyOffice App within the web interface, would this need any additional updates in the future?
Thank you!

Hello,
Please contact the Nextcloud team to get help updating the nextcloud:fpm container. As for the OnlyOffice connector app, we do release new versions for it, so you might want to update it in the future as well.

Hello,
Please contact the Nextcloud team to get help updating the nextcloud:fpm container. As for the OnlyOffice connector app, we do release new versions for it, so you might want to update it in the future as well.

I found out that the docker container I am using is still the latest version (update not available in docker format yet).
Found a guide that should work for others looking for the answer to this question:
docker pull nextcloud
docker ps

Look for your nextcloud:fpm container ID
docker stop <your_nextcloud_container_ID>
docker rm <your_nextcloud_container_ID>
docker-compose up -d

I found out that the docker container I am using is still the latest version (update not available in docker format yet).
Found a guide that should work for others looking for the answer to this question:
docker pull nextcloud
docker ps

Look for your nextcloud:fpm container ID
docker stop <your_nextcloud_container_ID>
docker rm <your_nextcloud_container_ID>
docker-compose up -d


💡[Feature]:  Cyber Attack Prediction (Random Forest)

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Implementing machine learning algorithms for cyber attack detection involves analyzing network data to identify potential threats by finding correlations between variables. This approach enhances the accuracy and efficiency of detecting cyber attacks, thereby improving the security of digital networks and systems.
Use Case
Towards improved cyber security Some use cases are as follows:
Intrusion Detection
Phishing Detection
Malware Detection
Network Traffic Analysis
Endpoint Security
User and Entity Behavior Analytics
Threat Intelligence
Benefits

Improved Accuracy as Machine learning models can analyze vast amounts of data and detect subtle patterns that traditional methods might miss, leading to more accurate threat detection.
Real-time Detection Machine learning can process data in real-time, allowing for the immediate identification and response to cyber threats, minimizing potential damage.
Reduced False Positives by learning from historical data, machine learning models can distinguish between legitimate activities and actual threats, reducing the number of false positives.

Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please preview


Italian translation added

I've added an Italian translation of the Readme.
Feel free to include that in the repo if you wish.
Thanks

@enricolucia Thanks for the contribution :clap: really like it.
You can also add a link in the https://github.com/oneuijs/You-Dont-Need-jQuery#translations section.

@camsong you are welcome.
Just added in there.

Can you also fix other broken links.
Can you squash these commits into one? May refer to https://davidwalsh.name/squash-commits-git
If you don't know how to squash, the easy way is to save your changes first -> delete your fork and fork from here again -> apply your changes manually -> create a new PR.

Just squashed and pushed.

:+1: great

Pleased to contribute :+1:


visible object can't found in event.instance_detections2D or frame

I search all objects in event.metadata["objects"]，to get the visible objects' bbox
But I found that many visible object can't found in event.instance_detections2D or frame
here's an example
Bed and CD are visible.
*visible means metadata[object]['visible'] = True

Hi @cghAndy,
Thanks for the bug report. Can you provide a small script that reproduces the error you're seeing? It would be great to know what version of AI2-THOR you're using.

My version of AI2-THOR  is 5.0.0, and using dataset procthor.
a small script from my code:
def __init__(self, args=None):
       self.args = args
       self.dataset = self.load_dataset()[args.mode]
       self.controller = Controller(scene=self.dataset[0], renderDepthImage=self.args.is_depth,renderInstanceSegmentation=True)
       if self.args.collect_data:
           self.collect_data()

def load_dataset(self) -> prior.DatasetDict:
       data = {}
       dic = {"train": 10000, "val": 1000, "test": 1000}
       for split, size in [("train", 10_000), ("val", 1_000), ("test", 1_000)]:
           with gzip.open(f"dataset/{split}.jsonl.gz", "r") as f:
               houses = [line for line in tqdm(f, total=size, desc=f"Loading {split}")]
           data[split] = LazyJsonDataset(data=houses, dataset="procthor-dataset", split=split)
       return prior.DatasetDict(**data)

def teleport(self, position, rotation, horizon):
       event = self.controller.step(action="Teleport", position=position, rotation=rotation, horizon=horizon)
       return _event_

def get_bounding_box(self, event, objectId):
       return event.instance_detections2D.[objectId]

def get_reachable_position(self):
       event = self.controller.step(action="GetReachablePositions")
       return event.metadata["actionReturn"]

def collect_data(self):
       self.house = self.dataset[idx]
       self.controller.reset(scene=self.house, renderDepthImage=self.args.is_depth, renderInstanceSegmentation=True)
       reachable_position = self.get_reachable_position()
       for position in reachable_position:
                   rotation = random.choice([{'x': 0, 'y': 0, 'z': 0}, {'x': 0, 'y': 90, 'z': 0}, {'x': 0, 'y': 180, 'z': 0}, {'x': 0, 'y': 270, 'z': 0}])
                   horizon = random.choice([0, 30, -30])
                   event = self.teleport(position, rotation, horizon)
                   for obj in event.metadata["objects"]:
                       if obj['visible']:
                              bbox = self.get_bounding_box(event, obj["objectId"])

Hi, are there any updates in this thread? Even I'm unable to get the 2D bounding boxes of visible objects using controller.last_event.instance_detections2D.

You can use controller.events.class_detections2D to get the 2D bounding boxes instead. Works for me.


Added integration test which demonstrates a bug.

One of these tests currently fails:
It should be possible to load CF data with a grid mapping variable that specifies no more than the type of mapping.
This currently works with a rotated-lat-lon, which is perhaps surprising as it has to use a default pole position.
However it fails for a "plain" (unrotated) lat-lon.
This should be fixed
(PR is a placeholder for a future fix)

This problem is derived from a Google Group report : https://groups.google.com/forum/?hl=en-GB&fromgroups=#!topic/scitools-iris/FDA_sGzFPbQ
The resulting error message is shown there.
That matches the error message produced by the failing test here.

@pp-mo This is very old now.  Would you mind rebasing to see whether this still needs fixing please?

It says it doesn't need rebasing but I'm pretty sure that's a fib.


Update README.md

With Go Modules, you don't need to install dependencies manually.
If you encounter a problem, please make sure that Go version is greater than 1.11 and GO111MODULE = on (the default value 'auto' should also be ok).


Several airport IATA codes for Asia do not work

So far I have tried:

MNL: Ninoy Aquino International Airport, Manila, Philippines
CEB: Mactan-Cebu International Airport, Cebu, Philippines
CRK: Clark International Airport, Pampanga, Philippines
SIN: Singapore Changi Airport, Singapore

All return a 404 Unknown Location error. I spot checked some for Japan and Korea and they all worked, so I'm not sure what the discrepancy is with the others I mentioned, but wanted to report it since I use those semi-regularly. City names work fine, so it's not a huge deal but I figured you might want to know in case there's an underlying issue somewhere with your IATA dataset or something else.
Thanks for providing this service!

Could you please try again?

Same issue for me, except SIN now redirects me to another location in China


[Bug][NetUtils] Registered ip

To Reproduce
Steps to reproduce the behavior, for example:

When I use keepalived to bind the virtual ip, the registered ip will be bound to vip
When I have two network planes, service network and storage network, both of which are 172.x.x.x segments, such as [<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>], [<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>], NetUtils cannot accurately bind to the ip I want to bind according to the config inner or outer

Which version of Dolphin Scheduler:
-[1.3.6-latest]
Requirement or improvement

Specify the interface name and ip when deploying,

Maybe you can try to use this parameter to specify the NIC.
dolphin.scheduler.network.interface.preferred

Currently this parameter is only supported for jvm startup parameter injection.

Maybe you can try to use this parameter to specify the NIC.
dolphin.scheduler.network.interface.preferred

solved

-Dvip=<IP_ADDRESS>
`
package org.apache.dolphinscheduler.common.utils;
public class NetUtils {
private static Optional<InetAddress> toValidAddress(InetAddress address) {
      String vip = System.getProperty(VIP);
      if (address instanceof Inet6Address) {
          Inet6Address v6Address = (Inet6Address) address;
          if (isPreferIPV6Address()) {
              return Optional.ofNullable(normalizeV6Address(v6Address));
          }
      }
      if (isValidV4Address(address)){
          if (vip == null){
              return Optional.of(address);
          }else if(!address.getHostAddress().equals(vip)) {
              return Optional.of(address);
          }
      }
      return Optional.empty();
  }

}
`
I solve this problem by adding VIP parameter and skipping VIP when registering IP
dolphinscheduler-daemon.sh
export DOLPHINSCHEDULER_OPTS="
-server
-Ddolphin.scheduler.network.interface.preferred=ens33
-Dvip=<IP_ADDRESS>
-XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=128m
-Xss512k
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:LargePageSizeInBytes=128m
-XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSInitiatingOccupancyFraction=70
-XX:+PrintGCDetails
-Xloggc:$DOLPHINSCHEDULER_LOG_DIR/gc.log
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=dump.hprof
-XshowSettings:vm $DOLPHINSCHEDULER_OPTS
"

This is usually not recommended (although it is also a solution), if the cluster deployment, the parameters are usually set by the operations staff unified.
For IP issues, it can't just be the framework that is doing the hard work, the user side needs to do the processing as well.


Editing on some products is COMPLETELY broken

What

Editing on some products is COMPLETELY broken

### Related Sentry issues
- [ ] https://github.com/openfoodfacts/smooth-app/issues/4695
- [ ] https://github.com/openfoodfacts/smooth-app/issues/4694
- [ ] https://github.com/openfoodfacts/smooth-app/issues/4693
- [ ] https://github.com/openfoodfacts/smooth-app/issues/4692

Recording
https://github.com/openfoodfacts/smooth-app/assets/1689815/ef24d022-4114-4ce0-be3b-e18f630c8278

@teolemon Basically it's just a matter of the brand being null. cf. #4659.


Separate cluster output refs from output refs

Q
A

Bug fix?
no

New feature?
yes

API breaks?
yes

Deprecations?
no

Related tickets
#439

License
Apache 2.0

What's in this PR?
Added ClusterOutputRefs field to Flow CRD and modify controller logic to use it.
Why?
See #439

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Bofrost.at has degraded performance

In 8e80511, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2019 ms

Resolved: Bofrost.at performance has improved in b7193a3.


Bazel build failed to fetch Maven dependency

When I run bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu, I met with following error:
DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "6c9fcae7a3597aabd43f28be89466afe0eab18de", shallow_since = "1565379803 -0700" and dropping ["tag"]
DEBUG: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /home/sitao/.cache/bazel/_bazel_sitao/196738a4e5710d43dc3e6a26d08dcdc0/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
 - /home/sitao/development/mediapipe/WORKSPACE:251:1
INFO: Call stack for the definition of repository 'remotejdk11_linux' which is a http_archive (rule definition at /home/sitao/.cache/bazel/_bazel_sitao/196738a4e5710d43dc3e6a26d08dcdc0/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
 - /DEFAULT.WORKSPACE.SUFFIX:199:1
ERROR: /home/sitao/development/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/BUILD:64:1: //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:mediapipe_lib depends on @com_google_code_findbugs//jar:jar in repository @com_google_code_findbugs which failed to fetch. no such package '@com_google_code_findbugs//jar': Failed to fetch Maven dependency: Could not transfer artifact com.google.code.findbugs:jsr305:jar:3.0.2 from/to com_google_code_findbugs (https://repo1.maven.org/maven2/): connect timed out
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu' failed; build aborted: no such package '@com_google_code_findbugs//jar': Failed to fetch Maven dependency: Could not transfer artifact com.google.code.findbugs:jsr305:jar:3.0.2 from/to com_google_code_findbugs (https://repo1.maven.org/maven2/): connect timed out
INFO: Elapsed time: 10.175s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

I can access the link https://repo1.maven.org/maven2 through browser and find findbug folder.

I just tried the bazel build command and it works ok. So, I guess it's a temporarily network issue. Could you retry it? If you prefer to cache the downloaded external dependencies, see https://github.com/google/mediapipe/issues/3#issuecomment-506926022.
We will be working on generating an archive file of MediaPipe's external dependencies for the users who have the trouble with the external dependencies.


Add rate limiting around login POST and API calls

We should add rate limiting around certain elements on the site:

[ ] Login Form
[ ] Search Form
[ ] Filtering in General?
[ ] Every API call

@jamstooks - making this a 1c milestone but feel free to change.

Django-ratelimit looks promising.


Ghostty theme

Hello there!
As Ghostty was recently publicly released, I wanted to ask if I can make a PR to add it.

For Reference - https://github.com/ghostty-org/ghostty/discussions/3701

Seems like I was too slow, thank you for the hint


Update ej upstream with fixes for erlang19

Currently http://github.com/seth/ej is forked to http://github.com/chef/ej to fix some issues with erlang19.
Merge http://github.com/chef/ej branch: lbaker/fixes-for-erlang19 to upstream http://github.com/seth/ej

Fixed with https://github.com/chef/ej/pull/1


Turkish Language Support Request

Hello, we have translated the strings in the application into Turkish language, but we cannot send them with pull request. We have an .arb file. How can we deliver it to you?
app_tr.arb.txt

There are no errors in the translation, by the way. I checked it.

app_tr.arb.txt
we have updated the translation. use this. where should we send this file for the next update?

Hi @mdksec @mrydev
Just upload the file here. And for future updates you can open a new issue indicating that you have updated the translation file and just add the file to the comment.

thanks, i made a few changes. i would appreciate if you include this in the next update
app_tr.arb.txt

Translation added on v2.9.0. That release includes some new texts that need to be translated, so check the latest version of the translations file to add that new strings.

Ok, we will translate the new strings and send them.

app_tr.arb.txt

Updated. However, the strings I show in the photo are not in the translation. Is this normal?

thanks. can i write to you via telegram to send the next updated translations or any problem reports. also if you have a group i would like to join


uni的py库好像不支持avax

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior. Ideally, you can provide a code example demonstrating the issue (including the Uniswap version, tokens/route, and network used).
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here, such as a transaction ID demonstrating the problem.

Я ничего не понял :(


superconducting circuit performance ranking

Please be as descriptive as possible, including: what is expected, why is this feature needed, what is the objective, etc.
What is the feature being requested?
I have an interesting idea, is it possible to make a superconducting circuit performance ranking LOL
What are use cases for this feature?
so that everyone can know which circuits are the best at present，and increase everyone’s participation

I think this is the https://qubitzoo.org/

Will close since directly relevant to code in this repo.


Cannot run CGNN with a given DAG skeleton

I am trying  cdt.causality.graph.CGNN for a DAG with a given skeleton, but I keep getting the same error message.

I have tried it with different versions of python(3.6, 3.8), pandas(0.24.1, 1.1.0, 1.1.5), but the error message is the same.
Thanks beforehand.

Hello, this is strange ; thanks for bringing up this issue,
could you share your package version ?

Hello, this is strange ; thanks for bringing up this issue,
could you share your package version ?

Hi Diviyan. I was using version 0.5.22. I believe the reason of failure is that edges of graphs generated with AcyclicGraphGenerator use integers for enumeration, while the columns of the generated dataframe are strings, such as "V1", and this causes a KeyError. After I mapped column names of the df to integers, it worked.

Hi Diviyan. I was using version 0.5.22. I believe the reason of failure is that edges of graphs generated with AcyclicGraphGenerator use integers for enumeration, while the columns of the generated dataframe are strings, such as "V1", and this causes a KeyError. After I mapped column names of the df to integers, it worked.


[BUG] Permission state error with PermissionState.denied on Android 13

Describe the bug
The issue is only related to Android 13
E/flutter ( 5378): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Permission state error with PermissionState.denied. E/flutter ( 5378): #0      AssetPickerDelegate.permissionCheck (package:wechat_assets_picker/src/delegates/asset_picker_delegate.dart:39:7) E/flutter ( 5378): <asynchronous suspension> E/flutter ( 5378): #1      AssetPickerDelegate.pickAssets (package:wechat_assets_picker/src/delegates/asset_picker_delegate.dart:71:32) E/flutter ( 5378): <asynchronous suspension> E/flutter ( 5378): #2      AssignmentCubit.getImageFromMyGallery (package:pxora/features/assignements/presentation/controllers/cubit/assignment_cubit.dart:434:22)
Steps to reproduce the behavior:
The issue is only related to Android 13 and I've tried adding a bunch of permissions as well in the android manifest file that are related to android 13
   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />     <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />     <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />     <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Version information

Device: [e.g.  every android 13 device]
OS: [e.g. Android 13]
Package Version: [e.g. ^9.0.0-dev.2]
Flutter Version: [e.g. v3.16.4]

You'll need to follow the instruction and find out what is the difference between your app and the example.


Docs

Add README.md
Add deploy.sh aimed to auto-deploy everything( I don't think it's working in this branch, cuz some codes depend on the previous PR)
Change data.csv to example_data.csv

Bah, merging the other PR introduced a conflict here.


Loops (Actions) Destination

Proposed changes
Moved docs from original PR to editable PR.
Merge timing
After approval by tcgilbert, docs
Related issues (optional)
#5451

hey @tcgilbert - could you take a look at this one when you get a chance?


Add a property for text alignment

Add a property where the user can specify the alignment of the text in the barcode

Released with version 1.06.10


"Optional" permanent toggle primary-sidebar button

Context
I think that sometimes one would like to expand the article content temporarily (hiding the primary sidebar). Is there an option to add a button to toggle the primary sidebar in the article content area?
Proposal
If this feature is not available yet in the theme, I would like to suggest the inclusion of a toggle button for the primary sidebar. Something similar to what the Sphinx-book-theme has:

A good location would be at the left of the 'breadcrumb-home' icon in the breadcrumbs navigation area.

If this option bothers some users of the theme, it could be activated/deactivated with an html_theme_option entry.
Tasks and updates
No response

wrong place, sorry


Catch Throwable instead of Exception in SegmentGenerationJobRunner

This solves issue #9113

Codecov Report

Merging #9120 (6deda89) into master (fc696ce) will decrease coverage by 34.68%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master    #9120       +/-   ##
=============================================
- Coverage     69.96%   35.27%   -34.69%
+ Complexity     4674      184     -4490
=============================================
  Files          1838     1838
  Lines         97349    97349
  Branches      14672    14672
=============================================
- Hits          68107    34338    -33769
- Misses        24493    60169    +35676
+ Partials       4749     2842     -1907

Flag
Coverage Δ

integration1
26.31% <0.00%> (+0.05%)
:arrow_up:

integration2
?

unittests1
?

unittests2
15.34% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

 Take ten seconds to tell us how you rate us.


Build / Test on macOS

We should build and run tests for pull requests also on macOs

This is currently blocked through macOS image not fulfilling requirements for Cake.Recipe regarding Mono version


Add Rails 7 support

Error message using Rails 7:
And because rails >= <IP_ADDRESS>, < 7.2.0.beta1 depends on activejob = <IP_ADDRESS>
  and every version of sidekiq_job_controller depends on activejob ~> 6.0,
  every version of sidekiq_job_controller is incompatible with rails >= 7.1.0.

This change allows up to Rails 7.1

Build is failing, i suspect we need to run do this:
Run bundle install elsewhere and add the updated Gemfile.lock to version


Z3 installation for Windows guidance

Add Z3 installation for Windows guidance to the readme

Subtask of #57

oops have not seen that issue


Support CARGO_BUILD_RUSTC environment variable

Cargo lets you specify the path to rustc that should be used:
https://doc.rust-lang.org/cargo/reference/environment-variables.html#configuration-environment-variables
Since we invoke rustc ourselves, it would be nice to support this configuration option.

The documentation for RUSTC_WORKSPACE_WRAPPER env var states that the first argument is the path to the actual rustc, not hardcoded to rustc as we currently treat it (IIRC).


minor adjustments for 1.3.0

restore developers section
replace deprecated import assertThat
point to common demo certificate in tests

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #37   +/-   ##
=========================================
  Coverage     81.89%   81.89%
  Complexity      344      344
=========================================
  Files            53       53
  Lines          1022     1022
  Branches         49       49
=========================================
  Hits            837      837
  Misses          167      167
  Partials         18       18

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 fcf20f4...52f9c81. Read the comment docs.


Include headers in dist package.

In order to "make dist" and build releasable tarball, header files need
to be listed in _HEADERS variable.
http://www.gnu.org/software/automake/manual/html_node/Headers.html

Thanks. We're considering moving the build system to cmake for the next release, b/c keeping things synchronized is a major PITA.
Most of our community tends to develop on Visual Studio, and we drag autotools along. The lack of file glob patterns to define files is a major drag.
Any opinions on cmake?

Sounds good, autotools is a PITA indeed!
Personally I prefer https://code.google.com/p/waf/ but it might be considered a bit obscure to some people.
Do you need any assistance with cmake, or have it covered?

We have a prototype cmake build here:
https://github.com/automatak/dnp3/tree/cmake
It is missing a few things.
If you're familiar with cmake, any advice would be appreciated.
Other requirements:

Works x-platform for OSX / Linux
Easy to switch between GCC / Clang
Can support cross compilers for various targets like ARM


419 distribution model

What is the Purpose?
This PR addresse the Issue #419 related to updating the Distribution model.
What was the approach?
Altering the fields of the model, generating migrations and tweaking the configuration of the related ModelAdmin.
Are there any concerns to addressed further before or after merging this PR?
Adapt or add tests related to the Distribution model (Work In Progress)
Mentions?
@mikael19 @andrewtpham

The difference between the two branches will be a lot less, and much easier to review once the PR #508 is merged.


(graphcache): type missmatch between graphql-code-generator and graphcache

Describe the bug
I hit the same issue as in https://github.com/FormidableLabs/urql/discussions/1654 again.
I use
{
    "@urql/core": "2.6.1",
    "@urql/exchange-graphcache": "4.4.3",
    "@urql/vue": "0.6.4",
    "@graphql-codegen/cli": "2.11.5",
    "@graphql-codegen/typescript": "2.7.3",
    "@graphql-codegen/typescript-operations": "2.5.3",
    "@graphql-codegen/typescript-urql-graphcache": "2.3.3",
    "@graphql-codegen/typescript-vue-urql": "2.3.3",
    "@graphql-codegen/urql-introspection": "2.2.1"
}

The exact error:
plugins/urql.ts:68:31 - error TS2345: Argument of type 'GraphCacheConfig' is not assignable to parameter of type 'Partial<CacheExchangeOpts>'.
  Types of property 'updates' are incompatible.
    Type 'GraphCacheUpdaters | undefined' is not assignable to type 'Partial<UpdatesConfig> | undefined'.
      Type 'GraphCacheUpdaters' is not assignable to type 'Partial<UpdatesConfig>'.
        Types of property 'Mutation' are incompatible.
          Type '{ accountDelete?: ((parent: { accountDelete: Maybe<WithTypename<AccountDeletePayload>>; }, args: MutationAccountDeleteArgs, cache: Cache, info: ResolveInfo) => void) | undefined; ... 66 more ...; uploadCreate?: ((parent: { ...; }, args: MutationUploadCreateArgs, cache: Cache, info: ResolveInfo) => void) | undefined;...' is not assignable to type '{ [fieldName: string]: (parent: DataFields, args: Variables, cache: Cache, info: ResolveInfo) => void; } | undefined'.
            Type '{ accountDelete?: ((parent: { accountDelete: Maybe<WithTypename<AccountDeletePayload>>; }, args: MutationAccountDeleteArgs, cache: Cache, info: ResolveInfo) => void) | undefined; ... 66 more ...; uploadCreate?: ((parent: { ...; }, args: MutationUploadCreateArgs, cache: Cache, info: ResolveInfo) => void) | undefined; }' is not assignable to type '{ [fieldName: string]: (parent: DataFields, args: Variables, cache: Cache, info: ResolveInfo) => void; }'.
              Property 'accountDelete' is incompatible with index signature.
                Type '(parent: { accountDelete: Maybe<WithTypename<AccountDeletePayload>>; }, args: MutationAccountDeleteArgs, cache: Cache, info: ResolveInfo) => void' is not assignable to type '(parent: DataFields, args: Variables, cache: Cache, info: ResolveInfo) => void'.
                  Types of parameters 'parent' and 'parent' are incompatible.
                    Property 'accountDelete' is missing in type 'DataFields' but required in type '{ accountDelete: Maybe<WithTypename<AccountDeletePayload>>; }'.

68   const cache = cacheExchange(cacheConfig)

Should I post more details here or to @graphql-codegen?
Reproduction
https://github.com/maevsi/maevsi/runs/7967037590?check_suite_focus=true#step:5:1647
Urql version
2.6.1 as well as 3.0.1
Validations

[X] I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
[X] Read the docs.
[X] Follow our Code of Conduct

Have you tries running a dedupe command? Sometimes package managers start creating duplicate versions which can lead to this

Something like https://www.npmjs.com/package/pnpm-deduplicate

@kitten looked at your code and pointed rightfully out that you are using the generic wrong here https://github.com/maevsi/maevsi/blob/8f6eedd191ce08a950d92cac1f94c0cebd6d5cb6/nuxt/plugins/urql.ts#L66
  const cache = cacheExchange<GraphCacheConfig >(cacheConfig)

should do the trick

Thank you for your suggestions and looking into the code! Sadly, pnpm-deduplicate reports no duplicates and adding the generic just moves eslint's red squiggly line from (cacheConfig) to <GraphCacheConfig>.
Any other ideas? Should I post/link other source files as well?

Hmm this is kind off weird, I just tried this config in one of my own projects where we have similar fields where parent resolves to a non-nullable field but for some reason it isn't erroring out there, looking a bit deeper but this could be a TypeScript version/config issue

I do not face this issue anymore currently.


Improve sawadm package name and metadata

Signed-off-by: Kirill Vusik<EMAIL_ADDRESS>

Here is the package metadata after this change.
 new Debian package, version 2.0.
 size 451192 bytes: control archive=999 bytes.
     580 bytes,    13 lines      control
     123 bytes,     2 lines      md5sums
     900 bytes,    29 lines   *  postinst             #!/bin/bash
 Package: sawtooth-sawadm
 Version: 1.3.1-dev2
 Architecture: amd64
 Section: admin
 Priority: optional
 Standards-Version: 3.9.4
 Maintainer: sawtooth
 Installed-Size: 1317
 Depends: libsodium23 (>= 1.0.16), libssl1.1 (>= 1.1.0g), libpgm-5.2-0 (>= 5.2.122~dfsg), libzmq5 (>= 4.2.5), libstdc++6 (>= 8.3.0), libgcc1 (>= 1:8.3.0), libc6 (>= 2.27), libnorm1 (>= 1.5r6+dfsg1)
 Description: The sawadm command is used for Sawtooth administration tasks.
  The sawadm subcommands create validator keys during initial configuration and
  help create the genesis block when initializing a validator.

Here is the package metadata after this change.

In addition to the keygen and genesis functions, there are a variety of blockstore database administrative functions. The subcommands and options are described here: https://github.com/hyperledger/sawtooth-core/blob/master/adm/src/main.rs#L67

@jsmitchell The current documentation (the output of sawadm --help) shows only the genesis and keygen subcommands.  Should the other subcommands be added to the help output?  In a separate PR, of course.

@jsmitchell The current documentation (the output of sawadm --help) shows only the genesis and keygen subcommands. Should the other subcommands be added to the help output? In a separate PR, of course.

Yes

@jsmitchell, @chenette  should I add additional info from https://github.com/hyperledger/sawtooth-core/blob/master/adm/src/main.rs#L67 to the extended-description field?

Just in case I don't have a write access to merge


DMN Editor: width and height properties are not validated

DMN node width and height properties can be set using Properties panel component. The issue is the properties panel allows users to put any value.

Good thing is that that real node is not resized below its minimal size
Bad is user is not informed that invalid value was put into the form

See the attached screenshot. There is selected a Decision node. Its minimal size is 160x80. The node keeps this minimal size even lower value was put into the form (20x10). However we should propbably:

reset properties panel form inputs to minimal value
or mark form input values as invalid, red background or sth similar
or not have a minimal size for nodes
or ...

The issue is related to our ShapeOptions.tsx component.
Here, we display width form field using Patternfly TextInput:
  <TextInput
    aria-label={"Width"}
    data-testid={"kie-tools--dmn-editor--properties-panel-node-shape-width-input"}
    type={"number"}
    isDisabled={isDimensioningEnabled ? false : true}
    value={isDimensioningEnabled ? boundWidth : undefined}
    placeholder={isDimensioningEnabled ? "Enter a value..." : undefined}
    onChange={onChangeWidth}
    style={{ maxWidth: "80px", minWidth: "60px", border: "none", backgroundColor: "transparent" }}
  />

to indicate invalid width, it is enough to add a property validated={ValidatedOptions.error} to the TextInput component. So one part of the ticket should be doable easily.

in pseudocode we would change to:
{!isWidthValid&&
      <TextInput
        validated={ValidatedOptions.error}
        aria-label={"Width"}
        data-testid={"kie-tools--dmn-editor--properties-panel-node-shape-width-input"}
        type={"number"}
        isDisabled={isDimensioningEnabled ? false : true}
        value={isDimensioningEnabled ? boundWidth : undefined}
        placeholder={isDimensioningEnabled ? "Enter a value..." : undefined}
        onChange={onChangeWidth}
        style={{ maxWidth: "80px", minWidth: "60px", border: "none", backgroundColor: "transparent" }}
      />
    }

the missing part is isWidthValid logic. We have minimal size logic already present in DefaultSizes.ts, to be more precise, MIN_NODE_SIZES. This is crucial to be able to implement isWidthValid, however it requires knowing node type.
However, node type is not present in the ShapeOptions.tsx component. We have only nodeIds and dmn store. I somehow feel node type could be computed thanks to node id and dmn store, but as newbie in this codebase, I am not sure.
Any advice would be more than welcome.
For the height all comments are the same as for width.

@jomarko The store is where the DMN Editor state is located. You can take a look into the Store.ts and there we'll have the values and the methods to retrieve the information. It's important to always use the computed methods, so the component will only re-render when the specific value was changed, minimizing the re-renders.
You can retrieve the node minimal size by doing something like this inside the setBounds method:
const node = nodeIds.map((nodeId) =>
  s.computed(s).getDiagramData(externalModelsByNamespace).nodesById.get(nodeId)
)[index];
if (node === undefined) {
  throw new Error(`DMN Element with index ${index} is not a Node.`);
}
const minNodeSize = MIN_NODE_SIZES[node.type as NodeType]({ snapGrid: s.diagram.snapGrid, isAlternativeInputDataShape: s.computed(s).isAlternativeInputDataShape() });


x86 libssl-dev1.1.1f  do not write the .crt when loading the root certificate. it can have no error to show.

x86 libssl-dev1.1.1f openssl have a bug。Do not write the .crt when loading the root certificate，Errors that cannot be read from the file are not displayed.
  // Set the trust root certificate
        if (SSL_CTX_load_verify_locations(ctx, "/home/fengmao31/ZLMediaKit_rtsps_peer/server_public", NULL)!= 1) {
            WarnL << "加载根证书失败:" << getLastError();
            // SSL_CTX_free(ctx);
            // return nullptr;
        }

openssl 1.1.1 is out of support, is this still an issue on the 3.x series?

no response, marking as inactive, to be closed at the end of 3.4 dev, barring further input


Rebindable Key

My left shift is broken, I use Right Shift, if don't mind pls make it configurable, thank you (no hurry)!

I have a pull request open for this! If you go to my fork (via the pr) I have a release that will let you do this.

This will be in the next update :)


Add Agent API Getting Started Notebook.

Add Agent API getting started notebook content.
Fix Agent API getting started notebook filename.
Fix types in Agent API real estate research notebook.

reviewed and feedback provided- ready to merge

Approved based on Michael's prior review.

It was Christos review but whatever works :).


Message: Request textDocument/documentHighlight failed with message: Cannot read property 'kind' of undefined   Code: -32603

VSCode Version:
OS Version:

Steps to Reproduce:

Reproduces without extensions: Yes/No

Duplicate of #32059.


Open in Opera (provided)

Ref: Conversation #4529 / Igor

Done: http://pilotmoon.com/popclip/extensions/page/OpenInOpera


ionic resources - add option for custom source and target directory

add option for custom source and target directory

Greetings @ctaepper!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


feat(CstarRing): various lemmas related to the spectral order and the CFC

This PR proves various lemmas for C*-algebras, such as

if a ≤ b, then ‖a‖ ≤ ‖b‖
star a * b *a ≤ ‖b‖ • (star a * a)
if a is positive, then ‖a‖ ∈ spectrum ℝ a.

It also puts an order instance on Unitization ℂ A, needed to prove the above.

[x] depends on: #13650
[x] depends on: #13673

In the long comment above, I think actually we want selfadjoint versions of everything. Here's what I have now. (Sorry for the complicated review; I just kept realizing things weren't quite as nice as we wanted and I knew we would want more lemmas)
open ComplexOrder in
instance CstarRing.instNonnegSpectrumClassComplex {A : Type*} [NormedRing A] [CompleteSpace A]
    [PartialOrder A] [StarRing A] [StarOrderedRing A] [CstarRing A] [NormedAlgebra ℂ A]
    [StarModule ℂ A] : NonnegSpectrumClass ℂ A where
  quasispectrum_nonneg_of_nonneg a ha x := by
    rw [mem_quasispectrum_iff]
    refine (Or.elim · ge_of_eq fun hx ↦ ?_)
    obtain ⟨y, hy, rfl⟩ := (IsSelfAdjoint.of_nonneg ha).spectrumRestricts.algebraMap_image ▸ hx
    simpa using spectrum_nonneg_of_nonneg ha hy

lemma Real.spectralRadius_mem_spectrum_or {A : Type*} [NormedRing A] [NormedAlgebra ℝ A]
    [CompleteSpace A] {a : A} (ha : (spectrum ℝ a).Nonempty) :
    (spectralRadius ℝ a).toReal ∈ spectrum ℝ a ∨ -(spectralRadius ℝ a).toReal ∈ spectrum ℝ a := by
  obtain ⟨x, hx₁, hx₂⟩ := spectrum.exists_nnnorm_eq_spectralRadius_of_nonempty ha
  simp only [← hx₂, ENNReal.coe_toReal, coe_nnnorm, norm_eq_abs]
  exact abs_choice x |>.imp (fun h ↦ by rwa [h]) (fun h ↦ by simpa [h])

lemma NNReal.spectralRadius_mem_spectrum {A : Type*} [NormedRing A] [NormedAlgebra ℝ A]
    [CompleteSpace A] {a : A} (ha : (spectrum ℝ a).Nonempty)
    (ha' : SpectrumRestricts a ContinuousMap.realToNNReal) :
    (spectralRadius ℝ a).toNNReal ∈ spectrum ℝ≥0 a := by
  rw [← spectrum.algebraMap_mem_iff ℝ, NNReal.algebraMap_eq_coe, ← ENNReal.toReal]
  have := Real.spectralRadius_mem_spectrum_or ha
  rwa [or_iff_left_of_imp (fun h ↦ ?_)] at this
  have : (spectralRadius ℝ a).toReal ≤ 0 :=
    nonpos_of_neg_nonneg <| ha'.rightInvOn h ▸ NNReal.zero_le_coe
  simpa [le_antisymm this ENNReal.toReal_nonneg] using h

lemma Real.spectralRadius_mem_spectrum {A : Type*} [NormedRing A] [NormedAlgebra ℝ A]
    [CompleteSpace A] {a : A} (ha : (spectrum ℝ a).Nonempty)
    (ha' : SpectrumRestricts a ContinuousMap.realToNNReal) :
    (spectralRadius ℝ a).toReal ∈ spectrum ℝ a :=
  NNReal.spectralRadius_mem_spectrum ha ha'

lemma IsSelfAdjoint.toReal_spectralRadius_complex_eq_norm {a : A} (ha : IsSelfAdjoint a) :
    (spectralRadius ℂ a).toReal = ‖a‖ := by
  simp [ha.spectralRadius_eq_nnnorm]

lemma IsSelfAdjoint.toReal_spectralRadius_eq_norm {a : A} (ha : IsSelfAdjoint a) :
    (spectralRadius ℝ a).toReal = ‖a‖ := by
  simp [ha.spectrumRestricts.spectralRadius_eq, ha.spectralRadius_eq_nnnorm]

lemma CstarRing.norm_or_neg_norm_mem_spectrum [Nontrivial A] {a : A}
    (ha : IsSelfAdjoint a := by cfc_tac) : ‖a‖ ∈ spectrum ℝ a ∨ -‖a‖ ∈ spectrum ℝ a := by
  have ha' : SpectrumRestricts a Complex.reCLM := ha.spectrumRestricts
  have := ha.toReal_spectralRadius_eq_norm
  convert Real.spectralRadius_mem_spectrum_or (ha'.image ▸ (spectrum.nonempty a).image _)

lemma CstarRing.nnnorm_mem_spectrum_of_nonneg [Nontrivial A] {a : A} (ha : 0 ≤ a := by cfc_tac) :
    ‖a‖₊ ∈ spectrum ℝ≥0 a := by
  have : IsSelfAdjoint a := .of_nonneg ha
  convert NNReal.spectralRadius_mem_spectrum (a := a) ?_ (.nnreal_of_nonneg ha)
  · simp [this.spectrumRestricts.spectralRadius_eq, this.spectralRadius_eq_nnnorm]
  · exact this.spectrumRestricts.image ▸ (spectrum.nonempty a).image _

lemma CstarRing.norm_mem_spectrum_of_nonneg [Nontrivial A] {a : A} (ha : 0 ≤ a := by cfc_tac) :
    ‖a‖ ∈ spectrum ℝ a := by
  simpa using spectrum.algebraMap_mem ℝ <| CstarRing.nnnorm_mem_spectrum_of_nonneg ha

Thanks for the extensive review, @j-loreaux ! I think I've addressed everything except for the two comments I've left open.

bors r+


no way to upgrade Snowflake Role to Role

there doesn't seem to be any way to go from a Snowflake Role to a Role; they're not Upgradeable and there's no GetGuildRole GuildRequest. my current workaround for now is invoking GetGuildRoles and picking out the role by id

Yup, I've added these in as of 22713b8, it'll be up on hackage under the version <IP_ADDRESS> when the CI finishes.

Yup, I've added these in as of 22713b8, it'll be up on hackage under the version <IP_ADDRESS> when the CI finishes.

gotcha, thank you!

gotcha, thank you!


Do not replace default color with null for Alert Dialog close icon

MOB-1663
Additional info:
Close icon in Alert Dialog view is currently invisible. This PR should fix the issue.
Screenshots:
Expected:

Actual:

!merge