fix double tap issue

fix double tap issue, fix #176 . Root cause: gpio_ll_set_level() is used in version 0.7.0 since S3 gpio rom does not have gpio_output_set_high(), unlike rom API, gpio_ll needs to explicitly enable output first.
@ladyada while working on this issue, I figured out that esp_rom_gpio_pad_select_gpio() can also be used to get JTAG pin working as double tap pin. Therefore there is no restriction on JTAG pin after this got merged. Please skip 0.7.0 for new S2 board, 0.8.0 will be released as soon as this is merged.

ok great work!

Well done!!!!  Can you wait on 0.8.0 for 10 mins while I do a PR for my new S3 boards please?


Fix #421, #440

Changes names of tests to make them distinguishable by path from root of tests. Also, changes Condition to RunCondition

I assume it'll pass once you rerun the tests with the other PR merged in?

Yes, it should.

I'll rebase on master


az storage account keys list throwing errors after updating from azure-cli-2.0.45 to azure-cli-2.13??

So I updated from 2.0.45 to 2.13 in hopes of getting the same options listed in
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-cli
But I was wrong.  Seems 2.13 is not new enough.  So I just decided to not use
'--enabled-protocols SMB' option and continued on my merry way.
I just ran this command:
az storage account keys list -n
and it spit out the strack trace below.  BTW that cmd worked fine 2.0.45.
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az storage account keys list
Errors:
'StorageManagementClient' object has no attribute 'config'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 711, in _run_job
    six.reraise(*sys.exc_info())
...
cli/core/commands/__init__.py, ln 325, in __call__
    return self.handler(*args, **kwargs)
azure/cli/core/__init__.py, ln 775, in default_command_handler
    client = client_factory(cmd.cli_ctx, command_args) if client_factory else None
cli/command_modules/storage/_client_factory.py, ln 150, in cf_sa_for_keys
    client.config.enable_http_logger = False
AttributeError: 'StorageManagementClient' object has no attribute 'config'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az storage account keys list -n {}

Expected Behavior
Environment Summary
Linux-5.3.18-lp152.47-default-x86_64-with-glibc2.3.4
Python 3.6.10
Installer: PIP

azure-cli 2.13.0 *

Additional Context

storage

Hi @tuttipazzo, may I know your installed version for azure-mgmt-storage?

python3-azure-mgmt-storage-16.0.0-26.1.  So I had to deinstall everything related to azure-cli by hand (OUCH).  The problem was that I didn't remove the old azure-cli like so:
sudo zypper -n rm -y --clean-deps azure-cli
That got rid of all the older pkg azure-cli dependencies.  In the end I wind up re-installing the older version as other things were breaking using the newer azure-cli.  But that was my laptop which has been upgraded twice.  I spun up an Azure Leap15.2 VM, deinstalled (using --clean-deps) the azure-cli that came with leap, added ms gpg, azure-cli repo, and installed the upstream azure-cli and I have to errors.  Basically followed this:
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-yum
but added priority=50 to the repo definition.
Haven't tried that option.  You can close this.

Hi @tuttipazzo, thanks a lot for your information.
The root cause for your issue should be caused by azure-mgmt-storage 16.0.0, which has breaking changes compared with 11.2.0. When you install azure cli with pip, your azure-mgmt-storage 16.0.0 will take effect and azure cli is not compatible with the new version. A workaround is that you could downgrade azure-mgmt-storage to 11.2.0 with pip install azure-mgmt-storage==11.2.0.
And you could also uninstall pip installed azure cli and install with the guide https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt, which will not be influenced by your local azure-mgmt-storage version.

@jsntcy please also take a look for this track 2 issue in storage module.

Will fix this issue when CLI migrate to track2 storage SDK in this sprint, currently CLI still only support track1 storage SDK.

Hi @tuttipazzo, the issue should be already fixed in latest cli version. Please update cli with az upgrade and try again.


Update Classes.md

a typing error
toLowercse -> toLowerCase

This is intentional to show the lack of an error, note the line above "See no error here"


Google Python Style Guide?

The changes made in this PR follow the Google Python Style Guide.
The main difference is changing the indentation from 2 space to 4 space. There are a bunch more changes that could make this code more Pythonic but I thought I'd hold off to see how this first PR was received.

Use 4 space indentation
Remove trailing semicolons
Use 2 blank lines between top-level definitions
Remove excess blank line at EOF

I welcome the other changes, but according to the Google internal style guide I'm looking at, "Indent your code blocks with 2 spaces.". Except for "implied line continuation" (that part is the same in both versions). Not sure why the internal one is out of sync with the one you linked to.

@ifratric ,
If I had to guess (please correct me if I am wrong!), I would say it has to do with internal VS external (open source) projects. I would guess that closed source/internal projects at Google are to follow whatever internal style guide you are referring to but once this project was made open-source it would seem logical to adhere to common Python standards for open-source code.

https://github.com/google/styleguide/issues/140#issuecomment-322235626

Not only is four space indentation is the standard for Python (PEP8 link) but snake_case function names are also standard according to PEP8 & Google Python Style Guide. I didn't start changing the function names yet (wanted to see how this PR was received first) but I can gladly send some more PRs to fix those and other minor issues.
I admit that I have not read every section of the Google Python Style Guide thoroughly but, from the parts I have read, it seems tightly coupled with PEP8. Following these common standards does make it easier for contributors from the open-source world.
Thanks for the reply!

Fair.
The second problem with the spaces thing is that currently the patch only addresses one of the 2 python source files. This would mean that by accepting it now, the spacing would become inconsistent. I don't have strong opinion on 2 vs. 4 spaces indentation, but I would like it to be consistent within the project. I suggest applying the spacing equally to both source files.

@ifratric ,
I didn't want to make any changes to grammar.py until seeing getting feedback on the original changes. I have updated grammar.py with the above commit to use 4 space indentation and fix other minor things like trailing semicolons and whitespace issues (full summary in commit message). Adhering to a common styleguide can help to make the code more consistent and easier for other Python developers to contribute to. While going through this file I noticed a few things that might need addressing but I will use separate issues/pull requests for those.
Let me know what you think!

Looks good, I can test & merge when I'm back in the office on Monday (posting from another account).

@ivanfratric ,
Sounds good, let me know if any other changes are needed.
Thanks for your time!

Aaaand done. Thanks!

@ifratric ,
No problem!


Can't support Chinese.

me too

How soon will it be fixed?

This seems like a duplicate of #1293, the issue being a lack of fallback mechanism for missing characters. And if so, a workaround is to use a font that has all the needed characters. The monospace font that's configured on your system by default probably does. Could you try that @AlawnCN  and @matianhe?

This seems like a duplicate of #1293, the issue being a lack of fallback mechanism for missing characters. And if so, a workaround is to use a font that has all the needed characters. The monospace font that's configured on your system by default probably does. Could you try that @AlawnCN and @matianhe?

How to configure it on my system by default, my system is macOS and think it should be configured on Oni2 Application?

Press Cmd+Shift+P to open the Command Palette, then search for "Open Configuration file". Once open, replace or add "editor.fontFamily" using your font of choice as the value.


[QUESTION] Determining trends, finding candle patterns, buy, sell, profit

I'm attempting to combine DEMA with my own rules, for which I utilize the candle data (candle.close, etc).  How would one get the current trend from DEMA in the results?  When I log the results variable, it's blank.  How is the information stored?  Or, how can I reference this information?
I've looked through the documentation, but the small stuff like this doesn't seem to be documented.  Is there a decent custom strategy example that uses candle data along with a built-in trading strategy that you could point me to for reference?

Hey!

I'm attempting to combine DEMA with my own rules, for which I utilize the candle data (candle.close, etc).

For this you would create your own strategy that adds the DEMA indicator. After this you have access to the DEMA diff value as well as the candle in each update call.
Here is an example: https://gist.github.com/askmike/9264c4364f230100d59dafb696d98a14
Feel free to ask further questions :)
The documentation is due for some improvement, I'd love some help with the docs (what exactly is not clear - how can we improve). If you have any ideas here let me know!


The last card of our services component is merged with footer in mobile view

Hey @Mansi168 as the footer is not looking correctly I will add some features to improve UI.

Heyy..you can work on this..

Okay
On Sat, 20 May 2023, 6:16 pm Monalika Patnaik, @.***>
wrote:

Assigned #65 https://github.com/MonalikaPatnaik/UMatter/issues/65 to
@vaidehidangi23 https://github.com/vaidehidangi23.
—
Reply to this email directly, view it on GitHub
https://github.com/MonalikaPatnaik/UMatter/issues/65#event-9294431676,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5XGDIGZ7QOMEFLDC2CYSTXHC4JFANCNFSM6AAAAAAYIVE6LM
.
You are receiving this because you were assigned.Message ID:
@.***>

Hey, @MonalikaPatnaik  I have successfully resolved issue #65 and  I have submitted a pull request: #133 that encapsulates the changes made to address this issue. The pull request is available in the branch "fixed_services_component" of the repository. It would be greatly appreciated if you could spare some time to review the pull request and provide feedback.

@vaidehidangi23 okay we'll merge it after checking Thanks :)
Happy Contributing.


share/befp: rework collecting and veryfying the BEFP

Overview

Use an orthogonal axis to collect and verify BEFP instead of collecting and verifying it against a single Merkle Root(where ErrByzantine occurred)
collect only 1/2 of the shares instead of all available shares from the row/col

Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Codecov Report

Merging #2408 (54b8d2c) into main (beaf6db) will decrease coverage by 0.12%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##             main    #2408      +/-   ##
==========================================
- Coverage   53.28%   53.16%   -0.12%
==========================================
  Files         156      156
  Lines        9915     9929      +14
==========================================
- Hits         5283     5279       -4
- Misses       4179     4195      +16
- Partials      453      455       +2

Impacted Files
Coverage Δ

share/eds/byzantine/bad_encoding.go
33.33% <37.50%> (-3.37%)
:arrow_down:

share/eds/byzantine/share_proof.go
50.00% <60.00%> (ø)

share/eds/byzantine/byzantine.go
71.42% <69.23%> (+9.89%)
:arrow_up:

... and 5 files with indirect coverage changes


Clarify the default cargo run error message on a non-zero exit code

See #1516

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

r? @alexcrichton

This spurious error might be worth looking into.

It does indeed look spurious!

Hm unfortunately this is throwing away err which has lots of other contextual information which shouldn't be lost.

