Mimicking the "AlphaZero" paper

This commit adds a number of overhauls, all with an eye towards the latest AlphaZero paper by Silver, Hassabis et. al. Roughly, these are:

I've changed the chess position feature representation to the input stack described in "Mastering Chess...". Notably, in the previous version, the board failed to oriented to the perspective of the current player, an intervention which seems crucial. The history depth (AlphaZero uses T = 8) is also easily modifiable, for testing purposes.
The output "action space" has also been changed to match the description in "Mastering Chess". In particular, we use an 8x8x73 stack, where depth of the stack indicates the relative position of the target square to the source square.
Following "Mastering Chess", the evaluation step has been eliminated, and newly generated models automatically supplant existing ones. The "evaluate.py" file has been preserved; now, on the other hand, it simply provides the (helpful for testing) functionality of comparing the present model against prior ones.
I've hashed the move generation process, leading to speedups in self-play and evaluation.
The distributed training functionality has been temporarily disabled. I will reenable this according to the new paradigm if results look good.

Very good work!!

I've detected a bug in optimize.py line 166.
state = env.gather_features(self.config.model.t_history)
gather_features() always return a state with all t_history planes to zero except the current board state. I think just with a fen board you cannot reconstruct the 8 former steps in order to form the planes like DeepMind did.
You can do it in player_chess.py in line 183 but that's because you have all previous steps game follows, but in the optimize you just read a fean board from the saved play data files and that's not enough I think to fill the 8 previous step planes.
You could try doing in optimize.py something like this:
        state_list = []
        policy_list = []
        z_list = []
        aux_move_number = 1
        movements = []
        for state, policy, z in data:
            move_number = int((ChessEnv().update(state, movements)).board.fen().split(" ")[5])
            if aux_move_number < move_number:
                if len(movements) > 8:
                    movements.pop(0)
                movements.append(env.observation)
                aux_move_number = move_number
            else:
                aux_move_number = 1
                movements = []

            env = ChessEnv().update(state, movements)  #or something similar to feed the former movements
            .....
            .....

Samuel, great catch, thank you. I'll look into working out this fix as soon as I can.

Benjamin I think that the function gather_features() is not working well neither in "player_chess.py". I've follow the trace of a MCTS and you never fill more than 2 planes in the history even if there are 5 o more movements. I sent you an email about this.

Also, Benjamin. You did not re-normalize the legal moves as DeepMind does in the paper. The easiest way is in player_chess.py add this into select_action_q_and_u():
    # re-normalize in legal moves
    p_ = p_ * legal_moves

    if np.sum(p_) > 0:
        p_ = p_ / np.sum(p_)

Finally, DeepMind says they finish any game of self-play lasting more than the mean chess number of movements. I.e.; if after X movements (paper does not say which) the game is still not over, they finish it and assign a "draw" to the result. I think this is easy to implement.

Samuel, I indeed perform the normalization during the expand_and_evaluate process (that way we do it just once). see the code:
        leaf_p = leaf_p * legal_labels  # mask policy vector and renormalize.
        leaf_p = leaf_p / sum(leaf_p) if sum(leaf_p) > 0 else leaf_p

