BUG: ValueError: x0 violates bound constraints in minimize

Describe your issue.
I'm getting this error when using minimize with 'trust-constr' method, while the x0 I supplied is within the bounds but apparently through inner iterations that x0 mentioned is different.
I saw many old threads about it and alleged fixes in old versions of scipy such as #11712 which are for old versions of scipy.
Why is this not fixed in the new version? are there easy fixes?
Reproducing Code Example
res = minimize(fun=error_func, x0=np.array(x0), args=(new_log,), method='trust-constr', bounds=bounds,options={'maxiter': 2000})

where:
np.array(x0):
array([0.25, 0.  , 0.  , 0.  , 0.  , 0.  , 0.  , 0.  , 0.  , 0.01, 0.01,
       0.01, 0.01, 0.01, 0.01, 0.01, 0.01])
bounds:
Bounds(array([ 0. , -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2,  0. ,  0. ,
        0. ,  0. ,  0. ,  0. ,  0. ,  0. ]), array([0.5, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 1. , 1. , 1. , 1. , 1. , 1. , 1. , 1. ]), keep_feasible=array([ True,  True,  True,  True,  True,  True,  True,  True,  True, True,  True,  True,  True,  True,  True,  True,  True]))

Error message
File "C:\Users\...\AppData\Local\Programs\Python\Python310\lib\site-packages\scipy\optimize\_numdiff.py", line 484, in approx_derivative
    raise ValueError("`x0` violates bound constraints.")
ValueError: `x0` violates bound constraints.

SciPy/NumPy/Python version and system information
1.14.0 1.25.0 sys.version_info(major=3, minor=10, micro=11, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: C:/Users/runneradmin/AppData/Local/Temp/cibw-run-u0d8mzke/cp310-win_amd64/build/venv/Lib/site-packages/scipy_openblas32/include
    lib directory: C:/Users/runneradmin/AppData/Local/Temp/cibw-run-u0d8mzke/cp310-win_amd64/build/venv/Lib/site-packages/scipy_openblas32/lib
    name: scipy-openblas
    openblas configuration: OpenBLAS 0.3.27.dev DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=24
    pc file directory: D:/a/scipy/scipy
    version: 0.3.27.dev
  lapack:
    detection method: pkgconfig
    found: true
    include directory: C:/Users/runneradmin/AppData/Local/Temp/cibw-run-u0d8mzke/cp310-win_amd64/build/venv/Lib/site-packages/scipy_openblas32/include
    lib directory: C:/Users/runneradmin/AppData/Local/Temp/cibw-run-u0d8mzke/cp310-win_amd64/build/venv/Lib/site-packages/scipy_openblas32/lib
    name: scipy-openblas
    openblas configuration: OpenBLAS 0.3.27.dev DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=24
    pc file directory: D:/a/scipy/scipy
    version: 0.3.27.dev
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.12.0
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 10.3.0
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 10.3.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 3.0.10
  fortran:
    commands: gfortran
    linker: ld.bfd
    name: gcc
    version: 10.3.0
  pythran:
    include directory: C:\Users\runneradmin\AppData\Local\Temp\pip-build-env-baps8rpb\overlay\Lib\site-packages/pythran
    version: 0.16.1
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: windows
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: windows
Python Information:
  path: C:\Users\runneradmin\AppData\Local\Temp\cibw-run-u0d8mzke\cp310-win_amd64\build\venv\Scripts\python.exe
  version: '3.10'

I saw many old threads about it and alleged fixes in old versions of scipy such as #11712 which are for old versions of scipy.

You can see in the discussion that gh-11712 was reverted and the original issue reopened. Were there others?

are there easy fixes?

It looks like this error is happening while taking the Jacobian of the function. One workaround might be to define a Jacobian for your function. Example:
With the jac=error_func_jac, commented, it crashes, but with it, there's no crash.
from scipy.optimize import minimize, Bounds
import numpy as np
from numpy import array

def error_func(x):
    print(x)
    return np.sum(x**2)

def error_func_jac(x):
    return 2*x

x0 = np.array([0.25, 0.  , 0.  , 0.  , 0.  , 0.  , 0.  , 0.  , 0.  , 0.01, 0.01,
       0.01, 0.01, 0.01, 0.01, 0.01, 0.01])
bounds = Bounds(array([ 0. , -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2, -0.2,  0. ,  0. ,
        0. ,  0. ,  0. ,  0. ,  0. ,  0. ]), array([0.5, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 1. , 1. , 1. , 1. , 1. , 1. , 1. , 1. ]), keep_feasible=array([ True,  True,  True,  True,  True,  True,  True,  True,  True, True,  True,  True,  True,  True,  True,  True,  True]))

res = minimize(
    fun=error_func,
#     jac=error_func_jac,
    x0=np.array(x0),
    args=(),
    method='trust-constr',
    bounds=bounds,
    options={'maxiter': 2000}
)

To recap past history, the x0 passed to approx_derivative is outside the bounds that are supplied to approx_derivative. This is because the tr_interior_point/equality_constrained_sqp  function is suggesting trial points that are outside the bounds. #11712 made sure that didn't happen. A solution that uses that PR in some fashion is probably the solution.


Any example for the Asynchronous bind?

yea that would be alot helpful...

I couldn't immediately see that the current Go bindings allows for this but I'll come up with an example for C and C++.

I would appreciate feedback on the following PR:

#931

Awesome! I got what I need. thx~.


feat(dh): add function to validate metering point id

Description

DataHub

Create dh/metering-point/domain library
Add function to validate metering point id

References

https://github.com/Energinet-DataHub/MightyDucks/issues/186

PLEASE NOTE
Before merging a frontend pull request, be sure that all checks have passed. Currently, jobs done by a Git-bot (like formatting and adding licenses) don't trigger a re-run of all the other checks. The "merge button" can therefore give you a false positive signal.

Feedback is addressed.

@dzhavat Question, should we include a custom form validator that uses this check as well or should I just create it in my branch?

@frontend-specialisten This branch was not initially intended to be related to metering point search but figured out that the validation logic might be relevant. So I'd say lets create the custom validator in a separate branch. I'm also going to use the validation function in another branch for a route guard.


Determine API framework to use

i.e. GraphQL, OpenAPI, or other?

At the August regular meetup @tstirrat15 did a presentation on GraphQL at which point those in the room decided to use it as a starting point along with a more light weight standard REST API.


Reproducibility of ICLR Figure 2

Thank you so much for your awesome work!
Currently, I am facing difficulty to reproduce the Figure 2 of the ICLR paper. I followed the guidelines at https://github.com/HazyResearch/zoology/tree/main/zoology/experiments/iclr24_zoology_figure2. However, my results seem to differ from those reported in the paper:

Would it be possible for you to offer some guidance or advice? I really appreciate your help and look forward to your insights. Thank you again in advance!

These look highly similar to me! What's the issue

Well, it seems that my reproduced Hyena and H3 are better than the results reported in the paper (e.g. H3 reaches ~0.5 with dim=64, while the corresponding results reported in the paper is only ~ 0.25). At the same time, my reproduced BaseConv is slightly worse (e.g. Reproduced BaseConv with dim=256 is less than 0.75 in reproduced results, while in paper it is more than 0.75).


version-catalog plugin has no plugin reference documentation

Current Behavior
It's impossible to know what tasks or other information about the version-catalog due to missing plugin reference documentation.
Expected Behavior
Like every other Gradle plugin, the version-catalog plugin should have its associated documentation.
Context (optional)
The only very sparse documentation of the plugin can be found here. We filled this issue as a bug because lack of documentation is a bug.
Steps to Reproduce
No documentation can be found here.
Gradle version
Any
Build scan URL (optional)
No response
Your Environment (optional)
No response

Poking at the plugin, we can see there is one extension named catalog of type public CatalogPluginExtension and one task named generateCatalogAsToml of an internal type. The task name should be included in the documentation but not the type given it's internal.
It should also include the outgoing configuration:

> Task :outgoingVariants
--------------------------------------------------
Variant versionCatalogElements
--------------------------------------------------
Artifacts for the version catalog

Capabilities
    - :sample-generate-version-catalog:unspecified (default capability)
Attributes
    - org.gradle.category = platform
    - org.gradle.usage    = version-catalog
Artifacts
    - build/version-catalog/libs.versions.toml (artifactType = toml)

Finally, there should be a mention about the SoftwareComponent named versionCatalog to use with maven-publish.

Thank you for your interest in Gradle!
This is a valid documentation issue that we will address.


Play MP3 file from TF or Internal Flash?

1. SDK version（SDK 版本）
{
GPRS_C_SDK_v2129
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
Using:
https://github.com/Ai-Thinker-Open/GPRS_C_SDK/tree/master/demo/audio
music.mp3 is on the root folder of TF card
}

My mp3 file is named "music.mp3" on the root folder of the TF card.  My TF card is formatted as FAT32.  I also tried with FAT.
Every time, I get the error "open file error" (please see attached trace files).
I also tried to open the file using API_FS_OPEN, also file open error (please see attached trace files).
What kind of TF card is supported by A9G?  What partition format should be used?  What maximum partition size is supported by A9G?
What mp3 format is supported?
file open trace 20210207.txt
audio music trace 20210207.txt

It looks like one of my A9G units just had an issue with the TF card reader.  MP3 playback from the TF card worked on another A9G unit.


Add dashboard option validation tests

Fixes #3733
Adds a test case for each of the validation errors we raise during validation of options in the dashboard.
Microsoft Reviewers: Open in CodeFlow

Thanks for putting together these tests.
One qq - Do we cover resourceserviceclient options elsewhere? specifically:
empty APIKey
https://github.com/dotnet/aspire/blob/0f4cc84dbeafe332a0bccc0e0db172ab7a9748a9/src/Aspire.Dashboard/Configuration/ValidateDashboardOptions.cs#L83C20-L86C22
And resourceservice uri is not empty and no authentication is configured
https://github.com/dotnet/aspire/blob/0f4cc84dbeafe332a0bccc0e0db172ab7a9748a9/src/Aspire.Dashboard/Configuration/ValidateDashboardOptions.cs#L111C16-L116C27

Thanks, no, I missed a few branches. Pushed an update with more test cases to cover them.


completion/git: Updates completion script to v2.26.2

Although not documented in the completion script, it finally occurred to me that maybe @trmaphi didn't write this completion script, but integrated an existing one.
A quick search confirmed that the script was (likely) sourced from the official git repo's contrib folder:

github.com/git/git/contrib/completion/git-completion.bash

[edit] A not-so-quick search confirmed that the existing completion file exactly matches the file from the v2.21.0 release of git.
Changes made
I simply pulled the completion script from the latest official release :

https://github.com/git/git/releases/tag/v2.26.2

I also added a small section at the top of script explaining the version and the source:
# git bash completions v2.26.2
# Completion file copied as-is from git contrib:
# - https://github.com/git/git/releases/tag/v2.26.2
# - git-2.26.2/contrib/completion/git-completion.bash
# -------------------------------------------------------------------

Regarding licensing and inclusion of the file in bash-it
First, a version of that same file is already present, soo ... Precedence !  :)
More seriously, the file is tagged as GPL v2:
# Distributed under the GNU General Public License, version 2.0.