I could change this to chain the error. I didn't go with chaining because I'm not sure what those lots of information are and the outcome would be "the process returned 2, pass -v for more details" and -v would tell you "the process returned 2, caused by: the process (path) returned 2". This seems silly.

 I see cargo run as a "build stuff and then exec" in the sense that the process basically "becomes" the child.

I don't mind cargo "becoming" the child but in that case it's not cargo's business to proclaim a non-zero exit code to be an error, more so an "unknown error". This makes cargo running console apps a bad experience (is test 1 = 2 returning 1 an error?). A decision is long overdue: either give a useful error message or remove it altogether (not sure how this would work).

Oh right we print things out for errors no matter what, in that case this is basically just the same as the contained error so I think it'd be best to just convert the error into a human one where it's actually generated and then that'll propagate upwards.

If we return Err from where the error is generated, the exit status will get buried in the Box  requiring downcasts to get it out. Currently this is worked around by returning Ok with an error inside and I believe I'm doing the best I can with that here.

Or do you mean changinh Option<ProcessError> to Option<Human<ProcessError>> here?

Anyway the function I'm changing seems required to return CliResult because of macros that implement the subcommands.

The API function probably doesn't want to be changed as it's returning specifically a ProcessError, but instead of using the human function you could create a Human error, box that up into a CargoError and then pass that to CliError

I've wrapped the ProcessError in Human but now the default mode prints too much information:
Process didn't exit successfully: `target/debug/foo` (exit code: 2)

If I were to use caused_human instead the output would be
Process finished with exit status 2

To learn more, run the command again with --verbose.

Verbose:
Process finished with exit status 2

Caused by:
  Process didn't exit successfully: `target/debug/foo` (exit code: 2)

This is the silliness I referred to earlier. More verbosity and confusion.
What kind of information exactly was I throwing away originally?

Ah yeah this is what I was thinking, but you feel this is too much information? Is that because the path of the executable is printed out?

I believe printing the path does not fall in the "useful to see by default" category but I don't have strong feeling about this. Also the statement that the process didn't exit successfully, which is not universally true, remains.
In the original proposal the verbose message would be missing the path (it would be apparent from the Running ... message though) and the default message would avoid it nicely.
Generally, I'm fine with both.

@bors: r+ 52553c981e21bfe1724b20718a69517ab3dec565
OK, I think that this is better than what we have right now and it's still not inundating you with too much information, so I'm fine with this. We can perhaps continue to refine it down the road! For now I've also edited the PR description to close the associated issue.

:hourglass: Testing commit 52553c9 with merge 057a32d...

Thanks!

:broken_heart: Test failed - cargo-win-gnu-64

@bors: retry
On Fri, Oct 16, 2015 at 10:22 AM, bors<EMAIL_ADDRESS>wrote:

[image: :broken_heart:] Test failed - cargo-win-gnu-64
http://buildbot.rust-lang.org/builders/cargo-win-gnu-64/builds/219
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/cargo/pull/2053#issuecomment-148777661.

:hourglass: Testing commit 52553c9 with merge b5f0cd9...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Change MIN_COMPAT_NODE_VERSION to 3.5.0

The new wallet 3.5.0 Version should only be compatible with node version 3.5.0 and higher.
The Value in src/cmd/wallet.rs should be update to 3.5.0, so users receive a compatibility notice if node does not met the requirements.
@who-biz

Good catch - will look into and change