(I've just now added the divide-by-zero check as you suggested, this will be implemented in the next commit.)
I'm a little bit wary of assigning draws, because the fewer draws the better as far as getting strong training signals. But you're right that it would be easy; I will think about this.
As for the issues with gather_features, I am addressing those now.

Good job, @benediamond. I really think you are doing a great job and that you will finally get it if you continue in this way.

@Zeta36 Thank you!
And yes, the problem is that in self_play.py line 59, we pass only the FEN to the ChessPlayer:
            action = ai.action(self.env.fen)

I will fix this as well as in the convert_to_training_data case.


Nothing happens after displaying `nohup: redirecting stderr to stdout

this is from run.sh, nothing happens after showing the above text. I've removed --headless but no browser showing on screen. Any suggestion where should I check?

Thank you for your interest in our work. To avoid losing the logs, we used the nohup command. So can you show what is recorded in the log? If you used run.sh, there should be a "test_task.log", and under the results folder there will be the corresponding task folder, in which there is also an "agent.log".

Sorry for the late reply.
It seems to be a chromedriver version mismatch. I wonder if it is related to the version of Selenium. Because in the latest version it is no longer required to give the path of chromedriver. So please check the Selenium version>4.10.
Or you can try to download the latest chromedriver from https://googlechromelabs.github.io/chrome-for-testing/ , and replace the old chromedriver.

I see the Claude computer use pattern  and am amazed by the rapid development of closed-source models. Claude is actually more general and human-like, not limited to just web pages but capable of interacting with various apps. I think it is a future research trend. Also, It uses coordinate points to operate in a specific position. These points have been mentioned in papers such as AppAgent and CogAgent. However, achieving excellent results remains quite challenging. I am skeptical whether Claude can navigate through a large number of steps on browsers without errors and maintain a good performance.
We design the Observation with set-of-mark in WebVoyager because we find the current abilities (visual grounding and reasoning) of multimodal models are not strong enough, so we have simplified observations as much as possible, allowing the model to simply select the elements it wants to access. From researchers's perspective, we find the multimodal setting is feasible. I also acknowledge that Agent frameworks like WebVoyager should make changes to adapt to new models. If new released models are able to provided the specific coordinate points, we can do more kinds of actions like dragging. However,  prompt is easy to change, but achieving a more general framework may require strong engineering capabilities since the model only provides input and output while the implementation of actions still relies on the framework.
Furthermore, for current Open Source multimodal models, WebVoyager remains a good framework. We still do research on training open-source multimodal models with WebVoyager trajectories to break down some barriers of closed-source systems.


doc: add period to Plotly docstring

📝 Summary
Adds a period to the plotly docstring. In the docs it ends up looking like a typo:

Looks like convention is to end each param definition without a period, though, so I haven't added periods where the description is only one sentence.
📋 Checklist

[x] I have read the contributor guidelines.
[x] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
[x] I have added tests for the changes made.
[x] I have run the code and verified that it works as expected.

📜 Reviewers

@akshayka OR @mscolnick

I have read the CLA Document and I hereby sign the CLA

thank you!


feeat: update ThornodePoolResponse to the latest /lcd/thorchain/pools schema

Current dependencies on/for this PR:

main

PR #1152   👈

This comment was auto-generated by Graphite.


Unable to exit VS Code with a conflicted notebook

Steps to Reproduce:

Make an edit to a notebook in two places
You can never exit VS Code 🐛 https://memes.peet.io/img/20-08-47154de7-a07c-48b5-bd36-9a0a2a52ff65.webm

I'm not seeing issues in today's Insiders or OSS. Can you share a bit more info about how to reproduce this issue? especially your settings of auto save / hot exit.

I have auto save set to after delay, but no hot exit setting. I'll see if I can repro in a bit or in the morning

I can't seem to get a repro for this.


fix(dev): strip utf-8 bom (#3162)

Description
fix #3162
recommit this PR https://github.com/vitejs/vite/pull/814
vite build has no such problem, so only  importAnalysis.ts needs to be modified.

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Is it possible to add a test for this?

Is it possible to add a test for this?

Hi, I've added a unit test. Please  review it, Thx!


Add new compilation methods to QuantinuumBackend that allow choosing target 2qb gate and implicit swap in compilation

Just some minor comments. What did we decide about the extra option (sorry I've forgotten its name) that means "no, really I do want you to use this gate"? Are we going to expose it in process_circuits() and submit_program()?

Yeahp that's the plan, it in process_circuits() and submit_program()- my understanding is that a combination of no_optandno_reduce` can be passed that guarantees nothing further happens.

Just some minor comments. What did we decide about the extra option (sorry I've forgotten its name) that means "no, really I do want you to use this gate"? Are we going to expose it in process_circuits() and submit_program()?

Yeahp that's the plan, it in process_circuits() and submit_program()- my understanding is that a combination of no_optandno_reduce` can be passed that guarantees nothing further happens.

OK, should we add the new option to those methods in this PR or a later one? I assume it will be treated similarly to no_opt but default to True? (I also don't think the name no_reduce is very enlightening...)


⚠ DDoS-Relay US-W-hil-2 has degraded performance

In 795dd3b, DDoS-Relay US-W-hil-2 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 115 ms

Resolved: DDoS-Relay US-W-hil-2 performance has improved in d1d8668 after 7 minutes.


Is it possible to extract the text in the comments, for each post?

Hello!
The script is working great, thank you.
I have a question, if it it possible to extract also the comments, for each post?
Thanks and congratulations!

Hi there, thanks for creating this issue! This is definitely a feature that’s currently missing and would make a great addition to the project. I’ll take a look somewhere in the coming weeks to add this feature. Feel free to create a merge request in the mean time if you’d like to get started implementing this yourself or together!


Create bower.json

I want to resolve #11 issue.
So, here we go, bower.json is added. To publish package in bower repo you need to merge this pr and then run following command from your repo folder:
bower register web-animations-js git@github.com:web-animations/web-animations-js.git
And also you must update 1.0.5 tag.
That's it, it should be in bower :)

:+1: I'm using it with bower, but specifying the github repo+tag/branch it's not the most convenient way to do it.

Hi,
Sorry for the slow response - I did not see this patch until today. We've had a few requests for bower support for the project and we're happy to have it.
Please re-submit this patch to web-animations-next, as web-animations-js is our release channel.
NB: We just pushed release 1.0.6 :)


Add a helper function to extract extension from the media URL

Fixes

Related to #536 by @obulat
Description

This PR extracts the function to get an extension (filetype) from the media URL. It also adds filetype validation to make sure that we use a single variant of the filetypes that have several valid variants: jpg for jpeg/jpg and tiff for tif/tiff.
Testing Instructions

This PR is the basis for the other data normalization PRs, and it is tested there :)
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

This looks great! Do you know why the tests are still failing?

Yes :( I've changed the MockImageStore's add_item so that it's returning the item instead of the number of items. And there are several tests that are expecting the number.

I set the priority for this PR as high because there are several other PRs for adding filetype to provider scripts that depend on it.

LGTM, and sounds good about deferring further test cleanup to a future PR 👍

Thank you, @stacimc! I've opened an issue for that.


[WIP] delegate pool_names_completed variable to all ceph nodes

As we check if pool_names_completed is defined on osd nodes, so we
should delegate the variable to all osd nodes. I also delegate the
variable to ceph monitor nodes for potential case.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Tested on tardis-sl by using VM

ok to test

👍


(BKR-626) added puppet-agent doc links

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/1921/
Test PASSed.


Update django 316

Summary
User story: #85
Django version updated to 3.1.6. Seems to work ok. Except that when using docker I got message "Invalid HTTP_HOST header: '<IP_ADDRESS>:8000'. You may need to add '<IP_ADDRESS>' to ALLOWED_HOSTS.". I added <IP_ADDRESS> allowed hosts in settings.py. Works ok after that. ok solution?
How to test
Test that everything works ok.

Looks good but we should remember to make this setting for development version only. This should not get passed to production.

Hold on, now when running outside docker, comes this error message: "Invalid HTTP_HOST header: '<IP_ADDRESS>:8000'. You may need to add '<IP_ADDRESS>' to ALLOWED_HOSTS.". It does not appear if there is no <IP_ADDRESS> in allowed hosts (list is empty). Should we add <IP_ADDRESS> in allowed host or something else??

OK. Perhaps solution this: list is empty. When using docker, use address http://<IP_ADDRESS>:8000/ instead of what docker suggest: "Starting development server at http://<IP_ADDRESS>:8000/"?

I think both addresses can be added to the list. At least, there are some examples where that has been done.


bumped version of gql_code_builder

Current version cant be used in app's with analyzer 2.0.0
This update will fix this

Thanks for your contribution!

Sorry, I had to revert it again. Can you elaborate on what you mean by not working with analyzer?

Sorry, I had to revert it again. Can you elaborate on what you mean by not working with analyzer?

So, because dizraptor depends on both analyzer ^2.2.0 and graphql_codegen ^0.4.8, version solving failed.
pub get failed (1; So, because dizraptor depends on both analyzer ^2.2.0 and graphql_codegen ^0.4.8, version solving failed.)```

@WDtms, I've published a new version with the alpha dependency (0.5.0-alpha.0)


Adapt to Activity Log API improvement

Depends on https://github.com/microsoft/vscode-azuretools/pull/1208

These changes aren't needed! 💯


Package monadplus does not build under ghc 8.6

Package monadplus does not build under ghc 8.6.
Is this package still actively maintained?

Have a look at the "Added Semigroup instance" pull request. I applied a similar fix to my local copy.

GHC 8.6 is very old now, and I think outside the support window for this library. I'm going to close this now.


Language comparison snippets

It would be very useful to have a table in the wiki comparing some common patterns in Hypatia, Elm and Purescript. See e.g. the Reason/OCAML comparison at https://facebook.github.io/reason/mlCompared.html or http://adam.chlipala.net/mlcomp/
Thanks!

Hello Conrad,
I saw, that you added me to your list of languages compiled to Lua. Thank you!
Also thanks for your suggestion.
I could only compare the languages on the outside, because I have not used Elm or Purescript yet, even though I always keep an eye on their development.
However, comparing their semantics would be more interesting.
Would you need this comparison for your list and/or are you interested in using the language?
Regards
Janosch

Hi Janosch,
I'm interested in finding an ML-like language that integrates well with Lua, in the same way that Moonscript or Urn does. Having some comparison code makes it easier to evaluate and learn the language.
So to answer your question explicitly: it's not for my list, but I am interested in the language. The aim of the list is to help me find a language to use, and maybe bring together some language authors to collaborate.

I'm also interested into having a ML style language that compiles to Lua, and Hypatia seems to be the only one in active development. I want to use it to create NeoVim plugins, so being able to define bindings to external Lua functions is very important.
Having prebuilt binaries will also help with the adoption of the language IMO


add i18n to project

i should find best way

we shouldn't use i18n inside of the player and The user must pass everything from within the app, whether it's an icon or a text


Add updated performance report

Proposed changes
This PR adds a new performance report, since the latest one predates important performance enhancing changes in the code.
This PR also identified #253 and had to circumvent it to make the actual capture of metrics.
This results need to be independently replicated before merging.

Type of change

[ ] 🐛 Bugfix (change which fixes an issue)
[ ] 🚀 Feature (change which adds functionality)
[x] 📚 Documentation (change which fixes or extends documentation)

Checklist
Put an x in the boxes that apply. This is simply a reminder of what we will require before merging your code.

[x] Lint and unit tests (if any) pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] All commits have been signed for DCO

@hidmic @nahueespinosa since these results are so much different from the latest ones we got, and I can't really explain all the differences, this needs to be thoroughly reviewed and replicated before merging.

Forget about it.
The launch files are broken, all the measurements are using the same configuration.


Exposed UIColor extensions conflict with other frameworks.

I am using another UIColor extension framework to manage colors in my app. When pulling your library in, your UIColor extensions cause a conflict and ambiguity error that I cannot get around. Is there a solution to get around this. It doesn't seem like your UIColor extensions need to be publicly available in this framework.

Sorry wrong framework.


Issue with parsing of multiple scenario outlines in a row with tags

There appears to be an issue with Gherkin parsing multiple scenario outlines in a row where there are multiple tags at the top of the second scenario outline. I am running on version 3.1.1. See example file and walk through of code below:
Example file:
@ff001_tc01
@blah
Scenario Outline: blah blah
    Given <blah>
    When blah
    Then blah

    Examples:
        | blah   |
        | blah1 |
        | blah2 |

@ff001_tc02
@blahblah
Scenario Outline: blah blah
    Given blah

The following error gets thrown in the second scenario outline:
expected: #TagLine, #ExamplesLine, #Comment, #Empty, got 'Given blah'
The issue is that when it is processing the Examples rows and then reaches the first tag on the second Scenario Outline, it is in the match_token_at_27 function in parser.rb and hits the match_Tagline. It does the lookahead_0 and ends up putting the @blahblah piece into the context.token_queue. Then, as it continues on, it ends up processing the Scenario Outline line and then reading the @blahblah piece which is where it gets messed up since a tag cannot come after a Scenario Outline.

This problem only exist in the Ruby version of the parser, see https://github.com/cucumber/gherkin3/compare/ruby-scenario-outlines-with-tags.

Thanks @ucv4 and @brasmusson. Fixed in d516035f18c5a54cd9c5a060e8bd649fbdc92469

And gherkin 3.1.2 is released with this fix.


Add support for Organization-related endpoints.

Includes advisories issued by an organization.
Simplify some of the from_entity ish to avoid unnecessary Result<Option>
Clean up API paths on openapi, etc, a bit.

Yah I have a TODO for that.
Be aware a vuln has no inherent severity and will be blank if there's no advisory yet.
I'll amend with code and tests demonstrating the various cases.

Be aware a vuln has no inherent severity and will be blank if there's no advisory yet.

I see. So by design a Vulnerability might not have a severity assigned right? That sounds odd, I was expecting all Vulnerabilities to have a severity. If that is how things are designed, may I suggest that instead of an "empty string", for vulnerabilities without severity, we use "null"? If you see the image I shared above severity="", but severity=null looks better.
If this is something to be done in another PR I am fine merging this one and then addressing the severity in a separate PR.

But if I hit GET /api/v1/vulnerability then I get aggregated_severity for each Vulnerability

Can we be consistent in the naming?

Oh, that's exactly intentional.
A vulnerability is just a name. It has no particular inherent severity or score, ever.
An advisory may express an opinion about a vulnerability, with a score/severity. In fact, a single advisory may express multiple opinions about multiple vulnerability within its context. When you load an advisory, the vulnerabilities under it are its own opinions (and no other) about the vulnerability.
From the advisory end of the stick, the context is only and exactly that advisory. So any vulnerability underneath it is filtered by that context of that particular advisory.
From the same advisory context, the average_* data is simply the average of all of its own opinions about a vulnerability, without accounting for any other advisory's opinions.
When you start from vulnerability roots, though, the average is an actual average, of all advisories and all of their opinions about the vulnerability, which is why it's average_*.

Judging from the CSAF spec 2.0: https://docs.oasis-open.org/csaf/csaf/v2.0/cs01/csaf-v2.0-cs01.html#3212-document-property---aggregate-severity

Aggregate severity (aggregate_severity) of value type object with the mandatory property text and the optional property namespace is a vehicle that is provided by the document producer to convey the urgency and criticality with which the one or more vulnerabilities reported should be addressed. It is a document-level metric and applied to the document as a whole — not any specific vulnerability.

I would interpret this is an information covering the document itself, not it's vulnerabilities, nor their average.


Drop User ID Column from Tables in Settings (Issue #25483)

Remove User ID Column from tables in the following locations in settings:

Manage Streams // Subscriber Tab
Manage Streams // New Stream // Subscribers
Organization Settings // Users
Organization Settings // Deactivated Users

The original Issue mentions linking cards to user names where they aren't already

Stream settings -> Create stream > Subscribers

As a prerequisite for this one, we should make user names in this table link to user cards as well.

But this was fixed by a separate issue, #25725
Fixes: #25483

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Thanks for your work here, @acolloredo! Please look into rewriting your commit history without that merge commit. This documentation might be of use: https://zulip.readthedocs.io/en/latest/git/troubleshooting.html#undo-a-merge-commit

Hi @karlstolley! Commit history should no longer have any merge commits. Thank you for the review!


ioreg: rename expr_u64 -> expr_usize

Closes #274
This method now returns usize do to upstream changes in what rust expects from a fixed length vec type definition.

:+1:


Add recommended resource specs to README

We should add a note to the README that 4GB+ RAM is the recommended configuration for Minikube.

Done


Create opam files upon release

Creates some opam files that can be copied into main repo. This allows projects to pin the opam files right from our git repo even if we don't publish the packages. But also, now we can publish the opam packages.

Getting a couple OPAM errors trying to install these:
[WARNING] Failed checks on utf8 package definition from source at git+file:///Users/anmonteiro/Documents/github/reason-native#CreateOpamFilesUponRelease:
    error  3: File format error in 'depends' at line 12, column 2: expected pkg-formula
  warning 36: Missing field 'bug-reports'
  warning 47: Synopsis (or description first line) should start with a capital and not end with a dot
[WARNING] Failed checks on unicode package definition from source at git+file:///Users/anmonteiro/Documents/github/reason-native#CreateOpamFilesUponRelease:
    error  3: File format error in 'depends' at line 12, column 2: expected pkg-formula
    error 42: The 'dev-repo:' field doesn't use version control. You should use URLs of the form "git://", "git+https://", "hg+https://"...
[WARNING] Failed checks on unicode-config package definition from source at git+file:///Users/anmonteiro/Documents/github/reason-native#CreateOpamFilesUponRelease:
    error  3: File format error in 'depends' at line 12, column 2: expected pkg-formula
    error 42: The 'dev-repo:' field doesn't use version control. You should use URLs of the form "git://", "git+https://", "hg+https://"...

I think the script should be fixed to at least output the correct dependencies (they need to be in quotes, i.e. "dune" instead of dune)


Adding in my server

I would love to have it in my server also

Hey Harshit! I'm going to add a database sometime this week. It'll be available for other servers once I add it.

Sure. Thanks a lot 😀
On Mon, Dec 28, 2020, 13:38 Andrei Dimaano<EMAIL_ADDRESS>wrote:

Hey Harshit! I'm going to add a database sometime this week. It'll be
available for other servers once I add it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andreidimaano/Calcifer/issues/10#issuecomment-751624647,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARIZPJXM7JEDKZXQU2ADRYLSXA4INANCNFSM4VLUSVSQ
.

Sure. Thanks a lot 😀
…
On Mon, Dec 28, 2020, 13:38 Andrei Dimaano @.***> wrote: Hey Harshit! I'm going to add a database sometime this week. It'll be available for other servers once I add it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARIZPJXM7JEDKZXQU2ADRYLSXA4INANCNFSM4VLUSVSQ .

Hey Harshit I was able to add the database! :) Feel free to add the bot to your servers.
https://discord.com/oauth2/authorize?client_id=781277794826715176&scope=bot

Sure. Thanks a lot 😀
…
On Mon, Dec 28, 2020, 13:38 Andrei Dimaano @.***> wrote: Hey Harshit! I'm going to add a database sometime this week. It'll be available for other servers once I add it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARIZPJXM7JEDKZXQU2ADRYLSXA4INANCNFSM4VLUSVSQ .

Hey Harshit I was able to add the database! :) Feel free to add the bot to your servers.
https://discord.com/oauth2/authorize?client_id=781277794826715176&scope=bot

I would love to have it in my server also

Hey Harshit! I added the Database. Feel free to add it to your server! https://discord.com/oauth2/authorize?client_id=781277794826715176&scope=bot

I would love to have it in my server also

Hey Harshit! I added the Database. Feel free to add it to your server! https://discord.com/oauth2/authorize?client_id=781277794826715176&scope=bot

Awesome, thanks!
On Fri, Jan 1, 2021 at 10:54 AM Andrei Dimaano<EMAIL_ADDRESS>wrote:

Closed #10 https://github.com/andreidimaano/Calcifer/issues/10.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andreidimaano/Calcifer/issues/10#event-4160643867,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARIZPJXOG47NLAKU2WBZO7LSXVMA3ANCNFSM4VLUSVSQ
.

Awesome, thanks!
On Fri, Jan 1, 2021 at 10:54 AM Andrei Dimaano<EMAIL_ADDRESS>wrote:

Closed #10 https://github.com/andreidimaano/Calcifer/issues/10.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andreidimaano/Calcifer/issues/10#event-4160643867,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARIZPJXOG47NLAKU2WBZO7LSXVMA3ANCNFSM4VLUSVSQ
.


Animation

How to add animation to list items when sorting?
Would be great to get something like this: http://rubaxa.github.io/Sortable/

Bump! Agreed.

+1

+1

The linked directive actually performs the move while we are dragging the element over the dropzone. This is something we don't want to do because it is not consistent with the native drag & drop behavior.
However, we could look into animating the placeholder element when it changes position. I'm open for suggestions on how to do that.

Any ideas? I'm feeling that this library gives the user a bit of a "clunky" experience when trying to drag-drop stuff in lists. Some smoothening animations would probably help alot. Any pointers where to start?

If you want to create beautiful animations, you probably want to use a pure JavaScript drag & drop library. The HTML5 API doesn't give us too much control over the look and feel.

Any suggestion to make a smooth transition?


Build flag order needs to be kept

Currently there is no guarantee that e.g. "-I incpath2 -I incpath1" will be passed in that order when building since a set<> is used internally.
The build system first needs to be reliable, predictable and deterministic.

Hi @slhultgren,
Thanks for the PR.
Do you have a concrete use case to describe the problem you want to tackle?
I believe we should separate the discussion in two items:
1. The user having control over include path order
Please note the order of components process in RTE Model is given by their IDs, the PR is not really considering it. std::set is also used to filter out duplicated elements, it's not rare different components providing the same include paths. Changes in this field could imply in other specification/architectural changes. In any case it is reproducible and deterministic.
2. The generation of CMakelists.txt from cprj being deterministic
I would agree the final sorting of fully specified include paths may not be deterministic if the underlying filesystem/pack repository change location. But to correctly address it the PR shall be amended.
Thanks
Daniel

Hi @brondani
For GCC, the last flag is the one that wins, for example if -O3 and -O0 are both specified.
For GCC, the order in which the include paths are searched is determined by the order of the include path flags on the command line.
Therefore the user needs to be able to specify the exact order of the include paths to be able to build their code.
I'll add some comments to the PR as well.
KR, Samuel

Hi @slhultgren,
The PDSC specification already provides means to avoid header files collision by setting the path file attribute which can act as header namespace:
https://www.keil.com/pack/doc/CMSIS/Pack/html/pdsc_components_pg.html#element_file
Are there other use cases in which the user may need to specify the exact order of the include paths?
Cheers
Daniel

Hi @brondani
Yes, consider the case of user code in the .cprj. The user must be able to say in the cprj in which order the include paths should be used for the user code.
Regarding components I believe a change in the order of the components in the CPRJ should also be reflected in the order of include paths on the command line.
(assuming the components used specifies/exposes include paths to the user code)
KR, Samuel

Hi @brondani thanks :)
Makes sense, I think I agree regarding the ordering of component "resolving". It could be tricky indeed.
The thing remaining that I'm still thinking about is the include path order "within" components. Ideally I think this should be kept, but unfortunately it means we can no longer rely on a sorted set of all include paths, but instead we could move to a sorted "set" where ComponentIncludePaths is a vector of unique detection-ordered include paths.
But it is a bit of an edge case I agree. What do you think?

@brondani Indeed, I agree that it is probably bad design, but I'm also a bit worried since an "opinionated" build system like this leads to some possibly unsupported use-cases, even though we both may agree those are from bad design. I'll close this for now, it can always be raised again if it becomes an issue for someone in the future.
KR, Samuel


Part3,CUDA error: device-side assert triggered

I'm trying to train the unet model for 3-channel input image and 1 channel mask (1,0) - similar to the data structure for this tutorial. I used the same code in part 3 with GPU but the training cell outputs the following error:
CUDA error: device-side assert triggered.
However, when I change the device to CPU the model trains fine, do you know the cause of this issue ?

Hi, could you paste the complete traceback here?

Closing due to inactivity


getty reopen sesion

What this PR does:
Related to issue-128
If getty is disconnected and reconnected, the port of getty will change. It will cause tc to not find the previously registered rm service, so we need to turn off the heartbeat, and tc will not be able to find rm
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
run samples/tcc or local

pls fix the ci failure.

this ci have fixed by #263


Upload SBOMs directly from release pipeline

This PR tweaks two things related to SBOM generation:

Upload SBOM directly from the release pipeline
Add the image-tag to the SBOM metadata used in the build pipeline

Per-build working great:


Update to Djs.13/Djs.14

The bot has no Slash commands currently, and since the deadline for implementing this has ended for verified bots, the official bot is currently unusable.
I'm afraid I can only start working on this until January 2023 because of college and work.
Fear not, this project is not abandoned but it is on hold until then.

just use better bots, smh


Bluetooth: Controller: llcp: Fix assert if LL_REJECT_IND PDU received while local and remote control procedure is pending

In case there are pending two control procedures: local and remote,
and remote device sends LL_REJECT_IND PDU then assertion happened.
ull_cp_rx function triggers assertion because LL_REJECT_IND is
considered as expected packet for all local and remote control
proceures.
That is not correct. It does not allow local procedure to handle
a response and stops a device on assert.
A remote device should not send LL_REJECT_IND PDU for locally initiated
control procedures, hence local device should not expect to receive
LL_REJECT_IND PDU to be expected one for pending remote control
procedure.
Remote device is allowed to send LL_REJECT_EXT_IND PDU for a locally
initiated control procedures. The LL_REJECT_EXT_IND PDU has a Reject-
Opcode that identifies rejected control procedure, hence is may be
expected by local device.
The commit provides changes that prevent the Controller assertion
in described case.
Signed-off-by: Piotr Pryga<EMAIL_ADDRESS>

Fixed an error that make the UT to fail.


[FEATURE] Users can delete posts

As a user
I want to be able to delete posts
So that they are removed from view

Implemented on favourite-posts


Notification callback on CONNECTION_CLOSE frame

Support new lsquic_stream_if callback on_conncloseframe_received() to notify application of CONNECTION_CLOSE frame

Thanks for the PR -- it looks good.
The only part I hesitate to take is the #define -- we don't have this mechanism for other members of the API struct.  Perhaps you could use LSQUIC_*_VERSION at compile-time?  We rarely (ever?) remove the callbacks.

Feel free to remove this line. Or if you like I will update the pull request.
The #define is there because multiple developers are working on our application and some may not yet have this commit. I didn’t want to break the build for anyone.
Paul
From: Dmitri Tikhonov<EMAIL_ADDRESS>Sent: Friday, December 18, 2020 12:44 PM
To: litespeedtech/lsquic<EMAIL_ADDRESS>Cc: Sheer, Paul<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [litespeedtech/lsquic] Notification callback on CONNECTION_CLOSE frame (#205)
[Warning] This email comes from an external source. Be careful of any embedded links and attachments.
Thanks for the PR -- it looks good.
The only part I hesitate to take is the #definehttps://github.com/litespeedtech/lsquic/pull/205/files#diff-192594105d74d1d93080aafe6efc7a01c9ddf04b0b9e552d30de64038e1c091bR230 -- we don't have this mechanism for other members of the API struct. Perhaps you could use LSQUIC_*_VERSION at compile-time? We rarely (ever?) remove the callbacks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/litespeedtech/lsquic/pull/205#issuecomment-748253261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKAGOJQCDPJH3JKUVTNHJJLSVOPH5ANCNFSM4VBQGHZQ.

We'll remove it after merging, then.


module not found?

Hello,
I am using 2.7 version.
if I do: php artisan module:make Tests
module:make Users

it all works
but:
module:make Exchanges - when I go to:
/exchanges I get:
No hint path defined for [exchanges].

So it finds the controller (probablay because of routes.php).
But ServiceProvider is not loaded (tries dd()) - what could be wrong?

You can check if the routes exists, if there's a matching controller etc.


Minicity Scenario

Create Minicity scenario, add specific router; additional changes on _get_start_pos_util() in base_scenario.py

Pull Request Test Coverage Report for Build 1483

128 of 137 (93.43%)  changed or added relevant lines in 5 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.08%) to 81.942%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

flow/controllers/routing_controllers.py
18
19
94.74%

flow/scenarios/minicity.py
74
76
97.37%

examples/sumo/minicity.py
29
35
82.86%

Files with Coverage Reduction
New Missed Lines
%

flow/envs/bay_bridge/base.py
9
75.21%

Totals

Change from base Build 1455:
0.08%

Covered Lines:
6203

Relevant Lines:
7570

💛  - Coveralls


Chase command

Signed-off-by: liach<EMAIL_ADDRESS>

Probably will use #2654 instead as it comes first

Exp is dead, will work on regular snapshots


Documentation updates for SwiftUI initialization

Summary
Adds additional information about where to initialize the Catch SDK when using SwiftUI projects targeting iOS14+ compared to projects that include an AppDelegate.swift file.
Fixes the SPM url typo.

Current dependencies on/for this PR:

main

PR #94

PR #95

PR #96   👈

This comment was auto-generated by Graphite.

@lucillebenoit started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@lucillebenoit merged this pull request with Graphite.


Add dynamic watches for dependencies

Template-sync's Reconcile function will now be called for a policy whenever that policy is changed, or when any of its dependencies change.
Refs:

https://github.com/stolostron/backlog/issues/26186

Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

@JustinKuli this looks good to me! Added an optional comment and I think the imports need some formatting but otherwise it looks good to go

/lgtm


Bump gitpython from 3.1.32 to 3.1.34

Update lockfile to get latest GitPython which fixed CVE-2023-40590 vulnerability

Codecov Report

Merging #275 (94bea7d) into main (9ceb9c0) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #275   +/-   ##
=======================================
  Coverage   84.44%   84.44%
=======================================
  Files          46       46
  Lines        2186     2186
  Branches      348      348
=======================================
  Hits         1846     1846
  Misses        297      297
  Partials       43       43


Week 6: Implement calendar that can schedule meetings among multiple people.

Supports basic functionality from existing tests

accounts for: no attendees, impossible request, impossible schedules, overlapping events, nested events, etc.

Supports additional tests described in walkthrough

account for optional attendees: if one or more time slots exists so that both mandatory and optional attendees can attend, return those time slots. Otherwise, return the time slots that fit just the mandatory attendees.

cc: @tjgoog


i cant find "tf2_bot_detector.exe" in the bot detector folder

nvm i downloaded a different version that didnt work for windtoes

wtf is this :skull:


Code with usual string not formatted

Code from https://github.com/timberio/vector/blob/ff1884062e09956a7696a644f80c401e593d3e6f/src/sinks/statsd.rs but with small changes.
Code on playground not formatted: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=f18a74b89c3b1d2a1c894c0f056bc03e
But if comment line 178, code will be formatted.
Line 178:
<EMAIL_ADDRESS>
I tried cargo-fmt and rustfmt directly.

Simpler repro:
fn test_send_to_statsd() {
    rt.block_on_std(async move {
let sink = StatsdSvc::new(config, Acker::Null).unwrap();
        let messages = collect_n(rx, 1).compat().await.ok().unwrap();
        assert_eq(
            messages[0],
<EMAIL_ADDRESS>        );
    });
}

I am not sure if this is related but it seems that rustfmt fails to format code that have long string literals.
The code below will not be formatted.
If one removes the dummy long string below it will format just fine.
extern crate clap;
use clap::{App, Arg, SubCommand};

fn main() {
    let matches = App::new("wrwerwerw")
        .version("1.0")
        .author("Testsetsts")
        .about("wtwetwetwe")
        // Required arguments.
        .arg(
            Arg::with_name("language")
                .help("Desired language")
                .takes_value(true)
                .index(1)
                .required(true),
        )
        .arg(
            Arg::with_name("input")
                .help("Input file")
                .takes_value(true)
                .index(2)
                .required(true),
        )
        .arg(
            Arg::with_name("output")
                .help("Output file")
                .takes_value(true)
                .index(3)
                // TODO: Let the user decide if they simply wants to print to stdout or to a file.
                .required(true),
        )
        // Optional arguments
        .arg(Arg::with_name("no-const").help("Generated variables are mutable."))
        // NOTE: I don't quite get what this means...
        .arg(Arg::with_name("always-escape")
        .
        help("some long string some long string some long string some long string some long string some long string some long string some long string some long string some long string "))
        .
        arg(Arg::with_name("line-length")
        . short("l")
        .
        help("test"))
        .get_matches();
}

Playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=58c97546a834227e6dcf6fc03bd62e03

@hbina - Thanks for sharing, but that is a separate, known issue. You can track that item at #3863, but I'm going to minimize these comments to keep this thread focused on the OP topic.

Correct, it's another duplicate of #3863


Intermittent Unable to initialize operation details for swagger based operation error message on OPDG-based actions in the run history

Describe the Bug with repro steps
Viewing the run history for a workflow using the OPDG filesystem connector, the run history is at random made unusable by the below error message:

I was only able to retrieve the full error message by inspecting the text element in the developer console and there is no way to see it otherwise. This reads:

Unable to initialize operation details for swagger based operation - List_files_in_folder. Error details - The provided subscription identifier '@appsetting('WORKFLOWS_SUBSCRIPTION_ID')' is malformed or invalid.

There is nothing wrong with WORKFLOWS_SUBSCRIPTION_ID, it exists and the value is correct. This problem is intermittent, the workflow works perfectly for a while, exhibits this error which prevents any further development by making it impossible to view run history, and then goes away without having changed anything.
I have noticed an incorrect outbound request in the console:

This has the unsubstituted appsetting references embedded in the URL, which suggests this has been pulled from the connections.json and used unmodified by some part of the tooling, which is obviously not correct.
What type of Logic App Is this happening in?
Standard (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Various, with different OPDG-based actions, parameterised according to https://techcommunity.microsoft.com/t5/azure-integration-services-blog/parameterizing-managed-connections-with-logic-apps-standard/ba-p/3660679
Screenshots or Videos
No response
Browser
Chrome Version 129.0.6668.101 (Official Build) (64-bit)
Additional context
No response

Hi @TWolversonReply thanks for raising this issue, is this just happening in monitoring view or also in normal designer view when you modify the workflow?
I was able to only repro it in monitoring view

It seems that we are not resolving the references when loading monitoring view. I will work on making a fix

we are having the same issue, it is fine in the designer, fails in run history

Hi @TWolversonReply / @billchesnut / @serenaliqing, we have received a few reports of this issue and have created a parent ticket here that you can use to track progress: https://github.com/Azure/LogicAppsUX/issues/5977

Thank you for the kind investigation Team. We're looking forward to your fix this week.


20.2.0-alpha.3 release notes

Tracking issue:
SHA:

@rmloveland
I think you are the next release notes writer. This alpha got pushed out, so I'm assigning this to you.

Thanks Eric, duly noted!!!

Closing in favor of #7976


friend search bar with request option

will also replace naive bar with MUI Appbar

search bar atleast show all users in DB


ci: go build action

Build Passing:

[x] cross compilation (windows, linux, darwin)

TODO:

[ ] set paths in the workflow file so that only changes to go files trigger the workflow run


black boxes

Description
black boxes on folders icon in first start of the app

Steps To Reproduce
first start of the app
Steps to fix
open any folder and go back then folders back to normal shape
or just close app and reopen
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22622.575
Windows Version
Windows 11 Pro Version	22H2 Installed on	7/25/2022 OS build	22622.575  Windows Feature Experience Pack 1000.22634.1000.0
Relevant Assets/Logs

Merging with #6373


Intro to Augur Projects

Description:
Create a high-level overview of the Augur project:

Newcomer resources - how to connect to the community
Guide to join the project on GitHub

Write Script for Intro to Augur Projects
Learn more about contributing to this project here
Go through the ReadMe  before you start.

@sgoggins hi! Just checking in with this. Do you need any help getting started? Are you able to work on this issue in the next few weeks?

hi! @sgoggins Just checking in with this again.  Do you need any help getting started? Are you able to work on this issue in the next few weeks?


Monorepo

This change is the minimum viable introduction of lerna.js into our project hierarchy. It moves the core <model-viewer> source tree into a subfolder (packages/model-viewer) and introduces lerna.js at the top-level of the repository for managing multiple sub-packages.
I originally planned to split out docs and fidelity testing as part of this change, but the change is already quite significant without that, so in the interest of keeping scope down I would like to submit this change first and split out projects as a follow-up.
Fixes #927

Yah, let's wait. It probably is broken in some ways. Please do play with it. In theory, everything should just work like it did before (but of course, you will have to cd into the subdirectory).

Just FYI when I land this, there is a good chance that some CI-related stuff will break. I'll try to keep an eye on it and fix as needed.


[BEAM-14503] Add support for Flink 1.15

Flink 1.15 has a number of improvements. Most notably it completely shades its dependency on Scala so Beam does not need to pick a specific version to support anymore.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@ibzib Since you implemented support for 1.14, can you please take a look ?

Thanks Kyle! Filed https://issues.apache.org/jira/browse/INFRA-23301


Improve stimpack usage

Track and display Stimpack usage on tokens; preferably also include it on actors (and allow clearing it)

Closing in favor of https://github.com/StarWarsFoundryVTT/StarWarsFFG/issues/855


Pub server - after publication

after publication when it opens the web page with the noteobok, strangely i am seeing the front page for several seconds before it redirects to the right notebook

@ildipo opening the front page was a necessity to get this flow working, see my past explanation about why we need to open it: https://github.com/twosigma/beaker-notebook/issues/2252#issuecomment-138916836
to make it a little bit nicer I can craft a "please wait, loading a publication" page which we would open instead of the front page. Would that work for you? We have to open something prior to opening the actual publication to work around browser security restrictions (which I described in that previous comment).

I think we should have a page that has the same outline as the publication and says 'Please wait, loading publication...'

Fixed in https://github.com/twosigma/beaker-notebook/pull/2462


Mirage makes an api request for a model already loaded in the store

I'm using mirage in development and I have one route that loads all of the models. When I change route through link-to 'route' id I pass in the id for the specific model I'm routing to. Ember finds the record in the store by a findRecord and returns the data. If I don't have mirage endpoint setup this.get('/endpoint/:id') it throws a mirage error, but the data still gets loaded. If I put the mirage enpoint in when it hits this dynamic route it finds the record in the store and also mirage sends back an api response with the same data. Now I have two instances of everything in the route.
I think the expected behavior when I using mirage is it should not make an api request if I have the data already loaded in the store, but it makes a request every time i change routes. Any help would be appreciated.

 I believe this is #shouldBackgroundReloadRecord in action. I think the default for findRecord is to resolve immediately with any record in the store, and in the background hit the network for updated data.
Remember that Mirage knows nothing about your Ember app. Since your Ember app is making the additional request, that would still be the behavior even if you were hooked up to a real server. Does that make sense?
Lastly if you're using Ember Data an additional network request typically isn't a problem, since Ember Data's store is an identity map. The new data will be pushed into the store but you wouldn't have a duplicate, you would just get any updates (if there were any).
Let me know if that helps!

Thanks for the feedback @samselikoff.


Next version release

The SoLoader has not been published since almost a year now. Can we expect a new release anytime soon? Or should one just create a PR for it?

Hi! We’re planning on shipping a new release in a few weeks, around mid December.

Hi! We’re planning on shipping a new release in a few weeks, around mid December.

Awesome, thanks for your answer. Looking forward to it.


Moving search with the pencil icon causes the search contents to be replaced

Testing #44215
When you move the search between positions with the pencil icon, the new setting is highlighted in the editor. When the search panel is moved the highlighted text is used as the search input. This one is interesting though because the replacement happens on the current position, so you have to move it back and forth to see the results due to interaction with #44491

Dup of https://github.com/Microsoft/vscode/issues/44491


[Bug] DrawSvg 2.0 release breaks installation

Expected Behavior
Dependencies install and run correctly
Actual Behavior
Dependencies install but fail to run with the following error
...<snip>...
    from mitreattack.navlayers import Layer, SVGConfig, ToSvg
  File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/mitreattack/__init__.py", line 2, in <module>
    from .navlayers import *
  File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/mitreattack/navlayers/__init__.py", line 2, in <module>
    from .exporters import *
  File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/mitreattack/navlayers/exporters/__init__.py", line 4, in <module>
    from .to_svg import ToSvg, SVGConfig
  File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/mitreattack/navlayers/exporters/to_svg.py", line 7, in <module>
    from mitreattack.navlayers.exporters.svg_templates import SvgTemplates
  File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/mitreattack/navlayers/exporters/svg_templates.py", line 7, in <module>
    import drawSvg as draw
ModuleNotFoundError: No module named 'drawSvg'
Error: Process completed with exit code 1.

Steps to Reproduce the Problem

Install mitreattack-python
attempt use ToSvg or similar functions
note import error

Possible Solution
Pin drawSvg to <=1.9 but >=1.6 or update references to drawsvg functions. See https://pypi.org/project/drawsvg/

mitreattack-python v2.0.5 has been released to PyPI and fixes this error. Thank you for your patience!


Add config option for debug logging

Add a config option to turn on/off debug logging levels.

Debug logging will be handled on a case-by-case basis, for better tuning.


Dependency on baseline

The repo has dependency on baseline but baseline is not included in environment.yml. I am just worried about the tf version. Baseline says it can support up to tf 1.14 while this repo uses tf 1.15. Will that cause problems?

Never mind, I found baseline installation guide in readme.


bug(SELECT): You have to click twice when select is open

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
So when you have a select which is openend and you have a button next to it, you cannot click the button. You have to click twice. This is also mentioned here:  https://github.com/angular/components/issues/15416
According to the comment it should work like a native select, but with native selects you can click a button when the select is opened.
Reproduction
You can test this by going to the demo page: https://material.angular.io/components/select/examples
Open one of the select and try to click another select. It only closes the current select but no other seelct is openend. You have to press twice.
Now let's do the same with the native select on the same page. As you can see, you don't have to click twice
Expected Behavior
Make the behaviour of the select the same as native select
Actual Behavior
Have to double click to trigger siometing else when select is opened
Environment

Angular: 14.0.4
CDK/Material: 14.0.4
Browser(s): Chrome latest
Operating System (e.g. Windows, macOS, Ubuntu): Windows

I can repro on Chrome OS
Chrome/Chrome OS Version 102.0.5005.75 (Official Build) (64-bit)

Well, AFAIK the requirements are that the mat-select correctly implements the ARIA combox pattern and adheres to the material design spec. There is no requirement that it behaves exactly like native select. Although, it should be similar to a native select.

I discussed with the team and we've concluded that this is working as intended


Django 4 support

There is an error collecting tests
[   78s] _________ ERROR collecting tests/management/commands/test_show_urls.py _________
[   78s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/django-extensions-3.1.5/tests/management/commands/test_show_urls.py'.
[   78s] Hint: make sure your test modules/packages have valid Python names.
[   78s] Traceback:
[   78s] /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule
[   78s]     mod = import_path(self.fspath, mode=importmode)
[   78s] /usr/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path
[   78s]     importlib.import_module(module_name)
[   78s] /usr/lib64/python3.9/importlib/__init__.py:127: in import_module
[   78s]     return _bootstrap._gcd_import(name[level:], package, level)
[   78s] <frozen importlib._bootstrap>:1030: in _gcd_import
[   78s]     ???
[   78s] <frozen importlib._bootstrap>:1007: in _find_and_load
[   78s]     ???
[   78s] <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
[   78s]     ???
[   78s] <frozen importlib._bootstrap>:680: in _load_unlocked
[   78s]     ???
[   78s] /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
[   78s]     exec(co, module.__dict__)
[   78s] tests/management/commands/test_show_urls.py:4: in <module>
[   78s]     from django.conf.urls import url
[   78s] E   ImportError: cannot import name 'url' from 'django.conf.urls' (/usr/lib/python3.9/site-packages/django/conf/urls/__init__.py)

After that, lots of failures due to
[  125s]     from django.db.models.deletion import Collector
[  125s]     from django.utils import timezone
[  125s] >   from django.utils.encoding import force_str, smart_text
[  125s] E   ImportError: cannot import name 'smart_text' from 'django.utils.encoding' (/usr/lib/python3.9/site-packages/django/utils/encoding.py)
[  125s]
[  125s] django_extensions/management/commands/dumpscript.py:44: ImportError

After fixing Django 4 renames, ShowUrlsTests fail because the output has changed in Django 4

After that, lots of failures due to
[  125s]     from django.db.models.deletion import Collector
[  125s]     from django.utils import timezone
[  125s] >   from django.utils.encoding import force_str, smart_text
[  125s] E   ImportError: cannot import name 'smart_text' from 'django.utils.encoding' (/usr/lib/python3.9/site-packages/django/utils/encoding.py)
[  125s]
[  125s] django_extensions/management/commands/dumpscript.py:44: ImportError

That particular issue is fixed by changing the import to from django.utils.encoding import force_str, smart_str as smart_text  FWIW.

Apparently, from django.conf.urls import url → from django.conf.urls import re_path as url fixes that?

https://github.com/django-extensions/django-extensions/pull/1698 likely addresses this.


Add web support

Can wrap node-vibrant.

This would be awesome! Any progress on it?

@nandorojo It's definitely on my mind but haven't gotten around to it yet.
I might give it a shot in a couple weeks 🤞


Difficulties restoring LXD System from backup

Hi all - I've recently run into a situation wherein I need to restore a lxd system from backup.
I've got the /var/lib/lxd directory backed up, but on direct copy-and-paste restore - I cannot seem to get a container to start.  I haven't found any documentation detailing on what must be done in this situation.
Required information
I'm on ubuntu server 16.04.2.
Output of 'lxc info' - https://hastebin.com/eyemomevun.diff
Steps to reproduce

Backup stopped lxd instances
Copy over lxd instances to /var/lib/lxd in new machine
attempt to start lxd container

https://hastebin.com/norozaxoye.sql
Not entirely sure what needs to be done at this juncture - I have attempted the lxd import command but to no avail, instead receiving a "error: readlink /var/lib/lxd/containers/$containername: invalid argument" error.

Can you paste the output of "ls -lh /var/lib/lxd/containers/"?

Yep -
night@c3:~# ls -lh /var/lib/lxd/containers/
total 12K
lrwxrwxrwx 1 root root   55 Mar  6 19:58 atlassian -> /var/lib/lxd/storage-pools/default/containers/atlassian
lrwxrwxrwx 1 root root   52 Mar  6 19:58 haraka -> /var/lib/lxd/storage-pools/default/containers/haraka
-rw-r--r-- 1 root root 8.4K Mar  6 20:10 lxc-monitord.log
lrwxrwxrwx 1 root root   55 Mar  6 19:58 notifiers -> /var/lib/lxd/storage-pools/default/containers/notifiers

What about
ls -lh /var/lib/lxd/storage-pools/default/containers/

:~# ls -lh /var/lib/lxd/storage-pools/default/containers/
total 12K
drwxr-xr-x 4<PHONE_NUMBER>36 4.0K Mar  6 19:58 atlassian
drwxr-xr-x 4<PHONE_NUMBER>36 4.0K Mar  6 19:58 haraka
drwxr-xr-x 4<PHONE_NUMBER>36 4.0K Mar  6 19:58 notifiers

What error are you getting when you try to start one of those containers?

https://hastebin.com/azateqekek.swift

Did you make sure your target server has the exact same /etc/subuid and /etc/subgid as the source one?

I thought I did - apologies.  Editing the values again gave me this "error"
https://hastebin.com/odoreyeqok.sql
So I guess that means success.  However, this error was not present in the previous host.  Have I missed a detail somewhere?

That typically indicates that you're running a kernel with partial apparmor support rather than an official Ubuntu kernel.

Closing the issue since the restore was succesful.


Create Github quickstart.

Summary
Adding a Github integration quickstart.

Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you check your dashboard image quality? -  Do they look good?
[ ] Did you check that your alerts actually work?
[x] Did you include an InstallPlan and Documentation reference?
[x] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[x] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.

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

Hey @TarasPriadka, would you like to get this quickstart added to the catalog or was this just for the hackathon? If you would like to add it to the catalog, we'll just need to make a few updates. Let me know and I can toss some comments on the pull request!

Hey @TarasPriadka, would you like to get this quickstart added to the catalog or was this just for the hackathon? If you would like to add it to the catalog, we'll just need to make a few updates. Let me know and I can toss some comments on the pull request!

Hey, sure could work more on getting this into the catalog. LMK what needs to be done


BUGFIX re #18455  - WCF Service Discovery Announment crashes ECS

Added try catch for announce/unannounce and added warning logging instead of throwing exceptions

@Kralizek Not sure how to add tests for this, if we are not moving out AnnouncementClient creation to a factory passed as a dependency?

@simgu that could be an option. Can you try a draft for this option? I just want to make sure we're not making the registration any more complex than it already is today.

Exactly, that was my follow up question if going in that direction. But maybe acceptable if we "hide" it in AddDiscovery extension. I'll update this PR


Mod, VIP and other hardcoded badges are not high-DPI

See for example:
VIP and mod for example are blurry-ish at high DPI:

compare for example the sharpness of the sub emote and bits one vs the VIP one:

The twitch badges API even offers a SVG version if that can be implemented.

This was fixed in https://github.com/Chatterino/chatterino2/commit/bcc53c9aa7966baa9051feda0aaee6458d8ab73c


The covered child in AnimatedCrossFade should not get touch events

Wraps AnimatedCrossFade children with IgnorePointer. ignoring: false is set for the topChild.
Fixes #88565
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

Looks like there's a merge conflict. Can you please fix that?


Trouble getting socket updates

Having big trouble getting data/store to update via websocket when a second client publishes to a feathers service.  Below is the relevant parts of a Nuxt project, which is using mode: "spa" in the config (meaning there is no SSR). When i click Add Article it adds to the local store and pushes to the server fine, but doesn't trigger updates to other connected clients. I understand there is no need to use feathers-reactive so what am i doing wrong?
Component.vue
<template>

    <button v-on:click="addArticle()">Add Article</button>

      {{ article }}

</template>

store/index.js
import Vuex from "vuex";
import feathersVuex from "feathers-vuex";
import feathersClient from "../api/feathers-client";

const { service, auth } = feathersVuex(feathersClient, { idField: "_id" });

const createStore = () => {
  return new Vuex.Store({
    plugins: [service("articles"), auth({ userService: "users" })]
  });
};

export default createStore;

../api/feathers-client.js
const io = require("socket.io-client");
const feathers = require("@feathersjs/feathers");
const socketio = require("@feathersjs/socketio-client");
const auth = require("@feathersjs/authentication-client");

const socket = io("http://localhost:3030", { transports: ["websocket"] });
const feathersClient = feathers();

feathersClient
  .configure(socketio(socket))
  .configure(auth({ storage: window.localStorage }));

export default feathersClient;

ok, so my issue was nothing to do with the clientside or feathers-vuex, but rather the channels.js file in my feathers server app. obviously those rules need to be also setup for logged in users. the above is working perfectly once i got that sorted :)


chore: sync figma tokens

WIP - Sync figma tokens script and workflows
Obligatory GIF (super important!)

:hammer_and_wrench: Type Of Change
These types will increment the version number on release:

[ ] Fix
[ ] Feature
[ ] Performance Improvement
[ ] Refactor

These types will not increment the version number, but will still deploy to documentation site on release:

[ ] Documentation
[ ] Build system
[ ] CI
[ ] Style (code style changes, not css changes)
[ ] Test
[x] Other (chore)

:book: Jira Ticket
https://dialpad.atlassian.net/browse/DLT-1471
:book: Description

Added figma -> tokens sync script
Added tokens -> figma sync script
Copied over and updated accordingly the code from https://github.com/figma/variables-github-action-example/tree/main/src, I assume this is going to be a GHA someday, but right now it's the source code.

:bulb: Context
We're going to start syncing the tokens from dialtone-tokens with the figma variables and viceversa.
:pencil: Checklist
For all PRs:

[x] I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
[x] I have reviewed my changes.
[ ] I have added all relevant documentation.
[ ] I have considered the performance impact of my change.

:crystal_ball: Next Steps

Fix the sync scripts, this is a WIP still.
Add documentation.

I'll merge this to staging so I can test the workflows as they're only workflow_dispatched. This shouldn't affect anything else.


PDP client fails in 5.2: 'GuzzleHttp\Http\Client' not found

Invoking a policy decision on EB 5.2.0 fails with:
Fatal error: Class 'Guzzle\Http\Client' not found in /opt/openconext/OpenConext-engineblock-5.2.0/app/cache/prod/appProdProjectContainer.php on line 621

A very serious error occurred, it has been logged and sent to the administrator.

ERROR:

array (
  'type' => 1,
  'message' => 'Class \'Guzzle\\Http\\Client\' not found',
  'file' => '/opt/openconext/OpenConext-engineblock-5.2.0/app/cache/prod/appProdProjectContainer.php',
  'line' => 621,
)

This issue has likely to do with the upgrade to Guzzle 6 (namespace: GuzzleHttp\Guzzle).
Note that Guzzle 3 (namespace: Guzzle\Http) is also installed on development environments for testing purposes in Symfony (using Goutte).

After some quick research it seems the culprit is a misconfiguration, this should be GuzzleHttp\Client. This was not caught, because the tests use a mocked PDP server since we cannot reliably provide the server on all environments. While developing, after determining the various responses of the PDP server to use in tests, we made the switch between guzzle versions. Since having the tests and features in place meant we could speed up development by not using the actual PDP server as that was not available on the CI server and requires configuration management for automated testing in development which is also not available, we apparently never actually used the client all the way through to the guzzle library (the lowest level of outgoing HTTP requests). Hence why we've never caught this - we relied too much on the contract tests.
Lesson:
contract tests are good, but we need some way to actually test integrations like this in integration and system tests, especially for the functional tests where we want to use the full runtime, not stub out external services. This will be even more important considering the roadmap for this year where we want to become even more (partially) dependent on external services for all login requests.
To fix:
Adjust the configuration, verify in development that it is correct, test again in a deployed environment.


Model using Conv1D returns socket closed error on TPU while with SeparableConv1D works

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): GCP instance Debian 9
TensorFlow installed from (source or binary): installed via pip
TensorFlow version (use command below): 2.3
Python version: 3.7.6
TPU model: TPU v3-8

Describe the current behavior
I am executing a deep CNN model to handle sequences using TPUs. The exact same model, if layers are Conv1D, does not work returning a specific error, while, if I use SeparableConv1D, the model works fine.
Describe the expected behavior
The model should work using Conv1D layers.
Other info / logs

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in _method_wrapper(self, *args, **kwargs)
106   def _method_wrapper(self, *args, **kwargs):
107     if not self._in_multi_worker_mode():  # pylint: disable=protected-access
--> 108       return method(self, *args, **kwargs)
109
110     # Running inside run_distribute_coordinator already.
/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)
1098               tmp_logs = train_function(iterator)
1099               if data_handler.should_sync:
-> 1100                 context.async_wait()
1101               logs = tmp_logs  # No error, now safe to assign to logs.
1102               end_step = step + data_handler.step_increment
/opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/context.py in async_wait()
2317   an error state.
2318   """
-> 2319   context().sync_executors()
2320
2321
/opt/conda/lib/python3.7/site-packages/tensorflow/python/eager/context.py in sync_executors(self)
656     """
657     if self._context_handle:
--> 658       pywrap_tfe.TFE_ContextSyncExecutors(self._context_handle)
659     else:
660       raise ValueError("Context is not initialized.")
UnavailableError: 2 root error(s) found.
(0) Unavailable: Socket closed
(1) Invalid argument: Unable to find a context_id matching the specified one<PHONE_NUMBER>247716751). Perhaps the worker was restarted, or the context was GC'd?
0 successful operations.
0 derived errors ignored.

@nicosacco,
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here and also the dataset you are using. Thanks!

@nicosacco,
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here and also the dataset you are using. Thanks!

@amahendrakar I am sorry, but at the moment I cannot share either the code or the data, because they are part of an ongoing research project. If I can help you in any other way, please, do not hesitate to ask.

@nicosacco,
In this case, could you please provide a dummy model and data to mimic the error you are facing.
Also, please take a look at this similar issue and let us know if it helps. Thanks!


Automating Renewal

Hi William,
I would want to automate the renewal of the certs for this i checked the relevant documentation that you have provided.
However, to begin with i need some clarity:

I had installed this gem, but i'm unable to understand if it was ruby env or system ruby. How do i check that.

Cron,
I read through on how to write a cron sequence.

And i understand i will have to create the below command for all the domains:
0 4 1 */2 *     PATH=$PATH:$GEM_HOME/bin:/usr/local/bin GEM_HOME=$HOME/.letsencrypt_webfaction/gems RUBYLIB=$GEM_HOME/lib ruby2.2 $HOME/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction --letsencrypt_account_email<EMAIL_ADDRESS>--domains [yourdomain.com,www.yourdomain.com] --public ~/webapps/[yourapp/your_public_html]/
So do i have to create multiple commands that i can later see in crontab -l ?
Would that be sufficient ?
Also, as a suggestion you may:

Rename the Cron to: Automate Renewal, rest content can remain same.

Thanks.

I feel ill just have to stick with the standard manual renewal.
Have tried reading, settingup cron and contacting Webfaction support for cron related queries.

Hey, sorry for the slow response. With Christmas here, I've been mostly offline on this project for the last couple weeks.
You do indeed have to create multiple cron entries, one for each certificate you want issued/maintained.
Let me know if I can answer any questions which might help!


Update index.js

This should fix error given at https://github.com/jleeson/rollup-plugin-import-css/issues/24
(Not 100% sure)

This works, however it introduced problems with removing extra whitespace elsewhere. I have merged it as it works as a starting point to supporting attributes with spaces. Thanks for creating the PR!


Nasnet models don't support custom image sizes even if include_top is set to False

The general idea for fine-tuning pre-trained models with a custom image size is to set the include_top parameter to False when loading the models. However it doesn't seem to be working with the Nasnet models in tf.keras so far. All other models including Inception are working fine.
Note: I was using tensorflow 2.0 alpha so I'm not sure if that is the problem.
I believe maybe some issue somewhere in checking dimension size along with the include_top flag but I might be wrong.
Following is the stack trace.

Code executed:
nasnet = tf.keras.applications.nasnet.NASNetLarge(include_top=False, weights='imagenet',
                                                                                input_shape=(100, 100, 3))

Error Message:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-100-64f6d45dc54d> in <module>
      1 nasnet = tf.keras.applications.nasnet.NASNetLarge(include_top=False, weights='imagenet',
----> 2                                                                                input_shape=(100, 100, 3))
      3 nasnet.summary()

/opt/anaconda3/lib/python3.6/site-packages/tensorflow/python/keras/applications/__init__.py in wrapper(*args, **kwargs)
     68       kwargs['models'] = models
     69       kwargs['utils'] = utils
---> 70     return base_fun(*args, **kwargs)
     71   return wrapper
     72

/opt/anaconda3/lib/python3.6/site-packages/tensorflow/python/keras/applications/nasnet.py in NASNetLarge(*args, **kwargs)
     37 @keras_modules_injection
     38 def NASNetLarge(*args, **kwargs):
---> 39   return nasnet.NASNetLarge(*args, **kwargs)
     40
     41

/opt/anaconda3/lib/python3.6/site-packages/keras_applications/nasnet.py in NASNetLarge(input_shape, include_top, weights, input_tensor, pooling, classes, **kwargs)
    364                   classes=classes,
    365                   default_size=331,
--> 366                   **kwargs)
    367
    368

/opt/anaconda3/lib/python3.6/site-packages/keras_applications/nasnet.py in NASNet(input_shape, penultimate_filters, num_blocks, stem_block_filters, skip_reduction, filter_multiplier, include_top, weights, input_tensor, pooling, classes, default_size, **kwargs)
    166                                       data_format=backend.image_data_format(),
    167                                       require_flatten=True,
--> 168                                       weights=weights)
    169
    170     if backend.image_data_format() != 'channels_last':

/opt/anaconda3/lib/python3.6/site-packages/keras_applications/imagenet_utils.py in _obtain_input_shape(input_shape, default_size, min_size, data_format, require_flatten, weights)
    290                                  'and loading `imagenet` weights, '
    291                                  '`input_shape` should be ' +
--> 292                                  str(default_shape) + '.')
    293         return default_shape
    294     if input_shape:

ValueError: When setting `include_top=True` and loading `imagenet` weights, `input_shape` should be (331, 331, 3).

@dipanjanS Could you provide a code to reproduce the bug? Thanks!

Hi, it's mentioned in the previous comment, reposting here again separately.
nasnet = tf.keras.applications.nasnet.NASNetLarge(include_top=False, weights='imagenet',
                                                  input_shape=(100, 100, 3))

Adding Francois who is the owner Keras overall.

Same question

@fchollet any idea on this aspect?

I need to wrote weights=None, then the training runs successfully.

That is just random initialization of weights, the whole point of using this is to do transfer learning with pre-trained weights obtained from imagenet. Using weights=None defeats the purpose of doing that. That's the same like building your own CNN and copying the layers from Nasnet.

I understand.but then you see in practice, nasnet was requiring fixed image size after loading imagenet.whats the solution to that besides dumping imagenet?-------- Original Message --------Subject: Re: [tensorflow/tensorflow] Nasnet models don't support custom image sizes even if include_top is set to False (#26639)From: Dipanjan Sarkar To: tensorflow/tensorflow CC: Kirosealin ,Manual That is just random initialization of weights, the whole point of using this is to do transfer learning with pre-trained weights obtained from imagenet. Using weights=None defeats the purpose of doing that. That's the same like building your own CNN and copying the layers from Nasnet.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/tensorflow/tensorflow/issues/26639?email_source=notifications\u0026email_token=AFSLRD4TMTZWQ2OWYGGW2V3PWKC4RA5CNFSM4G5RM342YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYP2CY#issuecomment-493944075",
"url": "https://github.com/tensorflow/tensorflow/issues/26639?email_source=notifications\u0026email_token=AFSLRD4TMTZWQ2OWYGGW2V3PWKC4RA5CNFSM4G5RM342YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYP2CY#issuecomment-493944075",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

fixing the API so it is consistent with the other pre-trained models I guess?

The problem is not with the TensorFlow itself, but with the keras_applications module. The reason for such behavior of NASNet is described here. So it's more likely a bug than a feature, however, I think that documentation should be updated.

I just ran into this, agree the documentation should be updated - both the tensorflow and keras documentation say that you should be able to set input_shape to something other than (331,331,3).

The documentation for loading weights with correct input_shape has been updated. Thanks!


Remove rsync docs deployment workflow

This has been broken ever since SSH restrictions put in place. Just making way for setup on readthedocs.

Just pinging again about this. Actions deploying the HTML build continue to be broken.


Transform fails if there is not at least one match to the regex

If there are no matches to the regex the transform will blow up. I will either make a PR or add a failing test to this next week. I just wanted to report the issue so it doesn't get missed.

Actually, maybe not a problem. It does blow up if you have an import with an '_bundles' path that is not in the map. But all of those should be in the map or they will cause problems. So this is probably not a real issue.

It does blow up when maybe it should warn, but that is more of a low priority problem.


m_option_list and m_option_map are not used

The existence of members m_option_map and m_option_list in Options does not seem to make sense

That looks like old code, I will remove it.


SS 3.1.0 single db sharding table throw [Table 'db.table' doesn't exist]

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
ShardingSphere-3.1.0
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
route to correct table
Actual behavior
throw table doesn't exist exception
Reason analyze (If you can)
concurrent problem
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

Single database sharding two tables
Creating a concurrent sharding table sql execution environment when the first SQL is executed after app runs

Example codes for reproduce this issue (such as a github link).
https://github.com/mrathena/sharding-sphere

The problem has been fixed by refactor parseEngine.
Please update version upper 4.0.0-RC1

Get, thank you


Beautifying readme

💥 Proposal
HI, i would like to beautify readme of this repository in following ways:-

add a banner
add emojis wherever required
add other improvements as well

Please add DWOC and level-2 tag to it and assign  me this issue. Thanks.

You can work on the project but I will give only level 1😊

You can work on the project but I will give only level 1😊

You can work on the project but I will give only level 1😊

@vaibhavirohilla741 mam, let's make it fun I will send the pr, if it's just ok make it level one, but if you found it superb make it level 2🤓.
How this sounds?

You can work on the project but I will give only level 1😊

@vaibhavirohilla741 mam, let's make it fun I will send the pr, if it's just ok make it level one, but if you found it superb make it level 2🤓.
How this sounds?

Sure!!

Sure!!

https://github.com/vaibhavirohilla741/Operationalizing-ML/pull/14 Its a go :green_circle::small_red_triangle:

https://github.com/vaibhavirohilla741/Operationalizing-ML/pull/14 Its a go :green_circle::small_red_triangle:

Sure!!

So was it level 1 or level 2 effort? 🤓

Sure!!

So was it level 1 or level 2 effort? 🤓


Missing remesh operation

I am aware that some things have been stripped out such as FFMPEG. However unlike FFMPEG, when calling     bpy.ops.object.modifier_add(type='REMESH') no error is returned, meaning it took a while to figure out why the below script wasn't working:
bpy.ops.object.modifier_add(type='REMESH')
bpy.context.object.modifiers["Remesh"].octree_depth = 6
bpy.context.object.modifiers["Remesh"].scale = 0.9
bpy.context.object.modifiers["Remesh"].threshold = 1
bpy.context.object.modifiers["Remesh"].sharpness = 0
bpy.context.object.modifiers["Remesh"].mode = 'SMOOTH'
bpy.ops.object.modifier_apply(apply_as='DATA', modifier="Remesh")

Is there a specific reason for omitting Remesh or was it just caught up in the cull?
Is there a better way for dealing with missing operations in case other people get caught out?
Many thanks,
H

I wish I had better information, but I really don't know why that operation would silently fail... 😞
Possibly, whatever "remesh" is doing relies on some library that isn't loaded.

Dockerfile contains -DWITH_MOD_REMESH=OFF \ and remesh function has a check in the code that looks at the build flags, failing silently if remesh wasn't built in.

Actually it would be really convenient if remesh would be included into the default build as it's one of the fundamental bpy operations. Do you think you could add it to the default build? Or is it a bad idea for some reason?

Ah, good find @QuteBits. 👍
It'd be great if we could enable that flag. I don't think I'll have the bandwidth to do it in the coming week(s), but if you want to experiment with it and make a PR, that'd be awesome.
Otherwise, I'll add it to my backlog of things to try

Hi @bcongdon I'm still really keen to have this as is @QuteBits it seems. Do you think you'd be able to find the time over the next few weeks at all? I'd also be happy to remunerate you if that would help haha

I can take another look. Could you send me what you'd expect the output of bpy.ops.object.modifier_apply to be? (i.e. to make sure that remesh is working, and not silently failing)

Great thank you!
If you change 6 to 1 on
bpy.context.object.modifiers["Remesh"].octree_depth = 6
Then the output mesh will have a significantly lower number of vertices than the input. If it fails then the mesh will be the same. You could run
print(len(bpy.context.object.data.vertices))
before and after to see if it's changed

output should be:

482
8
if it fails I imagine:
482
482

`import bpy
bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.delete()
bpy.ops.mesh.primitive_uv_sphere_add()
print(len(bpy.context.object.data.vertices))
bpy.ops.object.modifier_add(type='REMESH')
bpy.context.object.modifiers["Remesh"].octree_depth = 1
bpy.context.object.modifiers["Remesh"].scale = 0.9
bpy.context.object.modifiers["Remesh"].threshold = 1
bpy.context.object.modifiers["Remesh"].sharpness = 0
bpy.context.object.modifiers["Remesh"].mode = 'SMOOTH'
bpy.ops.object.modifier_apply(apply_as='DATA', modifier="Remesh")
print(len(bpy.context.object.data.vertices))`

Thanks! That's very helpful. I just pushed a commit to master that flips on the remesh operation, and it seems to pass the condition you describe.
Can you try it out before I push out a new release?

hello - just tried to build a new release off master. It seemed to compile and all tests seemed to pass. When I try to use it, it instantly fails on something that seems one of its basic operations that should be in the build:

I assume that something simply went wrong when building it. Could you please make a new release off of master in the same way you did previous releases so that I could compare both?

hello again - could you please build a new release from master? I tried to build the whole thing against a fresh EC2 instance again and my build doesn't work despite compiling (and, well, just from taking a look at the amount of things it depends on, it seems to be a lot of work to debug what went wrong during the compilation time).

Just pushed a new release, let me know if that works for you

ahh, so great - as I'm recompiling the whole thing manually on an EC2 instance for the last 6 hours, going through each line from the docker image 1-by-1 :) let me have a quick look at the release you just pushed.

somehow it leaves me with this error right at the start of our scripts:

could it be that it also failed silently somewhere while you were compiling it? For me, running python test.py after the build was finished, failed too - does it work/fail on your side?

What happens if you run test.sh? I'm not getting any failures on a clean build.
When you tried to recreate the build on EC2, were you using amazonlinux? The docker build uses amazonlinux version 2017.03 -- I don't know what the compatability is like with newer versions, but I'm pretty confident that if you're using a linux distro that isn't amazonlinux, you'll probably run into issues running the resulting build artifacts on lambda.

I did it on 2018.03 one (as 2017.03 was not on their OS list anymore when creating new EC2 instances) and when building against it, lots of commands from Dockerfile didn't run unless I added sudo in front of them. Also, this:

I will try to find 2017.03 and compile bpy against it. Could you please, if you find some free time, try to build a release against 2018.03 too?

Sure, I'll try out a build tomorrow.

:) thank you

Just published v1.3.1, which was built against amazonlinux:2018.03

awesome, will try in a second

hmm, it still shows the same error as before:

I will take a look if it's not importing it correctly or something. I'm still using python 3.6 (3.7 results in segmentation fault, 3.8 in some libGL error)

Hmm... Well, I'm sorry it's still not working 😞 I'll take a look and see if I can reproduce your error on different versions of Python on Monday.
I've also been meaning to update this package to Blender 2.8 at some point, maybe that would fix the issue 🤷♂


Delete legacy ReactiveUI.TransitioningContentControl

What does the pull request do?
Delete legacy ReactiveUI.TransitioningContentControl.
We now have same control in the main namespace.
Breaking changes
Binary breaking change.

You can test this PR using the following package version. 0.10.999-cibuild0022969-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Authorization Interceptor to check parameter values

From Google Groups:

Hi all
I am trying to configure the Authorization Interceptor to use in HAPI and encounter an interesting problem to solve. Currently it is very easy to add an Authorization interceptor that would check for any resources that belong to a particular Patient by using inCompartment("Patient", patientId). The question is, how do we Authorize read/write actions on resources that do not belong to any compartments such as ExplanationOfBenefit but still have a patient reference in it.
Cheers
A

Hi Alvin,
I guess the bottom line is that the AuthorizationInterceptor doesn't support this today, but it sounds like a very useful thing to support.
When we originally wrote the AuthInterceptor, I kind of envisioned we'd add the types of rules initially that we needed and see what else people thought might be useful. Sounds like you've got one such idea. :)
Feel free to file a bug, and if you're interested in trying to add support for this please feel free to reach out to bounce ideas.
Cheers,
James

I am thinking along the lines of
.allow().read().resourcesOfType(ExplanationOfBenefit.class).withParameterValue("patient", patientId)
This would leave the Rule API generic to applying parameter value restriction for the Authorization Interceptor.
Thoughts?


Length Of Longest Substring

Problem link: https://practice.geeksforgeeks.org/problems/length-of-the-longest-substring3036/1/?category[]=sliding-window&category[]=sliding-window&difficulty[]=1&page=1&sortBy=submissions&query=category[]sliding-windowdifficulty[]1page1sortBysubmissionscategory[]sliding-window
Problem: Given a string S, find the length of the longest substring without repeating characters
Platform: Gfg
language: C++

Mentors, can you please assign this to me?

@Drishty06 this issue is already taken up by others

ok sir


Updated schema to correct format

When auto-filling in recipe, default was returned without ':'. Updated schema, and added 'type: string' to default.

Need to update schema to show all types default can take on