Error in Components Guide: Reacting to events

I'm not sure if this is the best place to discuss this or not, but I ran into an issue while following the Components Guide. Under "Reacting to events" you give this example script:
from hyprpy import Hyprland
from hyprpy.utils.shell import run_or_fail

instance = Hyprland()

def workspace_changed(sender, **kwargs):
   # Retrieve the newly active workspace from the signal's data
   active_workspace = kwargs.get('active_workspace')
   run_or_fail(["notify-send", "Workspace Changed", f"Workspace is now {active_workspace.id}"])

instance.signal_active_workspace_changed.connect(workspace_changed)
instance.watch()

On line 8 kwargs.get is expecting to receive 'active_workspace', but when this code is ran and the workspace is changed it returns None. Then in the table below you list the signal data that can be received, which does not include 'active_workspace' or 'active_workspace.id'
I was able to get the script to work correctly by changing line 8 to active_workspace = kwargs.get('active_workspace_id')
I wouldn't be surprised if this was due to a change in Hyprland, but I thought you would like to know. Please let me know if there is a better way of addressing issues like this as I work with your documentation.

Hi @ChristopherEverett
thank you very much for filing an issue and pointing this out to me! This is indeed the right place for this kind of thing :ok_man:
This was actually my fault: a while back I changed the the return data of that signal from being a Workspace object to being an int. I forgot to update the guide accordingly. I've fixed it now and the docs will be updated.


Derive from pre-GPL license

This code base is currently a fork from tip of master, which includes the GPL changes - since you cannot relicense from GPL to MIT, it should fork prior to relicense.
eg 40dd02bb6b442535f97c35326c0383bc67146ac4 for master or 01f92d86d15d85cfd0f20dabd025dcbd36a8a60f for 0.3 branch

Thanks, will be doing so.

@jebw In this case we can relicense with the caveats that we have the author's permission for the code which will be relicensed (and @jellybob does), and we remove all of the offending GPL code that can't be relicensed without permission (and @jellybob is).


Invalid date not isSame() as another same invalid date

Description of the Issue and Steps to Reproduce:
const invalidDate1 = moment('')
const invalidDate2 = moment('')

invalidDate1.isSame(invalidDate2)
// => false

Expected
// => true?

Maybe it is expected to return false but I did not find any issue about this, nor any mentions about that in isSame() documentation, so I wanted to make sure this is not a bug.
Edit: found test case here https://github.com/moment/moment/blob/68a68b8730fbb69515ddbfb1d62bcfe34a484ae1/src/test/moment/is_same.js#L149
But why they 'should not be equal' ? Same rationale as NaN ?
Use case
Edit: adding a use case FYI
I have a didChange() method in a form component, to check if save button should be disabled or not. In the case of uninitialized Moment values, equality check forces me to also verify that dates can also be both invalid, which I find a bit awkward.
Environment:
Chrome OSX - Version 62.0.3202.94 (Official Build) (64-bit)
OSX 10.13.1 (17B48)
Other information that may be helpful:
If you are reporting an issue, please run the following code in the environment you are using and include the output:
Wed Nov 29 2017 10:11:34 GMT+0000 (WET)
29/11/2017, 10:11:34
0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
2.18.1

This is the issue that started most of the conversation. @cwohlman did most of the work to make this happen.
https://github.com/moment/moment/issues/2354
The rationale seems to be similar to NaN, that just because a date is invalid does not mean it's the same as another invalid date.
This is already memorialized in our tests, as you point out. If you can, please add to our documentation at momentjs.com (https://github.com/moment/momentjs.com/) in case this is not visible enough.

Addressed in this PR


ch4 pag 120

The formula at the bottom
should have the (i) index also for the letters mu_x and sigma_x.
x_std(i) = x(i) - mu_x(i) / sigma(x)(i)

Yeah, that could technically be added. I think I omitted it because of the other subscripts and because it looked a bit overcrowded (overcomplicated). On the next page I am mentioning that it's a particular feature column.


Fix savings question to store correctly

When the user answered "Less than", we actually stored "More than". This PR fixes it.
Later, we should look at the questions and rename them more inline with the fr-staffapp.

:checkered_flag: merge when green


Basic PR_BR localization

I created a basic pt_br localization, some tips and terms I could not think of a good translation, so I left the original English. So this is not a 100% translation, but it get 90% on the way, so other people can improve on it.

For tricephalous, it should be translated as 'three headed creature', with the intent of it being a scientific designation. But if you can't, don't worry. Add your name to CREDITS.txt, and I'll merge it in.


THORN-1564 - Enable java.util.Properties for configurations

[x] Have you followed the guidelines in our Contributing document?
[x] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[x] Have you built the project locally prior to submission with mvn clean install?

This PR enables Fractions to use java.util.Properties as configuration properties. This was explicitly blacklisted here before. But most of the code was there already.
Also the support for java.util.Map and java.util.List seems to be complete, but stays blacklisted.

There seems to be general problem with the semaphore builds. It fails at mvn clean.

Had to add the snapshot repository for thorntail-maven-plugin to fix the semaphore build (674af97).

Semaphore build on works with 4.x, so adding the snapshot repository isn't needed

Reverted with 071a6e6


Asking for the checkpoint of AE model

Hi, I have not found the checkpoint of AE model, you might forget to upload it. Could you give another google drive address that containing the checkpoint of AE model?

Thank you for the reminder. I just realized I forgot to provide the pre-trained AE link. I will update the README.md and you can also download using the following command:
gdown --fuzzy https://drive.google.com/file/d/1nfX_j8VzMmynqKv8x68pXrsL3c0qWLXA/view?usp=sharing

Thank you :)

Thank you for the reminder. I just realized I forgot to provide the pre-trained AE link. I will update the README.md and you can also download using the following command:
gdown --fuzzy https://drive.google.com/file/d/1nfX_j8VzMmynqKv8x68pXrsL3c0qWLXA/view?usp=sharing

Thank you :)


Update inscriptions.json

@MillHaus33

@MillHaus33 why do we still see the old inscriptions in your website but you have merged this new one and even in your code if you look in our collection there is the inscriptions.json file updated? Is there a problem?


💡[FEATURE]: Alignment of the about us section

The about us section in the website is not aligned properly, so please assign me the task of aligning this section.

i want to work on this issue. can you assign me please?


Which type can be used to represent Array type in ClickHouse?

Your Question

I use string array to represent array type, like this.
type Row struct {
    FieldA []string
}

But I got unsupported data type: &[]. While it can work.
The document you expected this should be explained

https://gorm.io/docs/models.html
Expected answer

A type can represent ClickHouse Array type.

https://github.com/go-gorm/gorm/blob/master/schema/schema.go#L292
https://github.com/go-gorm/gorm/blob/master/schema/schema.go#L330


Add type definition for the new V2_Meta Remix API

Hi,
Love the project! Thanks for working on this.
I just started implementing some of the new Remix APIs that are coming in 2.0 and typescript is throwing errors with the TypedMetaFunction as it's using the old V1_HtmlMetaDescriptor return type.
Any chance to add V2_TypedMetaFunction to fix that?
Thanks!

Workaround:
import type { UseDataFunctionReturn } from "remix-typedjson";
import type { V2_MetaFunction } from "@remix-run/node";

type YourLoaderData = UseDataFunctionReturn<typeof loader>;

export const meta: V2_MetaFunction<
  (args: DataFunctionArgs) => Promise<YourLoaderData>
> = ({data}) => {
// data is typed here, matches, params etc. are also here
}

Correction, this is a working workaround:
import type {
  V2_ServerRuntimeMetaArgs,
  V2_ServerRuntimeMetaDescriptor,
} from "@remix-run/server-runtime";
import type { UseDataFunctionReturn } from "remix-typedjson";

export type V2TypedMetaFunction<Loader> = (
  args: Omit<V2_ServerRuntimeMetaArgs, "data"> & {
    data: UseDataFunctionReturn<Loader> | undefined;
  }
) => V2_ServerRuntimeMetaDescriptor[];

export const meta: VV2TypedMetaFunction<typeof loader> = ({ data }) => {}

Since this has been released in remix, there is still no alternative for remix-typedjson is this still planned?

Although I do plan to deprecate this package in favor of Single Fetch in Remix, I may be able to come up with a workaround.

Sooo... I'm curious. How exactly did TypedMetaFunction not work?
export const meta: TypedMetaFunction<typeof loader> = ({ data }) => {
  let page = data.job.title || 'Unnamed job';

  return [{ title: `${page} | Portal` }];
};

This seems to work. In this case the value is a plain string. Anything that requires deserialization probably won't work though?

Unfortunately, the types "lied" to you. Sure your types look right, but the data was still the original JSON, and not deserialized by typedjson. So your native types like Date would still be strings even though the type said they were Date.
This was because there was no extension point in Remix for me to add the deserialization, unlike useTypedLoaderData, where I can do the conversion from useLoaderData before returning.
I'll create a helper function that wraps your meta so you get the converted types.


Intermittent NRE when using CCLayerMultiplex in Pause and Resume

This does not happen all the time from what user reported.

Closed by commit https://github.com/mono/CocosSharp/commit/4f2fac34facd58bd21a746053a8c1a50fca7888b