Regarding completion feature/release cycle relative to git release cycle
Although part of contrib and not part of the official release cycle, it does appear that the completions are generally released with support of new git feature.   i.e. when the switch command was introduced in v2.23, the completion script for that same release was also updated to support the new command.
Regarding backward-compatibility of the completion script.
It is not clear how much attention to backward-compatibility is given to the completion script. i.e this update may very well break completions for some older git versions.
My take is that its okay to release this and, if a user opens an issue on losing compatibility, we can research the issue and create a tagged version of the completion script (i..e git_v2.23.0.completion.bash) to live alongside the main version.
Minor testing done locally ... Mostly just confirming general completion works and switch completion works.
-DF
Fixes #1527

cc: @finn-matti, @trmaphi

Thanks - this is a good question... The completions are a difficult topic - like you said:

There's lots of copy/paste code from questionable sources.
Some of the content is licensed.
It goes out of sync quickly.
Backwards-compatibility is difficult if you have a different version.

From a general perspective, I'd like to steer in this direction:

Allow completions that use an installed tool's output for sourcing the completion code, e.g. like in the openshift completion.
Allow hand-crafted completion code where the tool in question does not provide completion (angular ng), or where the completion provides additional benefit (ssh).
Slowly deprecate copy/paste code (like the one for git) if an official alternative exists.

For the git example, the file that you copied/pasted is included when I install Git. I use the bash_completion OS package for this (on macOS, this is installed using Homebrew), and then the system completion in Bash-it (bash-it enable completion system). This loads all system-level completion files (on my system, about 200 completions, in fact).
If more people would be using this, we could get rid of some of the problems mentioned above...
I'm going to merge this PR now, but we should aim at moving in the direction I outlined. Thoughts?
(Have you taken a look at the system completion - does that work for you?)


[Feature]: Introduce ACL Rule Clone function

I do not think the ACL model needs a clone function, but the ACL rule clone function would be ideal.

Clone would inherit the host associated, the acl type, and the default action.


chore(master): release 2.8.0

:robot: I have created a release beep boop
2.8.0 (2024-11-22)
Features

add php 8.4 support (9e32d8e)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.8.0
:sunflower:


FortiOS 5.4 no SSH connection

###Description of Issue/Question
I cannot connect to FortiOS 5.4 with napalm. FortiOS 5.2 works without a problem.
Setup
Python 2.7.13

napalm-fortios version
pip2 freeze | grep napalm
napalm==1.2.0
napalm-base==0.24.3
napalm-eos==0.6.0
napalm-fortios==0.4.0
napalm-ios==0.7.0
napalm-iosxr==0.5.4
napalm-junos==0.12.0
napalm-nxos==0.6.0
napalm-panos==0.4.0
napalm-pluribus==0.5.1
napalm-ros==0.2.2
napalm-vyos==0.1.3

Steps to Reproduce the Issue
device.open()
Error Traceback

device.open()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/napalm_fortios/fortios.py", line 42, in open
self.device.open()
File "/usr/local/lib/python2.7/site-packages/pyFG/fortios.py", line 103, in open
self.ssh.connect(**cfg)
File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 394, in connect
look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)
File "/usr/local/lib/python2.7/site-packages/paramiko/client.py", line 649, in _auth
raise saved_exception
paramiko.ssh_exception.AuthenticationException: Authentication failed.

Any idea? I checked the password 20 times, and it works when I manually SSH to it. It also works without problems with FortiOS 5.2 machines.

Looks like this: spotify/pyfg/pull/17
Make sure you are running latests versions of all the libraries and let us know if that fixed the problem.

Setting dh-param to 1024 helped. Thanks :).

Glad to hear :D


[website] Run npx browserslist@latest --update-db

Why
Fixes warning that caniuse-lite is outdated.
How

Run npx browserslist@latest --update-db in root

Test Plan

All tests should succeed

Not sure what's happening in CI, but this change seems good to me. Maybe some snapshots might fail as well (if it includes React components and styling)


Add pin message feature

[x] Added the pinned message to an embed
[x] Also added the author of the message as reference

Closes: #78

Only error I could get it to throw was on trying to pin an embed message.
So this means if a user tries to pin an embedded message, the bot explodes?

I think this is because the bot will try to send the message as an embed itself, and just uses the reaction.message.content as-is, which probably doesn't work for an embedded message. We could look into what we can do with an embedded message to either:

just not support pinning embedded message (which is kinda lame)
"pin" the embedded message as-is in the user DM
"un-embedd" if possible and send as normal text

I believe the Message object has something on it saying if its an embed or not, so we should be able to know before having the bot decide what to do with it. IF anything we can just handle this error more elegantly and add support for pinning embedded messages later :)

I haven't forgotten about this PR, just been busy and haven't been able to test :)

Will fix failing format errors in master. Too lazy to update the PR, as that requires me cloning it locally which I don't want to do.


Convert to create/update to apply

Description
To make things more clear to a user we no longer have create and update for dcs and envs. Instead you can now just run the apply command. This means a user no longer has to worry about if something was already created or new. On top of that this PR comes with a few other things.

When asking for an account for a datacenter variable, we no longer make them select a provider type first. The UX here was a bit confusing so this simplifies it.
We now have pipeline confirmations before any action is taken. We show the rendered pipeline and then ask the user if they are okay with the changes.
The render pipeline function now removes the header when it is done. This makes the UI look cleaner especially when you have multiple pipelines that are run back to back.
Added in a check to make sure docker is properly running and if not throw an informative error message. This was taken directly from the architect cli.

Closes (issue 52)
Closes (issue 66)
Closes (issue 41)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Went through every flow. Though mainly testing the following
arcctl apply dc local __tests__/datacenters/local.yml --auto-approve
arcctl apply env -d local local __tests__/environment.yml --auto-approve

Though also tested destroy, up and deploy as well.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

This is fine, but it seems like a lot of code changes. Wouldn't it be easier to just put errors in the testCredentials() method and make sure we test the credentials before each service invocation?

Also just tested locally and all appears in order, but this PR requires docs changes and despite you checking the box in the PR template you did NOT make docs changes :P
Just update ./src/datacenters/README.md with the new apply command and you're good to go.

This is fine, but it seems like a lot of code changes for the requires docker portion. Wouldn't it be easier to just put errors in the testCredentials() method and make sure we test the credentials before each service invocation?

Alright updated everything. We now call testCredentials everywhere.
For the documentation I just updated the commands, I kind of like how we split up talking about create and update so left that as is, but happy to change it if you disagree.


Splitting jackknife into separate module and interface proposal

Since we are breaking things: I would prefer it if the jackknife tools lived in a resample.jackknife module. It seems more logical to import the jackknife from resample.jackknife and the bootstrap from resample.bootstrap. I hope this makes sense and is not controversal.
As a next step, I propose to have a common interface mirrored between the bootstrap and jackknife modules. With both jackknife and bootstrap, one can generate samples, compute bias, compute variance, compute a bias-corrected estimate.
Using the module as a namespace, one can create functions sample, bias, variance, bias_corrected in both modules and import functionality like this:
from resample import jackknife as jk
jk.bias(...)
jk.variance(...)

or
from resample.jackknife import variance as jvar
from resample.bootstrap import variance as bvar, bias as bbias
# use jvar, bvar, bbias

Sounds like a very good idea, that would be much cleaner. My only qualm would be that we not create a precedent for importing jackknife as jk since jk is short for "just kidding" 😄

Ok, should be careful about that in the docs :)


Install fails with invalid deployment target when building hunspell on OSX 10.12.5

I've tried running both yarn add spellchecker and npm install spellchecker. Both fails with the same errormessage, though with different formatting.
Cloning the hunspell repository and building that works.
The full errormessage added below.
CXX(target) Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affentry.o
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
make: *** [Release/obj.target/hunspell/vendor/hunspell/src/hunspell/affentry.o] Error 1

Building on OSX 10.12.5
node -v 4.2.6
npm -v 5.0.4
Xcode and the cli tools are installed and updated.
Edit: Updating Node version to 6.11.0 fixed the issue. Is it possible to make it build with 4.2.6? We've got a couple of dependencies which does not work on later versions of Node unfortunately.

@rmilesson, did you manage to resolve this issue?

I did manage to solve it by upgrading node to 6.11.0.
This was some time ago and I no longer work at the same place so I don't remember specifics but I'm pretty sure I didn't get it to work with 4.2.6.
Skickat från min iPhone
7 feb. 2018 kl. 18:54 skrev Alex Buznik <notifications<EMAIL_ADDRESS>@rmilessonhttps://github.com/rmilesson, did you manage to resolve this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/atom/node-spellchecker/issues/76#issuecomment-363853300, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABDxiyC-adEhlhgcvM3ytqwwHpzjQiKmks5tSeMMgaJpZM4ONQMK.

Thanks, @rmilesson.
I actually posted a comment, and then saw your 'Edit' paragraph.
Updating node to 6.11.0 fixed the issue for me, too, and I'm fine with it.


chore: testing leanprover/lean4#4085 against nightly-testing

This is the lean-pr-testing-4805 branch, turned into a PR so we can run !bench.

!bench

!bench


Galacticraft airlocks not solid

dont know if this is a bug or not since it seem to keep air in without problems but the galacticraft airlock is marked as not solid.
galacticraft version 460 and AR 0,54

Will check into that

When sided checks for atmosphere are implemented later down the line this should be fixed

GC airlocks can be added to sealable block in config. closing