Toggling attributes that have same name via {{#If}}...{{else}}...{{/if}} is broken on 0.9.x

Description:
hasSomething = true

Toggling hasSomething multiple times, will have the attribute anything disappear when it is true.
Goes like this:

 - hasSomething === true

 - hasSomething === false

 - hasSomething === true (should be like 1.)

 - hasSomething === false

 - hasSomething === true (should be like 1.)
....

Why do we use it
We use this kind of code to set the tabindex and focus an element, when necessary.
Kinda like this (as-focused is a decorator that focuses the node):
<a {{#if focusedIndex === index}}tabindex="0" as-focused{{else}}tabindex="-1"{{/if}}
Versions affected:
0.9.x
0.8.x works as expected
Platforms affected:
Tested on Chrome and Safari.
Reproduction:
Fiddle: https://jsfiddle.net/1cpofgvk/1/
Javascript
const r = window.r = new Ractive({
	el: '#main',
  template: '#template',
  data: {
  	hasSomething: true,
  },
});

Template

Should toggle between red background and bold text.

<button on-click="@this.toggle('hasSomething')">Toggle</button> a few times, and you'll see that the attribute [anything="really"] will never reappear.

The paragraph will either be have the [anything="else"] attribute, or none at all.

Should be fixed in edge, once travis does his thing, and will go out with 0.9.4. Thanks for the report!


Rename distributed tracing service name

Purpose

Rename distributed tracing service name

Codecov Report
Patch coverage has no change and project coverage change: +1.40 :tada:

Comparison is base (79aa2dd) 32.16% compared to head (d26dce4) 33.57%.

:exclamation: Current head d26dce4 differs from pull request most recent head 1922539. Consider uploading reports for the commit 1922539 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1232      +/-   ##
==========================================
+ Coverage   32.16%   33.57%   +1.40%
==========================================
  Files         365       88     -277
  Lines       43376    12715   -30661
  Branches    13910     1791   -12119
==========================================
- Hits        13953     4269    -9684
+ Misses      29167     8318   -20849
+ Partials      256      128     -128

Flag
Coverage Δ

adapter
24.77% <ø> (ø)

admin-domain-service
54.61% <ø> (ø)

backoffice-domain-service
57.51% <ø> (ø)

devportal-domain-service
?

idp-domain-service
80.10% <ø> (?)

runtime-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 295 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


feat: add support to load sub-graph from Tailcall

Depends on but not blocked on:

https://github.com/tailcallhq/tailcall/issues/2821
https://github.com/tailcallhq/tailcall/issues/2817
https://github.com/tailcallhq/tailcall/issues/2639
https://github.com/tailcallhq/tailcall/issues/2820

Tailcall should be able to connect to other Tailcall subgraphs for and create a Federated GraphQL API.
Config Changes
schema
  @link(src: "http://products:4000" type: SubGraph meta: {name: "Products"})
  @link(src: "http://products:5000" type: SubGraph meta: {name: "Reviews"}) {
  query: Query
}

Feature Requirements

Tailcall should connect to the provided source and load the config.
The loaded configuration should be merged automatically.
The merged configuration should add http/grpc proxy while merging to /pass route.

Technical Requirements

Write high-quality modular code.
Ensure enough tests are written to guarantee everything is working.

/bounty $300


docs(rig-lancedb): Improve instructions and example

The rig-lancedb documentation could be improved with the following:

[ ] Document that lancedb requires the user to have installed protoc on their machine (the lancedb library will not compile otherwise) and add instructions on how to install it for a couple of popular systems.
[ ] In the examples, when the table is created, add a check to see if the table already exists. The current examples will fail if run twice since the table creation step will error with a "table already exists" error.

Hi, I was browsing through the issues and noticed this quick fix for the documentation. Here's the improved version:
Prerequisites section to add:
Before using rig-lancedb, you need to have Protocol Buffers compiler (protoc) installed on your system. The library will not compile without this dependency.
Installing protoc
Ubuntu/Debian
sudo apt update
sudo apt install -y protobuf-compiler

macOS
brew install protobuf

Windows
Download the latest release from the Protocol Buffers Releases page and add the extracted bin directory to your system PATH.
Updated code example with table existence check:
// Creating a table
let table_name = "vectors";
if !db.table_exists(table_name)? {
    let table = db
        .table_builder(table_name)
        .add_vector_column("embedding", 2)?
        .add_text_column("text")?
        .create()?;
} else {
    let table = db.open_table(table_name)?;
}

This addresses both improvements requested in the issue:

Added protoc installation instructions for popular systems
Added table existence check to prevent "table already exists" error


Omit Custom Request Guards

When generating our TypeScript interface we should omit Custom Request Guards as the client doesn't need to think about these.
For example, example-handlers/thread.rs includes an AgentService that is provided to us automatically by Rocket. Since AgentService implements FromRequest, Rocket has all it needs to construct this from the request itself (usually an user auth header or similar) and so the client doesn't need to include it explicitly in their request.
Ideally we'd detect when types implement FromRequest and ignore them. If that turns out to be overly difficult I suggest we add a CLI parameter for specifying a file containing type exclusions. We could default to skipping types like Db and State.

I suggest we take the simpler approach for now go with the exclusion file approach. Something along the lines of:
generate -i example-handlers -o k7.ts --exclude-types request_guards
Where request_guards would be a user-provided file of line separated types they want to ignore. They'll always be request guards in my mind but perhaps there will be other situations where someone would want a type to be excluded. Hence the exclude-types parameter name.

I've addressed the issue -- I realised I made a mistake by branching from my own Main branch. So when you merge the previous pr i will open this new one. So you don't get overwhelmed due to the prev changes. 😅

I've addressed the issue -- I realised I made a mistake by branching from my own Main branch. So when you merge the previous pr i will open this new one. So you don't get overwhelmed due to the prev changes. 😅

Oh looking forward to seeing the approach you used.
Re: branching, it does get a bit tricky managing multiple branches. It certainly helps on the PR review side of things so try to do so when reasonable. It is a balance though so if you find yourself juggling too many of them then feel free to push back. The main thing is to clearly communicate your changes.


Type of tuple is partially unknown

Environment data

Language Server version: v2021.12.0
OS and version: Win10
Python version (& distribution if applicable, e.g. Anaconda): 3.10

Expected behaviour
No errors.
Actual behaviour

Code Snippet / Additional information

nums: list[int] = [1, 2, 3]
max_product, min_product = nums[0], nums[0]
for x in nums[1:]:
    candidates = x, max_product * x, min_product * x
    min_product = min(candidates)
    max_product = max(candidates)

This behavior wasn't present in the v2021.11.2 version.

Thanks for reporting the problem. This will be fixed in the next release.

This issue has been fixed in version 2021.12.1, which we've just released. You can find the changelog here:  CHANGELOG.md


Send Email to Assignee on Assignment

Description
This is a feature request to send an email to an assignee when that person is assigned an issue (unless they assigned themselves).
This is referenced in and similar to https://github.com/go-gitea/gitea/issues/5083 but I think it deserves it's own issue as it could be implemented independent of that more complex issue.
Based on our user's feedback the expected behavior is that assigning an issue to someone will email them.  Otherwise, you have to assign someone and then do something like write a comment to let them know you've assigned it to them (that's redundant and painful).
Seems like this would be straightforward to add into https://github.com/go-gitea/gitea/blob/master/modules/notification/mail/mail.go and would make the email notifications more intuitive.

Sounds like a useful feature but I also think there should be an option (site, owner, or repos wide) to enable/disable this - e.g. to avoid flooding people with notification emails.

@HenrikBengtsson Better with a user setting to allow user to choose what notifications to receive as e-mails?
I don't think e-mail at assignment will be the worst notification flooding.

@davidsvantesson  I had been working on the same issue before noticing your PR :) My mistake to not post that I was looking at it. But I wanted to comment something as food for thought, one outstanding question I had about the existing code was the scenario where an issue is created with an assignee (as opposed to adding the assignee later). In this scenario, currently the assignee gets an email with the initial comment on the issue (because they are considered a participant). However, nothing in the email lets the user know they were assigned. I was going to propose that in this scenario the email include a sentence indicating they were also assigned to it. But I'll leave it for you to decide whether to address it or not. The alternatives IMO would be to either send a separate email about the assignment (like the add assignee does in your PR), or do nothing and it just continues to work as it is today. Maybe the way it works now is fine with most people, I don't know.

My preference would be to catch the initial email and add a sentence noting that it has been assigned to that person (rather than two nearly identical emails at nearly the same time!).

@bhalbright @davidsvantesson @jag3773 I'm working on a template system for e-mails (#8329). This should be covered by that.

@davidsvantesson My PR will take at least another week (I'm very busy ATM). Don't worry about it, go ahead and I'll merge your changes in my PR when they're merged.

@bhalbright I am aware about the create issue case but was not sure how to handle it. Do you think the mail should

always state who / which people was assigned, or
only state "you were assigned" to the person that was assigned

With guillep2k's PR maybe also the subject could state "created and assigned to you"?

@bhalbright I am aware about the create issue case but was not sure how to handle it. Do you think the mail should
* always state who / which people was assigned, or

* only state "you were assigned" to the person that was assigned

To keep this PR on-topic, I'd send a separate notification "xxx asigned you for yyy", even if the user will get another notification about the issue creation itself. Just my thoughts.

With guillep2k's PR maybe also the subject could state "created and assigned to you"?

With the current state of the PR, {{if cond}} and other control structures are supported. It's only a matter of making the required metadata available to the template engine.

@guillep2k I tested on GitHub and they do it like you suggest (two e-mails received). Only there is one discrepancy in GitHub, if you are not watching the repo and is assigned when repo is created you don't get the 'Repo created' e-mail. So they seem to do that in a separate step.
It can seem a bit redundant to send two emails, but it makes sense that there should be no difference if you create and assign in one step or separate. Also most mail clients should handle it well.

@davidsvantesson Whatever the mail subject, if your "assigned" e-mail has always the same structure, it's easier to setup rules and such. So, separate mails seem like win-win to me.

@davidsvantesson as a user I'd prefer to just receive one email, but it makes total sense to follow the github model and as @guillep2k suggested.

I think it shall be separate mails (notifications), it will allow more fine-grained settings of what notifications you want in the future.


Fix donate-button

Fix payment when using debug app id with .debug suffix.

Can't have donates anymore :(


Incorrect result of Equals involving NaN in structural type nested in generic structural type

I know that nan = nan and nanf = nanf both return false.
But nan.Equals(nan) and nanf.Equals(nanf) return true. These are intended results and this also applies when nan or nanf is contained in another structural type such as a union.
The .NET Guidelines also say that Equals, GetHashCode and CompareTo should be consistent. That is, two values that are equal should be equal as per Equals, should return the same hash and CompareTo should return 0.
F# types adhere to this except for the following case when a single/float32 or double/float that is NaN is a value of a structural type such as a union, which is nested in another structural type such as a union or record that has at least one type parameter.
Here is sample code that shows the inconsistent behavior:
    type UnionWithFloat = UnionWithFloat of float
    type GenericUnion<'value> = GenericUnion of 'value
    type NonGenericUnion = NonGenericUnion of UnionWithFloat

    let leftGenericUnion = GenericUnion (UnionWithFloat nan)
    let rightGenericUnion = GenericUnion (UnionWithFloat nan)

    let leftNonGenericUnion = NonGenericUnion (UnionWithFloat nan)
    let rightNonGenericUnion = NonGenericUnion (UnionWithFloat nan)

    let comparableLeftGenericUnion = leftGenericUnion :> System.IComparable<GenericUnion<UnionWithFloat>>
    let comparableLeftNonGenericUnion = leftNonGenericUnion :> System.IComparable<NonGenericUnion>

    let genericUnionsEqual = leftGenericUnion.Equals(rightGenericUnion) // false!
    let nonGenericUnionsEqual = leftNonGenericUnion.Equals(rightNonGenericUnion) // true

    let genericUnionsHashCodesEqual = leftGenericUnion.GetHashCode() = rightGenericUnion.GetHashCode() // true
    let nonGenericUnionsHashCodesEqual = leftNonGenericUnion.GetHashCode() = rightNonGenericUnion.GetHashCode() //true

    let genericUnionsComparisonEqual = comparableLeftGenericUnion.CompareTo(rightGenericUnion) = 0 // true
    let nonGenericUnionsComparisonEqual = comparableLeftNonGenericUnion.CompareTo(rightNonGenericUnion) = 0 // true

The inconsistent result is the following line:
    let genericUnionsEqual = leftGenericUnion.Equals(rightGenericUnion) // false!

All the other ways of comparison correctly return true.
Note that this also applies to single/float32 and records. And you only see the inconsistent results when the type is generic (GenericUnion here), which nests another type (UnionWithFloat  here). I have not tested this for more types or constellations. This was tested with F# 3.1 if this makes a difference.
I would be nice if you could fix this as it had me scratching my head for some time until I could pin down when this happens. It would also be nice if you could verify that the results are consistent for all possible types in all constellations in F#, whether generic and/or nested.

If this is a general F# issue then you should probably raise it at the visualfsharp repo.  This ones just for open source issues.

On 25 Jul 2015, at 13:14, exercitusvir<EMAIL_ADDRESS>wrote:
I know that nan = nan and nanf = nanf both return false.
But nan.Equals(nan) and nanf.Equals(nanf) return true. These are intended results and this also applies when nan or nanf is contained in another structural type such as a union.
The .NET Guidelines also say that Equals, GetHashCode and CompareTo should be consistent. That is, two values that are equal should be equal as per Equals, should return the same hash and CompareTo should return 0.
F# types adhere to this except for the following case when a single/float32 or double/float that is NaN is a value of a structural type such as a union, which is nested in another structural type such as a union or record that has at least one type parameter.
Here is sample code that shows the inconsistent behavior:
type UnionWithFloat = UnionWithFloat of float
type GenericUnion<'value> = GenericUnion of 'value
type NonGenericUnion = NonGenericUnion of UnionWithFloat

let leftGenericUnion = GenericUnion (UnionWithFloat nan)
let rightGenericUnion = GenericUnion (UnionWithFloat nan)

let leftNonGenericUnion = NonGenericUnion (UnionWithFloat nan)
let rightNonGenericUnion = NonGenericUnion (UnionWithFloat nan)

let comparableLeftGenericUnion = leftGenericUnion :> System.IComparable<GenericUnion<UnionWithFloat>>
let comparableLeftNonGenericUnion = leftNonGenericUnion :> System.IComparable<NonGenericUnion>

let genericUnionsEqual = leftGenericUnion.Equals(rightGenericUnion) // false!
let nonGenericUnionsEqual = leftNonGenericUnion.Equals(rightNonGenericUnion) // true

let genericUnionsHashCodesEqual = leftGenericUnion.GetHashCode() = rightGenericUnion.GetHashCode() // true
let nonGenericUnionsHashCodesEqual = leftNonGenericUnion.GetHashCode() = rightNonGenericUnion.GetHashCode() //true

let genericUnionsComparisonEqual = comparableLeftGenericUnion.CompareTo(rightGenericUnion) = 0 // true
let nonGenericUnionsComparisonEqual = comparableLeftNonGenericUnion.CompareTo(rightNonGenericUnion) = 0 // true

The inconsistent result is the following line:
let genericUnionsEqual = leftGenericUnion.Equals(rightGenericUnion) // false!

All the other ways of comparison correctly return true.
Note that this also applies to single/float32 and records. And you only see the inconsistent results when the type is generic (GenericUnion here), which nests another type (UnionWithFloat here). I have not tested this for more types or constellations. This was tested with F# 3.1 if this makes a difference.
I would be nice if you could fix this as it had me scratching my head for some time until I could pin down when this happens. It would also be nice if you could verify that the results are consistent for all possible types in all constellations in F#, whether generic and/or nested.
—
Reply to this email directly or view it on GitHub.

Closing this since it's now opened at Microsoft/visualfsharp


doubled drag layout when dragging task

the following picture shows that there is a layout duplication when reordering tasks. the action being performed is dragging the first task "under" the second task.

this happens in a short period of time while dragging the current task "over" another task. i'm guessing it happens because it interprets dragging over as a hover on another task.
the expected behavior is that only the task that is currently being dragged ("first" in our example) would show the DragIcon + DoneButton, and no other tasks (!"first") show the DragIcon + DoneButton until the drag action completes.

@chicarelli do you have any ideas on this?


January 25th, 2021 Community Meeting

Please add a topic in this thread and add a link to the Github issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on Github before coming into the meeting
(optional) Paste the image of an animal smile :smile_cat:

Follow-ups from last community session. https://github.com/shipwright-io/build/issues/528#issuecomment-757997693
Shipwright/Build Roadmap 2021

Follow-ups from last community session. https://github.com/shipwright-io/build/issues/528#issuecomment-757997693
Shipwright/Build Roadmap 2021

Thoughts on pure refactoring work: The Go Reports card shows that we have some functions with high cycle count (basically a lot of if, switch, and for constructs). Reducing the gocyclo count of functions will lead to more readability and helps new contributors when touching the code base the first time. What are our thoughts on that? Nice? Waste of time? Feedback highly appreciated.

Source: https://en.wikipedia.org/wiki/Sea_cucumber

Thoughts on pure refactoring work: The Go Reports card shows that we have some functions with high cycle count (basically a lot of if, switch, and for constructs). Reducing the gocyclo count of functions will lead to more readability and helps new contributors when touching the code base the first time. What are our thoughts on that? Nice? Waste of time? Feedback highly appreciated.

Source: https://en.wikipedia.org/wiki/Sea_cucumber

With regards to PR #538, should we make sanity checks such as spell checking, Go linter mandatory by adding it as a GitHub Action?

Source: https://www.reddit.com/r/FallenOrder/comments/f3uko0/4k_oggdo_bogdo/

With regards to PR #538, should we make sanity checks such as spell checking, Go linter mandatory by adding it as a GitHub Action?

Source: https://www.reddit.com/r/FallenOrder/comments/f3uko0/4k_oggdo_bogdo/

Regarding roadmap, I prepared this slide deck. I think @qu1queee and I are more or less on the same page.
https://docs.google.com/presentation/d/1TJXIloUyhxU608x36jKRxR7bNL28T7jvg724HnhKA3s/edit?usp=sharing

Regarding roadmap, I prepared this slide deck. I think @qu1queee and I are more or less on the same page.
https://docs.google.com/presentation/d/1TJXIloUyhxU608x36jKRxR7bNL28T7jvg724HnhKA3s/edit?usp=sharing

Meeting minutes:

Linter Makefile target to become mandatory per PR. We need an issue for this. @HeavyWombat could you help driving this one?
For the gocyclo validations, we should eventually fix this, but this is not a priority neither something to enforce on a PR basis.
We went through RoadMap 2021 . Community is encouraged to revisit this document and to provide feedback. We briefly discuss this document, mainly around:

2020 leftovers and what we need to finish, in order to ship a v0.3.0 release.
2021 must-have´s, this goes around different topics, like Security,Maintenance, Features, CLI, Docs, etc.

We discuss the usage of operator-sdk, where we see a value on reducing it. Currently it is mainly used for e2e tests, so we would like to have a different approach here that does not require it. @SaschaSchwarze0 could you help creating such issue please?
We need an issue to track the automation of releases shipment. @qu1queee to do this. @zhangtbj fyi.
@sbose78 to help us to make the community calls public. We have a related PR open.

Meeting minutes:

Linter Makefile target to become mandatory per PR. We need an issue for this. @HeavyWombat could you help driving this one?
For the gocyclo validations, we should eventually fix this, but this is not a priority neither something to enforce on a PR basis.
We went through RoadMap 2021 . Community is encouraged to revisit this document and to provide feedback. We briefly discuss this document, mainly around:

2020 leftovers and what we need to finish, in order to ship a v0.3.0 release.
2021 must-have´s, this goes around different topics, like Security,Maintenance, Features, CLI, Docs, etc.

We discuss the usage of operator-sdk, where we see a value on reducing it. Currently it is mainly used for e2e tests, so we would like to have a different approach here that does not require it. @SaschaSchwarze0 could you help creating such issue please?
We need an issue to track the automation of releases shipment. @qu1queee to do this. @zhangtbj fyi.
@sbose78 to help us to make the community calls public. We have a related PR open.

Im closing this issue, I generated new issues based on https://github.com/shipwright-io/build/issues/535#issuecomment-766877003 . Thanks all.

Im closing this issue, I generated new issues based on https://github.com/shipwright-io/build/issues/535#issuecomment-766877003 . Thanks all.


Can you please update the documentation ?

AD FS with Azure MFA Server, Azure MFA Server has been deprecated and is unavailable since 1st July 2019.

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

ID: 87e5f5f1-16cf-57e2-bdfc-b090d90437b1
Version Independent ID: 1662c47f-12cb-147d-25f0-dee98b6c7722
Content: Windows Hello for Business (Windows 10)
Content Source: windows/security/identity-protection/hello-for-business/hello-identity-verification.md
Product: w10
Technology: windows
GitHub Login: @mapalko
Microsoft Alias: mapalko

Azure Multi-Factor Authentication Server provides a way to secure resources with MFA capabilities. As of July 1, 2019, Microsoft will no longer offer MFA Server for new deployments. New customers who would like to require multi-factor authentication from their users should use cloud-based Azure Multi-Factor Authentication. Existing customers who have activated MFA Server prior to July 1 will be able to download the latest version, future updates and generate activation credentials as usual.
Source: https://www.microsoft.com/en-us/download/details.aspx?id=55849

@officedocsbot assign @e0i

Also Windows 10 build 1511 isn't supported anymore.

And Windows 10 build 1703 isn't supported anymore.

@mapalko Any plans to update the document in accordance with the developments? Let us know of any help in coming up with a PR if needed. Thank you.

I do not plan on removing 1511 or 1703. Those are referenced as min builds which is still accurate. We updated the on-prem specific documentation around MFA server but not the table. I've submitted a PR to remove MFA server references.

Marking as resolved via document author's comment.


Add webdriver tests

Continuation of #986:

Allow tests in subdirectories (better structure of test files)
Enable reuse of expected screenshot across test files (as discussed in previous PR)
Allow dynamically created test pages (reduces boilerplate code)
Enable bi-directional signal and wait between browser and webdriver
Fix exclude paths in local webdriver tests
Add additional tests:

Color
(More to come)

Good work, it'll be nice to have tests that can assert things about our render layers!

What is needed to merge in? The test suite does not have to be complete imho. If this is in, we could all contribute to render tests.

I just wanted to make sure the test framework is as stable as possible, so I wanted to add some more tests to make sure that I haven't missed any major requirements.
Need to also add documentation to the test framework.
But both could be in follow-up PR I guess?

That way others (like me) could also contribute
Op za 27 feb. 2016 om 11:43 schreef mucaho<EMAIL_ADDRESS>
I just wanted to make sure the test framework is as stable as possible, so
I wanted to add some more tests to make sure that I haven't missed any
major requirements.
Need to also add documentation to the test framework.
But both could be in follow-up PR I guess?
—
Reply to this email directly or view it on GitHub
https://github.com/craftyjs/Crafty/pull/994#issuecomment-189617358.

Ok, I looked over it again and merged, thanks for the patience.
Documentation is now on a wiki page and will be updated accordingly.


adding the URL to the stream generator

adding the URL to the stream generator right in the Data Source Section

This PR has been super seeded


Exception in thread "Thread-0" java.lang.NoSuchMethodError: setLevel

I'm trying to use microscoper (which sounds exactly like the tool I'd need, since I have to convert multiple .vsi-files into a usable image-format like .tiff or .png or .jpg) but have to admit that I'm unable to do so.
I'm running microscoper -f . -k .vsi in a directory where only the image files are present.
The output of ls -l is:
total 596K
drwx------ 1 me me   12 2020-07-22 13:23 _30-005 cre_
-rw------- 1 me me 596K 2020-07-22 13:23 30-005 cre.vsi

The output of tree -a is:
.
├── 30-005 cre
│   └── stack1
│       └── frame_t.ets
└── 30-005 cre.vsi
2 directories, 2 files

Exception in thread "Thread-0" java.lang.NoSuchMethodError: setLevel
Traceback (most recent call last):
  File "/home/x0ff/.local/bin/microscoper", line 10, in <module>
    sys.exit(run())
  File "/home/x0ff/.local/lib/python3.7/site-packages/microscoper/io.py", line 185, in run
    logger = _init_logger()
  File "/home/x0ff/.local/lib/python3.7/site-packages/microscoper/io.py", line 162, in _init_logger
    logLevel)
  File "/home/x0ff/.local/lib/python3.7/site-packages/javabridge/jutil.py", line 888, in call
    fn = make_call(o, method_name, sig)
  File "/home/x0ff/.local/lib/python3.7/site-packages/javabridge/jutil.py", line 851, in make_call
    raise JavaException(jexception)
javabridge.jutil.JavaException: setLevel

Then the process hangs and I have to Ctrl-C out of it.
Do you have any ideas why that happens and what I could do to get the program to work properly?
Thanks, Alex

Can you tell me which version of python-bioformats and python-javabridge
you have in your system?
On Wed 22 Jul, 2020, 5:39 PM n0542344<EMAIL_ADDRESS>wrote:

I'm trying to use microscoper (which sounds exactly like the tool I'd
need, since I have to convert multiple .vsi-files into a usable
image-format like .tiff or .png or .jpg) but have to admit that I'm unable
to do so.
I'm running microscoper -f . -k .vsi in a directory where only the image
files are present.
The output of ls -l is:
total 596K
drwx------ 1 me me   12 2020-07-22 13:23 30-005 cre
-rw------- 1 me me 596K 2020-07-22 13:23 30-005 cre.vsi
The output of tree -a is:
.
├── 30-005 cre
│ └── stack1
│ └── frame_t.ets
└── 30-005 cre.vsi
2 directories, 2 files
Exception in thread "Thread-0" java.lang.NoSuchMethodError: setLevel
Traceback (most recent call last):
File "/home/x0ff/.local/bin/microscoper", line 10, in
sys.exit(run())

File "/home/x0ff/.local/lib/python3.7/site-packages/microscoper/io.py", line 185, in run
logger = _init_logger()

File "/home/x0ff/.local/lib/python3.7/site-packages/microscoper/io.py", line 162, in _init_logger
logLevel)

File "/home/x0ff/.local/lib/python3.7/site-packages/javabridge/jutil.py", line 888, in call
fn = make_call(o, method_name, sig)

File "/home/x0ff/.local/lib/python3.7/site-packages/javabridge/jutil.py", line 851, in make_call
raise JavaException(jexception)

javabridge.jutil.JavaException: setLevel
Then the process hangs and I have to Ctrl-C out of it.
Do you have any ideas why that happens and what I could do to get the
program to work properly?
Thanks, Alex
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pskeshu/microscoper/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVNN4AMAGX2IOQ2JSPUDETR43JGZANCNFSM4PEUPHNQ
.

Can you tell me which version of python-bioformats and python-javabridge
you have in your system?

The result of pip3 show python-bioformats yields Version: 1.5.2.
pip3 show python-javabridge gets no results, but pip3 show javabridge gives as output Version: 1.0.19.
In the meantime I also installed bioformats (without the 'python-'-part),
pip3 show bioformats shows Version: 0.1.15.  Now my error output of
microscoper -f . -k .vsi changed:
Traceback (most recent call last):
  File "/home/x0ff/.local/bin/microscoper", line 10, in <module>
    sys.exit(run())
  File "/home/x0ff/.local/lib/python3.7/site-packages/microscoper/io.py", line 184, in run
    jb.start_vm(class_path=bf.JARS, max_heap_size="2G")
AttributeError: module 'bioformats' has no attribute 'JARS'

and the program exits with an echo $? of 1.

Can you tell me which version of python-bioformats and python-javabridge
you have in your system?

The result of pip3 show python-bioformats yields Version: 1.5.2.
pip3 show python-javabridge gets no results, but pip3 show javabridge gives as output Version: 1.0.19.
In the meantime I also installed bioformats (without the 'python-'-part), pip3 show bioformats shows Version: 0.1.15.  Now my error output of microscoper -f . -k .vsi changed:
Traceback (most recent call last):
  File "/home/x0ff/.local/bin/microscoper", line 10, in <module>
    sys.exit(run())
  File "/home/x0ff/.local/lib/python3.7/site-packages/microscoper/io.py", line 184, in run
    jb.start_vm(class_path=bf.JARS, max_heap_size="2G")
AttributeError: module 'bioformats' has no attribute 'JARS'

and the program exits with an echo $? of 1.
ps.: I just re-wrote my answer because I realized that email-replies do not support markdown formatting.


[AppEventHandler] Remove static of AppEventHandler

Removed the static nature of AppEventHandler
It annoyed me somewhat that AppEventHandler was static for the whole program and stored statuses. This provoked tests failure that where run in parallel  but worked fine run separately.
Now there is only one AppEvenHandler instance for the whole program (in the main window)  private AppEventHandler _appEventHandler = new();  that is shared between everything. I think this is way more robust and enable to easily test things separately. I also think that it's a nice start to optimize further some classes and rationalize things more easily (I'm thinking of the dispose pattern) later.
I disabled temporarily some tests on BIOSEventHandler & SDEventHandler to show that now every tests pass with a green check when run in //.
Tested and everything seems to work fine in my MI-24 profile.
There are a lot of commit because I made changes progressively. They could be squashed if wanted.
If everything is ok with this PR. Maybe I could apply the same treatment to BIOSEventHandler & SDEventHandler