Command - Undo Replace All

In Search Panel should be button "Undo Replace All", whitch undo all "replaced" changes in all files.
Should to be work like standard undo function, but only for files whitch "Replace All" made a changes.
It looks something simple to introduce. Am I right?

Bot, as usual, will look for something that has nothing to do with my entry ...

#47783

Command-undo Replace all

Might not be trivial because there could be edits to the file at the location where replace has happened and undo has to ignore that.

@sandy081 So the button should work only until some manual change is made to these files.
It would be useful anyway.

IntelliJ IDEA family of IDEs has this feature.

Starting to see the above comment as the reality more and more... :-/

I support this for instances when I'm not paying attention and accidentally do find-replace to an entire project instead of just the open file. Cleaning up the mess is both humiliating and absurdly tedious.

I hope we cann't undo all files , If this possibility there mean its great . please share the same how to undo all replaced files.
Replace all feature is very helpful, but we should be careful when applying this with all files.
Better we should apply some filters like file extension , include and/or exclude files , I attached reference screenshot also.

I think perhaps we need this command, because if i replace some thing by mistake,i need to replace them by replacing command again.
Or Anyone who have other way?
Thanks.

At least there should be a warning if you accidentally forget to fill out the lower field and replace every occurrence of the searched item with an empty string.

@mortizw I mean situations when I have already changed something and LATER I realized that I did it incorrectly or unnecessarily.
A warning is not enough for this.

Might not be trivial because there could be edits to the file at the location where replace has happened and undo has to ignore that.

@sandy081 Not really. The "replace all" action should be no different from a manual change that lands to the "undo" stack. Undo is a stack and you can only undo the most recent change. "Replace all" action should land on this very stack, and be undoable when it's on the top of the stack. In this case, there's "no [other] edits to ignore". That's how it works in IntelliJ IDEA.

I support this for instances when I'm not paying attention and accidentally do find-replace to an entire project instead of just the open file. Cleaning up the mess is both humiliating and absurdly tedious.

Well, I just accidentally modified 423 lines of code in 123 files.

And I just screwed up my regex, and now have to fix 132 changes manually.

This is why I just use JetBrains IDEs for development now...  #youGetWhatYouPayFor

@RavenHursT I mean, you're right, but there's no way I'm going to pay JetBrains' prices. I'd love to donate a bit to VSCode, but not nearly what JetBrains charge (at least not as a lump sum).
Besides, JetBrains IDEs have many other issues that bother me much more:

resource hungry
slow
take up a large amount of disk space
dialogs that butcher tiling WMs
themes that don't work on the whole window

Chiming in — this would be a great (albeit nontrivial) feature

Thanking myself for googling this up right before a major replace all...

Chiming in too.
Of course I could be wrong but I don't see why this is a non-trivial feature to implement. If I do a replace all and I go to an individual file, I can CTRL+Z and undo the replace action in that individual file, and thus I can do this in every file that has had the replace action. So it would be as simple as undoing the last function in every file that was replaced.
Definitely a much needed feature considering how powerful vscode's replace all feature is.