Jesús

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Mi cuenta


Implement XQuery Sequences as Finger Trees

Currently BaseX implements XQuery sequences as lightweight array lists, which is fast for simple use cases, but breaks down completely when sequences are used as immutable lists because of the copying overhead.
Example:
The standard XQuery function fn:map($f, $xs) applies the function $f so all elements of the sequence $xs, concatenating the results. Implementing it in XQuery is straight-forward:
declare function local:map(
  $f as function(item()) as item()*,
  $xs as item()*
) as item()* {
  if(empty($xs)) then ()
  else (
    $f(fn:head($xs)),
    local:map($f, fn:tail($xs))
  )
};

Unfortunately the function performs very poorly, as the result sequence has to be copied in every recursive call, which leads to an O(n²) runtime (with n being the length of the list).
Finger Trees
Finger trees are an immutable, purely functional data structure with properties nicely fitting this use case:

cons, reverse, tail: amortized O(1)
append and split: O(log n)

Even if should not be replaced by finger trees, an option to turn them on would be nice for idiomatic functional XQuery code.

Another possibility would be a tree as Clojure uses it. It's very similar to hash-array mapped tries, (think sequence as map(xs:integer, item())), but more efficient because there are no gaps in the keys and integers are perfectly hashable, so no collisions occur.


[VS Code] Response status code does not indicate success: 403 (Forbidden).

<!--
For Visual Studio problems/feedback, please use the Report

Could you please let us know what OS you're using (if Linux, which distribution).  It will also help us investigate if you attach the full logs.  In VS Code, run the "Live Share: Export Logs" command and either drag-and-drop the zip here or email it to<EMAIL_ADDRESS>

@dprior14 Typically we see this error if you are behind a proxy and cannot access Live Share's servers. We've made a number of updates in this space that may have resolved your issue and given we have not heard back in a few weeks, I'm hopeful this is the case.  https://aka.ms/vsls-docs/proxy may also be of interest.
As a result, I'm closing this issue, but if you're still seeing a problem please feel free to reopen.  As cait1inhennessy said, it would be great to see your logs if you're still hitting trouble.  Thanks!


tfctl build for Windows

Hello,
please, could you make build of tfctl for Windows OS.
Thanks!

Hello @pavel-trubitsyn: thanks for filing the issue. Wondering if you would be up for contributing this in a PR?


Anyone know Python and OSX can help here?

pip install psycopg2
Requirement already satisfied (use --upgrade to upgrade): psycopg2 in /usr/local/lib/python2.7/site-packages
eralchemy -i 'postgresql+psycopg2://localhost:5432/assembler_development' -s public -o foobaz.er
Please install psycopg2 using "pip install psycopg2".
So what is the magic Python people? How does this ancient incantation language work?

How did you install ERAlchemy?

brew install eralchemy

I should remove or fix this formula.
Just do brew uninstall eralchemy and install it with pip install eralchemy.

pip install eralchemy
Requirement already satisfied (use --upgrade to upgrade): eralchemy in /usr/local/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy in /usr/local/lib/python2.7/site-packages (from eralchemy)
Requirement already satisfied (use --upgrade to upgrade): pygraphviz in /usr/local/lib/python2.7/site-packages (from eralchemy)

Did you do brew uninstall eralchemy && pip install eralchemy

Yes
Problem is, apparently, this PIP business has no ability to set paths or anything? So now when I attempt to use this code, which is installed, I get the command not found?
Without getting into this too deep, is Python usually this hard to setup on OSX? It usually just works with *nix... but since I stopped using that, and moved to OSX, I guess I have been spoiled by homebrew

pip can do that! I never had any trouble with that.
I let it open, in case someone has the same problem.

I used Brew to install Python. I suppose that is the root of the problem? PIP works from the command line, so why didn't the installer figure packages might be useful too. I will blow away this whole Python install and try again...

The solution was when I noticed the /usr/local/bin was devoid of eralchemy. I used pip to reinstall with the -I flag which forced the re-installation of the already installed code, and this time it managed to land an executable in /usr/local/bin. That was the ticket.


Add nodes extension

Description
Nodes is a new extension to monitor Solana validators. It displays data in a menu item and within a detailed list view.
Screencast
https://github.com/raycast/extensions/assets/40317787/0bad25f7-c742-4659-a546-1c43582a2d7d
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

I found some stuff that you maybe would have wanted to be changed, now the extension is publishable as far as I can see.
Happy reviewing!

Appreciate the feedback, @pernielsentikaer. I removed the interval and chose to rename the extension to Solana Nodes.


How to get input value from Command.Input?

As a corollary to #13, I'm trying to use Command.Input to keep a value in sync with the underlying input but it looks like on:change event is never called. And on:input only returns a single key input at a time. How would I get this to work?
<script>
   let query: string = "";
</script>

<Command.Root>
        <Command.Input
		value={query}
		on:change={(e) => query = e.currentTarget.value} or
                on:input={(e) => query = e.currentTarget.value}
	/>
	<Command.List>
          ...
	</Command.List>
</Command.Root>

bind:value={query}

Thank you. I can't believe I forgot about bind and tried to do it the React way.


feat: introduce vagrant scripts for testing in a VM

Currently we can test in Docker just fine, but using a VM to test the kernel too would be a good move.

virt/virtualbox and qemu now do this.


Unable to Stop.the recording.

This just happened recently that I clicked the send button, shows the time increasing and then I would click again and it would still keep the time increasing. I think it was a bug, it does not happen that often but it happened once or twice.

The bug that the time keeps running is probably due to the fact that you rotated your mobile phone during the recording. I have not yet built in any logic that takes rotation into account, which is why this bug exists. It's on the list and I'm working on it. :)


Add docker-compose file for Fuji

Signed-off-by: Tingyu Zeng<EMAIL_ADDRESS>Create docker-compose file for Fuji release.

Do we need a Dockerfile here or will that be created later?

Do we need a Dockerfile here or will that be created later?

It will be created later.

Why don't we just create this folder when we create the docker files? I don't see the point of creating a PR and merging in an empty folder right now. Do we have some sort of docs issue that necessitates this?

Why don't we just create this folder when we create the docker files? I don't see the point of creating a PR and merging in an empty folder right now. Do we have some sort of docs issue that necessitates this?

Why don't we just create this folder when we create the docker files? I don't see the point of creating a PR and merging in an empty folder right now. Do we have some sort of docs issue that necessitates this?

Either me or Jim will commit different docker compose files here later. However we don't have such file ready by now. Creating this folder so that everybody knows where the files will be residing since we oppose the idea of having docker-compose file within the project.

Either me or Jim will commit different docker compose files here later

It just seems like the easy thing is for you or Jim to create this folder when you go to create the compose files. In general, it's best to minimize the amount of unnecessary git history for repositories such as this. I find it useful to try and think how I would look back at this PR from 10 years from now and wonder if the version of me 10 years from now would care about the purpose of this PR. If not, then just roll this change in with something else more tangible (such as the actual creation of the compose files).

Adding dockercompose file with the PR per request.

@tingyuz  suggest changing the title to Add docker-compose file for Fuji

@tingyuz suggest changing the title to Add docker-compose file for Fuji

Done.

Is there anything blocking us from rolling forward some of the dockerhub image versions to pick up fixes that have been made since last release?  For example, consul is now up to version 1.6.1.

Is there anything blocking us from rolling forward some of the dockerhub image versions to pick up fixes that have been made since last release? For example, consul is now up to version 1.6.1.

In the past any update of the version needs to be verified before it goes into the compose file. I would assume 1.6.1 hasn't been verified yet.

My two cents from the security perspective is that this kind of activity (version bumping of 3rd party containers) should be a deliverable. for every labeled release.  We should figure out how to do this in repeatable manner.

Based on the discussion result from today's security WG meeting, it is decided that all the changes will go to docker compose file under nightly-build folder, and the DevOp/release team will take care of moving the final files into different release folder. Since most issues here have been carried into #140  this PR can be closed.


feat: basic zeo++ check

[ ] Breaking change (fix or feature that would cause existing functionality to change)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation
[ ] Developer tools
[ ] Refactoring
[ ] Test

Actions (for code changes)

[ ] I have updated the documentation accordingly.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.

need to clean this messy history up ... don't know why VSCode didn't do a clean checkout

for this and the charge check i should return something that is not True/False, maybe None if the binary is not in the PATH


Mice are missing Shadows

Hi all,

This can be fixed by enabling castShadow in Views > Resources > Pipelines > (the pipeline used by the mice)
Best,
Jonathan

The mouse is using material Bodd-tx which appears to be Phone Opaque Textured under the materials tab.

However, it's still not casting shadows after enabling castShadow for this pipeline. Any idea why that would be?

Btw, you can unfold the mouse material and see the pipeline directly also! Since materials can have the same name, that is also an easy way to ensure that's the same material you're looking at.
You might need to also remove ALPHA and ALPHA_MASK features.

Removing the ALPHA and ALPHA_MASK features did it. Thanks for the help!


Can't activate scenes

Using node-red-contrib-lifx-api 1.2.0 under Node-RED v0.20.5, when I trigger an lifx-activate-scene node configured with my API Token, a Duration and a Selector in the form of:
scene_id:c5156204-3921-40a6-9e37-432d9ae15ah0
I do successfully get back a payload resembling this, correctly referring to the two globes in the scene:
{"payload":{"results":[{"id":"d073d5898dc3","status":"ok","label":"Light 1"},{"id":"d073d523cef3","status":"ok","label":"Light 2"}]}}
The scene, however, isn't activated.
The scene is activated, however, if I provide the same Selector and API token in the LIFX 'Try it Out' form at the bottom of:
https://api.developer.lifx.com/docs/activate-scene
I greatly appreciate the work put into this project, and I'm happy to provide more information if it might help!

Note there is an issue with the dependent package which impacts this capability.

Ah! I'll watch for an update to lifx-http-api. Thanks for the quick response.

Realizing I probably shouldn't have closed, since there's not yet a fix :)

In the file life-http-api/dist/lifx.js, line 386 needs to be changed from:
        url: 'lights/' + selector + '/cycle',
to:
        url: 'scenes/' + selector + '/activate',
Sorry, I don't know how to do pull/push requests!

No problem @johnfenwick - as you have noted a pull request has been submitted on klarstil/lifx-http-api with this fix