I'm closing this PR since it's been too long and changes a lot of things I'm not so sure anymore. It's a good basis if we want to dive in this later. Let's put it in the fridge as we say here :-)


Added model for COVID19 prediction using XRay images

Added jupyter notebook for COVID19 prediction using XRay images.
Issue- #106

@utkarsh0702 Kindly review.


Merge child class annotations with parent class annotations

The child annotations have precedence over the parent ones now.
This might break some things, but this use case is quite common for inheritance in the test classes, e.g:

BaseClassTest
TestA extends BaseClassTest and has some conditional thing in the test, e.g. val or TestRule that is used in the tests. We annotation this test class as @FeatureA
TestB extends BaseClassTest and has another value for the conditional value. We annotation this test class as @FeatureB

Currently those annotations are not present in the parsing result. This PR merges the annotations present in the hierarchy of test classes allowing to filter tests based on child classes annotations.

@Malinskiy , seems your PR is a good start for https://github.com/linkedin/dex-test-parser/issues/26, but should only inherit annotations that are annotated with @Inherited

@Malinskiy , do you mind if I assign issue #26 to you since with some modification your PR will be a good fix for that issue (or rather feature request)? Thanks!

@hongbinh are you asking if I have free time to do that? :) sure, I'll be happy to help

@Malinskiy, great, thanks!