A solution would be to just use the normal undo stack! And to keep a mapping to what a replace all had as entries!
When the replace all undo is triggered! The mapping is used! We check for the whole list of files that were modified! And See if they were top in stack! If all are! And in the right stacked order for all file! Then it's doable and it can be handled!
Now for performance! One can optimize by listening to redo/undo stack of each concerned file!
If no change happened then cool! If some changes happened! Till they got canceled! (we are tracking the hassling block ! That give us the performance point! you don't go and check all! you track it on the go)
One can have even a walk thorugh file by file guiding to undo! (with undo, redo) (so it give the possiblity for copying ! undo! And then when all resolved! the button for undo replace all become enabled! (kind of like a conflict resolution in git walk through)! Simply guided and accessible!
More thinking can go in the thing!
Otherwise too a simple format! Straight forward! Not the most cool thing! But very helpful! Simply make it happen when no changes were made! Because a lot of times one hit replace all! And at the instant it's done! You know you made a mistake! You just want to cancel that! May be that's the most common scenario! (for this only! The implementation is straight forward! After a replace all! All the changes are saved temporally! If any of the file is modified! And changed! Then it becomes impossible and the changes get lost! Something like that!
EVen though using the stack is the cool thing! And require some work! For a cool handling! And simple walk through! In the worst  cases!
Now clearly it's a matter of hands! (Time and will) ! Because that can go too as an extension! Why i will not be the one to do it !? My partner is already shouting! Focus

It should undo in ALL files, not just open ones.

It does so. Closed files are opened automatically:

@RavenHursT Replace All worked for both open and unopened files.
Undo worked like "Undo Replace All" only when there is at least one of the files that was changed by Replace All open and active.
I think the context for Undo, is the active tab.
As I wrote, this is strange behavior and should be fixed.

This may be an indirect question to this matter but, how do I keep the files I've performed a replacement on open after the procedure? Because, currently (to me), I Ctrl+SHIFT+H for the action but the files only remain open if I replace each occurrence manually, one entry after another (thus defeating the purpose of a batch replacement). While batching, all files are closed after VSCode finished work with each one of them.
I don't know how to explain but, it's like the replacement action takes place in the background or then it's like if it happens so fast that not all files in which a replacement had been performed end up being registered in the Recently Opened Files.
Here's a hypothetical scenario to describe what just happened to me: I had like 4 files (a, b, c, d) with 3 others previously closed (e, f, g) in history. Then I needed to replace something in 5 other files (h, i, j, k, l). Action completed, affected files closed instead of remaining open as desired, but when I Ctrl+SHIFT+T to reopen them, the files brought to me were, let's say, l, k and g, instead of all five affected and only THEN the other three that were closed before the batch replacing.
Hope I didn't complicate too much with the example >.<

It should undo in ALL files, not just open ones.

It does so. Closed files are opened automatically:

This saved me from manual undo,  thanks dude :)

It does so. Closed files are opened automatically:

Read this comment: https://github.com/microsoft/vscode/issues/47783#issuecomment-947746697

@CodeBradley 4 more years!

I still get the empty array in Android while fetching products using getProducts().  NEED HELP, it's over 24 hrs I have created subscription products in play store, but still not showing

Any update?
Please T.T

I agree, this would be a really nice feature!

Lol.. going on 6 years later..
VSCode is a text editor w/ a whole slew of plugins to make it "act like" a true IDE.  Still working in JetBrains and lovin' it.
Just did a "coding exercise" on codingsandbox.io, which uses VSCode as it's basis for it's interface, and good Lawd that was painful!  I had to keep refreshing the window just to get TypeScript annotation corrections to be picked up by the editor.  Absolute garbage..
JetBrains is like, $10/mo to use ALL of their IDEs.. Again, #YouGetWhatYouPayFor 😉


hanoi.rb in GUIDE.md is too short

I was reading GUIDE.md like a tutorial, but I found hanoi.rb immediately ended after hitting restart 3. This is because the sample code in GUIDE.md does not show all codes:
#
# Solves the classic Towers of Hanoi puzzle.
#
def hanoi(n, a, b, c)
  hanoi(n - 1, a, c, b) if n - 1 > 0

  puts "Move disk #{a} to #{b}"

  hanoi(n - 1, c, b, a) if n - 1 > 0
end

n_args = $ARGV.length

fail('*** Need number of disks or no parameter') if n_args > 1

# I guess some other codes should continue...

I think the code would be like this:
http://www.thelackthereof.org/projects/school/csu/cs530/proj/gems/ruby/2.0.0/gems/byebug-2.7.0/test/examples/hanoi.rb
This issue is very surprising for byebug beginners like me, so could you list the full of the code?

@JunichiIto You're absolutely right, I opened #317 to fix this. Can you try if that program works ok?

Okay, I will try it and inform you later.


Add fancy "Links" section to docs sidebar

Fixes #986

Tested locally; all links working properly. I love this feature, thanks @ibLeDy  :heart:

Before
After

Looks great in the RTD PR builder!
https://poliastro--1023.org.readthedocs.build/en/1023/
Merging!

Thanks @ibLeDy! :tada:


feat: execute and require app component in browser and non-browser environment

What kind of change does this PR introduce?
Bug fix / feature
What is the current behaviour?
1- Pages receive pageProps from custom app even when useApp is set to false
2- App component's fetching methods are always executed in browser context
What is the new behaviour?
1- Ensure useApp = false prevents custom app from fetching data whatsoever
2- Execute (and import) App getInitialProps method in browser or non-browser context based on application lifecycle (initial render or client side navigation)
Does this PR introduce a breaking change?
Yes.
Other information:
Please check if the PR fulfills these requirements:

[X] Tests for the changes have been added
[ ] Docs have been added / updated

Coverage remained the same at 100.0% when pulling 40d824acef0ac24f8bf8d7ec1c0f30a45777d5df on server-app into 3512c8fd2f97cce413181fbdb4d82bba5d856c7f on master.

At initial render I'd expect _app to execute gip and itself server side and returned as HTML. Just like pages.


Run GitHub Workflows on macOS 14

Pull request
Description
Update the build.yml and nightly.yml GitHub Workflows to run on macos-14 instead of ubuntu-latest to compare the performance.
A comparison of the various GitHub hosted runners is available here.
Changes made

Self-explanatory

[!NOTE]
In draft until we decide if it is interesting to merge or not.

Checklist

[ ] Your branch has been rebased onto the main branch.
[ ] APIs have been properly documented (if relevant).
[ ] The documentation has been updated (if relevant).
[ ] New unit tests have been written (if relevant).
[ ] The demo has been updated (if relevant).
[ ] All pull request status checks pass.

Build times seem fairly similar to what we currently have, and Android Tests are not passing. I'd say that it's not worth investing too much time on this now, since the benefit will is negligeable.


Timer Function

What I have noticed is that this will not work if you are using a TimeSpan for the Timer. It comes up as a 404 if I use anything other than the CRON.

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

ID: f538a557-7e88-e077-6a6f-6fb14d89dbf6
Version Independent ID: 84a1693b-2795-c865-35df-3ad3b9b61e2c
Content: Manually run a non HTTP-triggered Azure Functions
Content Source: articles/azure-functions/functions-manually-run-non-http.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

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


LTR rendering of RTL " arabic " words

Bug Report
The PDF Kit renders the Arabic from LTR .. so the words are reversed
Description of the problem
If we have a statement like this ==> "word1 word2" .. It should be Rendered as the same .. but it's rendered LTR ==> " word2word1"
The split function goes LTR direction
Code sample
https://repl.it/repls/NotableAdeptNature
Your environment
"pdfkit": "^0.8.3",
"electron": "^4.0.1"

Node version:  v8.9.4
Operating System: windows 10

I am having the same issue. Did you found any solution for this? @danyabdo94

Not supported now.
Duplicate: https://github.com/foliojs/pdfkit/issues/219


Handling recycling race and volatile read-writes in Apache Async client

Fixes the issue reported at https://discuss.elastic.co/t/a-null-pointer-exception-is-possible-when-performing-asynchronous-requests/185315

Codecov Report

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

@@             Coverage Diff             @@
##             master     #662     +/-   ##
===========================================
  Coverage     61.92%   61.92%
+ Complexity     1387       68   -1319
===========================================
  Files           199      199
  Lines          7743     7743
  Branches        950      950
===========================================
  Hits           4795     4795
  Misses         2651     2651
  Partials        297      297

Continue to review full report at Codecov.

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


Provide Streams for Paginated Endpoints

When using paginated endpoints it's not always best to put it in a giant vector first and then return it like it's done currently. Often the items, for example followers, need to be processed in some way on their own (like storing old followers in a file). For this it's better to stream the items into the file (in this case).
So being able to do something like this would be nice:
async fn save_followers(file) -> AnyResult {
  let mut stream = client.stream_followers(...);

  while let Some(follower) = stream.try_next().await? {
    file.save_follower(&follower).await;
  }

  Ok(())
}

I agree!
Are you suggesting a stream type that does the get_next call for you on demand?
I dont have much knowledge of what alternatives there are for streams/generators, any suggestions?

Are you suggesting a stream type that does the get_next call for you on demand?

Yeah basically. I saw this for sql queries and I think this could be nice for this API.

I dont have much knowledge of what alternatives there are for streams/generators, any suggestions?

I'm not that experienced with streams either, but there's async_stream which makes it relatively easy through the yield statement. Though I'm not sure about the lifetimes within the stream.

I've worked on a implementation I like for this in #159


bridge plugin: Document the mac field argument

Ref: https://github.com/containernetworking/plugins/pull/636

@squeed FYI


[tools] Reorder option handling in toolchains

Options were parsed and logged before per-toolchain logging was setup.
Fixes #1990

:+1:

Good catch. I tested locally and I was able to reproduce the original problem and confirmed that this PR fixes the issue.
+1

LGTM


Add a comment for IsE164 public function

Q
A

Documentation
yes

Bugfix
no

BC Break
no

New Feature
no

RFC
no

QA
no

Description

Hello guys!
I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back
Link to my repo: create issue there and we'll discuss it.


BUG: stats.mannwhitneyu: error with CuPy array

Describe your issue.
I may be wrong, but based on what I've read (and now looking at the code a bit) I /think/ I should be able to simply pass cupy.ndarrays to mannwhitneyu, however, I'm seeing an error.
I've tried to breakpoint the functions within scipy that are throwing the errors (where I can see code related to CuPy), however, for some reason, vscode isn't breaking and I keep getting 'error'd out' at the mannwhitneyu call in my code.
Reproducing Code Example
import cupy as cp
from scipy.stats import mannwhitneyu

def random_example():
    scores = cp.random.rand(100000)
    states = cp.random.choice(
        [True, False],
        p=[0.01, 0.99],  # Roughly 1% True, 99% False (on average)
        size=scores.shape,
    )

    return mannwhitneyu(scores[states], scores[~states], alternative="two-sided")

Error message
Traceback (most recent call last):
  File "~/pwd/test_mann.py", line 198, in <module>
    main()
  File "~/pwd/test_mann.py", line 157, in main
    lovely_result = random_example()
                    ^^^^^^^^^^^^^^^^
  File "~/pwd/test_mann.py", line 153, in random_example
    return mannwhitneyu(scores[states], scores[~states], alternative="two-sided")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/pwd/.venv/lib/python3.12/site-packages/scipy/stats/_axis_nan_policy.py", line 522, in axis_nan_policy_wrapper
    samples = _broadcast_arrays(samples, axis=axis)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/pwd/.venv/lib/python3.12/site-packages/scipy/stats/_axis_nan_policy.py", line 48, in _broadcast_arrays
    arrays = [xp.asarray(arr) for arr in arrays]
              ^^^^^^^^^^^^^^^
  File "~/pwd/.venv/lib/python3.12/site-packages/scipy/_lib/array_api_compat/common/_aliases.py", line 353, in _asarray
    return xp.asarray(obj, dtype=dtype, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "cupy/_core/core.pyx", line 1481, in cupy._core.core._ndarray_base.__array__
TypeError: Implicit conversion to a NumPy array is not allowed. Please use `.get()` to construct a NumPy array explicitly.

SciPy/NumPy/Python version and system information
>>> import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, cupy.__version__, sys.version_info); scipy.show_config()
1.14.1 2.1.1 13.3.0 sys.version_info(major=3, minor=12, micro=3, releaselevel='final', serial=0)
{
  "Compilers": {
    "c": {
      "name": "gcc",
      "linker": "ld.bfd",
      "version": "10.2.1",
      "commands": "cc"
    },
    "cython": {
      "name": "cython",
      "linker": "cython",
      "version": "3.0.11",
      "commands": "cython"
    },
    "c++": {
      "name": "gcc",
      "linker": "ld.bfd",
      "version": "10.2.1",
      "commands": "c++"
    },
    "fortran": {
      "name": "gcc",
      "linker": "ld.bfd",
      "version": "10.2.1",
      "commands": "gfortran"
    },
    "pythran": {
      "version": "0.16.1",
      "include directory": "../../tmp/pip-build-env-znxdftlb/overlay/lib/python3.12/site-packages/pythran"
    }
  },
  "Machine Information": {
    "host": {
      "cpu": "x86_64",
      "family": "x86_64",
      "endian": "little",
      "system": "linux"
    },
    "build": {
      "cpu": "x86_64",
      "family": "x86_64",
      "endian": "little",
      "system": "linux"
    },
    "cross-compiled": false
  },
  "Build Dependencies": {
    "blas": {
      "name": "scipy-openblas",
      "found": true,
      "version": "0.3.27.dev",
      "detection method": "pkgconfig",
      "include directory": "/opt/_internal/cpython-3.12.4/lib/python3.12/site-packages/scipy_openblas32/include",
      "lib directory": "/opt/_internal/cpython-3.12.4/lib/python3.12/site-packages/scipy_openblas32/lib",
      "openblas configuration": "OpenBLAS 0.3.27.dev DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=64",
      "pc file directory": "/project"
    },
    "lapack": {
      "name": "scipy-openblas",
      "found": true,
      "version": "0.3.27.dev",
      "detection method": "pkgconfig",
      "include directory": "/opt/_internal/cpython-3.12.4/lib/python3.12/site-packages/scipy_openblas32/include",
      "lib directory": "/opt/_internal/cpython-3.12.4/lib/python3.12/site-packages/scipy_openblas32/lib",
      "openblas configuration": "OpenBLAS 0.3.27.dev DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=64",
      "pc file directory": "/project"
    },
    "pybind11": {
      "name": "pybind11",
      "version": "2.12.0",
      "detection method": "config-tool",
      "include directory": "unknown"
    }
  },
  "Python Information": {
    "path": "/opt/python/cp312-cp312/bin/python",
    "version": "3.12"
  }
}

Support for alternative array types hasn't been added to stats.mannwhitneyu yet - see https://github.com/scipy/scipy/issues/20544.
(We know that we need better documentation for which functions have experimental support - we're still thinking about how to implement that!)

These functions are held up by rankdata (possibly among other things), which is waiting for improved array-API support. See https://github.com/scipy/scipy/pull/20639.


Initial Spending and initial portfolio should be able to be set at 0

Validation rules are preventing Initial Spending and Initial Portfolio from being $0. This is a bug.

Fixed in https://github.com/boknows/cFIREsim-open/commit/e698b1369b74e57d37ea16fa598aca95e7fff6b1


🐛 Android | Bad scrolling experience with the Recent Activity list

Tested only on Android
Steps to reproduce:

Open SSW Rewards
Swipe from right to left so that the Recent Activity list is shown
Scroll down by keeping your finger on the screen

Expected result:
The list is scrolling down while your finger is on the screen
Actual result:
The list scrolls down only by one list item and then stops (see the video attached). You have to lift your finger to scroll further. Same behavior applies to scrolling up.
https://github.com/SSWConsulting/SSW.Rewards.Mobile/assets/123032112/21e96c89-bf3b-4f32-8902-992bb749e28f
❌Scroll not working properly

Not relevant anymore.


Camera Flash On and Off

I'm interested in using the Camera flash as a silent alert.  I need a method to turn the flash on and off.  Can that please be added to the Camera plugin?

"Hi …...
I see there's an open issue addressing the case you described.
There's even an open pull request
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


feat: add a new cli interface for random artifacts

This is a gimmick more than anything but it's fun to make random artifacts in the cli 🙂

nah


Disable ha-cluster-ip requirement check for k8s only

This was for a ./pf9-express -a k8s-worker install
TASK [pre-flight-checks : set_fact] ************************************************************************************************************************************************************************
fatal: [good-swift]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ha_cluster_ip' is undefined\n\nThe error appears to have been in '/home/ubuntu/pf9-express/roles/pre-flight-checks/tasks/main.yml': line 42, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- set_fact:\n ^ here\n"}

Fixed in pull request #116


(APS-7) Allow any user to create a placement application

We don’t have any safeguards in the API, so we can remove this check to allow anyone to make applications. The only slight downside is that any booking confirmations go to the original applicant, but I think this is fine for now.

Not yet, I think we'll cross that bridge when we come to it :)


Side-by-side API Comparison

It's difficult to quickly do a side-by-side comparison of all the existing vendors APIs. Create a new page that makes easier.

Resolved by #23


upgrade pushgateway

Signed-off-by: David J. M. Karlsen<EMAIL_ADDRESS>Special notes for your reviewer:
Upgrade to latest release.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @cpanato

/lgtm


[BUG]-On latest hot fix 1.8.2-hotfix-1249 If the Join Map object is present in the config file the initial Json parsing will exception out.

Stacktrace
Include a stack trace of the exception if possible.
  "joinMaps": [
    {
      "TempGuageJoinMap": {
        "IsOnline": 1,
        "TemperatureFormat": 1,
        "Temperature": 1,
        "Humidity": 2,
        "Name": 1
      }
    }
  ],
  "global": null
}
Newtonsoft.Json.JsonSerializationException: Cannot deserialize JSON array into type 'System.Collections.Generic.Dictionary`2[System.String,Newtonsoft.Json.Linq.JObject]'.
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String reference)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueProperty(JsonReader reader, JsonProperty property, JsonConverter propertyConverter, Object target, Boolean gottenCurrentValue, Object currentValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateAndPopulateObject(JsonReader reader, JsonObjectContract contract, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueNonProperty(JsonReader reader, Type objectType, JsonContract contract, JsonConverter converter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
   at Newtonsoft.Json.Linq.JToken.ToObject[T](JsonSerializer jsonSerializer)
   at PepperDash.Essentials.Core.Config.ConfigReader.LoadConfig2()
   at PepperDash.Essentials.ControlSystem.GoWithLoad()
   at PepperDash.Essentials.ControlSystem.StartSystem(Object obj)
   at Crestron.SimplSharp.CTimer.a(Object A_0)
   at System.Threading.Timer.ring()

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

You have the wrong config structure.
"joinMaps": [
    {
      "TempGuageJoinMap": {
        "IsOnline": 1,
        "TemperatureFormat": 1,
        "Temperature": 1,
        "Humidity": 2,
        "Name": 1
      }
    }
  ],

should be
"joinMaps":
    {
      "TempGuageJoinMap": {
        "IsOnline": 1,
        "TemperatureFormat": 1,
        "Temperature": 1,
        "Humidity": 2,
        "Name": 1
      }
    }

The same config will be parsed fine in earlier versions of Essentials. I believe even in the latest release there is no issue.
This version (1.8.2-hotfix-1249) will not boot with that config object. Im honestly not using the JoinMap its just latent data, but the change may break existing systems without any apparent error. I think it can be handled more gracefully.

It doesn't actually get parsed in earlier version of Essentials. There was a change to PepperDash Core in (1.0.45)[https://github.com/PepperDash/PepperDashCore/releases/tag/1.0.45] to include the joinMaps object in the merged config that is parsed. Additionally, the structure for the JoinMaps property in the BasicConfig class has always been a dictionary and not an array/list.


Typo in API error response documentation (details -> detail). Issue Report: /en-us/offline-report-prod-3p

Describe the bug
There's a typo either in the documentation of the API or in the implementation.
The OpenAPI spec path examples show that errors have this shape, with a "detail" key. This is consistent with the actual API response
"value": {
                      "code": "400",
                      "detail": "Invalid Advertiser or Marketplace ID."
                    }

In the same spec however, the schema says that AsyncReportingError has a "details" key
"properties": {
          "code": {
            "description": "The HTTP status code of the response.",
            "type": "string"
          },
          "details": {
            "description": "A human-readable description of the response.",
            "type": "string"
          }
        }

In the documentation website it also pluralizes the "detail" key:
code	string
The HTTP status code of the response.

details	string
A human-readable description of the response.

URL of the content
OpenAPI spec: https://dtrnk0o2zy01c.cloudfront.net/openapi/en-us/dest/OfflineReport_prod_3p.json
Documentation: https://advertising.amazon.com/API/docs/en-us/offline-report-prod-3p#/Asynchronous Reports/getAsyncReport
Description of what the documentation currently says
code	string
The HTTP status code of the response.

details	string
A human-readable description of the response.

Description of what the documentation should say
code	string
The HTTP status code of the response.

detail	string
A human-readable description of the response.

Additional context
This also seems to apply to the response of successful DELETE requests

Thanks for pointing this out! We're working on getting the contract updated to reflect the correct behavior. We'll post here when the work is complete.

The contract has been updated to reflect the API behavior. Resolving!


Audit options

closes #15 and #24
No breaking changes were introduced!
New Features

an option to pass url string instead of a page
added disableLogs option to suppress console logs
added ignoreError option to suppress exception in case of comparison errors

A test added to prove all 3 features work as expected
Changes

updated types and tests to use playwright-core instead of playwright. playwright-core is a part of playwright while playwright is not a part of @playwright/test.
updated deps
used fs/promises instead of sync version. Looks like there was a typo before

Changes dev

added eslint
run tests in parallel
added github workflow
included package-lock.json to properly cache deps
temporary used fixed version of playwright as far as starting from 1.20.0 it's impossible to import playwright with require

Thank you!

@abhinaba-ghosh I'm sorry I made a minor mistake in types, let me raise a quick fix asap

@abhinaba-ghosh please see https://github.com/abhinaba-ghosh/playwright-lighthouse/pull/26


Importing issues on 5.2 - Import window & Crash

Couple things I noticed on 5.2:

Epic's interchange format plugin and the legacy GLTF importer plugins have to be disabled, otherwise they override the import window.
This is problematic because the MeshPainting plugin relies on these, and you therefore need to disable it too to get the import window to pop up.
I seem to hit a crash upon import. The callstack points out that upon import, Unreal calls the engine's SkeletalMeshReduction plugin, and crashes on a check at SkeletalMeshReductionPlugin.cpp, line 2072, which reads:
check(BaseLOD < LODIndex);

To note, I applied the build fix at https://github.com/code4game/glTFForUE4/issues/65

did you use this plugin to import a gltf file when the crash happened? I think you also have to disable the Interchange plugin if you want to use this plugin.

It was an import of a .glb file, interchange was off for the test so that I could get the glTFForUE4 import window.


Add Submit Date/Time to Application Viewer and PDF export

Is your feature request related to a problem? Please describe.
When a Program Admin views and application the submit date/time is not visible on the page (only on the application card to the left.)
Describe the solution you'd like
Add submit date/time below the applicant name in the application viewer as well as on the PDF export
Additional context
Add any other context or screenshots about the feature request here.
Done when
What conditions need to be met before this issue can be closed?


has anyone integrate snowflake with openshare?

https://github.com/100apps/openshare

No takers, it seems


Using dynaconf with hashicorp vault

I'm trying to use a vault server to store environment variables.
My configuration files on root directory:
config.py
from dynaconf import Dynaconf
settings = Dynaconf(
    environments=True,
    vault={'url': 'http://<vault-ip>:8200', 'token': '<root-token>' },
    vault_enabled=True, )

.env
ENV_FOR_DYNACONF=development
VAULT_ENABLED_FOR_DYNACONF=true
VAULT_URL_FOR_DYNACONF="http://<vault-ip>:8200/"

# Specify the secrets engine for kv, default is 1
VAULT_KV_VERSION_FOR_DYNACONF=2

# Authenticate with token https://www.vaultproject.io/docs/auth/token
VAULT_TOKEN_FOR_DYNACONF="<vault-root-token>"

# Authenticate with AppRole https://www.vaultproject.io/docs/auth/approle
#VAULT_ROLE_ID_FOR_DYNACONF="<vault-role-id>"
#VAULT_SECRET_ID_FOR_DYNACONF="<vault-secret-id>"

# Authenticate with AWS IAM https://www.vaultproject.io/docs/auth/aws
# The IAM Credentials can be retrieved from the standard providers: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html
# VAULT_AUTH_WITH_IAM_FOR_DYNACONF=True
# VAULT_AUTH_ROLE_FOR_DYNACONF="dynaconf"

# Authenticate with root token
#VAULT_ROOT_TOKEN_FOR_DYNACONF="<vault-root-token>"

I've tried to authenticate with the root token and approle from vault.
On the vault server, I have the following secrets:

Whenever I try to write a secret on default/development environment:
dynaconf -i config.settings write vault -s password=123456
I get:
/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/hvac/v1/__init__.py:114: DeprecationWarning: Call to deprecated property 'kv'. This property will be removed in version '0.9.0' Please use the 'kv' property on the 'Client.secrets' attribute moving forward.
  return utils.getattr_with_deprecated_properties(
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/dynaconf", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/vendor/click/core.py", line 221, in __call__
    def __call__(A,*B,**C):return A.main(*B,**C)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/vendor/click/core.py", line 205, in main
    H=E.invoke(F)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/vendor/click/core.py", line 345, in invoke
    with C:return F(C.command.invoke(C))
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/vendor/click/core.py", line 288, in invoke
    if A.callback is not _A:return ctx.invoke(A.callback,**ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/vendor/click/core.py", line 170, in invoke
    with G:return A(*B,**E)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/cli.py", line 615, in write
    loader.write(settings, _vars, **_secrets)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/dynaconf/loaders/vault_loader.py", line 143, in write
    client.secrets.kv.create_or_update_secret(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/hvac/api/secrets_engines/kv_v2.py", line 138, in create_or_update_secret
    return self._adapter.post(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/hvac/adapters.py", line 121, in post
    return self.request("post", url, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/hvac/adapters.py", line 356, in request
    response = super(JSONAdapter, self).request(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/hvac/adapters.py", line 322, in request
    utils.raise_for_error(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/hvac/utils.py", line 43, in raise_for_error
    raise exceptions.InvalidPath(message, errors=errors, method=method, url=url)
hvac.exceptions.InvalidPath: {"request_id":"ded59657-8182-dc9f-de47-4fdd58f2388f","lease_id":"","renewable":false,"lease_duration":0,"data":null,"wrap_info":null,"warnings":["Invalid path for a versioned K/V secrets engine. See the API docs for the appropriate API endpoints to use. If using the Vault CLI, use 'vault kv put' for this operation."],"auth":null}, on post http://<vault-ip>:8200/v1/secret/data/dynaconf/default

dynaconf version: 3.1.4
python version: 3.9.4
hvac version: 0.11.0
It seems to have a problem with vault kv version 2. Has anyone configured this successfully?

I've changed the path of the secret kv to secret/ and the data was successfully written to vault!

I am reopening as looks like we still need the fix to that 'kv' deprecation.


git/gogit: fallback to machine known_hosts

Add a new AuthMethod which uses the default known_hosts. Fallback to this when the provided auth options has an empty private key and known hosts.

Please rebase so we can go ahead with the merge.

Is there an issue that should be linked here?

Merging after the update linking the issue in the description.


Land users in lab/ after nbgitpuller

Otherwise it sends them to the cloned repo
Ref https://github.com/2i2c-org/infrastructure/issues/1300

https://github.com/2i2c-org/infrastructure/pull/1557/files i left suggested comments here: https://github.com/2i2c-org/infrastructure/pull/1557/files


Crash in StreetComplete (modified version)

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
Use my personal fork of StreetComplete: https://github.com/Helium314/StreetComplete/tree/my_modifications.
Add a note via the menu option when long clicking somewhere on the map.
Add note as GPX note (functionality not contained in original StreetComplete)
RESULT:
Usually the created note is written to a .gpx file.
Sometimes the app crashes (this is very rare, I would estimate much less than 1% of all such notes)
The note is still added to the file, so the crash likely happens after writing the file.
EXPECTED RESULT:
Note is written without a crash.
ENVIRONMENT:
Android 9 / LineageOS 16
Samsung S4 mini plus (9195I)
App version as linked above
OTHER:
I thought I did something bad with one of my modifications, but according to https://github.com/streetcomplete/StreetComplete/issues/3293#issuecomment-922520346 tangram should not crash.

You should explain what exactly "adding a GPX note" consists of. How does it interact with the tangram-es library? What function(s) are called exactly? Or does it send the app to the background? If you are in-app, why does the log look like the tangram-es library has just been initialized?

You can't expect that the maintainers of this library will download your app and try 100+ times the reproduction until they can reproduce it.

A log is already added. What would they gain except some other time and device name in the log?

You should explain what exactly "adding a GPX note" consists of.

Almost exactly the same things as adding a note. https://github.com/Helium314/StreetComplete/blob/my_modifications/app/src/main/java/de/westnordost/streetcomplete/map/MainFragment.kt#L485 is a normal note
https://github.com/Helium314/StreetComplete/blob/my_modifications/app/src/main/java/de/westnordost/streetcomplete/map/MainFragment.kt#L502 is a GPX note
The difference is that GPX note writes to a file, while normal note calls lifecycleScope.launch { questController.createNote(note, imagePaths, position) }
And I just noticed closeBottomSheet() is calles twice on a GPX note. Could that kill tangram?
If not, the crash may also happen with normal notes. But I barely use them, so there is little opportunity to crash.

How does it interact with the tangram-es library?

No idea. I don't know what parts of SC interact with tangram.

What function(s) are called exactly? Or does it send the app to the background?

Nothing is done in background. Functions are in https://github.com/Helium314/StreetComplete/blob/my_modifications/app/src/main/java/de/westnordost/streetcomplete/map/MainFragment.kt#L519
Mainly: File.createNewFile, File.readText, File.writeText

If you are in-app, why does the log look like the tangram-es library has just been initialized?

No idea.

How does it interact with the tangram-es library?

No idea. I don't know what parts of SC interact with tangram.

Well, then I suggest you close this ticket again because it is not actionable for tangram maintainers.

I'll leave it to the maintainers to close this if there is nothing useful in the logs.
The bug itself doesn't bother me and apparently doesn't appear for anyone else.


wheel Building failure and failed cleaning bulid dir for scipy

I met the error when building the wheel for scipy. The error message is:
Building wheels for collected packages: scipy
  Building wheel for scipy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /mnt/d/ANDI/envs/clinicaEnv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-d48y30cb
       cwd: /tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/
  Complete output (109 lines):
  Running from scipy source directory.
  lapack_opt_info:
  lapack_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE

  openblas_lapack_info:
    libraries openblas not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE

  openblas_clapack_info:
    libraries openblas,lapack not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE

  flame_info:
    libraries flame not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE

  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries tatlas,tatlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries lapack_atlas not found in /usr/local/lib
    libraries tatlas,tatlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib64
    libraries tatlas,tatlas not found in /usr/lib64
    libraries lapack_atlas not found in /usr/lib
    libraries tatlas,tatlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
    libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE

  atlas_3_10_info:
    libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries satlas,satlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries lapack_atlas not found in /usr/local/lib
    libraries satlas,satlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib64
    libraries satlas,satlas not found in /usr/lib64
    libraries lapack_atlas not found in /usr/lib
    libraries satlas,satlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
    libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE

  atlas_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries ptf77blas,ptcblas,atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries lapack_atlas not found in /usr/local/lib
    libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib64
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
    libraries lapack_atlas not found in /usr/lib
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE

  atlas_info:
    libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries f77blas,cblas,atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
    libraries lapack_atlas not found in /usr/local/lib
    libraries f77blas,cblas,atlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib64
    libraries f77blas,cblas,atlas not found in /usr/lib64
    libraries lapack_atlas not found in /usr/lib
    libraries f77blas,cblas,atlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
    libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE

  lapack_info:
    libraries lapack not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE

  /home/garyshap/.local/lib/python3.9/site-packages/numpy/distutils/system_info.py:1849: UserWarning:
      Lapack (http://www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
  lapack_src_info:
    NOT AVAILABLE

  /home/garyshap/.local/lib/python3.9/site-packages/numpy/distutils/system_info.py:1849: UserWarning:
      Lapack (http://www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
    NOT AVAILABLE

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py", line 492, in <module>
      setup_package()
    File "/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py", line 488, in setup_package
      setup(**metadata)
    File "/home/garyshap/.local/lib/python3.9/site-packages/numpy/distutils/core.py", line 135, in setup
      config = configuration()
    File "/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py", line 395, in configuration
      raise NotFoundError(msg)
  numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
  ----------------------------------------
  ERROR: Failed building wheel for scipy
  Running setup.py clean for scipy
  ERROR: Command errored out with exit status 1:
   command: /mnt/d/ANDI/envs/clinicaEnv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
       cwd: /tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2
  Complete output (9 lines):

  `setup.py clean` is not supported, use one of the following instead:

    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)

  Add `--force` to your command to use it anyway if you must (unsupported).

  ----------------------------------------
  ERROR: Failed cleaning build dir for scipy
Failed to build scipy
Installing collected packages: scipy, pytz, pydot, prov, pillow, nibabel, kiwisolver, joblib, filelock, etelemetry, docopt, cycler, click, torch, scikit-learn, PyWavelets, pandas, num2words, nipype, matplotlib, MarkupSafe, imageio, grabbit, future, xvfbwrapper, xlrd, xgboost, torchvision, scikit-image, pybids, nilearn, niflow-nipype1-workflows, jinja2, colorama, argcomplete, clinica
  Attempting uninstall: scipy
    Found existing installation: scipy 1.6.2
    Uninstalling scipy-1.6.2:
      Successfully uninstalled scipy-1.6.2
    Running setup.py install for scipy ... error
    ERROR: Command errored out with exit status 1:
     command: /mnt/d/ANDI/envs/clinicaEnv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-j2nhzvey/install-record.txt --single-version-externally-managed --compile --install-headers /mnt/d/ANDI/envs/clinicaEnv/include/python3.9/scipy
         cwd: /tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/
    Complete output (118 lines):

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)

    Running from scipy source directory.
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries tatlas,tatlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64
      libraries tatlas,tatlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
      libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries satlas,satlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64
      libraries satlas,satlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
      libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries ptf77blas,ptcblas,atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries f77blas,cblas,atlas not found in /mnt/d/ANDI/envs/clinicaEnv/lib
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64
      libraries f77blas,cblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
      libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/mnt/d/ANDI/envs/clinicaEnv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
      NOT AVAILABLE

    /home/garyshap/.local/lib/python3.9/site-packages/numpy/distutils/system_info.py:1849: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    /home/garyshap/.local/lib/python3.9/site-packages/numpy/distutils/system_info.py:1849: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py", line 492, in <module>
        setup_package()
      File "/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py", line 488, in setup_package
        setup(**metadata)
      File "/home/garyshap/.local/lib/python3.9/site-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py", line 395, in configuration
        raise NotFoundError(msg)
    numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
    ----------------------------------------
  Rolling back uninstall of scipy
  Moving to /mnt/d/ANDI/envs/clinicaEnv/lib/python3.9/site-packages/scipy-1.6.2.dist-info/
   from /mnt/d/ANDI/envs/clinicaEnv/lib/python3.9/site-packages/~cipy-1.6.2.dist-info
  Moving to /mnt/d/ANDI/envs/clinicaEnv/lib/python3.9/site-packages/scipy.libs/
   from /mnt/d/ANDI/envs/clinicaEnv/lib/python3.9/site-packages/~cipy.libs
  Moving to /mnt/d/ANDI/envs/clinicaEnv/lib/python3.9/site-packages/scipy/
   from /mnt/d/ANDI/envs/clinicaEnv/lib/python3.9/site-packages/~cipy
ERROR: Command errored out with exit status 1: /mnt/d/ANDI/envs/clinicaEnv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sodpeg7j/scipy_e803d129c50f431db957540d75192dc2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-j2nhzvey/install-record.txt --single-version-externally-managed --compile --install-headers /mnt/d/ANDI/envs/clinicaEnv/include/python3.9/scipy Check the logs for full command output.

Hi, did you check you have installed LAPACK or BLAS as suggested by the error log: No lapack/blas resources found.?
Did you follow the install instructions completely?

I am closing this for now. You can add more comments with more details and I could re-open. But I think believe there is no issue here as all CI can build on all architectures.

I reinstalled the python environment by python 3.7 instead of python 3.9. and the problem was solved. Installing LAPACK and BLAS didn't help.

Can you share your environment?  Are you in a virtual env, conda, etc.

I used win10 linux wsl, ubuntu. The environment is built by:
conda create --name clinicaEnv python=3.7
conda activate clinicaEnv

And then what do you do? Do you follow the instructions from the doc I linked?


TypeScript functionality stops working intermittently

Issue Type: Bug
While working on a TS document, VS Code's IntelliSense and syntax highlighting stops working after a seemingly random amount of time since the last reload. After it stops working, the Developer Console outputs various stack traces every time I type something that should invoke IntelliSense.
Dev Console Log (-1581504690085.log)
VS Code version: Code - Insiders 1.43.0-insider (f4c95d5b9cfb2265f1730d564df1709533eff55e, 2020-02-12T06:05:34.092Z)
OS version: Linux x64 5.5.2-arch2-2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 2

Memory (System)
15.54GB (3.37GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Thanks for the logs. I see you are using TS 3.7.4. Does this work properly if you switch to use TS 3.8-rc, which is included in the current VS Code insiders builds?

@mjbvz Just got back to work today, apologies for the late reply. I'll switch to that and update you if it happens again

@MelvIsntNormal Have you seen this again using the insiders build?

I have not seen this issue for a while now. However, I'm a bit wary that the version in my build is 3.9.0-dev.20200223. How would I switch to the versions you suggested?


Preserve ruby comments so we can use it to disable cops inline

<%# rubocop:disable SomeCop %>
<% code_which_causes_a_violation %>
<%# rubocop:enable SomeCop %>

@aclemons Thanks for this one! I'll push up a new version to RubyGems this evening (PDT).

Did the new version get published? I'm not seeing it on RubyGems. Thanks

@aclemons Nope, I got distracted by RailsConf preparation—sorry about that! 0.1.10 is up. 👍


feat: display the "Model Generation App" post in the page

Add the post as it clearly relates to the topic.
Screenshots
Before (current master)

1st proposal
--> try to improve with 2 or 4 cards per line

@csouchet I don't plan to work on this PR in the next weeks.
Feel free to work on it.
The layout should be rework: currently, on large screens, the 4th cards is alone on a new line. We could display at most 2 cards per line for instance.
The see all button also sometimes appears and only 3 cards are displayed

@tbouffard As I had planned to rework the layout and size of the cards, instead of patching up this PR to make it look good, I was thinking of making the card layout changes in another PR and fixing any remaining rendering issues on this page afterwards.
Do you have a preferred rendering style from this list? https://demos.creative-tim.com/material-kit-pro-react/#/sections/page-sections/general-cards

About the design, I agree with your proposal.
I don't any particular preference about the card design.

As discussed with @tbouffard, we choose to merge the PR in this state and improve the design later.


When a specified number of messages are in a given queue (V2)  fired even the number threshold is below the set value

Describe the Bug with repro steps

go to storage account qapsw, simulate load a file to storage account container qapsw/qap
load a file to folder /vsc
go to resource qati_orchectra_test, which will run  every 5 minutes based on the queue at
even the queue qapsw/queues/newqatest does not contain any message- default set to threshold set to 5

What type of Logic App Is this happening in?
Power Automate
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
No
Workflow JSON
{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Condition": {
                "actions": {
                    "Delay": {
                        "inputs": {
                            "interval": {
                                "count": 12,
                                "unit": "Minute"
                            }
                        },
                        "runAfter": {
                            "Merge_the_new_dataset_pipeline": [
                                "Succeeded"
                            ]
                        },
                        "type": "Wait"
                    },
                    "Delay_1": {
                        "inputs": {
                            "interval": {
                                "count": 270,
                                "unit": "Second"
                            }
                        },
                        "runAfter": {
                            "Separate_fails_pipeline": [
                                "Succeeded"
                            ]
                        },
                        "type": "Wait"
                    },
                    "Delay_2": {
                        "inputs": {
                            "interval": {
                                "count": 120,
                                "unit": "Second"
                            }
                        },
                        "runAfter": {
                            "Refresh_a_dataset": [
                                "Succeeded"
                            ]
                        },
                        "type": "Wait"
                    },
                    "Merge_the_new_dataset_pipeline": {
                        "inputs": {
                            "host": {
                                "connection": {
                                    "name": "@parameters('$connections')['azuredatafactory']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/subscriptions/@{encodeURIComponent('d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a')}/resourcegroups/@{encodeURIComponent('Greg-He-s011-20230516')}/providers/Microsoft.DataFactory/factories/@{encodeURIComponent('qapdf')}/pipelines/@{encodeURIComponent('Merge_source_files')}/CreateRun",
                            "queries": {
                                "x-ms-api-version": "2017-09-01-preview"
                            }
                        },
                        "type": "ApiConnection"
                    },
                    "Refresh_a_dataset": {
                        "inputs": {
                            "host": {
                                "connection": {
                                    "name": "@parameters('$connections')['powerbi']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/v1.0/myorg/groups/@{encodeURIComponent('a90e4662-fcb1-456b-b7c6-febec317ceee')}/datasets/@{encodeURIComponent('d7908cc2-8d9f-4dfe-a3c6-7347f55511f2')}/refreshes",
                            "queries": {
                                "pbi_source": "powerAutomate"
                            }
                        },
                        "runAfter": {
                            "Delay_1": [
                                "Succeeded"
                            ]
                        },
                        "type": "ApiConnection"
                    },
                    "Send__notification_email_to_everyone": {
                        "inputs": {
                            "body": {
                                "content": {
                                    "html": "
View here: https://app.powerbi.com/groups/a90e4662-fcb1-456b-b7c6-febec317ceee/reports/d2a6b136-57b4-4c44-9664-78ab03d4ee8f/ReportSection127f54ecc359ccb7703f?experience=power-bi
\n
",
                                    "subject": "Quality Assurance Intelligence avaialble"
                                },
                                "importance": "normal",
                                "recipients": {
                                    "to": [
                                        {
                                            "email"<EMAIL_ADDRESS>                                        }
                                    ]
                                },
                                "sender"<EMAIL_ADDRESS>                            },
                            "host": {
                                "connection": {
                                    "name": "@parameters('$connections')['acsemail']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/emails:send",
                            "queries": {
                                "api-version": "2021-10-01-preview"
                            }
                        },
                        "runAfter": {
                            "Delay_2": [
                                "Succeeded"
                            ]
                        },
                        "type": "ApiConnection"
                    },
                    "Separate_fails_pipeline": {
                        "inputs": {
                            "host": {
                                "connection": {
                                    "name": "@parameters('$connections')['azuredatafactory']['connectionId']"
                                }
                            },
                            "method": "post",
                            "path": "/subscriptions/@{encodeURIComponent('d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a')}/resourcegroups/@{encodeURIComponent('Greg-He-s011-20230516')}/providers/Microsoft.DataFactory/factories/@{encodeURIComponent('qapdf')}/pipelines/@{encodeURIComponent('remove_quote_brackets')}/CreateRun",
                            "queries": {
                                "x-ms-api-version": "2017-09-01-preview"
                            }
                        },
                        "runAfter": {
                            "Delay": [
                                "Succeeded"
                            ]
                        },
                        "type": "ApiConnection"
                    }
                },
                "else": {
                    "actions": {}
                },
                "expression": {
                    "and": [
                        {
                            "equals": [
                                "@body('Send_approval_email')?['SelectedOption']",
                                "Approve"
                            ]
                        }
                    ]
                },
                "runAfter": {
                    "Send_approval_email": [
                        "Succeeded"
                    ]
                },
                "type": "If"
            },
            "Send_approval_email": {
                "inputs": {
                    "body": {
                        "Message": {
                            "HideHTMLMessage": false,
                            "Importance": "Normal",
                            "Options": "Approve, Reject",
                            "ShowHTMLConfirmationDialog": false,
                            "Subject": "Request Approval: to Analyze the Pipeline running result?",
                            "To"<EMAIL_ADDRESS>                        },
                        "NotificationUrl": "@{listCallbackUrl()}"
                    },
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['office365-2']['connectionId']"
                        }
                    },
                    "path": "/approvalmail/$subscriptions"
                },
                "runAfter": {
                    "Wait_for_all_blobs_to_finish": [
                        "Succeeded"
                    ]
                },
                "type": "ApiConnectionWebhook"
            },
            "Wait_for_all_blobs_to_finish": {
                "inputs": {
                    "interval": {
                        "count": 2,
                        "unit": "Minute"
                    }
                },
                "runAfter": {},
                "type": "Wait"
            }
        },
        "contentVersion": "<IP_ADDRESS>",
        "outputs": {},
        "parameters": {
            "$connections": {
                "defaultValue": {},
                "type": "Object"
            }
        },
        "triggers": {
            "When_a_specified_number_of_messages_are_in_a_given_queue_(V2)_1": {
                "evaluatedRecurrence": {
                    "frequency": "Minute",
                    "interval": 5
                },
                "inputs": {
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['azurequeues']['connectionId']"
                        }
                    },
                    "method": "get",
                    "path": "/v2/storageAccounts/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/queues/@{encodeURIComponent('newqatest')}/count_trigger",
                    "queries": {
                        "threshold": 5
                    }
                },
                "recurrence": {
                    "frequency": "Minute",
                    "interval": 5
                },
                "type": "ApiConnection"
            }
        }
    },
    "parameters": {
        "$connections": {
            "value": {
                "acsemail": {
                    "connectionId": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/resourceGroups/Greg-He-s011-20230516/providers/Microsoft.Web/connections/acsemail",
                    "connectionName": "acsemail",
                    "id": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/providers/Microsoft.Web/locations/southcentralus/managedApis/acsemail"
                },
                "azuredatafactory": {
                    "connectionId": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/resourceGroups/Greg-He-s011-20230516/providers/Microsoft.Web/connections/azuredatafactory",
                    "connectionName": "azuredatafactory",
                    "id": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/providers/Microsoft.Web/locations/southcentralus/managedApis/azuredatafactory"
                },
                "azurequeues": {
                    "connectionId": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/resourceGroups/Greg-He-s011-20230516/providers/Microsoft.Web/connections/azurequeues",
                    "connectionName": "azurequeues",
                    "id": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/providers/Microsoft.Web/locations/southcentralus/managedApis/azurequeues"
                },
                "office365-2": {
                    "connectionId": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/resourceGroups/Greg-He-s011-20230516/providers/Microsoft.Web/connections/office365",
                    "connectionName": "office365",
                    "id": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/providers/Microsoft.Web/locations/southcentralus/managedApis/office365"
                },
                "powerbi": {
                    "connectionId": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/resourceGroups/Greg-He-s011-20230516/providers/Microsoft.Web/connections/powerbi",
                    "connectionName": "powerbi",
                    "id": "/subscriptions/d6193f2a-fec1-4845-b1a6-2b7f5cbf7d2a/providers/Microsoft.Web/locations/southcentralus/managedApis/powerbi"
                }
            }
        }
    }
}

Screenshots or Videos
The que data is only stayed for 10 minutue here:

If there are messages above the threshhold,, an email will be sent out for approval of further action.

The three emails (marked as 'X') should not be sent by the logic app because there are not any messages in the queue at the time.
Browser
Microsoft Edge
Additional context
Looks the fired logic app sends emails forever even without message in the queue.

AB#25089374

This looks like an issue happening in the runtime or connector, moving to the backend issues repro for visibility


Give credits or at least place on the code where you got it from

You literally copy paste, we operate under GPL which requires you to add the copyright notice.


Update Template in MachineSet once InPlace upgrade is completed

Issue #, if available:
Unlike KCP, machineDeployments use machinesets constructs which then are responsible for scaling the machines. During the regular flow for rolling upgrades, CAPI generates the updated machinesets based on the new spec, which then scales up new machines in the rolling fashion. Since for InPlace we do not want any new machines to roll over, we need to update the machineset.Spec.Template.Spec  to the current machine spec once the InPlace upgrade has been completed. This will ensure that the machinesets then syncs with the machines and updates the Machine.Spec field to reflect the current value on the machinesets.
Description of changes:
Testing (if applicable):
Tested manually using a custom capi-controller image built to handle InPlace and verified that the machineset was updated with the new template.
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/approve


NPM version is way behind

The current version in NPM is 1.0.5 (https://www.npmjs.com/package/angular-dragdrop), the one on the repo here is 1.0.12, which is the one I'm using in my code.
'beforeDrop' doesn't work on 1.0.5 so my app is not working on my remote environment. Hope we can get an update on NPM soon. Thanks!

#116

@galeano Done.


Installation without neural network dependencies

Hi - great work on the library, I'm impressed how far it has come on in the last few years (particularly on inference speed).
I can see for my timeseries forecasting problem that AutoGluonTabular works really nicely in terms of performance, training speed and inference speed.
I'd like to avoid having to install torch and nvidia-cuda. Can I run without these given i am setting AutoGluonTabular as the only model to train in my hyperparameters? If so, can I install autogluon without having to install these large dependencies?

Yes, refer to https://auto.gluon.ai/stable/index.html#installation
For example pip install autogluon.tabular[xgboost,lightgbm,catboost] will not install torch, and not train the neural network models.

"given i am setting AutoGluonTabular as the only model to train in my hyperparameters?"

I don't understand what you mean. AutoGluon Tabular is an ensemble of models that includes torch models. If you don't care about the torch models in the ensemble, then you don't need torch. If you care about them as they improve performance of the ensemble, then you want torch.
If you want to avoid installing CUDA, then follow the above install guide and select CPU to get CPU install instructions that avoid CUDA.

@Innixma Thanks for your reply, sorry I missed the notification.
I hadn't realised AutoGluon Tabular includes torch models (I assumed it was just the gradient boosting models), I'll have a look at the model zoo in more detail.
I'll try your suggestions and close the issue if it looks good


The :queue_target setting does not work with the Ecto.Adapters.SQL.Sandbox adapter

Environment

Elixir version (elixir -v): 1.7.3
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): PostgreSQL 9.4
Ecto version (mix deps): 3.0.6
Database adapter and version (mix deps): postgrex 0.14.1
Operating system: Mac OS 10.14.2

Current behavior
I have a test that is failing with the following error message:
     ** (EXIT from #PID<0.582.0>) an exception was raised:
         ** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 177ms. You can configure how long requests wait in the queue using :queue_target and :queue_interval. See DBConnection.start_link/2 for more information
             (db_connection) lib/db_connection.ex:778: DBConnection.transaction/3
             (core) lib/core/peers/peers.ex:33: Core.Peers.add_user/4
             test/peers/concurrency_test.exs:29: anonymous fn/1 in Core.PeerConcurrencyTest."test add many users concurrently, target size should not be exeeded, user_count should be correct"/1
             (elixir) lib/task/supervised.ex:89: Task.Supervised.do_apply/2
             (elixir) lib/task/supervised.ex:38: Task.Supervised.reply/5
             (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

Expected behavior
Setting the :queue_target in config/test.exs like this should fix the issue:
config :core, Core.Repo,
  pool: Ecto.Adapters.SQL.Sandbox,
  queue_target: 1000,
  url: "postgresql://postgres:postgres@postgres/events_test"

But it appears that the :queue_target setting never makes it into the DBConnection.Ownership.Proxy. Other settings, like :timeout end up in DBConnection.Ownership.Proxy just fine, so I'm quite confident that I'm actually configuring the right thing.
After digging through the code for a few hours, I came up with a way to make it work manually by setting the :queue_target like this in my test_helper.exs:
{adapter, %{opts: opts} = config} = Ecto.Repo.Registry.lookup(Core.Repo)
config = {adapter, Map.put(config, :opts, opts ++ [queue_target: 1000])}

Core.Repo
|> GenServer.whereis()
|> Ecto.Repo.Registry.associate(config)

I'm also seeing issue. Unfortunately since it's being passed around as an app environment and/or option keyword, I havn't had much success in tracing it down. Posting some data here in case it helps.
Any pointers for me to debug/fix this issue would be grateful too! ❤

Overview
We're basically mini-hammering the application with 200 concurrent workers during the test.
Config
config :local_ledger_db, LocalLedgerDB.Repo,
  adapter: Ecto.Adapters.Postgres,
  pool: Ecto.Adapters.SQL.Sandbox,
  url: {:system, "LOCAL_LEDGER_DATABASE_URL", "postgres://localhost/local_ledger_test"},
  migration_timestamps: [type: :naive_datetime_usec],
  queue_target: 1_000,
  queue_interval: 5_000

Original code: https://github.com/omisego/ewallet/blob/master/apps/local_ledger_db/config/test.exs
Test code
test "..." do
  caller_pid = self()
  num_spawns = 200

  tasks =
    for _ <- 1..num_spawns do
      Task.async(fn ->
        Sandbox.allow(Repo, caller_pid, self())
        Transaction.insert(...)
      end)
    end

    # ... continue with assertions
end

Original code: https://github.com/omisego/ewallet/blob/master/apps/local_ledger/test/local_ledger/transaction_test.exs#L393-L489
Error
09:49:22.615 [error] Task #PID<0.4583.0> started from #PID<0.4439.0> terminating
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 210ms. You can configure how long requests wait in the queue using :queue_target and :queue_interval. See DBConnection.start_link/2 for more information
    (db_connection) lib/db_connection.ex:778: DBConnection.transaction/3
    (local_ledger) lib/local_ledger/transaction.ex:108: LocalLedger.Transaction.insert/3
    (elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

...

09:49:22.615 [error] Task #PID<0.4522.0> started from #PID<0.4439.0> terminating
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 313ms. You can configure how long requests wait in the queue using :queue_target and :queue_interval. See DBConnection.start_link/2 for more information
    (ecto_sql) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.raise_sql_call_error/1
    (ecto_sql) lib/ecto/adapters/sql.ex:553: Ecto.Adapters.SQL.execute/5
    (ecto) lib/ecto/repo/queryable.ex:147: Ecto.Repo.Queryable.execute/4
    (ecto) lib/ecto/repo/queryable.ex:18: Ecto.Repo.Queryable.all/3
    (ecto) lib/ecto/repo/queryable.ex:66: Ecto.Repo.Queryable.one/3
    (local_ledger_db) lib/local_ledger_db/wallet.ex:95: LocalLedgerDB.Wallet.get_or_insert/1
    (local_ledger) lib/local_ledger/entry.ex:29: anonymous fn/1 in LocalLedger.Entry.build_all/1
    (elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
    (elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
    (local_ledger) lib/local_ledger/transaction.ex:107: LocalLedger.Transaction.insert/3
    (elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

The workaround
Setting the config via config :my_app, MyRepo, queue_target: 1_000 does not work, but using @jonasschmidt's workaround above would always pass.
{adapter, %{opts: opts} = config} = Ecto.Repo.Registry.lookup(LocalLedgerDB.Repo)
config = {adapter, Map.put(config, :opts, opts ++ [queue_target: 1000])}

LocalLedgerDB.Repo
|> GenServer.whereis()
|> Ecto.Repo.Registry.associate(config)

I can confirm that the workaround above is taking effect because setting it with queue_target > 200 made the test passed, and setting to < 200 always made the test failed. Where 200 is the number of tasks I spawn in the test.

It is fixed in ecto_sql master, so if you use it, you should be golden. :)

I will ship a new version soon as well.

Thank you!
For future references. The commit that fixed this is https://github.com/elixir-ecto/ecto_sql/commit/8d08addb31e189ed6d31a01f79f3a528df590255


[Docs] Create a living strategy document for the Operator Framework project

The Operator Framework project needs vision and strategy document in order to drive innovation and balance competing priorities.
This document will document the short- and long-term goals and strategy for the project. This will provide a rallying point to both inspire and prioritize work.
Action items:

[ ] Announce the issue at an upcoming community meeting
[ ] Create a meeting to discuss the new document

[ ] Ask participants to read our current vision and strategy artifacts (for example, the OLM v1 Roadmap)
[ ] Ask participants to come prepared to discuss what already exists and form an outline for the new doc

[ ] Write a draft of the new doc
[ ] Present it to the community for review
[ ] Iterate and refine

Initial thoughts:

We want a doc that has clear touch points that the community can refer to guide decisions
In order to stay relevant, we should feel empowered to update the doc when our vision changes, objectives are completed, or inspiration hits

@joelanford and @LalatenduMohanty

I have realized that I do not have the time to drive this initiative, though I would like to help if someone else can lead.
/unassign


Architecture support

The provided binary works, ironically, only on x86 architectures. Provide arm32 and arm64 versions as well.

As of right now, the only way to get this working on a raspberry pi is to build it from source. Instructions are provided in the readme.

As of right now, the only way to get this working on a raspberry pi is to build it from source. Instructions are provided in the readme.

This has now been addressed. You can find on the release page precompiled binaries for arm64 and armhf. They were compiled on a Pi4 running Ubuntu Server 20.04 64bit and a Pi 0 running the latest Raspbian OS.

This has now been addressed. You can find on the release page precompiled binaries for arm64 and armhf. They were compiled on a Pi4 running Ubuntu Server 20.04 64bit and a Pi 0 running the latest Raspbian OS.


by_language: Address high priority #94

Signed-off-by: Vivek Rai<EMAIL_ADDRESS>

Merging.


Is it possible to use jstree in angular 4?

Good day,
I am porting a project from angularjs to angular 4. I need to use jstree in angular 4. Is this possible? If yes, is there a guideline for me to follow?
Kind Regards,
Rachidi

Yes,I will show you code.

index.html
You can use CDN

    <script src="http://cdn.staticfile.org/jquery/1.12.4/jquery.min.js" type="text/javascript"></script>

    <script src="https://cdn.bootcss.com/jstree/3.3.4/jstree.min.js"></script>
    <link href="https://cdn.bootcss.com/jstree/3.3.4/themes/default/style.min.css" rel="stylesheet">

Hi @alanhg,
Thank you for your feedback. Since I am using webpack to bundle my javascript and typescript files, I have added jstree to webpack config. The project I am porting uses jsTree together with ngJsTree. I have added both. However, I seeing the following error during runtime:
Uncaught TypeError: Cannot read property 'defaults' of undefined
at ngJsTree.js:3
at Object.945 (ngJsTree.js:25)
at webpack_require (bootstrap b1526ed…:54)
at webpackJsonpCallback (bootstrap b1526ed…:25)
at angularJsTree.bundle.js:1
Any idea what I am missing here?
Thanking you in advanced.
Kind Regards,
Rachidi

I am closing this, but feel free to continue the discussion. I am closing the issue as there is no problem with jstree itself and I do not provide the angular wrapper and can't help with it.

@alanhg Your example is not working properly, could you provide a Plunkr please?

any update that ? now i am also planning to use jstree with angular 5 . anyone has used then please help me.


improve timeticks (to show interval instead only point in time)

This issue was moved to zazuko/zack-search#14


Remove unnecessary usings from Program & HomeModule for Kestrel Sample

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following the Nancy code style guidelines
[ ] I have provided test coverage for my change (where applicable)

Description
This PR is a very simple update to the Nancy.Demo.Hosting.Kestrel samples, with guidance as per @thecodejunkie.  Here I made very simple changes: In Program.cs I removed the unneeded using Microsoft.AspNetCore.Builder; and in HomeModule.cs the erroneous using System.Threading.Tasks; was removed.

Welcome to the family 😄 ❤