I'm (finally) taking another look at this, but having no luck.
Based on what I see at https://github.com/klarstil/lifx-http-api/pull/6 and https://github.com/klarstil/lifx-http-api/commit/d9299fcf3370c4052b2318e5a2e5637e733d4ed1, it appears this should now be working, but I'm still having no luck, and my results still match my original post from a couple years ago.
I'm now on Node-RED 1.3.5 and node-red-contrib-lifx-api 1.2.1, and everything I've tried aside from lifx-activate-scene node works great.
However, when I trigger lifx-activate-scene, nothing happens, and the node output looks like this:
_msgid: "bb4c49b1.b1b5a8"
payload: undefined
topic: ""

Since that node is fully configured, my expectation is that even an empty message sent to the node should trigger it—do I have that right?

Did you get this to work? Or still the same issue? I'm running into the same problem.


Include standalone version of ionic.Platform to avoid loading all of ionic code first

This module (as well as ionic-service-core) depends on ionic to be completely loaded, just to use ionic.Platform.isAndroid(). Perhaps it would be easier to just include a standalone function, such as the userAgent hack in js/utils/platform.js line 320? I'll attach a PR soon.

I just realized that you provide a function that does this check already in $ionicApp from ionic-service-core so I'll use that instead of ionic.Platform.isAndroid() in the PR.

This was actually address with the ionic-platform-web-client

Yup I've been looking at this over the past day. It looks like it addresses the problem nicely :+1:


No Sound after installing

Hi Patrick, Great Second name BTW lol.   You have a great programme here but i can't hear the checklist being read. I've followed the instructions but I'm not sure where I've went wrong. Hope you can help. Thanks again.

Hi, can you provide the log file from X-Plane? It is located in the X-Plane directory, named Log.txt.
Start X-Plane and run a checklist. After that, close X-Plane and upload the log file here.

Patrick,
Thanks for your reply. I think i managed to solve the issue. I didnt have the folder with the voices in the correct place.

Perfect, thank you for letting me know


How do I use it with cmake project

The project uses cmake to build, there are various header file dependencies, using a single file will find a variety of files.
how to use cppinsights and cmake together

Guessing what you are looking for is a compilation database: Follow cmake's guide to export the compilation database, and then check the readme of this extension again.

Guessing what you are looking for is a compilation database: Follow cmake's guide to export the compilation database, and then check the readme of this extension again.

If cmake.buildDirectory has a default setting but is modified to a new path by cmakepreset's binaryDir, CMAKE_EXPORT_COMPILE_COMMANDS are not found

project setting.json:
"cmake.copyCompileCommands" : "${workspaceFolder}/.vscode/compile_commands.json",
"vscode-cppinsights.buildDirectoryPrioritizeCMake": false,
"vscode-cppinsights.buildDirectory": "${workspaceFolder}/.vscode"


🎉 2.0.4

ℹ About this release

Version: 2.0.4
Type: patch
Last Release: 2.0.3 (11/15/2024, 2:18:15 PM) [?]
Commits to merge: 14 [?]

🐛 Bug Fixes

deps: downgrade eslint to v9.13.0 to resolve typescript-eslint issue (ad20987), closes #10353 typescript-eslint/typescript-eslint#10353

📦 Development Dependencies

Update @eslint/js from ^9.13.0 to ^9.15.0
Update @sebbo2002/semantic-release-docker from ^5.0.2 to ^5.0.3
Update @types/mocha from ^10.0.9 to ^10.0.10
Update @types/node from ^22.9.0 to ^22.10.1
Update eslint-plugin-jsonc from ^2.16.0 to ^2.18.1
Update typescript-eslint from ^8.8.1 to ^8.14.0

:tada: This PR is included in version 2.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v2.0.4

Your semantic-release bot :package::rocket:


Improve Nunjucks variables and options content

Our content about Nunjucks variables and options (for example the template variables table) needs improving because the table format is getting overstretched.
The issues are:

there's too much content for table cells
we can't link to particular variables
we can't easily add code examples

We should also look at whether to standardise on either 'variables' or 'options'.

Related, we could have general guidance on using macros. Like for example content can normally be text (with html escaped so it appears like this on the page) or html so it actually becomes html (useful for formatting).

Agree! It's interesting that we don't give general option guidance even when an example is based on actually using an option. For example the start button example is fundamentally 'use isStartButton: true if you want this start button' (if you're using Nunjucks), but we don't mention that specifically in the guidance above the example. You have to infer it from the code/options.
Definitely agree with bringing out the options as main content too. Both for searchability as @edwardhorsford mentioned, and to avoid the confusing and potentially misleading duplication inside each example.
Also - just a sidenote - I'm not sure we should be calling them 'options' when some of them are required...

Timeboxed meeting to explore options and related issues.

User reported here that they missed the link for the Nunjucks options table altogether: https://github.com/alphagov/govuk-design-system/issues/1422#issuecomment-741838630

There has been an instance today where we've wanted to link directly to a list of Nunjucks parameters for a component, but this currently isn't possible with how they're displayed.

As another thought, we occassionally encounter support issues wherein a user is trying to use Nunjucks parameters introduced in a later version of Frontend than the one they're using.
Although we keep archive versions of documentation for major versions of Frontend, we don't do so for feature releases, which may also introduce new parameters. The version of Frontend these parameters were added in is not typically documented.
When we decide to improve how we display Nunjucks parameter info, we may want to add the ability to 'tag' which versions specific parameters were introduced in.


fix(plugins): do not set APP_NAME env var in the start script

Fixes #21164
Context
APP_NAME seems very common and intuitive env var name to use, and Gradle is overwriting it.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] (N/A) Provide unit tests (under <subproject>/src/test) to verify logic
[ ] (N/A) Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew :plugins:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

At this point the PR is just a test, since the APP_NAME value has been removed already.
Not sure if it's worth merging anymore.

Thanks for the PR @bcmedeiros. I agree with you that it's probably not worth merging now.


devconfig.write called via ontutils devconfig doesn't save hypothesis_api_user

No longer relevant due to the switch to orthauth.


Making use of prefers-reduced-motion media query

As discussed in #25249 - if a user (Who is using Safari / iOS) requests
reduced motion in their system settings, we should avoid transitions.

It looks like Travis is failing because stylelint doesn't know about prefers-reduced-motion.
Is there a prefered way to whitelist media features or should I open a PR to stylelint ( I think the LOC is https://github.com/stylelint/stylelint/blob/f6fbad37e1ffa84aed4a996b3829b4275e7320c5/lib/reference/keywordSets.js#L553 )

no time to test just now, but i believe editing build\.stylelintrc to include the following (or something very similar to it) should work
"media-feature-name-no-unknown": [true, {
  "ignoreMediaFeatureNames": ["prefers-reduced-motion"]
}]

@patrickhlauke That fixed it! Tests are now passing 🎉

just to check, did you compile this locally and test it actually works as expected?

just to check, did you compile this locally and test it actually works as expected?

@patrickhlauke I did indeed 👍 If you'd like I can record a little demo video of it working?

Looks great to me - thanks

We should document this, too.

@mdo I'm happy to do that :)
Is after the "Visually hidden content" section in docs/4.0/getting-started/accessibility.md a suitable place?
Copy wise I'm thinking:
## Reduced Motion
iOS & MacOS users have a system preference to Reduce Motion which is passed onto the browser. If a user has selected this option, Bootstrap will attempt to reduce the the amount of transitions on a page by defaulting them to `transition: none;`.

@MikeRogers0 iirc the reduce motion preference is not limited to the browser so maybe delete "which is passed onto the browser"

I think documentation-wise I'd lean more towards the following (but yes, the accessibility markdown seems the most appropriate place):
### Reduced motion

Bootstrap includes support for the [`prefers-reduced-motion` media feature](https://drafts.csswg.org/mediaqueries-5/#prefers-reduced-motion). In browsers/environments that allow the user to specify their preference for reduced motion, most CSS transition effects in Bootstrap (for instance, when a modal dialog is opened or closed) will be disabled. Currently, support is limited to Safari on macOS and iOS.

@mdo ?

incidentally (testing this PR) it seems .carousel-fade and animated progress bars always use transitions/animations, regardless of the setting (and presumably regardless of $enable-transitions ?)

@patrickhlauke I'm happy to update scss/_carousel.scss and scss/_progress.scss to remove their animation, though I'm not sure if that would reduce animation to much & make things to clunky. What do you think?
Also updated docs/4.0/getting-started/accessibility.md :)

Updating the progress bar to remove the animation on the candy strip was my initial aim - sadly cant test it right now as am away from my apple

Updated the progress bar & carousel now have reduced animation :)
Here is a demo:

ah sorry @MikeRogers0 i didn't intend for you to have to do the carousel and progressbar thing. was more of a passing note.
wondering if those two should (and should have been from the start?) be using the transition mixin instead. that'd then also stop them when $enable-transitions is changed. @mdo, thoughts?

@MikeRogers0 would it be possible for you to omit the last commit (and we'll tackle the carousel and progress bar animations separately, probably tying them to the mixin/$enable-transitions instead). once that's done, I think we're good to merge :)

@patrickhlauke Reverted that commit 👍

filed a separate issue here https://github.com/twbs/bootstrap/issues/25709
@mdo, good to merge?

@mdo @patrickhlauke Any plans to merge this? :)

@MikeRogers0 went ahead and merged. Think @mdo was happy in principle, but with volume of issues/PRs we get, it's sometimes easy for things to fall between the cracks :)

Ah wonderful! Thank you so much!

Thank you


Unfilled bigstar

Unfilled bigstar is commonly used notation for correlation:

As opposed to filled \bigstar which conventionally defines convolution. Is it possible to create such an unfilled bigstar with macros? I'm not able to figure out.
I have used this for latex, but that relies on a couple of packages.

Is it possible to create such an unfilled bigstar with macros? I'm not able to figure out.