@hongbinh besides my previous commit which merged the annotations from child class to parent now this also merges the annotations from parent to the child if there is a proper annotation. Here is a quick description of the logic:
Added handling of annotations marked with @Inherited
In order to optimize performance and avoid multiple parsing 2 lazy
fields are added to DexFile:

inheritedAnnotationTypeIdIndex which stores the type id of
Ljava/lang/annotation/Inherited annotation
typeIdToClassDefMap which stores the mapping from type to class def.
This is required because each annotation element itself stores only
the type id but in order to check if annotation is inherited we need
access to the class element itself

The information about the inheritance is also visible from the
TestAnnotation instance via inherited value.


doc for pg-history-viewer

This PR adds a minimal documentation about the use of PG history viewer in QWAT
cc @ponceta

LGTM.
By the way, I saw that the documentation is still advising to use QGIS 2.18 . @ponceta is this OK if we raise version to QGIS 3.4 ?

LGTM. Thanks!


Using AnimateTo on TabController with Duration set to 0 never updates Value

Describe the bug
A TabController a Duration of 0f and will not update TabController#Value if AnimateTo(int) is used.
Expected behavior
Even if the transition is istantaneous, Value  kept in sync with Index
With Duration set to 0 the AnimationTicker is not added and therefore the assignment value is never reassigned.
Desktop: Windows 10
Unity version: 2021.
UniMob version: 2.3.0
UniMob.UI version: 0.5.2
Other plugins installed: UniTask, DoTween

I find the API with Value/Index a bit confusing overall. Is there any reason to keep them both around?

The Value changes smoothly and is primarily necessary for the animations which must be synchronized with the tab switching animation.
The Index is needed when it is necessary to get the current state of the tabs without taking into account animation and dragging.


config: add release-6.4 branch config

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

/hold

/unhold

/merge

/lgtm

/merge


V1

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@380deb4). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   97.82%
=======================================
  Files           ?       19
  Lines           ?      230
  Branches        ?        0
=======================================
  Hits            ?      225
  Misses          ?        5
  Partials        ?        0

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Error handling docker v2 schema

Running cf push redis-cache --docker-image redis:7.2.3 -m 1G --no-route produces the following error:
builder exited with error: failed to fetch metadata from [library/redis] with tag [7.2.3] and insecure registries [] due to unsupported schema version 2
Running Version:
- name: diego
  sha1: 085fb57c12ea3d3900e673b6adb5eac7ac058707
  url: https://bosh.io/d/github.com/cloudfoundry/diego-release?v=2.85.0
  version: 2.85.0

Full push:
21:19.2	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 creating container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:19.2	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 successfully created container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:19.2	INFO	Staging process started ...
21:19.2	INFO	builder exited with error: failed to fetch metadata from [library/redis] with tag [7.2.3] and insecure registries [] due to unsupported schema version 2
21:19.2	INFO	Exit status 2
21:19.2	INFO	Failed to stage build: staging failed
21:14.6	INFO	Staging...
21:14.6	INFO	Staging process failed: Exit trace for group:
21:14.6	INFO	Staging Failed: STG: Exited with status 2
21:14.6	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 stopping instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:14.6	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 destroying container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:14.6	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 successfully destroyed container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:14.6	INFO	docker:
21:14.6	INFO	image: redis:7.2.3
21:14.6	INFO	Scaling process: "web"
21:14.6	INFO	Creating build for app with guid e1b1714d-04ca-430a-9565-8163d23a69b7
21:08.9	INFO	Added process: "web"
21:08.9	INFO	Created app with guid e1b1714d-04ca-430a-9565-8163d23a69b7
21:08.9	INFO	Applied manifest to app with guid e1b1714d-04ca-430a-9565-8163d23a69b7 (---
21:08.9	INFO	applications:
21:08.9	INFO	- name: redis-cache
21:08.9	INFO	memory: 1G
21:08.9	INFO	no-route: true
21:08.9	INFO	)
21:08.9	INFO	Updated app with guid e1b1714d-04ca-430a-9565-8163d23a69b7 ({"lifecycle"=>{"type"=>"docker"}})
21:08.9	INFO	Updated app with guid e1b1714d-04ca-430a-9565-8163d23a69b7 ({"environment_variables"=>"[PRIVATE DATA HIDDEN]"})

https://github.com/cloudfoundry/diego-release/issues/833 appears to have resolved this issue.  Thanks!


Switch not animated while changing theme

If a toggle is used to switch the application theme, it doesn't render its switch animation.
if the line cx.emit(EnvironmentEvent::ToggleThemeMode); is commented out, the animation renders as normal.
use vizia::prelude::*;

#[derive(Lens)]
pub struct AppData {
    pub theme_toggled: bool,
}

pub enum AppEvent {
    ToggleTheme,
}

impl Model for AppData {
    fn event(&mut self, cx: &mut EventContext, event: &mut Event) {
        event.map(|app_event, _| match app_event {
            AppEvent::ToggleTheme => {
                self.theme_toggled ^= true;
                cx.emit(EnvironmentEvent::ToggleThemeMode);
            }
        });
    }
}

fn main() {
    Application::new(|cx| {
        AppData {
            theme_toggled: false,
        }
        .build(cx);

        HStack::new(cx, |cx| {
            Switch::new(cx, AppData::theme_toggled)
                .on_toggle(|cx| cx.emit(AppEvent::ToggleTheme))
                .id("toggle_theme");
            Label::new(cx, "Theme").describing("toggle_theme");
        });
    })
    .run()
    .unwrap_or_else(|e| panic!("{:?}", e));
}

This is because switching themes reloads the stylesheet so any previous transitions are lost. There isn't really an easy way to fix this because of how animations are stored and cleaned up.


[AIRFLOW-697] Add exclusion of tasks.

Dear Airflow Maintainers,
Please accept this PR that addresses the following issue:

AIRFLOW-697

Testing Done:

Unit tests in models.py
Unit test in jobs.py
Manual testing

Current coverage is 66.49% (diff: 63.46%)

Merging #1942 into master will decrease coverage by 0.01%

@@             master      #1942   diff @@
==========================================
  Files           135        135
  Lines         10189      10282    +93
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6777       6837    +60
- Misses         3412       3445    +33
  Partials          0          0

Powered by Codecov. Last update 67ab416...e8c9548

Is this being taken a look at? We are thinking about implementing the same feature. Would love the airflow team to review.

Will this be fixed?

@YangLeoZhao  if you implemented it and can share with the community it would be appriciated.


launch mongosh in image mongo:6.0.4 and 6.0.5 throws an error node::Abort() [mongosh]

when I run the command mongosh in the image, I get this error.
docker run --entrypoint /bin/bash -it mongo:6.0.5
root@673609d0a744:/# mongosh
mongosh[8]: ../src/node_platform.cc:61:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xb81280 node::Abort() [mongosh]
2: 0xb812fe  [mongosh]
3: 0xbed0ee  [mongosh]
4: 0xbed1b6 node::NodePlatform::NodePlatform(int, v8::TracingController*) [mongosh]
5: 0xabe90f node::MultiIsolatePlatform::Create(int, v8::TracingController*) [mongosh]
6: 0xab5c84 main [mongosh]
7: 0x7fa14a426d90  [/lib/x86_64-linux-gnu/libc.so.6]
8: 0x7fa14a426e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
9: 0xab860e  [mongosh]
Aborted (core dumped)
This also applies to image 6.0.4. In images 6.0.3 and below, this is not observed. Accordingly, I cannot start the container with my configuration file for mongodb. What could be the problem? Thank you.