That depends what you're after. On the one hand, you can uses MathJax's \unicode and one of the stars in Unicode to generate some valid input; e.g., \unicode{x2606} would give [this](http://www.fileformat.info/info/unicode/char/2606/index.htm.
On the other hand, this won't necessarily render well as a) AFAIK no font MathJax supports has a glyph for this (so MathJax has guess glyph dimensions) b) this won't be treated as an operator (which I'm guessing a TeX package might do).
(Labeling this "expected behavior" for lack of better label.)

Thanks! That worked lovely at math.stackexchange.com. Considering this closed.

If you want it to be treated as a binary operator, use \mathbin{\unicode{x2606}}


Closure compiler error

Hi,
I used closure compiler to make the JS smaller for deployment. Unfortunately I ran into this error:
JSC_PARSE_ERROR: Parse error. Invalid delete operand. Only properties can be deleted. at line 47 character 0
                delete $.data(this, pluginDataName);

Any thoughts on this problem? Can we get around the error somehow?
Regards,
Benjamin

Hi,
Maybe you can replace delete $.data(this, pluginDataName) by $.removeData(this)

Yes, that works. Why don't you use that solution at the moment? Can we switch to your proposal safely?

I didn't thought about it.
I will pull it in the next release.
This is safe. It's a Jquery native way to delete data.

Thank you!

It seems like the problem still exists. Could you please fix this?

bump.


Final merge from qvain-light into test

This should be the final pull request from qvain-light to test, at least for the for the foreseeable future.
The branch qvain-light was created for development of contained qvain-light-related functionality. However, this contained development process is now mostly finished, and future feature branches should created from the branch test, instead of qvain-light. Using test as the only development branch will simplify the branch structure and create a more readable git history.
Contains the commit 218d5d4.
Description of commit 218d5d4:
"Fix a bug where events-tab crashes or is empty if there is no data in relations. Necessary fix because events-tab crashed for example in datasets like: 3894fef7-631c-4a64-b918-b72c064bf7b4 that only had data in 'Other identifiers'. A simple check of whether relations-data was present was added to events/index.jsx checkRelation(). If the return is false, the other tables (provenance and/or other identifier) are still drawn."

The changed lines in etsin_finder/qvain_light_service.py (viewable through the tab Files changed) seem to already be present on branch test, as well as in qvain-light. Still, they have been identified by Github as changes in this pull request. Something weird has happened with the git history, at some point.


Support of Storage API

Any plan on supporting the bigquery storage api ?

Edit Sub-steps:

[x] Update BQ DB-API to support BigQuery Storage API https://github.com/googleapis/python-bigquery/issues/16
[ ] Update create_connect_args to (optionally) return a BQ Storage API client alongside the BQ client.
[ ] Add a use_bqstorage_api option to the connection URL parsing logic.

This requires adding support for the BigQuery Storage API to the DB-API adapter in google-cloud-bigquery, first.
I assume you want to improve the performance of downloading large results?

You are right on with your comment in https://github.com/googleapis/google-cloud-python/issues/9465, it is indeed to test/use with superset.
As a workaround, I can try pyodbc with the BQ ODBC driver.

@tswast does this close it ? : https://github.com/googleapis/python-bigquery/pull/36#issuecomment-641558094
If so, some documentation would be useful. Thanks

It unblocks this feature from being completed, but doesn't quite fix it yet.
We need to update create_connect_args to (optionally) return a BQ Storage API client alongside the BQ client. https://github.com/mxmzdlv/pybigquery/blob/f427dbe0040cbdf3681c1937699af0bea2b89af6/pybigquery/sqlalchemy_bigquery.py#L318
This will also require adding a use_bqstorage_api option to the connection URL parsing logic https://github.com/mxmzdlv/pybigquery/blob/master/pybigquery/parse_url.py

Can you guys add some more details about the usage of this feature?
I would like to implement it, but i feel like i won't be able to do it in the best way possible and test that it works without understanding this issue a bit more

@alonme nothing to document since not implemented yet.
In the meantime you can use the standard way to read rows, with hope for the turbo mode soon.

Maybe I wasn't clear,
I would be happy to contribute this feature.
On order to do that, id like to understand it better

@alonme Thank you for volunteering to help.
To verify the updates suggested in https://github.com/mxmzdlv/pybigquery/issues/41#issuecomment-644164286
Make a query to table where the expected result set is moderately large (100 MB or more). When use_bqstorage_api=True is included in the connection string, you should notice a considerable (4-16x or more) speedup,

@tswast cool, got a PoC to work.
hope to get a nice branch for PR in the next days,
please assign to me

closing as per https://github.com/googleapis/python-bigquery-sqlalchemy/pull/61#issuecomment-756187394

Add a use_bqstorage_api option to the connection URL parsing logic.

Are there any plans to implement this feature as optional? My understanding is that using the storage API incurs an extra financial cost, so it would be nice to be able to disable it when desired.


HTTPError: 403 Client Error: Forbidden for url??

Describe the bug
I was training a new model with the updated VAE and the new 1.5 model. Came across an error described on the title. A log will follow below
Reproduction
I was using the defaults with nothing changed
Logs
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/huggingface_hub/utils/_errors.py", line 213, in hf_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/model_index.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/diffusers/configuration_utils.py", line 234, in get_config_dict
    revision=revision,
  File "/usr/local/lib/python3.7/dist-packages/huggingface_hub/file_download.py", line 1057, in hf_hub_download
    timeout=etag_timeout,
  File "/usr/local/lib/python3.7/dist-packages/huggingface_hub/file_download.py", line 1359, in get_hf_file_metadata
    hf_raise_for_status(r)
  File "/usr/local/lib/python3.7/dist-packages/huggingface_hub/utils/_errors.py", line 254, in hf_raise_for_status
    raise HfHubHTTPError(str(HTTPError), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: <class 'requests.exceptions.HTTPError'> (Request ID: AutVvq7B65UXC7EeQrvKQ)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train_dreambooth.py", line 704, in <module>
    main()
  File "train_dreambooth.py", line 384, in main
    args.pretrained_model_name_or_path, vae=vae, torch_dtype=torch_dtype, safety_checker=None, use_auth_token=True
  File "/usr/local/lib/python3.7/dist-packages/diffusers/pipeline_utils.py", line 375, in from_pretrained
    revision=revision,
  File "/usr/local/lib/python3.7/dist-packages/diffusers/configuration_utils.py", line 256, in get_config_dict
    "There was a specific connection error when trying to load"
OSError: There was a specific connection error when trying to load runwayml/stable-diffusion-v1-5:
<class 'requests.exceptions.HTTPError'> (Request ID: AutVvq7B65UXC7EeQrvKQ)
Traceback (most recent call last):
  File "/usr/local/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
    args.func(args)
  File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
    simple_launcher(args)
  File "/usr/local/lib/python3.7/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'train_dreambooth.py', '--pretrained_model_name_or_path=runwayml/stable-diffusion-v1-5', '--pretrained_vae_name_or_path=stabilityai/sd-vae-ft-mse', '--instance_data_dir=/content/data/sks', '--class_data_dir=/content/drive/MyDrive/guy', '--output_dir=/content/drive/MyDrive/stable_diffusion_weights/sks', '--with_prior_preservation', '--prior_loss_weight=1.0', '--instance_prompt=sks guy', '--class_prompt=photo of a guy', '--seed=1337', '--resolution=512', '--train_batch_size=1', '--train_text_encoder', '--mixed_precision=fp16', '--use_8bit_adam', '--gradient_accumulation_steps=1', '--learning_rate=1e-6', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--num_class_images=400', '--sample_batch_size=4', '--max_train_steps=2000']' returned non-zero exit status 1.

System Info

diffusers version: 0.7.0.dev0
Platform: Linux-5.10.133+-x86_64-with-Ubuntu-18.04-bionic
Python version: 3.7.15
PyTorch version (GPU?): 1.12.1+cu113 (True)
Huggingface_hub version: 0.10.1
Transformers version: 4.23.1
Using GPU in script?:
Using distributed or parallel set-up in script?:

Im a dumbass forgot you have to agree in the hugging face site to access the new model


Add a warning to the storage/file#move method.

We should make it clear that this is a composition of two methods, and if the second (storage/file#delete) were to fail, a lingering file would be left around (which could cost money).
This also removes some trailing whitespace.

:+1: JSHint reports a "line too long" warning, but I'll fix it up and manually merge this in.

Merged in 6c650e17134b8eef5fd93d2cdeb62571c9e27a58 with the fixed up spacing & just a small tweak to the phrasing of the last sentence.

:+1:


Signoz pods are not getting up

Dear Team,
We have installed Signoz in EKS cluster- there are sufficient nodes with enough memory and CPU, but when we describe pods, pods are not getting up and not showing any error.
PFB.

When further POD/deployment is described- no error showing.
kubectl describe pod uc-care-monitor-signoz-otel-collector-6f5f56d894-lr9l9 -n uc-tools

Please note we have installed Signoz in the custom namespace- not in the platform

@vinay-unify-care Can you verify that clickhouse is healthy? It should be possible with chi logs and pod state.
The issue above is mostly seen when clickhouse pod takes times to be ready.
In the above shared information, I see that clickhouse was up 11h ago, but rest of the pods are new.
If you had previous instance of signoz release, be sure to properly uninstall before retrying.
https://signoz.io/docs/operate/kubernetes/#uninstall-signoz-cluster

Thanks @prashant-shahi - but actually we tried to restart signoz using, below command,
helm upgrade --recreate-pods uc-care signoz/signoz -f override-values.yaml --namespace uc-tools( pls not clickhouse service is not getting restarted)
but when further verified found that the node where click house is shown running is not present in the cluster. can you suggest steps to remove cluster-

@vinay-unify-care I see that supposed node where clickhouse is supposed to run is no longer available in the cluster.
You could try uninstalling properly first before installing again: https://signoz.io/docs/operate/kubernetes/#uninstall-signoz-cluster
Moreover, one of the prerequisites for helm chart is that you use "Managed nodes - Linux, since Fargate is not officially supported". Would it be possible for you to use an independent k8s cluster with managed nodes instead?
https://signoz.io/docs/install/kubernetes/aws/#prerequisites

Thanks, @prashant-shahi. If I would like to persist data(previous logs/users info) for the new installation how to do it?
We are using EKS with managed nodes only. Please suggest ?

Hi @prashant-shahi , am trying to uninstall Signoz and do a clean setup again, but when trying to uninstall- click house pods are not getting terminated due to PVC  attached. Can you please help how to delete the associated pvc.?

This mostly happens when you try to delete the volumes prior to properly deleting the ClickHouse Instance.
You can resolve this by patching the PVCs in the namespace:
kubectl get -n platform pvc -o=name | xargs kubectl patch \
  -n platform \
  -p '{"metadata":{"finalizers":[]}}' --type=merge

Ref: https://signoz-community.slack.com/archives/C01HWUTP4HH/p1685101696597769?thread_ts=1685085415.450749&cid=C01HWUTP4HH

It worked. @prashant-shahi  Thank you.. ..!!


HDDS-3141. Unit check fails to execute insight and mini-chaos-tests modules

What changes were proposed in this pull request?

Remove unnecessary dependency on integration-test from insight module.
Move test execution of mini-chaos-tests module to integration.sh.

https://issues.apache.org/jira/browse/HDDS-3141
How was this patch tested?
Verified that insight module compiles and test can be run:
[INFO] Running org.apache.hadoop.ozone.insight.TestBaseInsightPoint
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s - in org.apache.hadoop.ozone.insight.TestBaseInsightPoint

https://github.com/adoroszlai/hadoop-ozone/runs/494936624
Verified that unit check does not include mini-chaos-tests:
https://github.com/adoroszlai/hadoop-ozone/runs/494936624
and that it-ozone check does:
[INFO] Running org.apache.hadoop.ozone.TestMiniChaosOzoneCluster
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 69.139 s - in org.apache.hadoop.ozone.TestMiniChaosOzoneCluster

https://github.com/adoroszlai/hadoop-ozone/runs/494955611

Thanks @elek for reviewing and committing it.


User authentication

OSNAP web interface will need to allow for account generation for users via the web, and isolation of user created data.
This is related to #40.

Possible ideas for authentication models might follow tljh

is this still something we want to target with the new structure, or should we close and regroup on this?


Multiple DataTables on one template

It is either not implemented or I don't understand how to do it. Multiple DataTables return values of only one table (if you have 2 entities mapped, request responds with only one dataset).

If you want to display more than one DataTable on the same page, make sure to give each DataTable a unique name (default name is dt).
$datatableOne = $dataTableFactory->createFromType(FirstTableType::class)
	->setName('datatable_one');

$datatableTwo = $dataTableFactory->createFromType(SecondTableType::class)
	->setName('datatable_two');

Thank you! it's working


Restore with Domain Change: Images Won't Load

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
I am in the midst of scripting out the restoration of my VMs, and am running into a slight snag with restoring Bookstack regarding images. The files all copy over, database migrations don't run until after my sqldump is complete, and I've run the commands on the debugging page / generated output for changing the APP_URL. The URLs do change, but they will 404. I'm using the more secure image option. New uploads work fine.
The one thing I'm configuring differently is that my Apache config is redirecting all traffic to HTTPS, but otherwise the :443 virtual server configuration is identical to the default one on :80.
Exact BookStack Version
v22.03.1 -> v22.06.1
Log Content
No response
PHP Version
7.4
Hosting Environment
Ubuntu 20.04 VMs running on an ESXi server. Restore via custom Ansible playbook / tarball / SMB share.

Hi @brandoningli,
Just to confirm, are you running the php artisan bookstack:update-url <oldUrl> <newUrl> command as part of this process?

Yep! Running both
php artisan bookstack:update-url <old> <new>
php artisan cache:clear

The db itself is updated, and the new domain is used for the image URLs, but they 404.

Okay, When opening one of the non-working image URLs in the browser, what is the URL (Can obscure domain and file name as required) and what kind of 404 page is shown? A blank-looking page or a bookstack styled page?

The URLs are like https://testing.domain.com/uploads/images/gallery/2022-05/scaled-1680-/xIifzdM2mT2URWlY-tivo-mini-release-tuner.jpg, and I get a bookstack styled page.
Looking closer, though, and it looks like those images may not have actually copied over :facepalm:,  so this may be an issue with my process instead of with bookstack. I'll work that kink out on my end and reopen if that doesn't solve things.

Alrighty, Good luck!

I've got the files copied over successfully now, but unfortunately the issue still persists. File permissions and directory contents look identical between the source and destination VMs.

Actually, I take that back again. Sorry. It looks like storage got nested inside another storage directory.

That was exactly my issue. I had an errant trailing slash was causing my copy to be nested into a same-name subdirectory instead of the directory I wanted it in.


Unable to install after adding repository

I get the following when I try to install:
Failed to install add-on
The command '/bin/bash -o pipefail -c apt-get update && apt-get install -y snmpd && apt-get clean autoclean && apt-get autoremove -y' returned a non-zero code: 100
My System - I just updated everything, perhaps there was a breaking change?

Core: 2024.3.1
Supervisor: 2024.03.0
Operating System: 12.1
Frontend: 20240307.0

Hi @bob-gorman
could you please provide the supervisor log (settings->systems->logs->"select supervisor on the top right") and the diagnostics information of the have integration?
Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
thx 👍

@mib1185
Thank you for the quick response.
I am on Raspi4 4GB. The integration has not yet installed correctly, so I do not have diagnostics, unless there is another way to get to it.
The log errors on resolving deb.debian.org, so I ran nslookup. It finds it in a cname reference.
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53
Non-authoritative answer:
deb.debian.org	canonical name = debian.map.fastlydns.net.
Name:	debian.map.fastlydns.net
Address: <IP_ADDRESS>
Name:	debian.map.fastlydns.net
Address: 2a04:4e42:58::644
here is the output from the superviser log
supervisor-log.txt

"where" did you run the nslookup - it should be run on the HA OS cli directly and also within the Terminal add-on or directly on the homeassistant core docker container (if you know how)

The integration has not yet installed correctly

if hacs is not installed, how did you add this repository to your HA instance?

nslookup via terminal add-on.
Hacs is installed, but I could not find anything for snmpd. So, I followed the directions on the bottom of the GIT page.
"Or navigate to Settings -> Add-ons -> Add-on store -> 3 dots top right corner -> Repositories than add https://github.com/mib1185/ha-addon-snmpd as new repository."

and the diagnostics information of the have integration?

ok, than this should be possible?

just to make sure, did you already restarted everything? do you use a pihole or adguard (or anything like a DNS "filter" system) on your network?

I do work in IT... so reboot is step on when troubleshooting.
I do run AdGuard, but it is not blocking anything... out bound.
I can use curl http://deb.debian.org/debian/dists/bookworm/InRelease and I get a list of files back

I do work in IT... so reboot is step on when troubleshooting.

perfect 😁 👍

I can use curl http://deb.debian.org/debian/dists/bookworm/InRelease and I get a list of files back

Please try this directly on the console of your PI, also the DNS test

Pi is headless running ha os

you can enable ssh on port 22222 on the HAOS as described here


View Custom Resource YAML

What would you like to be added:
View Custom Resource YAML on detail page (side page)
Why is this needed:
Currently to view Custom resource YAML, need to edit only can view, but it may accidentally edit the file. Maybe this could apply to other resources as well
Environment you are Lens application on:

Kubernetes distribution: [GKE]
Desktop OS: masOS Catalina 10.15.7

LENS version
Lens: 4.2.4
Electron: 9.4.0
Chrome: 83.0.4103.122
Node: 12.14.1

We'd love to have this enhancement!
And please also consider feature request #2765 when implementing this one.


feat: Shorthands for well-foundedness of < and >

We already have WellFoundedLT/WellFoundedGT as wrappers around IsWellFounded, but we didn't have the corresponding wrapper lemmas.

Thanks :tada:
bors merge


Fixed unclear example in SUPPORTED_OPTIONS.md

What is this Pull Request About?
Made examples in  SUPPORTED_OPTIONS.md more clear

What will this Pull Request Affect?
File : SUPPORTED_OPTIONS.md

Any additional information?

Was having trouble while reviewing the cli functionalities!
So is the PR.


Call zef as a library

I'm not so sure this is possible right now, but it would be great if we could call it directly from the program without the need to get out to the shell and invoke it.

The zef script is literally just:
#!/usr/bin/env perl6

use Zef::CLI;

The whole Zef codebase is very well structured. Alas, I don't think there are any guarantees about API stability. The question remains: why do you want to use zef in your program in the first place?

I have the same problem on 6pm. I've been working on this: https://github.com/FCO/zef/commit/1c95922ad6897a302f76e5bf8c1fc7b6d7c220e0 to PR zef... but I still couldn't remove the no precompilation so I couldn't PR it yet...
Maybe something like that could be a solution for that...

Why is this in Sake repository?

@AlexDaniel so that we could have default support for install targets, for instance. But as @niner says, it's likely that we can do that directly from the Sakefile. I'll give it a try.

OK, now I remember: we can use Zef::CLI, but can we call it since all we have are MAIN functions

You sure you didn't mean to open it in https://github.com/ugexe/zef/issues ?

@AlexDaniel not really. I already did that. What I want to show (again) is why that would be useful.
If you look at tools such as Grunt or Gulp, they include plugins and ways of accessing native language facilities from within itself.

But what exactly would Sake use the Zef libraries for?

Well, this is a wishlist... To have a default "install" target that could
call zef as a functions instead of calling it from the shell.
El mié., 30 oct. 2019 a las 12:41, niner<EMAIL_ADDRESS>escribió:

But what exactly would Sake use the Zef libraries for?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/perl6/p6-sake/issues/27?email_source=notifications&email_token=AAAAD5FEWQZDBHDOOBWSYSTQRFXFDA5CNFSM4JGVLQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECT3FCI#issuecomment-547861129,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAD5BW2ESK4RB3B37CRGLQRFXFDANCNFSM4JGVLQ4A
.

--
JJ


error on generated files by wasmpack

🐛 Bug description
after building a rust library the compilation process is successful, but when i use the generated files on nodejs it throws the next error
ReferenceError: Window is not defined
      at module.exports.__wbg_instanceof_Window_04bba8b54ef81db0 (/home/italo/Documentos/zk/package/zk_lib.js:143:42)
      at wasm-function[977]:8
      at wasm-function[723]:19
      at wasm-function[21]:1946
      at wasm-function[124]:896
      at wasm-function[108]:1195
      at wasm-function[141]:1343
      at Object.module.exports.generate_proof (/home/italo/Documentos/zk/package/zk_lib.js:108:20)
      at Object.<anonymous> (/home/italo/Documentos/zk/api_app_zk/dist/services/utils/zokrates.js:41:24)
      at Generator.next (<anonymous>)

the command used to build the library is
wasm-pack build --target nodejs --release
the code in the library doesnt use any js methods, its only rust.
seems to me like Window instance doesnt exist in nodejs as the DOM is used on web.
this is the code generated that has the error
module.exports.__wbg_instanceof_Window_04bba8b54ef81db0 = function (arg0) {
    var ret = getObject(arg0) instanceof Window;
    return ret;
};

🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.9.1
rustc version: 1.42.0-nightly

Thanks for the report! The instanceof checks do not check for defineded-ness and that'll need to be checked elsewhere in the code. You'll want to find what is checking for an instance of Window and it'll need to be updated to work in nodejs as well.


Uploading Same File More Than Once Issue

in Dropzone component you need to clear the input value in order to be able to upload same file more than once, as when you upload the same file again it will have the same key of the later one and it will not render

Not sure if this is still needed, but if you add onClick={() => (e.target.value = null)} to your input tag, it'll let you upload the same file if you remove it from the list.


New sequencing_reagent_kit for ATACseq and RNAseq (no probes)

Select the target metadata schema name (can be multiple), or choose 'Other' if not listed.
ATACseq, RNAseq
If 'Other' is selected, please enter the schema name below.
No response
Describe the change request (use a numbered list if many).
Add new sequencing_reagent_kit: NextSeq 500/550 Mid Output Kit 150 cycles v2.5 (PN 20024904).

@johardi, hold on this one. Confirming ask with data provider.

@johardi, confirmed. Let's do it.


Project name error

Javascript error when using weather cli

Thank you for reporting this. I'll release a new version with the fix soon.

Patch with fix - v1.4.2 released :smiley:


Continuation indent with Method declaration parameters

Hey o/
Just started using this awesome project, and now I'm unsure about something.
By default, Android Studio will use continuation indent with "method declaration parameters".
When using an indent of 2 with a continuation of 4, this is how Android Studio formats this code:
object Bar {
.,data class Foo(
.,.,.,val value: String
.,)
}

However, when I run ktlint, it warns me that it expects the following indentation:
object Bar {
.,data class Foo(
.,.,val value: String
.,)
}

Is ktlint working as expected here? I'm in doubt because the README (in this section) doesn't tell us to disable the continuation indent for this case in Intellij.
Thank you :)

Hi.
Use regular indent (4 spaces) for constructor parameters.
(per https://kotlinlang.org/docs/reference/coding-conventions.html#class-header-formatting)
My recommendation is to keep indent_size and continuation_indent_size equal (if .editorconfig contains indent_size=2 then continuation_indent_size=2 should be present too). This way you'll avoid some other issues.
I'll keep this ticket open until README is updated.

@shyiko but jetbrains style guide has a continuation indent.
https://github.com/yole/kotlin-style-guide/issues/38
Quoting Yole:

In our style guide, the continuation indent is still 8, but many places which previously used continuation indent have now been switched to normal indent.
Also, our style guide does not have any line length limit.

My team is encountering this issue as well.

One more vote that we are hitting this issue. In my mind, if .editorconfig specifies different indentation size for continuation_indent_size, that should be honored in parameter listing as continuation indent. Any hopes that this will be fixed in ktlint?

@exsilium continuation_indent_size is not used for parameters per  https://github.com/android/kotlin-guides/issues/37, as such it's unlikely to change. As an option, though, if you change indent_size to unset indentation check will be suppressed  (i.e. ktlint will accept any indentation).

Hi @shyiko. Altough i'm saddened to hear that but I thank you for your answer. Cheers! :beers: :bow:

README updated.


Could not build Objective-C module 'Realm'

How frequently does the bug occur?
Always
Description
When building realm (10.43.0) with Carthage and then importing it into my project, i am getting the error
Could not build Objective-C module 'Realm'

..../Debug-iphonesimulator/Realm.framework/Headers/Realm.h:64:1: Umbrella header for module 'Realm' does not include header 'RLMSyncUtil.h'
.../Debug-iphonesimulator/Realm.framework/Headers/Realm.h:64:1: Umbrella header for module 'Realm' does not include header 'RLMPlatform.h'

This issue only happens with 10.43.0 and above
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps

Build realm 10.43.0 with Carthage
include it in any iOS project
see the error

Version
10.43.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 17
Build environment
Xcode version: ...
Dependency manager and version: ...

RLMSyncUtil.h was removed in https://github.com/realm/realm-swift/pull/8002 and RLMPlatform.h was removed in https://github.com/realm/realm-swift/pull/8309. Not sure why Carthage is looking for these files, but it's possible you have some leftover files in your project - does this happen in a new project?


Add SSR resolution selection

This salvages https://github.com/godotengine/godot/pull/28502.

Full, Half, and Quarter setting in WorldEnvironment under Ss Reflections.
Replaces 0.5 with a custom multiplier.
Higher resolution requires more steps, else the range of the reflections is shorter.
Slight performance changes per resolution. Quarter res and lowering max depth may be useful for lower end devices.

Testing project: test_ssr_resolution_3.x.zip
Preview
Half resolution (default, existing behavior)

Full resolution + doubled max steps

Quarter resolution + halved max steps

This PR doesn't actually change the resolution at which SSR is rendered. It is only changing the multiplier used when stepping through the reflection rays. Meaning it takes samples further apart at "quarter resolution" and "half resolution" than it does at "full resolution".
What this PR achieves is just a change in step size (which could be its own quality setting if there was demand for it).

This PR doesn't actually change the resolution at which SSR is rendered. It is only changing the multiplier used when stepping through the reflection rays. Meaning it takes samples further apart at "quarter resolution" and "half resolution" than it does at "full resolution".
What this PR achieves is just a change in step size (which could be its own quality setting if there was demand for it).

I agree with this – I was actually surprised with the results I got at first. That said, I still think it's a worthwhile quality setting to expose.

Changing the step size by changing the pixel_size is not a good approach, if you want to add a step size, you should add it as its own uniform and change the step size used by the ray marching loop. No need to change the max steps automatically, just reference max_steps in the documentation of step size.

It needs to be redone to have a configurable step size instead of modifying resolution. It won't be a simple rename, but it also won't be a large change from what is there now.


Add errors to RpcError

As discussed in #63
I added tests for all the new functionality, and formatted my code with dartfmt. I did only commit the dartfmt changes in my code changes though (the original code was not formatted with the tool).

@wibling @sgjesse is there something you want me to change?

Sorry for the delayed review. I had missed the request.
It looks good and thanks for adding tests as well.

No problem. Thanks for reviewing & merging.

Would you mind publishing it to pub?

Sorry about that. It should be published now.
/gustav
On Thu, Sep 24, 2015 at 6:11 PM, Matias Meno<EMAIL_ADDRESS>wrote:

Would you mind publishing it to pub?
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/rpc/pull/69#issuecomment-142975650.


Unsecured wifi mode fix not included in code for some reason.

So the WiFi.mode(WIFI_STA); line seems to be removed from the setup function in the esp8266 code even though the latest commit is the one adding it. Not sure if it's intentional or if it's been removed by a mistake. The issue I'm referencing is #298 .

Alright should be good, not sure how I missed that but thanks for pointing it out.


Rubocop changes, and a rubocop config.

This pull request cleanups the code for Issue #2

Thanks!


Add ifup to setup script so that we can be sure we have a network connection

Should be resolved with 8ca744f36e1f3552f8324da19d8904371c66d0cb


Running the e2e tests takes a while to validate inputs

In the process of running the e2e tests locally, the tests appear to hang before failing because I didn't specify the profile I wanted to test.
After digging through the code, the test wasn't actually hanging, it was just taking a long time for the tests to clone the ComplianceAsCode/content repository. After it finally cloned the repository, it failed because I didn't supply the right inputs.
We might improve this experience by validating the user has supplied the necessary inputs before starting to setup the tests. This allows us to fail early, shortening the feedback loop for the user.

I'm debugging some e2e failures in the ComplianceAsCode/content CI and noticed this. I can push a patch as soon.


Statement accuracy

[
" Every service belongs to a subscription"
Is this strictly true?
E.g.
Entra ID is a Service, but I don't believe that you need a subscription?
]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 11cda2e8-81c4-ab6a-371e-73506948488f
Version Independent ID: f18c9bf9-a0e7-ea07-144b-c2c7cedc8b6b
Content: Azure roles, Microsoft Entra roles, and classic subscription administrator roles
Content Source: articles/role-based-access-control/rbac-and-directory-admin-roles.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@CodingMaximus
Thanks for your feedback! We will investigate and update as appropriate.

@CodingMaximus
Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!


quickstart in readme does not work.

Description
When running the quickstart as per the README, the following error is thrown:
No such cookbook: cpe_deprecation_notifier

## Chef Version
18.1.0

## Platform Version
macOS

## Replication Case
Follow README steps for the quickstart.

I removed cpe_deprecation_notifier from cpe_init and then got:
No such cookbook: cpe_spotlight
It appears a number of cookbooks are missing. Without these, the chef setup found here doesn't work out of the box.


Adding custom library of sensors with micro-ROS freertos

Issue template

Hardware description: ESP32-WROOM32
RTOS: FreeRTOS
Installation type: micro_ros_setup
Version or commit hash: foxy

I am having Adafruit VL6180X ToF sensor, but it uses a custom library with Adafruit headers. I would like to know how can I include this library when creating the FreeRTOS micro-ros application.
My application is to publish the sensor data from ESP32 using micro-ros , which can be subscribed by raspberry pi with ROS2 running.

This file structure format.

Hello @CasCard, the folder structure you show is not generated by micro_ros_espidf_component. Could you please use micro_ros_espidf_component, so the integration of your library will be as usual in ESP-IDF.

I was finally able to solve this issue. If someone looking to integrate Arduino libraries into your project here are the steps to follow.

Install ESP-IDF Version using VS Code (I installed ESP IDF version 4.4 Version)
Now we need to create a sample ESP-IDF project, you can get this template from View->ESP-IDF examples->sample project
A typical project file would consist of the following folder (or structure), (some files are auto-generated)

Now the components folder is where the additional libraries including micro_ros_espidf_component reside.

If you want to specifically follow the format usually followed for Arduino includes setup and loop format you have to include a library called arduino-esp32 in the components folder as shown in the above image.
Now if you want to include Arduino libraries you can directly clone them into the components folder. Here is an example where I am including the Adafruilt VL6180X library.

Now you have to additionally add CMakeLists.txt in the library so that IDF will be able to find them while building.You can keep the header files in the include folder. You might need to add additional supporting libraries for your core libraries.
For example Adafruilt VL6180X requires arduino-esp32 and Adafruit_BusIO libraries.
So the CMakeLists.txt of Adafruilt VL6180X library should look like as follows:
idf_component_register(SRCS "Adafruit_VL6180X.cpp"                        INCLUDE_DIRS "include"                        REQUIRES arduino Adafruit_BusIO)
Now for writing arduino ide like code you can follow this reference.
Hope this helps.


property label as function

Is it possible to have the "label" property dynamic instead of a string? To have it like required etc. where String and a function is possible.

PR welcome


add 'interactive' plot option

Display only a label for the wedge under the cursor.
This is helpful for exploring large plots, where the labels might otherwise overlay each other.

Hey there Christian!
Thanks for implementing that! That's a pretty nice feature!
Cheers,
Kilian

Thank you for your nice package :-)


Apps get restarted when choosing photo from camera

Hi,
Everything works fine in the simulator until I deployed to the device.
I am using android 4.4 and image picker 0.18.15
My step to reproduce the issue is the following:

Choose Take Photo
Take a picture from camera
Press confirm
Apps restarted

I tried to find any exception in the logcat but this is all I can find, right after I press confirm.

I/Analytics(22063): start session(com.android.camera)
I/Analytics(22063): end session(com.android.camera)
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 22227
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 22228
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 22229
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 22230
D/mm-camera(  323): cpp_module_stop_session:420, info: stopping session 1 ...
D/mm-camera(  323): cpp_thread_process_pipe_message:375, CPP_THREAD_MSG_ABORT: cpp_thread exiting..
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 22231
E/hdr     (  323): Session id 0x1 stopped
D/mm-camera(  323): cpp_module_stop_session:453, info: session 1 stopped.
D/mm-camera(  323): c2d_module_stop_session:353, info: stopping session 1 ...
D/mm-camera(  323): c2d_thread_process_pipe_message:713, C2D_THREAD_MSG_ABORT: c2d_thread exiting..
D/mm-camera(  323): c2d_module_stop_session:397, info: session 1 stopped.
E/mm-camera(  323): Got some events
E/mm-camera(  323): sensor_thread_func:155 sensor_thread_func:Sensor thread is exiting
D/dalvikvm(22233): Late-enabling CheckJNI
I/ActivityManager(  951): Start proc com.jasaraharjamobileapp for activity com.jasaraharjamobileapp/.MainActivity: pid=22233 uid=10167 gids={50167, 3003, 1028, 1015}
I have been stuck with this for more than 1 week. Any help is appreciated.
Thanks
Regards,
Doddy

Hi @doddys !
I face this kind of issue only once,
can you tell if your app is a portrait mode only ?
If that so, add android:configChanges="orientation|screenSize" in your manifest
<activity
        android:windowSoftInputMode="adjustResize"
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:configChanges="orientation|screenSize">

Hi @yfuks
Thanks for replying, I tried to add your suggestion and my config becomes:
<activity
        android:windowSoftInputMode="adjustResize"
        android:screenOrientation="portrait"
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>

However, it is still does not work.

/audio_hw_primary(  223): select_devices: done
I/Camera  (12086): stopObjectTracking mObjectTrackingStarted=false restartFD=false
V/Camera  (12086): closeCamera
D/QCamera2HWI(  223): int qcamera::QCamera2HardwareInterface::disableMsgType(int32_t) (0x10) : mMsgEnabled = 0xc0d
E/Camera-JNI(12086): Null byte array!
D/QCamera2HWI(  223): int qcamera::QCamera2HardwareInterface::disableMsgType(int32_t) (0x10) : mMsgEnabled = 0xc0d
D/QCamera2HWI(  223): int qcamera::QCamera2HardwareInterface::disableMsgType(int32_t) (0xffff) : mMsgEnabled = 0x0
D/QCamera2HWI(  223): [KPI Perf] static void qcamera::QCamera2HardwareInterface::stop_preview(camera_device*): E PROFILE_STOP_PREVIEW
D/QCameraStateMachine(  223): int32_t qcamera::QCameraStateMachine::procEvtPreviewStoppedState(qcamera::qcamera_sm_evt_enum_t, void*): already in preview stopped state, do nothing
D/QCamera2HWI(  223): [KPI Perf] static void qcamera::QCamera2HardwareInterface::stop_preview(camera_device*): X
D/QCamera2HWI(  223): [KPI Perf] static int qcamera::QCamera2HardwareInterface::cancel_picture(camera_device*): E PROFILE_CANCEL_PICTURE
D/QCameraStateMachine(  223): int32_t qcamera::QCameraStateMachine::procEvtPreviewStoppedState(qcamera::qcamera_sm_evt_enum_t, void*): No ops for evt(20) in state(0)
D/QCamera2HWI(  223): [KPI Perf] static int qcamera::QCamera2HardwareInterface::cancel_picture(camera_device*): X
I/CameraClient(  223): Destroying camera 0
D/QCamera2HWI(  223): [KPI Perf] static int qcamera::QCamera2HardwareInterface::close_camera_device(hw_device_t*): E
D/QCamera2HWI(  223): virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface(): E
D/QCamera2HWI(  223): static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*): stop data proc
D/QCamera2HWI(  223): int qcamera::QCamera2HardwareInterface::closeCamera(): E
E/qomx_image_core(  223): OMX_Deinit:118] Complete
E/QCameraPostProc(  223): int32_t qcamera::QCameraPostProcessor::deinit(): Jpeg closed, rc = 0, mJpegClientHandle = e00
I/Thermal-Lib(  223): Thermal-Lib-Client: Unregisteration is successfull for handle:1
I/ThermalEngine(  234): Thermal-Server: removing client on fd 10
I/Thermal-Lib(  223): Thermal-Lib-Client: Unregisteration is successfull for handle:2
E/mm-camera(  323): mct_pipeline_process_set:command=800000b
I/mm-camera-eztune(  323): vendor/qcom/proprietary/mm-camera/mm-camera2/server-tuning/tuning/eztune_interface.cpp(315): "Delete Server : 0xb7fcd0c8"
W/mm-camera-eztune(  323): vendor/qcom/proprietary/mm-camera/mm-camera2/server-tuning/tuning/mmcam_socket_utils.cpp(311): "Received event from non socket fd"
W/mm-camera-eztune(  323): vendor/qcom/proprietary/mm-camera/mm-camera2/server-tuning/tuning/eztune_interface.cpp(61): "Stop message. Exiting server thread"
I/mm-camera-eztune(  323): vendor/qcom/proprietary/mm-camera/mm-camera2/server-tuning/tuning/eztune_interface.cpp(315): "Delete Server : 0xb8052a90"
W/mm-camera-eztune(  323): vendor/qcom/proprietary/mm-camera/mm-camera2/server-tuning/tuning/mmcam_socket_utils.cpp(311): "Received event from non socket fd"
W/mm-camera-eztune(  323): vendor/qcom/proprietary/mm-camera/mm-camera2/server-tuning/tuning/eztune_interface.cpp(61): "Stop message. Exiting server thread"
D/QCamera2HWI(  223): int qcamera::QCamera2HardwareInterface::closeCamera(): X
D/QCamera2HWI(  223): virtual qcamera::QCamera2HardwareInterface::~QCamera2HardwareInterface(): X
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 12253
E/mm-camera-sensor(  323): module_sensor_stop_session:706 session 1
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 12254
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 12255
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 12256
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 12257
D/mm-camera(  323): cpp_module_stop_session:420, info: stopping session 1 ...
D/mm-camera(  323): cpp_thread_process_pipe_message:375, CPP_THREAD_MSG_ABORT: cpp_thread exiting..
D/mm-camera(  323): cpp_module_stop_session:453, info: session 1 stopped.
D/mm-camera(  323): c2d_module_stop_session:353, info: stopping session 1 ...
D/mm-camera(  323): c2d_thread_process_pipe_message:713, C2D_THREAD_MSG_ABORT: c2d_thread exiting..
E/mm-camera(  323): mct_pipeline_stop_session_thread thread_id is 12258
E/hdr     (  323): Session id 0x1 stopped
D/mm-camera(  323): c2d_module_stop_session:397, info: session 1 stopped.
D/QCameraStateMachine(  223): static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*): X
D/QCamera2HWI(  223): [KPI Perf] static int qcamera::QCamera2HardwareInterface::close_camera_device(hw_device_t*): X
I/Analytics(12086): start session(com.android.camera)
I/Analytics(12086): end session(com.android.camera)
E/mm-camera(  323): Got some events
E/mm-camera(  323): sensor_thread_func:155 sensor_thread_func:Sensor thread is exiting
D/dalvikvm(12260): Late-enabling CheckJNI
I/ActivityManager(  951): Start proc com.jasaraharjamobileapp for activity com.jasaraharjamobileapp/.MainActivity: pid=12260 uid=10167 gids={50167, 3003, 1028, 1015}

So your app was in portrait mode only ??
Make sure to re-built your app with react-native run-android.

Actually,  my app is not specifically portrait,  but it was in portrait
position when i took the picture.
I always use "react-native run-android"
Btw it works fine in simulator.
Any other suggestion?
On Thu, Apr 28, 2016, 8:18 PM Yoann Fuks<EMAIL_ADDRESS>wrote:

So your app was in portrait mode only ??
Make sure to re-built your app with react-native run-android.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/marcshilling/react-native-image-picker/issues/190#issuecomment-215419978

Since you don't have android:screenOrientation="portrait" and face this issue i don't know what to say. Never face this issue without it.
I can't find any other case for this issue on the web either...

No activity here in 25 days...closing. @doddys if you are still having this issue, how can we move forward with it?


Re-render

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/pyerfa-feedstock#8.


systemctl does not work in WSL Ubuntu env.

Instead of systemctl restart mysql you have to start with

(1) sudo service mysql start
(2)  sudo service docker start

But before it worked I had to execute this:
for (1)
sudo su
nohup kill 1063; sleep 2; usermod -d /var/lib/mysql/ mysql &

for(2)
https://docs.docker.com/engine/install/ubuntu/

I have no Windows machine to test this. Also I unfortunately don't have enough time to test on two systems. I will add a mention that this is intended to be run on Ubuntu iron or a full-fledged Ubuntu VM.