I can't actually reproduce: :grimacing:
$ docker run -it --rm --pull=always mongo:6.0.5 bash
6.0.5: Pulling from library/mongo
Digest: sha256:928347070dc089a596f869a22a4204c0feace3eb03470a6a2de6814f11fb7309
Status: Image is up to date for mongo:6.0.5
root@b849d7c422fa:/# mongosh
Current Mongosh Log ID:	646276d55af328bf39914bec
Connecting to:		mongodb://<IP_ADDRESS>:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.8.2
MongoNetworkError: connect ECONNREFUSED <IP_ADDRESS>:27017

Unfortunately, we do not have the bandwidth to provide in-depth integration/deployment/environment debugging or support here; these sorts of questions/requests would be more appropriately posted to a dedicated support forum, such as the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow.


Statically link libstdc++ on Linux for portability

This is a portability issue identified first in the webrtc libraries (since fixed) https://github.com/godotengine/webrtc-native/issues/110

I think all it needs are some link flags in the SConstruct file
https://github.com/godotengine/webrtc-native/pull/109/commits/1de32aa9ea1f3f4e1fd3f5f9b283ac4dc2befae1

Works now if you build it from source and push the godot-cpp module up by two weeks.

This issue wasn't actually fixed.

It just so happened that when I built from sources the shared object was linked to a library that did exist on my disk:

The correct result would have been for libstdc++ not to have been an external dependency to the library, as is the case with libwebrtc:

Since this only affects desktop Linux (and not Android), I think it's probably fine to do despite the increased binary size. See PR https://github.com/GodotVR/godot_openxr_vendors/pull/166


ZWNBSP causes goquery html head to parse improperly.

target:  http://<IP_ADDRESS>
ZWNBSP Wiki: https://en.wiktionary.org/wiki/ZWNBSP
Description:
This problem was found when using goauery to parse responses from Internet species.
package main

import (
	"bytes"
	"fmt"
	"github.com/PuerkitoBio/goquery"
	"io/ioutil"
	"net/http"
)

func main() {
	res, err := http.Get("http://<IP_ADDRESS>")
	if err != nil {
		panic("meh")
	}
	body, err := ioutil.ReadAll(res.Body)
	if err != nil {
		panic("meh")
	}
	doc, err := goquery.NewDocumentFromReader(bytes.NewReader(body))
	if err != nil {
		panic("meh")
	}
	// Unable to get title
	doc.Find("head").Each(func(i int, s *goquery.Selection) {
		pageTitle := s.Find("title").Text()
		fmt.Println(pageTitle)
	})
	// You can get the title in the body
	doc.Find("body").Each(func(i int, s *goquery.Selection) {
		pageTitle := s.Find("title").Text()
		fmt.Println(pageTitle)
	})
}

The presence of ZWNBSP prevents goquery from correctly parsing html.

Hello,
Please provide a static html string that replicates the issue. Note that goquery itself does not do the parsing, it is done by the Go net/html package.
Martin

Hello,
Please provide a static html string that replicates the issue. Note that goquery itself does not do the parsing, it is done by the Go net/html package.
Martin

Ok Thanks for the answer. It doesn't seem to be a goquery problem. Thanks again


HN example's README documentation incomplete

Describe the bug
Cloning the repo, switching to examples/hn.svelte.dev, then running pnpm install followed by pnpm dev yields the following output:
$ pnpm dev

><EMAIL_ADDRESS>dev /home/pi/workspace/svelte-kit/examples/hn.svelte.dev
> svelte-kit dev

node:internal/process/esm_loader:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/pi/workspace/svelte-kit/packages/kit/dist/cli.js' imported from /home/pi/workspace/svelte-kit/packages/kit/svelte-kit.js
    at new NodeError (node:internal/errors:363:5)
    at finalizeResolution (node:internal/modules/esm/resolve:321:11)
    at moduleResolve (node:internal/modules/esm/resolve:756:10)
    at Loader.defaultResolve [as _resolve] (node:internal/modules/esm/resolve:867:11)
    at Loader.resolve (node:internal/modules/esm/loader:89:40)
    at Loader.getModuleJob (node:internal/modules/esm/loader:242:28)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:73:40)
    at link (node:internal/modules/esm/module_job:72:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Solution:
Running pnpm build from the packages/kit directory creates the dist output, from there pnpm dev works from the HN example directory.
Expected behavior
The example should be available locally after running pnpm dev
Severity
This is a stumbling block for new developers attempting to try out Svelte Kit's only in-repo example.

Done https://github.com/sveltejs/kit/tree/master/examples/hn.svelte.dev

@benmccann Do you remember what the issue was? I'm coming across Error [ERR_MODULE_NOT_FOUND]: Cannot find module on my project.


I am developing an application on vue 3, vite, TS, tailwind, postcss. The fact is that the project works fine for another developer, but he has the webstorm IDE. The problem is that VS Code does not process poscss code and will display warnings. Although the necessary extensions are installed.

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

VS Code Version:
OS Version:

Steps to Reproduce:

VS Code Version: 1.73.1 (user setup)
OS Version: Windows 10

problem solved, thanks


Gate embedded-can impls behind a Cargo feature

Closes https://github.com/stm32-rs/bxcan/issues/41

bors r+


Volume permissions

Is it possible to mount moodledata and html folders on a host path like this:
    volumes:
      - ${DATA_FOLDER}/moodle/data:/var/www/moodledata:rw
      - ${DATA_FOLDER}/moodle/html:/var/www/html:rw

It says that the installer can't create the /var/www/moodledata/ folder.

Yes, you can, but remember to create the folder with the nobody user. Also remember to copy the isinstalled.php file in the www/html/admin/cli folder or the startup script won't work.
I prefer using data volumes instead of mounting folders, is faster for high volume sites or hosts with rare filesystems (macos, bsd...) And also easier to update.
Best!

I see your point. But we want to control where the storage is put by defining de volume mountpoint as moodle data will be on network storage.
Thanks, I'll try

Sorry to reopen again, I'm to able to create that folder as nobody user in the derivated Dockerfile neither at 02-configure-moodle.sh. Do you mean to change the owner at host side?

Don't worry, I will let it open until worked.
You need to create the folder on the host side, please share your docker-compose and Dockerfile to check what is happening. Check also there is no problem with SELinux as you can read here: https://stackoverflow.com/questions/24288616/permission-denied-on-accessing-host-directory-in-docker

These are the relevant parts:
version: '3.7'
services:
  isard-office-moodle:
    #image: erseco/alpine-moodle
    build:
      context: ${BUILD_ROOT_PATH}/docker/moodle
      dockerfile: Dockerfile.test
    container_name: isard-office-moodle
    restart: unless-stopped
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${DATA_FOLDER}/moodle/data:/var/www/moodledata:rw
      - ${DATA_FOLDER}/moodle/html:/var/www/html:rw

And the Dockerfile.test:
FROM erseco/alpine-moodle
USER root
RUN chown -R nobody:nobody /var/www/html
RUN chown -R nobody:nobody /var/www/moodledata
USER nobody
COPY rootfs/docker-entrypoint-init.d/02-configure-moodle.sh /docker-entrypoint-init.d/02-configure-moodle.sh
COPY rootfs/isinstalled.php /

Also the relevant part of the modified 02-configure-moodle.sh:
# Check if the config.php file exists
if [ ! -f /var/www/html/config.php ]; then
    echo "Downloading moodle src..."
    curl --location $MOODLE_URL | tar xz --strip-components=1 -C /var/www/html/
    cp /isinstalled.php /var/www/html/admin/cli/
    sh /plugins.sh
    chown -R nobody:root /var/www/html

    echo "Generating config.php file..."

The host OS is Debian and I stopped apparmor also without success. With this configuration it says:
Starting startup scripts in /docker-entrypoint-init.d ...
*** Running: /docker-entrypoint-init.d/01-uname.sh
Linux c46d005c0e8a 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 Linux
*** Running: /docker-entrypoint-init.d/02-configure-moodle.sh
Waiting for isard-office-postgresql:5432 to be ready
 is ready
Downloading moodle src...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   132  100   132    0     0    705      0 --:--:-- --:--:-- --:--:--   709
tar: can't open '.eslintignore': Permission denied
100 42349    0 42349    0     0  80511      0 --:--:-- --:--:-- --:--:-- 80511
curl: (23) Failure writing output to destination
*** Failed with return value: 0

Thanks

You are downloading again the moodle source, maybe, in that case, will be easier to use my parent container alpine-php7-webserver and configure moodle by yourself using this container scripts or your own. It will be smaller and easier to maintain than overwriting this container moodle files.

I donwloaded as I couldn't mount path as volume over the existing one, but if there is a simpler way of doing it with you alpine-moodle image I will do it. But I don't know how.

For doing this using the alpine-moodle container but binding the files you first must copy the files in your folder, for doing that:
Run the container (just to copy files)
docker run --rm -it erseco/alpine-moodle

Copy files to your desired place (${DATA_FOLDER}/moodle/)
docker cp <container_id>:/var/www/moodledata ${DATA_FOLDER}/moodle/
docker cp <container_id>:/var/www/html ${DATA_FOLDER}/moodle/

Stop the container. It will be deleted (--rm) when stopped.
docker stop <container_id>

Run the whole system with docker-compose up using a file similar to this:
version: '3.7'
services:
  isard-office-moodle:
    image: erseco/alpine-moodle
    restart: unless-stopped
    volumes:
      - ${DATA_FOLDER}/moodle/moodledata:/var/www/moodledata:rw
      - ${DATA_FOLDER}/moodle/html:/var/www/html:rw
    environment:
      - LANG=en_US.UTF-8
      - LANGUAGE=en_US:en
      - SITE_URL=http://localhost
      - DB_TYPE=pgsql
      - DB_HOST=postgres
      - DB_PORT=5432
      - DB_NAME=moodle
      - DB_USER=moodle
      - DB_PASS=moodle
      - DB_PREFIX=mdl_
      - SSLPROXY=false
      -<EMAIL_ADDRESS>      - MOODLE_LANGUAGE=en
      - MOODLE_SITENAME=New-Site
      - MOODLE_USERNAME=moodleuser
      - MOODLE_PASSWORD=PLEASE_CHANGEME
      - SMTP_HOST=smtp.gmail.com
      - SMTP_PORT=587
      -<EMAIL_ADDRESS>      - SMTP_PASSWORD=your_password \
      - SMTP_PROTOCOL=tls
      - MOODLE_MAIL_NOREPLY_ADDRESS=noreply@localhost
      - MOODLE_MAIL_PREFIX=[moodle]
    ports:
      - 80:8080
    depends_on:
      - postgres

  postgres:
    image: postgres:alpine
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=moodle
      - POSTGRES_USER=moodle
      - POSTGRES_DB=moodle
    volumes:
      - postgres:/var/lib/postgresql/data
volumes:
  postgres: null

Closing this due to inactivity. Let me know if you still experience this issue.


Multi lines

i cant make this edit text has multilines.

am have the same problem

You should comment out this line - setInputType (InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
in RotatableAutofitEditText class


Add munmap and free to known functions

To my delight, I noticed that -e mmap --total and -e malloc --total work and show how much was allocated instead of how often :tada:. I think this deserves to be documented btw.
It would be cool if munmap and free would be treated the same. That way I could trace those pairs of events and see if they have the same width on the flame graph. Not every call to mmap is a leak, there are libraries that call mmap and munmap directly, e.g. some encryption libraries. It's only a problem if they mmap more than they munmap.

My plan is to generalize counting total of an arbitrary function that takes an integer argument. It will be possible to specify which argument to track: e.g. the first argument of malloc, or the second argument of mmap or munmap.
Unfortunately, free accepts only an address - it's hard to determine how much memory is freed. In theory, it's possible to sample malloc'ed addresses and match them with corresponding free calls - but I'm afraid it falls out of the scope of async-profiler. After all, some native allocators (like jemalloc) already have this feature.

I guess free isn't as important anyway, as mmap is how you see the live set increase.

Added munmap to the known list.
Also, it's now possible to specify which argument to use for total,
e.g. -e sendfile{4} means profile the fourth argument of sendfile().


Fix additional reads of the queueManager field

Is there an easy way to build the natives, so that I can test it?

Ping 😄


Formulations using OPFData

This PR will have all the new formulations. So far, it:

Adds status sampling and removes update!
Combines extract_result and json2h5 to prepare for the standardized extract_result in the new formulations
Allows quadratic objective for ACOPF, SOCOPF, and SOCOPFQuad

CI is expected to fail since the old formulations error when not all components are active.
Note the naming of the duals is changed to match their constraint names (no mu_/lam_ prefix anymore). IMO this is cleaner as they will always be under the dual group since there is no intermediate dictionary step now.
After the formulations are merged, OPFSampler should be updated to operate on OPFData directly.

Dual variable naming: fine by me. The main motivation for using lam, mu and nu was to differentiate equality / inequality / conic constraints multipliers.

@klamike what do you mean by

Export power flow variable bounds

Don't we already export thermal limits in the input data?

@klamike what do you mean by

Export power flow variable bounds

Don't we already export thermal limits in the input data?

I noticed we don't export the duals associated with the bounds on pf/pt/qf/qt in ACOPF. I believe this was to be consistent with the old formulations, which used the reasoning that the bounds are redundant with the thermal constraint. But I think we should export them anyway. It is worth checking the other formulations as well.

I noticed we don't export the duals associated with the bounds on pf/pt/qf/qt in ACOPF.

Oh, dual variables. Yes, we should export them, even if they are mathematically redundant.
I can take care of this, as well as vectorizing the solution extraction.
Can you update the build_opf signatures and drop the internal dict-based data?

Can you update the build_opf signatures and drop the internal dict-based data?

Doing this now :)

🎉🎉🎉


Fix container class used in bookings list (and possibly item list)

With the container class attached, the page cannot scroll down further when the number of rows included in the table increases from 10 to 25, say.

I will not be closing this issue, but this bug cannot be fixed completely. If overflow-y: scroll property is used, a second scroll bar is introduced immediately without anyway to hide it, at least to my knowledge. Otherwise, part of the background will disappear if the page length changes and the page is scrolled to the bottom. A very sly way to handle this is to introduce a design at the top of the page so that it does not look unnatural when the page length changes, though I am not sure if the page will still look ok.

I will not be closing this issue, but this bug cannot be fixed completely. If overflow-y: scroll property is used, a second scroll bar is introduced immediately without anyway to hide it, at least to my knowledge. Otherwise, part of the background will disappear if the page length changes and the page is scrolled to the bottom. A very sly way to handle this is to introduce a design at the top of the page so that it does not look unnatural when the page length changes, though I am not sure if the page will still look ok.


Random Number not reproducible across different OSs

In the Python wrappers, even if I set the number of threads to 1, if colsample_bytree is not 1, I get reproducible but different answers on OSX and in a linux VM. This is the code to reproduce.
import os

import pandas as pd
from xgboost import XGBClassifier

url = "http://goo.gl/j0Rvxq"
dta = pd.read_csv(url, header=None)
y = dta.pop(dta.columns[-1])

os.environ["OMP_NUM_THREADS"] = "1"
xgb = XGBClassifier(n_estimators=2, seed=1, nthread=1, colsample_bytree=.25)
xgb.fit(dta, y)
xgb.predict_proba(dta)

OSX:
array([[ 0.51461989,  0.48538011],
       [ 0.57365119,  0.42634878],
       [ 0.459674  ,  0.540326  ],
       ...,
       [ 0.55308044,  0.44691953],
       [ 0.54698753,  0.4530125 ],
       [ 0.55835366,  0.44164631]], dtype=float32)

Linux:
array([[ 0.50747007,  0.49252993],
       [ 0.56461108,  0.43538889],
       [ 0.49435556,  0.50564444],
       ...,
       [ 0.54864073,  0.45135927],
       [ 0.51801658,  0.48198345],
       [ 0.55179334,  0.44820669]], dtype=float32)

You are using colsample_bytree, it brings randomness during training.

Indeed, but I think the randomness should be reproducible if I set a seed.

It depends. You don't know how the system implement random number generator. On the same system, seed is able to ensure same random number sequence, but cross system it may not.

Why not use a random number generator that does ensure reproducibility across platforms?

The PRNG's implementation do not necessarily to be the same across systems.
I think we might want to switch to c++11's PRNG when the compilation option was on, and hopefully the underlying algorithm will be the same across the system.

FWIW, I think numpy uses the mersenne twister provided by randomkit [1, 2]. I don't know what R does, but I assume they're using some version of the mersenne twister too [3]. There may be some more forward-looking alternatives [4, 5]. I'm not sure about whether the new mersenne twister will the same across c++11 libraries.
I wish I could pitch in here, but I'd have a lot of getting up to speed to do to do it right.
[1] http://js2007.free.fr/code/index.html#RandomKit
[2] https://github.com/numpy/numpy/tree/master/numpy/random
[3] http://thread.gmane.org/gmane.comp.python.numeric.general/57465
[4] http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt64.html
[5] http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/

C++11's random should be mersene twister. I think we want to try to minimize the dependency on additional libraries, so I hope we do not introduce a PRNG dep here.
In R the random seed was simply redirected to R's internal random. I do not know if that was possible in python(i.e. re-used what numpy or python's random uses)

I don't think being able to pass the seed to R or Python/NumPy will solve the problem. I just meant how they solve having cross-platform compatible RNGs.
You could ship the new PRNG if the c++11 random stuff turns out to be platform or c++11 library-dependent. I've seen conflicting information about this. It doesn't appear to be a lot of code. In any case, I think having cross-platform deterministic results is pretty important.

Is the possible "simple" fix to change rand -> std::mt19937 if c++11 is being used?

I think we should try that, there is a MACRO guard that allows us to detect existence of c++11

This is now fixed by the new refactor #736

:+1:

Hello, I used pip to install xgboost 0.6a2 and run the script below in python. When colsample_bytree is less than 1, the resulting probabilities are close but different between Linux and Mac (if equal to 1, everything is perfect). Maybe I'm doing something wrong or the problem remains, thanks for your answer and for your advice?
import xgboost as xgb_real
from sklearn import datasets
from sklearn.model_selection import train_test_split

iris = datasets.load_iris()
X = iris.data
y = iris.target

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

dtrain = xgb_real.DMatrix(X_train, label=y_train)
dtest = xgb_real.DMatrix(X_test, label=y_test)

param = {
    'max_depth': 3,
    'eta': 0.3,
    'silent': 1,
    'objective': 'multi:softprob',
    'subsample': 1,
    'colsample_bytree': 0.5,
    'seed': 12,
    'num_class': 3}

num_round = 20

bst = xgb_real.train(param, dtrain, num_round)
preds = bst.predict(dtest)

print(list(preds[:2]))

# Mac : [array([ 0.00745611,  0.95884031,  0.03370364], dtype=float32),
# array([ 0.98071623,  0.01367668,  0.00560714], dtype=float32)]

# Linux : [array([ 0.00905498,  0.96994174,  0.02100325], dtype=float32),
# array([ 0.97895575,  0.01572219,  0.00532213], dtype=float32)]


[all] Set up changesets

Installs @changesets/cli so that it can be run with npx changeset
Commits the result of npx changeset init
Changed config:

"access": "public",  "baseBranch": "main",  "updateInternalDependencies": "minor",

Adds a release action

I also set up on GitHub:

Created a new environment named Changesets
Generated and installed an NPM_TOKEN secret

@kevinpschaaf I figured out how to get dependencies updated. I think this is ready to merge now


fix(NgInlineSvg): compatibility with Angular 4.3

BREAKING CHANGE: the module is now only compatible with Angular 4.3+ because it uses HttpClient instead of Http
Changes code so that it uses Angular's new HttpClient module instead of the soon to be deprecated Http module. Allows alls users of Angular 4.3+ to move to the new http module without having to package both, the old and the new modules, in production builds.

I was aware of the new module, but I wasn't aware that the old was deprecated. Did they officially say that?
While I would look to move to newer stuff at some point, it annoys me that it's so hard to support older versions of Angular at the same time.

Sorry, I've misunderstood this part. No, they didn't say that. But the interceptor support and the on-by-default XSRF protection are features that one doesn't want to miss.
Ngx-translate also made the transition and having to package both Http modules is not very practical.
I know that support for old versions is very important and this is IMHO the biggest issue with angular's development cycle since they went 2-beta. To be honest, I start to really dislike angular for this attitude.

I think I'll hold off for now until Angular 2 is a bit less common. I'll keep this PR around though, for whenever that is. :P

You could leave a big fat notice in the readme that clarifies that users of Angular <4.3 have to install the previous major version, like many other projects did. Or you could release this version under the @next dist-tag. This way users of both versions of the framework could use your lib without problems with the users of Angular >=4.3 being able to explicitly opt-in.
I just don't think that for most projects it's acceptable to have both Http libs in their bundle.

This PR is a must for those who need to move on with Angular 4.3.x which is stable enough and also provides new http related features. Please merge it.

Published as v4.0.0.


Fixes #969 - Added Scope info for enabling aliases

Fixes #969
Added a reference about using the Scope parameter to persist AzureRM aliases across PowerShell sessions.

Docs Build status updates of commit fee85b5:
:clock10: Pending: waiting for processors (62 builds ahead of you)
:warning: Docs Build is busy, currently there are 62 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit fee85b5:
:clock10: Full build: the average full build time is 27 min(s) 6 sec(s), this is based on the last 382 build(s) for this repository.

Docs Build status updates of commit fee85b5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-3.8.0/new-azureps-module-az.md
:white_check_mark:Succeeded
View (azps-3.8.0)

docs-conceptual/azps-4.1.0/new-azureps-module-az.md
:white_check_mark:Succeeded
View (azps-4.1.0)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Integrate/dh new

Pull Request Test Coverage Report for Build 1032

95 of 95 (100.0%)  changed or added relevant lines in 18 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 88.474%

Totals

Change from base Build 1016:
0.2%

Covered Lines:
6437

Relevant Lines:
7047

💛  - Coveralls


Do not show nums or:ed with 0 if any bits are set

Version and Platform (required):

Binary Ninja Version: 4.3.6509-dev

Bug Description:
BN displays enums as or:ed bitfields when used, and when 0 is named in the enum that is always or:ed in. This is arguably technically correct but also reduces readability for no good reason.
Steps To Reproduce:
Define enum with 0 and something else. Use it with the variable set to anything but 0.
enum flags : uint32_t
{
    WRITABLE = 0x1,
    READABLE = 0x2,
    WARPABLE = 0x4,
    NONE     = 0x0
};
...
subspace_open(fd: 42, flags: READABLE | WARPABLE | NONE)

Another more obviously unhelpful example from Slack:
enum Bool : uint8_t
{
    YES = 0x1,
    NO  = 0x0
};
...
featuresHaveBeenInitialized = YES | NO

Expected Behavior:
If any bits are set, do not show the 0:
subspace_open(fd: 42, flags: READABLE | WARPABLE)
Additional Information:
This could be made a display option, but before going that route, try to figure out a real world example where having 0 or:ed in would be useful. At the very least it should not be the default.

When trying to make a minimized binary, this did not reproduce. Turns out if the 0 is defined at the top of the enum it will not be displayed. If it's at the bottom it will.

open-example.tar.gz
Small test that just opens a file and reads 10 bytes from it to make sure nothing is optimized away. Linux-x64 binary and source included. Define an enum and set the type of oflag in open():
enum oflags : uint32_t
{
    O_RDONLY = 0x0,
    O_WRONLY = 0x1
};
=>
read(fd: open(file: "/tmp/foo", oflag: O_WRONLY), buf: malloc(bytes: 0x64), nbytes: 0x63)

Redefine the enum and reanalyze the function to see the bug:
enum oflags : uint32_t
{
    O_WRONLY = 0x1,
    O_RDONLY = 0x0
};
=>
read(fd: open(file: "/tmp/foo", oflag: O_WRONLY | O_RDONLY), buf: malloc(bytes: 0x64), nbytes: 0x63)

Looks like this happened when an enumeration had a value 0 enumerand after other enumerands, The rendering code masked out all the other enumerands from values and matched the 0 value, but it didn't get caught by the special case 0 rendering because the value wasn't originally 0... Now it checks for this.

Can confirm that this seems fixed in latest dev. Many thanks!


.vs/ChakraCoreHost/v14 should not be in the repo

The . folder and the suo file should not be in the repo right?

Thanks @SneWs ! You're absolutely right. Fixed with https://github.com/Microsoft/Chakra-Samples/commit/971db1035e4ec6407186103b3e32978a903da2c5


Heimdall not working in El Capitan

Heimdall not installing properly and not recognized by Terminal (Screenshots attached)

Yeah, definitly still an issue. Here's a possible work around though: https://github.com/Benjamin-Dobell/Heimdall/issues/291

Closed as there's an existing issue, and solution (linked above).

I appreciate the prompt reply.


Flutter app fails to run on Android and iOS due to UnmodifiableUint8ListView error and CocoaPods issue with RunnerTests target.

While reading the documentation on Flutter Isolates and reviewing the example on isolate_agents, I eventually landed on the romeo_juliet repository, as it appeared to be the only available source demonstrating how this package should work. However, I encountered issues when trying to run the example app, and it does not function as expected.

Android Emulator: The app fails to build with the following error:

../../../../.pub-cache/hosted/pub.dev/win32-3.1.2/lib/src/guid.dart:31:9: Error: Type 'UnmodifiableUint8ListView' not found.
  final UnmodifiableUint8ListView bytes;
        ^^^^^^^^^^^^^^^^^^^^^^^^^

Android Emulator details:

API: 30 (Android version 11)
Device: Medium Phone
Google Play Store enabled

iOS Simulator: The app fails with a CocoaPods error, preventing the app from launching:

[!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`.

Additionally, there's an automatic platform assignment warning:
Automatically assigning platform `iOS` with version `12.0` on target `Runner` because no platform was specified.

iOS Simulator details:

Device: iPhone 16 Plus
Platform: iOS 12
Steps to reproduce:

Clone the repository: https://github.com/gaaclarke/romeo_juliet
Follow the "Getting started" guide.
Run flutter run on Android and iOS platforms.

Environment:
Flutter version: 3.24.3
Dart version: 3.5.3
Android Emulator API: 30
iOS Simulator: iPhone 16 Plus
MacBook Pro with macOS (Apple Silicon M1)
Could you please advise on how to resolve these issues? Should any configuration changes be made to the project to address the UnmodifiableUint8ListView error on Android and the CocoaPods issue with the missing RunnerTests target on iOS?

Thanks for the report, I've fixed it.  This was just because of bit rot.  The fixes were:

Remove the platform files from the repo so they can't get out of date.  People can generate them with flutter create .
Update path_provider.  This is unfortunate that such fundamental functionality can rot.


Runtime linting

Would be nice if we could pass the runtime configuration yaml and the plugin schema yaml to the linter in say a hook to validate if the correct configuration schema was passed. We currently have to validate this in the plugin itself. Or is there already a solution for this?

That can not be implemented in the linter because it is not part of the normal execution path in a normal step or plugin.
But it is such a good idea that it is already implemented in the agent (but turned off by default)

Thank you


feat: update hover in Button and IconButton [MDS-957]

Release should be properly communicated with the casino team @dkireev


convert_model_caffe_torch

Thanks for your nice code and wonderful works! @gulvarol
I noticed that you converted the C3D caffemodel into torch model. Could you please share the code that
convert the torch into caffe and the the code that convert caffe into torch?
Thank you in advance!

Sorry for the late reply. Yes, I converted C3D caffemodel into torch model (but not torch into caffe).
Here, I added some information about how I did this. You can find the corresponding files here: https://github.com/gulvarol/ltc/tree/master/c3dtorch


Fix test and update tools

This fixes an assertion that is always false and updates the Android Gradle Plugin version.
CI servers issue about android-23 and hard coded timeouts is solved in this plugin version.

Wuhuuu


TODO/BUG: Jet numbers wrap around in jet list

The jet numbers in the table at https://zenodo.org/records/10531587 are sorted by identifying spacecraft and the numbers wrap around; i.e., "jet 11" refers to multiple jets. Since jets are indexed by jet number in the code here, this is surely generating problems....

[ ] In jet notebook, rename 'Jet Number' column as 'Original Jet Number'.
[ ] Replace contents of 'Jet Number' column with numerical index of jets in the table I create.
[ ] Upload new versions to Zenodo, and include description of the change in Zenodo abstract on new dataset.
[ ] Update references to Zenodo dataset in this notebook

Note: As of now, I haven't updated the jet numbers in Zenodo. Have to consider whether that will lead to less confusion or more in the future.


Create a new release/tag with podspec file

Hi,
I'm using cocopods 0.36 beta 1 to manage dependencies in my Swift project, this project has ObjectMapper as dependency and I missed a release with podspec file, can you create a new release based on master branch which already has the podspec file commited?
Thanks!

Hey there,
I've added a new release tag and updated the podspec.
Let me know if you have any issues.
Tristan


Query view shouldn't return columns

I just noticed that https://latest.datasette.io/fixtures/roadside_attraction_characteristics.json?_labels=on&_size=1 returns:
{
  "ok": true,
  "next": "1",
  "rows": [
    {
      "rowid": 1,
      "attraction_id": {
        "value": 1,
        "label": "The Mystery Spot"
      },
      "characteristic_id": {
        "value": 2,
        "label": "Paranormal"
      }
    }
  ],
  "truncated": false
}

But https://latest.datasette.io/fixtures.json?sql=select+rowid%2C+attraction_id%2C+characteristic_id+from+roadside_attraction_characteristics+order+by+rowid+limit+1 returns:
{
  "rows": [
    {
      "rowid": 1,
      "attraction_id": 1,
      "characteristic_id": 2
    }
  ],
  "columns": [
    "rowid",
    "attraction_id",
    "characteristic_id"
  ],
  "ok": true,
  "truncated": false
}

The columns key in the query response is inconsistent with the table response.

It also bothers me that ok comes first in one but not first in the other - I'd like the order of keys in the JSON to be consistent, even though order isn't meant to mean anything.

I'll make ?_extra=columns work in:

#2113

I made an initial attempt at this in a branch, but it broke too much other stuff.

I'm going with a bit of a hacky workaround for the moment, until I get a chance to refactor this:

#2137


clean up text and checkbutton styles

Most of will be soon obsoleted by the skin tag, but it also fixes a small bug with checkbuttons so should probably go in.

:+1:


Support more Tower credential types

Get the other Tower supported credential types into Embedded_ansible as well.
Plus using the shared examples and cassettes from manageiq-providers-ansible-towr and removing the duplicated set in manageiq

@miq-bot add_labels enhancement, fine/yes


Improvement to strings using label

Hi @jbondpdx — please review the propose changes in issues.rb only.
Thanks!

superceded by this pull request: https://github.com/puppetlabs/puppet/pull/7390


Feature/exclude forms from search

Block search engine crawling and indexing
Add robots.txt file to prevent web crawling.
Add X-Robots-Tag header to prevent search engine indexing.
The X-Robots-Tag header has the same effect as the meta tag <meta name="robots" content="noindex,nofollow">
except the former applies to all content types, not just HTML files.
X-Robot-Tag: none is equivalent to noindex, nofollow, telling robots not to index, follow links or cache.
Story: https://trello.com/c/hjW5ZHPM/1425-exclude-all-forms-from-search-results

good stuff. are we also going to add <meta name="robots" content="noindex,nofollow"> to the templates?

nevermind! i should read the PR message first 😛