Should be able move map by clicking on sidebar minimap.

Original Civ allowed movement of the map by clicking anywhere on the minimap.  This allowed large movements of the map

Minimap is not yet fully implemented, see other issue: #42

I see I referenced the wrong issue. This is a duplicate of #22.


Docs: asm-lsp info is lacking

Description
The info for the asm-lsp server has a line that doesn't make immediate sense to me. "See source file", it says, but which source file and see what?
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md?plain=1#L568
Would be great with a clarification. Thanks a lot <3
Neovim version
Latest
Nvim-lspconfig version
No response
Operating system and version
macos
Affected language servers
asm-lsp
Steps to reproduce
docs
Actual behavior
docs
Expected behavior
No response
Minimal config
docs

LSP log
docs

And it seems this particular key root_dir causes an error in LSP, which is why I looked it up :)
Config: asm_lsp
 	Refer to :h lspconfig-root-detection for help.
 	filetypes:         asm, vmasm
 	root directory:    Not found.
 	cmd:               asm-lsp
 	cmd is executable: true
 	autostart:         true
 	custom handlers:

see source file that mean check the asm_lsp.lua . the root dir of asm_lsp use .git folder

k


what is python-module?

Hi,
I was following the steps until
cd python-module
python setup.py install

What is the 'python-module' folder and what needs to be installed here?
Thank you very much!

The Python module provides optional Python bindings to this library. The bindings are needed for our spot detector (https://github.com/SpatialTranscriptomicsResearch/st_spot_detector).
Running the commands that you have listed should be enough to install the bindings. Let me know if you run into any problems!

thanks so much for your response!
I installed OpenCV following the instruction on docs.opencv.org including compiling and installing, then pip install numpy and setuptools. But I am not aware of a python-module directory anywhere. Am I missing steps here? Thanks again!

No problem, happy to help! The python-module directory should be in the root of this repository (here: https://github.com/SpatialTranscriptomicsResearch/st_tissue_recognition/tree/master/python-module). Maybe it was accidentally deleted somehow? You could try checking it out again if it's not there by running from the root of the repository: git checkout -- python-module

Closing due to inactivity. Feel free to reopen if the problem persists!


Fix visibility check

Ideally an element is not visible when both its offsetHeight and offsetWidth is 0. You could have elements that have a width but not height.
The docs say and but we check for or.
cc: @Turbo87

I think the docs might be wrong on this one. If either width or height are zero then the size is zero too and the element will be invisible. or am I missing a special case?

There is a special case (atleast what I can see) is where the height is 0 but width isn't 0 and the element is visible. The other issue here is also that this started breaking after 0.6.3 with this diff. The earlier diff allowed this condition to be marked as visible v/s now it doesn't.

Hmm, how can something without height be visually visible?

If the element is displaced from its original place but is still "visible", then offsetHeight seems to be 0 in that case (atleast from what I can see from my local debugging).

do you have an example anywhere? I'm not sure how to reproduce that 🤔

closing due to inactivity


update interpolate function in bruno js

Description
this is an extension of the pr #2234
~ updated the current interpolateString function in bruno-js to use the recursive interpolation function
~ added the processEnvVars to the assert runtime context
Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[ ] The pull request does not introduce any breaking changes
[ ] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Can the handlebars package be removed? I think you deleted all the Imports.

Merged. Thanks @lohxt1 !
Thanks for the review comments @Its-treason !
I have gone ahead and merged the PR. Please let us know if you had any additional comments on this and we will take it up in a follow-up PR


Add more tests for Search.module.query

Codecov Report

Merging #494 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #494   +/-   ##
=======================================
  Coverage   22.42%   22.42%
=======================================
  Files         166      166
  Lines        1231     1231
=======================================
  Hits          276      276
  Misses        955      955

Impacted Files
Coverage Δ

src/routes/Search/modules/query.js
50% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Extract esds box from wave box

This is primarily to extract the esds box from the wave box (quicktime). It skips all unsupported parts of the wave box, and just finds the esds box.
I also tested this parser with all of my MP4 files and found & fixed several other issues. I can split those into a separate pull request if necessary.

Thank you.


Variables are not displayed correctly

The "Variables" view of an instance shows all variables with a pager, and uses that Pageable to query the variables from the database.
By default, the UI limits the number of variables displayed to 20 (/views/instances/.../variable-list?page=0&size=20).
So the repository returns the first 20 items and displays them.
Then we update some variables.
Problem
From now on, the list becomes incomplete and may show outdated variable values.
Example:
First, with pageSize = 20:

Second, with pageSize = 100:

Please observe the 2 newer values 24 and 25.
The "Variables" table still displays the outdated 12, BTW. This is caused by the view code, which relies on the database sort order of the result set.
Proposal
a) Simply remove the Pageable from the VariableRepository.
b) Sort the result by timestamp and ID, ~descending~ ascending, to get a reliable sort order vie the ListController.
This would return all variables at once, but the alternative would be some sophisticated SQL that returns the latest pageSize items by considering their history, which sounds not feasible for this issue.

Thanks for reporting this issue.
Pagination was introduced to optimize page load times.
I consider correctness is more important than fast page load and agree in removing pagination for variables.


Fixed crash related to JS synthethic rest param and preceeding parameters with initializers

fixes https://github.com/microsoft/TypeScript/issues/57435

@andrewbranch this issue has already been fixed by https://github.com/microsoft/TypeScript/pull/57580 (it doesn't come with the tests contained by this PR here - you can check them out in the current nightly though: TS playground).
So the question is: is the fix here still worth pursuing? I think it might be because the other PR fixed just one of the call hierarchies leading to this problem. I now don't have any other test case at hand to prove the necessity of this PR here though

It sounds like this fix may still be worth pursuing, but a failing test case probably does need to be found or reverse engineered.


indexer: make all fields nullable

Summary
The underlying stream data is made of protobuf-encoded messages.
When converting to JSON, all fields that have default value (empty
for repeated fields and 0 for integers) are not serialized.
Until we fix that issue, users should handle these edge cases.

Current dependencies on/for this PR:

#69  👈
main

This stack of pull requests is managed by Graphite.


Samples for secret manager not working

Samples are not working, I was trying to set params by hand with different variations but all the time I'm getting errors, often TypeError :/ Really documentation for Workflows looks outdated.

Hi @Mistic92 , can you provide the file you edited and the full error message?

I have tested both connectors/connector_secretmanager.workflows.yaml and connector_access_secret.workflows.yaml without issue.


Directory doesn't exist

I wanted to install this theme in my Pi-Hole, it's in a docker on a Synology DSM 7 however it fails at the first step:
Steve@DEFIANT-A:~$ cd /var/www/html/admin/style/themes/
-sh: cd: /var/www/html/admin/style/themes/: No such file or directory
I am a n00b when it comes to these things, I have not been able to find the /www/ path via WinSCP either.

🤔  I'm sorry, that's my fault. I run that on Raspberry directly. I have no idea how does it work in Docker container. If it's even possible.
I'll make it more clear in the readme file. At least till we find a solution. I'm gonna keep this issue open so other can comment.

Thanks! 😁

It seems to work on Docker the same way.  Make sure you are using the bash entry point for your default and not sh.  I spun up a fresh Docker install that has portainer for management and was able to enter the image, run all the commands, and apply it using the instructions provided here.  I also restarted the container to make sure the update persisted through a reboot (some docker containers reset every restart) and the theme was still there so that works too.  Great job on this reskin btw Michal!
Default Theme after install

Running install commands in the container

Applying the theme = Profits (*Spoken like a Ferengi)


Links found in archived pages after cloning region

Describe the Bug

When a region is cloned, the link checker of the new region contains links in archived pages, even if these links were not present in the source region.
Steps to Reproduce

Create region with archived pages that contain links
See link checker of that region which does not contain the links in archived pages
Clone that region to a new region
See link checker of the new region which now contains the links in archived pages

Expected Behavior

The cloned region should also exclude links in archived pages
Actual Behavior

The cloned region has links in archived pages
Additional Information

Workaround: Archived pages are not supposed to be cloned


Article headings do not wrap correctly

When article heading is longer than the space reserved for it, the heading is often wrapped inside a word. This happens for example with Building simple C# solutions with Visual Studio:

Notice how the word "Visual" is split into "Visua" and "l".
I think article headings should be wrapped between words, as usual.

/cc @bradygaster

With the new site I don't think that is true any longer so I'm closing this one. e.g.
https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/using-with-xplat-cli
Please let me know if that's not the case.


[Feature] provide the option to run all scenarios or a given scenario

I have a very similar, yet slightly different, use-case and would love to use this plugin instead of having to carry code within the TripleO-Ansible project.
This is the code we're currently using to execute molecule tests using pytests.

https://github.com/openstack/tripleo-ansible/tree/master/tests

This simple test runner will allow us to define a given scenario as needed. In the event that no scenario is defined, the runner will execute all scenarios found within a given role.
The test runner used in tripleo-ansible was created because we're testing every role in isolation. In the event that a given role has more than one scenario to test, the role will have multiple tox entries making it possible for the developer to easily test any scenario as needed.
It would be great if we could have this plugin could provide an option to set a test scenario and potentially special case an _all_ option which will use the --all switch in molecule.

I propose that the default behavior would be to run all scenarios but not using molecule --all but instead by running one separated pytest for each of them.

The reason we're running with the --all flag at this time is so that we're generating a single HTML report at the end of the test run. So long as we can ensure we're not impacting the pytest report I think its fine to run each scenario one by one.

I am going to close this because this is already supported. By default molecule will run all scenarios discovered, each of them will be run as an individual pytest. The final report includes output from all of them.
If the user wants to run only one scenario, he can call pytest with that individual molecule file as parameter. For example pytest tests/roles/myrole/molecule/default/molecule.yml

Please consider re-opening this issue, As a developer I need to be able to run a specific scenario for a given role and then all scenarios for that one role; not all scenarios across all roles discovered by the plugin. By default molecule will only run the "default" scenario when executing molecule test. We have to pass in the "--all" flag for it to run all the scenarios from within that role.
If we're to adopt this plugin we'll need the ability to target both roles and scenarios.

Maybe you missed to observe it but pytest-molecule calls molecule for all detected scenarios, each scenario is detected as an individual test.
Due to this there is no need to call molecule with —all as we already loop on each pf them.
It is true that currently we do not pass extra params but feel free to make a new feature. request for that, preferably a PR too.


Refs #29324 -- Fixed SECRET_KEY validation when using settings.configure().

Regression in b3cffde5559c4fa97625512d7ec41a674be26076.
https://code.djangoproject.com/ticket/29324#comment:5

I'll revert the original patch for now.

Sorry, I've been away and was unable to respond earlier.
I'm fine with reverting the patch. I'll see if I can com up with a better solution.


Bump KtLint to 0.44.0 and add UnnecessaryParenthesesBeforeTrailingLamda rule

See https://github.com/pinterest/ktlint/releases/tag/0.44.0 for the full release note. I've also wrapped the new experimental UnnecessaryParenthesesBeforeTrailingLamda rule.
I also tried to implement the new VisitorModifier instead of the deprecated Rule.Modifier interfaces.
This should also fix the issue #4604
Sadly I get a lot of Unexpected indent of multiline string closing quotes [Indentation]-errors for the Unit-Tests. Maybe someone has some ideas how I can fix it.

Thanks @cortinico ! So you simply fixed the issues (or let the formatter do the work) .. Well, okay 😄
Can you just tell me a simple question about your changes: You wrote the following snippet: https://github.com/detekt/detekt/commit/2a9b6025724e413115df25be2f40c641c4b0c84f#diff-9cf77f9ffcbf036bf5044d1ef99728b56aad97854246f3473f69d54b4b929380R82-R86 . Is it really necessary to check the KtLint.EDITOR_CONFIG_USER_DATA_KEY? I'm not sure about it, it worked for already without it. But of course I will implement it if it is necessary.

Is it really necessary to check the KtLint.EDITOR_CONFIG_USER_DATA_KEY? I'm not sure about it, it worked for already without it.

I think it is. I tried to publish a new version of the Gradle plugin locally and KtLint was crashing while executing the Indentation rule for that. That's why I had to do this change.
That's the same reason why I had to touch the detekt-formatting gradle file to include the extra dependencies KtLint carries over.

That's the same reason why I had to touch the detekt-formatting gradle file to include the extra dependencies KtLint 0.44.0 carries over.

I was already wondering why you implemented the microutils logging framework. But now I see (and my code build locally). Thanks!

😂 We just merged 0.44 but 0.45 is out

Oh! and Thank ou very much for the PR @kvn-stgl :)


Fix the image size

I fixed this issue.

that awesome , now also add your github profile in about us | contributor page and make sure you read the contributor.md to add your template

Yeah, I added my github profile in about us page.


factory.ino is missing

https://github.com/Xinyuan-LilyGO/T-Embed/blob/main/example/factory/src/main.cpp
This demo is built with platformIO.


Create CONTRIBUTING.md

Better phrasing, added sources, structured the file | https://github.com/ripple/rippled/pull/3922
High Level Overview of Change
As the ecosystem grows, more developers will join and contribute to rippled, this file will hopefully guide them.
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
[X] Documentation Updates
[ ] Release

Closing this PR in favor of https://github.com/ripple/rippled/pull/4214, a more cleaner yet more informative file.


Jetpack causes conflict with boostrap dropdowns

Button and nav dropdowns not functioning when Jetpack plugin is activated. These are the only two scripts that it was calling:
http://s.gravatar.com/js/gprofiles.js?aa
/plugins/jetpack/modules/wpgroho.js
(I'm new to github, hope this is the right course of action)

that jetpack plugin is so broken it's kinda crazy. this should be fixed with 7f9077cfebd3a479eb63f79078a3e2dbfcff5f7d but i can't even get the plugin configured to test. so many whitepages.


Clarification / Best Practice required on how to handle multiple analyzer-result.yml files

All,
We do have several use cases where an overarching project might consists of multiple services and product teams. Therefore, multiple analyzer-result.yml file will be submitted (let's say 10+) because the project is simply not able to generate ONE .yml file (i.e. technical restrictions, mono repo)

I would like to understand if there is an automatic way (best practice) how we can merge (in ORT) multiple yml. files into ONE?
The merge of multiple yml. files should also remove possibe duplicates (FOSS-componentes that are reused in all the repositories and are part of the different .yml files) because currently we are doing it manually which is to be honest a "pain in the ass".

Thanks,
Nik

Sounds like a good fit a new helper-cli subcommand, or @fviernau?

@porsche-rishisaxena, FYI, I can only assign @nikpete as he's the reporter (and none of you are project members, yet).

Porsche solution submitted as https://github.com/oss-review-toolkit/ort/pull/5315

Porsche solution submitted as #5315

Please associate issues with PRs by using one of the respective keywords in one of the commits in the PR instead of manually adding comments.

For reference, if all code is located in Git repositories, a possible workaround for this issue is to create a new Git repository with all the other Git repositories as submodules. You can then use the new Git repository as input for the analyzer to get a single analyzer result with correct provenance information for all projects.

I would like to understand if there is an automatic way (best practice) how we can merge (in ORT) multiple yml. files into ONE?

I have a hunch that we're jumping to conclusions too quickly with implying that merging (analyzer) result files is the right approach.
Let's step back a bit and ask ourselves what we want to achieve. From re-reading @nikpete's OP my guess is that in the end only a single / combined report (i.e. attribution document) is needed. As attribution documents contain far less information than full-blown ORT result files, maybe the better approach is to not merge ORT result files beforehand at all, but to create a special reporter  that can take multiple ORT result files and simply attributes to the union of all contained projects / packages in a single report?


Proposal: Client Go Rewrite

Client Go Rewrite Outline
Packages
main: Does initial command line parsing and parses out the command, like deisctl
client: Parses command options and calls cmd package, like deisctl
cmd: takes options and works with models and api, somewhat like deisctl
session: serializes/deserializes user preferences
Load() (Session, error)
Save(session Session) (error)
Exists()(bool, error)

api:

raw REST Methods, can optionally take a session object

Get(url string, sslVerify bool) (http.Response, error)
AuthGet(relUrl string, session Session) (http.Response, error)
Post(url string, body string, sslVerify bool) (http.Response, error)
AuthPost(relUrl string, session Session) (http.Response, error)
Delete(url string, body string, sslVerify bool) (http.Response, error)
AuthDelete(relUrl string, session Session) (http.Response, error)

models:

high level api for working with the controller. Example of the App object:

Apps.Delete(app App) (error)
Apps.Get(id string) (App, error)
Apps.List()([]App, error)

type App struct {
  id string
  owner string
  created time.Time
  updated time.Time
  ...
}

(app) Save() (error)

Testing:
I plan to a httptest server to mock the controller api.

Is there a reason why the App struct has all private fields?

@technosophos Nope, just a typo.

I think this looks good. For the most part, it mirrors deisctl, and the proposed structure makes sense to me.
I would prefer not having a package named "api" or "apis", since that is not descriptive (in fact, it's confusing). Maybe "http" or "rest"?
I'm also a little confused over the term "session". User preferences aren't really a session. If the package "session" marshals and unmarshals preferences, shouldn't it be called "preferences" or "prefs"?

I would prefer not having a package named "api" or "apis", since that is not descriptive (in fact, it's confusing). Maybe "http" or "rest"?

rest sounds good. I didn't choose http to avoid confusion with the native http package.

I'm also a little confused over the term "session". User preferences aren't really a session. If the package "session" marshals and unmarshals preferences, shouldn't it be called "preferences" or "prefs"?

Preferences is better. I was thinking about the starting a session after authenticating, but preferences better reflects the more general use of the file.

I agree with the name models, however I'd move it to controller/models. If we ever re-write the controller in Go (unlikely, but possible), I'd imagine that the import package would be github.com/deis/deis/controller/models, so it'd be a quick change from github.com/deis/deis/client/controller/models to github.com/deis/deis/controller/models.
I would also move the controller interaction into a separate package. controller/client would be better for communicating with the API. As an brain dump, here's how I think it should look like:
// A Client manages communication with the controller API.
type Client struct {
    // HTTP client used to communicate with the API.
    client *http.Client

    // URL used to communicate with the controller.
    URL *url.URL

    // Base URL for API requests.  Defaults to the v1 API, but can be
    // set to a new api endpoint if the user has customized their controller.
    // BaseURL should always be specified with a trailing slash.
    BaseURL *url.URL

    // User agent header used when communicating with the controller API.
    UserAgent string

    // Token is used to authenticate the request against the API.
    Token string

    // Username is the name of the user performing requests against the API.
    Username string

    // Handle to a local Deis settings file. By default this is found in
    // ~/.deis/client.json, but can be tweaked by setting $DEIS_PROFILE.
    // It is used to persist client data on the local machine.
    SettingsFile *os.File
}

This way if users require a proxy (Go handles this by default), they can extend the HTTP client to their liking by setting up their own http.Transport in the client.
I'm not sure how the API requests would be handled, but that's my 2 cents on how the controller interaction should be set up.

@bacongobbler I like your ideas. I'll update the spec accordingly.

Closing this in favor of #3956. The actual implementation is similar to this, but I did change some things to make the code cleaner.


Track referrer the right way

Using session storage to track initial referrer and persist for duration of user session. Note if sessionStorage not available (Chrome < 5, FF < 2, IE < 8, Safari < 4), then the initial_referrer and initial_referring_domains will default to empty string.

I think we want referrer to be the referrer for the session, initial_referrer to be a set_once user property

Initial referrer is saved via setOnce, and referrer is only set once per session. Since the server propagates user properties, we actually don't even need to send the referrer information with every event. We just send one initial identify call when initializing the SDK. Tested on local server.
PTAL @curtisliu


Add CLI example for generating Cosmos HD path test vectors

This was needed for the proposed spec: https://github.com/cosmos/cips/pull/11. Unfortunately it never got any traction 😢. RIP


hi! Can be used on native react?

hi! Can be used on native react?

Yes, they can. Just use the svg's. You can make a component that takes the path of the svg.


Rebaseline ICC profiles to match PR3329

https://github.com/libjxl/libjxl/pull/3329

Friendly ping @sboukortt


How does the leaked source code impact SEGS development?

Just want to check to see if anyone on SEGS team has had a look at the source code that has allegedly been leaked which includes issue 24 functional COH server.
Is this something that could accelerate development of Segs?  (Within legal confines)

IANAL but I firmly believe that the leaked source has only done this project harm.
Looking at the leaked source should result in a ban from contributing to this project IMO as it makes the legality questionable.

The only way I can see the leaked source helping to advance SEGS is with strict Chinese Wall Protocols in place to endure that no code is explicitly shared or copied.
This blog has some info on the practice
https://auriga.com/blog/2013/ethical-walls-in-software-development/

I agree that no illegally obtained source code should be put into SEGS- license compliance an all.
However if a functional emulator springs up in the next week, what will that mean for SEGS?

Hard to say.
Our objectives are broader in scope than a pure i24 server emulation. We'd like to have a custom client and be completely detached from NCSoft

Just curious if there is even observable behaviours that could assist SEGS?
Eg: packets, op codes etc
I assume server side pigg date would be a no-go area, since it was never legally released. Powers, enemies etc would probably need to be ‘guessed’ or ‘derived’ outside of looking at leaked material.

SEGS currently has all implemented packets and opcodes, save for some things like creating a Bug Report. Powers and the likes are in the client data. Navmeshes were part of the client back when versus i24.
The best way to contribute without going too far, imo, would be any math for things like defense, how long a status effect lasts, regen rates, etc. that weren't documented too well.

Well in terms of power data, we have all that info because later clients released it publicly.
I'm not entirely sure that having access to the world would continue to provide much benefit at this point.
Perhaps if we wanted to move to a newer client and wanted to packet sniff a setup server, but even then I feel like we'd be toeing the line again, because vicariously it relies on leaked code.

Marking this as Question AND Good First Issue so that it can be seen by newcomers to the project. Will open a new Issue to rewrite our Contributing docs to make it clear that we are a Clean Room environment and that no leaked code can be used, or should be shared with the project or on our github.

Closing this as I think enough time has passed that any confusion is behind us.


Remove config on pack unload

Remove the config alongside the pack. Requested by @lakshmi-kannan.

Current coverage is 77.40% (diff: 100%)

Merging #3068 into master will increase coverage by 0.10%

@@             master      #3068   diff @@
==========================================
  Files           430        430
  Lines         22061      22061
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          17055      17076    +21
+ Misses         5006       4985    -21
  Partials          0          0

Powered by Codecov. Last update b7fa82a...0506b33

I'll merge this into #3068 since I plan to add tests there (the other then when I noticed another unintall bug I noticed we have no direct tests for it).

And a good catch and thanks btw!

Continuing in #3062 (with tests).


Set "consumes" type to "application/json" in the POST of the swagger file

fixed see updated pull request #113


Fix UNKNOWN option in setup.py

Fix UNKNOWN option in setup.py
Origin:

Changed:

Why I cannot view the detail of job log?


unicorn:keyup.debounce does not work.

Using 0.35.3, unicorn:keyup.enter.debounce-1000 works as intended, but unicorn:keyup.debounce-1000 does not, it fires instantly instead of waiting 1000ms.
This is needed e.g. for search fields, where after typing, the search method should be called - but only after 1s, without pressing enter, at any key.

Sorry, I know this has been open for a while. I can look into unicorn:keyup.debounce-1000, but is there a reason you aren't using unicorn:model.debounce-1000 instead? I'm pretty sure that would work as you would expect.

I don't know if it's still useful, but I have found that, if you use it both on model and keyup it works. for instance:
<form class="d-inline-flex align-items-center me-2" unicorn:submit.prevent="search" style="border: 1px solid; padding: 5px;">
    <!-- make this search input debounce 2 seconds -->
    <input type="text" class="form-control"
      unicorn:model.debounce-1000="search_input"
      unicorn:keyup.debounce-1000="search"
      unicorn:keyup.escape="search_input=''"
      placeholder="{{placeholder|default:'Search...'}}"
      id="id_search_input"></input>
    <!-- <button class="btn btn-outline-secondary ms-2" type="submit" unicorn:click="search">Search</button> -->
</form>


Fb add capabilities multi vane and fan speed support

I've added a number of new features:

Detect & store capabilitites (after initial installation, the esp32 will reboot automatically one time after receiving 0xC9 to send the correct climate traits)
Disable / hide unsupported climate and general entitites
Support for up to 4 vanes
Slow fan mode support (displayed as "QUIET" in HA)
Exposed installer fan speed configuration to HA entities for easier fine-tuning (0-255 - but I'd be cautious at values over 60, it's like a jet taking off)
Small improvements in procotol.md / fixed the vertical / horizontal swing capability flags

This is how it looks like:

Thanks for doing this. Regarding the 4 vanes detection: from what I remember, I think that's covered by the two upper bits of byte 5, where it's something like 0 = 4 vanes, 1 = 1 vane, 2 = 2 vanes, 3 = ?
I'll see if I can figure out more about these bits that are set in your C9 messages by sending them to the PREMTB001 controller and seeing if it behaves differently. I want to collect as much information as possible about the protocol while I still have the controller hooked up to my laptop.
Do the 4 vanes also support 6 different positions? I was wondering if there's a difference there.

Slow fan mode support (displayed as "QUIET" in HA)

According to the screenshot, I guess your QUIET mode is for the indoor unit. My S12ET units have no quiet mode for the indoor units, but they support a quiet mode for the outside unit.

I looked a bit more into the capabilities message. I updated protocol.md with the "elevation grill" flag / settings.
The other unknown bits I don't see what they're for. The number of vertical vanes is determined by the upper bits of byte 5: 0 = 4 vanes, 1 = 1 vane, 2 or 3 = 2 vanes. So for this I think we care just about those two bits + the "vertical vane control" bit.

Actually I can just change this myself. I'm testing this version now.

My units don't support the fan speed installer setting. Can you add a capability flag for the "supports ESP value installer setting" bit and use it to disable these settings? After that I can test this version with my units.

Bummer, I messed up ESP with static pressure and thought it would work regardless of support - but actually my Artcool Gallery has the ESP flag set.
I will add a check for that and hide all the related entities if unsupported.

Also FAN_LOW_MEDIUM is bit 0x8 and FAN_MEDIUM_HIGH is bit 0x10.

Thanks, will fix that.
I don't have a unit with support for those modes and I don't think I can expose them in HA, because the climate entity from esphome is limited to the modes available in the enum.

Slow fan mode support (displayed as "QUIET" in HA)
According to the screenshot, I guess your QUIET mode is for the indoor unit. My S12ET units have no quiet mode for the indoor units, but they support a quiet mode for the outside unit.

You're right, the "SLOW" indoor fan mode is shown as "QUIET" in Home Assistant. That's again a limitation of esphome and their climate entity.
So it's not the "Silent Mode" supported by some single split ODU.
That could possibly be added as well since it's available in 0xAE/0xCE, but I have no way of testing it.
Multi-split ODUs only have a power limit jumper on their PCB.

Actually I can just change this myself. I'm testing this version now.

Ok great, let me know if you find anything I should change.

It works great! I still have the same settings available :)
(I just realized I should probably add a switch for "auto clean" at some point. That should be easy to add now and will be useful in the summer.)

@florianbrede-ayet just curious, does your Artcool Gallery unit support all vane positions? If I remember correctly from yesterday, if I send its C9 message to the LG PREMTB001, I could only enable/disable vertical swing but nothing else because the "vane control" bit isn't set.
It's possible the unit or controller is just too pessimistic. My units report not supporting half degrees Celsius for example even though with the custom controller it works fine.

@JanM321 no it doesn't, at least not in heating mode and I doubt that it works in cooling.
Side note: Interestingly, ThinQ does not allow swing in heating mode although that function actually works when requested.

Guys I do have 2011 LG Therma V air-water heat pump - can do some tests for you as I'd love to be able integrate mine with HA too :) - do I need to do some LIN sniffing or just try your code first?

Which LG controllers are compatible with it? That might tell us something.
Here's a project that suggests the hardware might be similar but the protocol is different: https://github.com/cribskip/esp8266_lgawhp

I have CN_REMO on the PCB - the controller is old mono LCD based display with rubber buttons. Controller doesn't look like PENKTH000. Looks like this: https://www.elektroda.pl/rtvforum/topic2154274.html so it seems to be PQRCUSA0

I have CN_REMO on the PCB - the controller is old mono LCD based display with rubber buttons. Controller doesn't look like PENKTH000. Looks like this: https://www.elektroda.pl/rtvforum/topic2154274.html so it seems to be PQRCUSA0 - this is exatly mine: https://wentylacja.com.pl/photo/article/i850x850/pompa-ciepla-w-domu-jednorodzinnym-55148.jpg

You could try it, or figure out a way to sniff the signals from the LG controller. I expect the air-water heat pump to use a different protocol though.


THREAT - A user who is not an admin or operator cannot vote.

Scenario
Every action from a user who is not an admin or operator will become unauthorized, including casting a vote. An authenticated user should able to cast a vote even if they are not an operator or admin
Source
web/backend/src/Server.ts
// Secure /api/evoting to admins and operators
app.use('/api/evoting/*', (req, res, next) => {
  if (!isAuthorized(req.session.userid, SUBJECT_ELECTION, ACTION_CREATE)) {
    res.status(400).send('Unauthorized - only admins and operators allowed');
    return;
  }
  next();
});

Breaking Property
Availability, Authorization
Risk
CVSS Score: 5.7/10
Mitigation
Backend should let an authenticated user have the ability to vote.

It's now fixed !


add apollo3 compliance

[x] fix apollo3 error failure (users? ):

[x] fix on travis environment (this works locally)
[x] use https://github.com/travis-ci/travis.rb#readme (or docker)

[ ] add apollo2 environment (apollo 2 docker, apollo 3 docker)
[ ] confirm apollo 2 compliance

Note: there will be multiple further changes before this is ready for review: https://github.com/nathandunn/ApolloConvertedGrails3Server/pull/20

Closing for now as this branch has been moved to GMOD/python-apollo.

Closing for now as this branch has been moved to GMOD/python-apollo.

This branch can be kept alive, though.

This branch can be kept alive, though.


Create a Stateful Component challenge appears to allow invalid solution for 2nd test

Describe the Issue
A user asked a question related to this challenge wondering why his solution passed.  I then realized the 2nd test test is not working as intended.  The user is supposed to assign a string to a name property of this.state. The user's solution assigns an uninitialized variable name as a property.  The purpose of the test is to make sure the user assigns a string value to a prop named name, but the test still allows the user to pass undefined as the prop's value and the test passes.
Not sure why, but assigning an uninitialized name property to this.state ends up assigned an empty string to it.  This of course passes the test requirement but defeats the purpose of the learning here.  I suggest changed the required property name to something like firstName, so if a user does something like this, all of the tests will fail.
Test in question:

The state of StatefulComponent should be initialized with a property name set to a string.

assert(
  (function () {
    const mockedComponent = Enzyme.mount(
      React.createElement(StatefulComponent)
    );
    const initialState = mockedComponent.state();
    return (
      typeof initialState === 'object' && typeof initialState.name === 'string'
    );
  })()
);

Affected Page
https://www.freecodecamp.org/learn/front-end-development-libraries/react/create-a-stateful-component
Your code
class StatefulComponent extends React.Component {
constructor(props) {
  super(props);
  // Only change code below this line
    this.state = {name}
  // Only change code above this line
}
render() {
  return (

{this.state.name}

  );
}
};

Expected behavior
The second test should fail because the name property of this.state should be undefined` because it was not initialized by the user's code.
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

After a bit of research, it appears that assigning name as a property that is uninitialized is the same as writing:
`this.state = {
window.name
}
Since the window has no name, it is just an empty string.


OAK-9209: Index lane elastic-async traverses repository

Question: let's suppose we have 2 indexing lanes configured (eg: one for lucene and one for elastic). We have an async lucene index but no async elastic indexes. Is the elastic lane activated? My understanding is yes. We avoid activating a lane only when there are no async indexes at all. Am I wrong?

There should be atleast one index for each lane. If there is no index for a lane, that lane won't traverse repository unnecessarily.

Sorry, forgot to check index lane to lane in indexes. Added it now.

Merged


How to play gif format image?

version: 3.8.0
how to play gif format image?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

You can't. Convert it to single frames and make an animation from those.


[0.4] Sync CI: Run on pushes and PRs, simplify deploy, update Cargo C and grcov

This PR ports all the CI changes from #2650, #2651 and #2655 over to the 0.4 maintenance branch.
Main CI

Run the CI also on pushes and pull request to the 0.x maintenance branches (0.3, 0.4 etc.)
Update Cargo C to 0.7.1
Update grcov to 0.7.1

Deploy CI

Removes empty lines and reformat single-line run: commands
Simplify Nasm installation by using ilammy/setup-nasm also on Ubuntu
Update Cargo C to 0.7.1 (also for the regular CI workflow)

something is fishy with coveralls.

something is fishy with coveralls.

The coveralls issue was resolved in #2655. That patch can be cherry-picked into this PR to merge together.

The coveralls issue was resolved in #2655. That patch can be cherry-picked into this PR to merge together.

I updated this PR to port all the CI changes of this week over to the 0.4 maintenance branch.

I updated this PR to port all the CI changes of this week over to the 0.4 maintenance branch.


overdot rendering in word doc

When I use the metanorma/metanorma:1.10.8 docker image to compile equations with overdots, the equations render incorrectly in the word document:

It appears the dot and symbol positions are transposed?
The rendering in the PDF appears as expected:

I produced the above by appending the following source to https://github.com/metanorma/mn-samples-ieee/blob/main/sources/p987.6/sections/04-important_elements.adoc:
[latexmath]
++++
\dot{\Theta} \neq \ddot{\Theta}
++++

[%key]
latexmath:[\dot{\Theta}]:: is theta dot
latexmath:[\ddot{\Theta}]:: is theta double-dot

[asciimath]
++++
dot Theta ne ddot Theta
++++

[%key]
asciimath:[dot Theta]:: is theta dot
asciimath:[ddot Theta]:: is theta double-dot

and rendering the document via
mkdir -p build
docker run --rm -v "$(pwd)":/metanorma/ -w /metanorma metanorma/metanorma \
    metanorma compile \
              -t=ieee \
              -o=build \
              --agree-to-terms \
              sources/p987.6/document.adoc

Word uses a distinct markup language for maths than PDF and HTML (MathML vs OOXML), so that is plausible. Will confirm and pass on to my colleague Suleman to fix if so, as this is managed in a separate piece of code.

@opoudjis Just fixed this in PR plurimath/plurimath#300, see the screenshot and the generated OMML below.


Test file path not included in ctest's test name

Would it be possible to include the test's file path in the test name? Currently, if you have test functions with the same name in different files, the resulting test name in ctest is identical.
For example, consider the following file hierarchy:
__init__.py
one/__init__.py
one/test_a.py
one/test_b.py
two/__init__.py
two/test_a.py
two/test_b.py

where each test_*.py file contains a single test function called test. The output of running vanilla pytest on this is:
one/test_a.py::test PASSED
one/test_b.py::test PASSED
two/test_a.py::test PASSED
two/test_b.py::test PASSED

Using pytest-cmake using pytest_discover_tests(PythonTests) I get the following:
    Start 1: PythonTests.test
1/4 Test #1: PythonTests.test .................   Passed    0.08 sec
    Start 2: PythonTests.test
2/4 Test #2: PythonTests.test .................   Passed    0.08 sec
    Start 3: PythonTests.test
3/4 Test #3: PythonTests.test .................   Passed    0.08 sec
    Start 4: PythonTests.test
4/4 Test #4: PythonTests.test .................   Passed    0.08 sec

All the tests have the same name!
Something like the following would be ideal. This takes the file path reported by pytest, removes the .py extension and replaces forward slashes with periods, then includes it in the test name. If you want to maintain previous behaviour by default, we could put this behind an option.
    Start 1: PythonTests.one.test_a.test
1/4 Test #1: PythonTests.one.test_a.test ......   Passed    0.08 sec
    Start 2: PythonTests.one.test_b.test
2/4 Test #2: PythonTests.one.test_b.test ......   Passed    0.08 sec
    Start 3: PythonTests.two.test_a.test
3/4 Test #3: PythonTests.two.test_a.test ......   Passed    0.08 sec
    Start 4: PythonTests.two.test_b.test
4/4 Test #4: PythonTests.two.test_b.test ......   Passed    0.07 sec

How about adding an option to include the test file in the identifier, similar to how Pytest organizes its test collection?
    Start 1: one/test_a.py::PythonTests.test
1/4 Test #1: one/test_a.py::PythonTests.test ......   Passed    0.08 sec
    Start 2: one/test_b.py::PythonTests.test
2/4 Test #2: one/test_b.py::PythonTests.test ......   Passed    0.08 sec
    Start 3: two/test_a.py::PythonTests.test
3/4 Test #3: two/test_a.py::PythonTests.test ......   Passed    0.08 sec
    Start 4: two/test_b.py::PythonTests.test
4/4 Test #4: two/test_b.py::PythonTests.test ......   Passed    0.07 sec

This would also work well with ctest -R since there are no regex symbols to escape.

I'd prefer if the test group name came first, as in my head that logically groups all the test files together. I see the hierarchy as: test group, test file, test function -- so would be good if the test name followed the same order.
To give a concrete example, in my project I have tests like the following (note: I can't really link to it as it's in a private repo):
Cmake config looks like:
pytest_discover_tests(
  csim_computer
  DEPENDS biscuit-sim
  TRIM_FROM_NAME "(_test)|(test_)"
  STRIP_PARAM_BRACKETS
  ENVIRONMENT
    "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}"
)

pytest_discover_tests(
  vsim_computer
  DEPENDS biscuit-sim
  TRIM_FROM_NAME "(_test)|(test_)"
  STRIP_PARAM_BRACKETS
  ENVIRONMENT
    "CMAKE_BINARY_DIR=${CMAKE_BINARY_DIR}"
    "BISCUIT_SIM_HARDWARE=1"
)

The test files look like:
sim/test/computer/CMakeLists.txt     <--- as above
sim/test/computer/test_move.py
sim/test/computer/test_jump.py
...

I'd like the test names to look like:
...
          Start 1090: csim_computer.move.no_carry_before_ml_overflows
 155/2123 Test #2109: vsim_computer.move.memory_indirect_to_register.r10 .......................   Passed    0.48 sec
          Start 1532: vsim_computer.jump.external_interrupt_rti_from_0x0100
 156/2123 Test #1306: vsim_computer.calc.add_from_immediate_to_memory_indirect.40-0-40-0-0 .....   Passed    0.45 sec
          Start 1101: vsim_computer.calc.add.253-17-14-1-0
...

I don't mind if the test names are something like PythonTests.one/test_a.py::test by default, but would like to have an option to rewrite the ::, .py, / and test_ to obtain PythonTests.one.a.test
TRIM_FROM_NAME I don't think would be sufficient to do this. Would need something more general like REPLACE_IN_NAME that you proposed in https://github.com/python-cmake/pytest-cmake/issues/41

Ah true, the target name should be first indeed. Then, we could add an option to extract the path hierarchy to compute the identifier. I just pushed a quick test on this PR: https://github.com/python-cmake/pytest-cmake/pull/44
Ley me know what you think!


Fix deprecation warning in PHP 8.1

Backwards-compatible deprecation warning fix for PHP 8.1, see https://wiki.php.net/rfc/internal_method_return_types:
Deprecated: Return type of Discord\Slash\Parts\Part::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in src/Discord/Parts/Part.php on line 83

Didn't see the docblock comment on the first pass - this should be fine adding the :array return type, because the library doesn't support anything older than PHP 7 as per composer.json.


OCPI Backward compatibility: 2.1.1

This issue will be used to track progress on achieving backward compatibility for OCPI version 2.1.1
Depends on #15

Hi @YuriyDurov,
How are you?
Were you able to figure out a solution to support objects of different OCPI versions, when the object properties names haven't changed, but the property types did changed?
For example, on https://github.com/BitzArt/OCPI.Net/blob/main/src/OCPI.Net.Contracts/Session/OcpiSession.cs,
"TotalCost" property type changed between 2.1.1 and 2.2.1 versions, but the property name didn't, hence the object can't be used for OCPI 2.1.1 version, only for 2.2.1 version.
Would be happy to hear your thoughts on this.
Regards,
Lior

Hello @LiorBenAri
This can probably be solved by having two properties having the same json property name. So that either one can be used. Maybe a custom JsonConverter would also be required. Luckily, there shouldn't be too many cases like that.


timedelta fix for header date

https://github.com/Storj/dataserv-client/issues/111

There is no need to check anything other then the seconds.
> import datetime
> datetime.timedelta(seconds=5, minutes=3).seconds
185

Using the abs function is also a much cleaner implementation for checking pre dated timestamps.
> earlier = datetime.datetime.now()
> later = datetime.datetime.now()
> abs(earlier - later).seconds
9

Can you change this, before I pull?

Unit test with 13 sec are not stable. I reduced it to 10 sec.
Thx for the tip with abs. I changed it.


Initial PR for

Please Review, haven't been able to test this with ngRoute. only ui-router.
Based on some feedback from the ui-router team here
https://github.com/angular-ui/ui-router/issues/3045
This would help resolve #14

hey no worries, thanks for the feedback... Done I believe


When loading the game, it crashes.

Only just recently added your mod, and the crash log is yelling about CCTweaks having a "ClassNotDefFound" error. Here is my modlist It may just be me missing a coremod (I would have it if I had known about one) Hope this issue gets resolved soon so i can get back on modpack dev-ing.
Thanks!
~Kd
(PS I hope you don't mind if I use the mod in a pack once the issue gets resolved, it seems like a great mod. And yes, I see the MIT lisence over there, I just like to ask ;D)

Ouch. A temporary fix would be to add MCMultipart. I'll have a look now. Sorry :frowning:.

Thanks for the quick response and hotfix solution, looking forward to using the mod :)

Fixed in <IP_ADDRESS>


Currently Anet has disabled the API to avoid leaking information.
A side-effect of this is that Blish-HUD appears to be crashing when it encounters the 503 response that the API replies with right now.
I can reproduce a crash by adding my API key to Blish-HUD on a freshly installed copy.
I realize this problem will fix itself when the API comes back online; But for long term stability I would suggest fixing something so it gracefully handles these unexpected API responses.
Here is a log from one of the crashes:
Blish HUD v0.11.7+Branch.tags-v0.11.7.Sha.0c709c76cb502d310f2964dca92ce770e533dae2
23:44:55.2153 | INFO  | Blish_HUD.Program | Running Build "Branch.tags-v0.11.7.Sha.0c709c76cb502d310f2964dca92ce770e533dae2"
23:44:55.2193 | INFO  | Blish_HUD.Program | Launched from "F:\GameTools\gw2\Blish.HUD.0.11.7" with args "".
23:44:57.1203 | INFO  | Blish_HUD.Gw2WebApiService | Could not find registered API key associated with character "Víridia"
23:44:57.1543 | WARN  | Blish_HUD.Contexts.FestivalContext | Failed to query Guild Wars 2 API.
Gw2Sharp.WebApi.Exceptions.ServiceUnavailableException:
Status Code 503

Temporarily disabled to avoid classified End of Dragons information escaping from the vault of forbidden spoilers. See you in Cantha!

   at Gw2Sharp.WebApi.Middleware.ExceptionMiddleware.<>c__DisplayClass1_0.<<OnRequestAsync>g__ExecAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Middleware.RequestSplitterMiddleware.<>c__DisplayClass4_0.<<OnRequestAsync>g__ExecAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Middleware.CacheMiddleware.<RequestGetAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Caching.BaseCacheMethod.<>c__DisplayClass4_0.<<GetOrUpdateAsync>g__ExecAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Middleware.CacheMiddleware.<OnEndpointRequestAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Http.WebApiRequest.<ExecuteAsync>d__10`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.V2.Clients.BaseEndpointBulkAllClient`2.<GetAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Blish_HUD.Contexts.FestivalContext.<GetFestivalsFromGw2Api>d__9.MoveNext() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\Contexts\FestivalContext.cs:line 153

23:44:57.1573 | INFO  | Blish_HUD.GameIntegration.ClientTypeIntegration | Detected Guild Wars 2 client to be the Standard version.
23:44:57.1573 | INFO  | Blish_HUD.Contexts.FestivalContext | Active festival(s): ""
23:44:57.1573 | INFO  | Blish_HUD.Modules.Pkgs.StaticPkgRepoProvider | Getting module list...
23:46:01.3743 | FATAL | Blish_HUD.DebugService | Blish HUD encountered a fatal crash!
Gw2Sharp.WebApi.Exceptions.ServiceUnavailableException:
Status Code 503

Temporarily disabled to avoid classified End of Dragons information escaping from the vault of forbidden spoilers. See you in Cantha!

   at Gw2Sharp.WebApi.Middleware.ExceptionMiddleware.<>c__DisplayClass1_0.<<OnRequestAsync>g__ExecAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Middleware.RequestSplitterMiddleware.<>c__DisplayClass4_0.<<OnRequestAsync>g__ExecAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Middleware.CacheMiddleware.<RequestGetAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Caching.BaseCacheMethod.<>c__DisplayClass4_0.<<GetOrUpdateAsync>g__ExecAsync|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Middleware.CacheMiddleware.<OnEndpointRequestAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.Http.WebApiRequest.<ExecuteAsync>d__10`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Gw2Sharp.WebApi.V2.Clients.BaseEndpointBlobClient`1.<GetAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Blish_HUD.Gw2WebApi.UI.Views.RegisterApiKeyView.<UpdateTokenDetails>d__25.MoveNext() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\Gw2WebApi\UI\Views\RegisterApiKeyView.cs:line 326
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Blish_HUD.Gw2WebApi.UI.Views.RegisterApiKeyView.<CheckToken>d__24.MoveNext() in D:\a\Blish-HUD\Blish-HUD\Blish HUD\GameServices\Gw2WebApi\UI\Views\RegisterApiKeyView.cs:line 302
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Thanks for the trace.  This is something we're definitely aware of with the discussion in our Discord server.  The odd thing is that from what I can tell, the exception should have been caught.
@Archomeda any ideas how a ServiceUnavailableException could have slipped through our try/catches here?

https://github.com/blish-hud/Blish-HUD/blob/0c709c76cb502d310f2964dca92ce770e533dae2/Blish HUD/GameServices/Gw2WebApi/UI/Views/RegisterApiKeyView.cs#L289-L321
You can see we catch some explicit exceptions to help ensure that the message we return back to the user is a bit more accurate about the issue, but ServiceUnavailableException appears to inherit from UnexpectedStatusException.  You can see my intention here was to use the parent exception as a catch type, but that doesn't seem to have worked here.
Earlier in the day when the API was returning 418, it did appear to be working, though.  🤔 I suspect I'm missing something simple.

@dlamkins Yeah, this is an odd one that I've been wanting to fix in a v2.0. The ServiceUnavailableException inherits from the generic variant of UnexpectedStatusException, a.k.a. UnexpectedStatusException<ErrorObject>.
It's in the pipeline for a v2.0 to be simplified.

Ahhh dang it.  That explains it.  Thanks.  👍

I arrived at this page to see why my lovely Blish HUD didn't want to work yesterday and found the answer: thank you. I have nothing helpful to add to this discussion but did want to take this opportunity to thank the Blish HUD team for all their hard work. It really is a wonderful tool for GW2 and I really appreciate it, and the team.

Alright this is now resolved in #621 and will be available in the next release.
@de6orah and thank you for your comments.  They're very much appreciated.  :smile:


[Feature] Move widgets on the canvas with the help of arrow keys

Summary
As a user, I want to be able to move the widgets in all directions on the canvas with the help of arrow keys.
Motivation
This is a good UX that can help users to make the minor movement of widgets to get the overall look and feel of the final app.
Additional Context
The behavior exists on draw.io

Duplicate of #3264


Section 5.5.4 limits password reuse even if not required

Describe the Issue
In #232 a problem was raised because the remember option should not be used with the pam_unix.so module, but task 5.5.3 and 5.5.4 do. In PR #240, task 5.5.3 was changed to use the pam_pwhistory.so module. A long comment has also been added to explain why pam_pwhistory.so is used instead of pam_unix.so.
However, task 5.5.4 Ensure password hashing algorithm is SHA-512 still limits password reusability with the pam_unix.so module. Even though the task has nothing to do with password reuse.
Expected Behavior
Task 5.5.4 Ensure password hashing algorithm is SHA-512 should only change the hashing algorithm, not limit password reuse.
Actual Behavior
The task 5.5.4 Ensure password hashing algorithm is SHA-512 has 2 tasks:

Set the password hashing algorithm to SHA-512
Limit the password reuse with the pam_unix.so module in /etc/pam.d/password-auth  and /etc/pam.d/system-auth.

TASK [ansible-rhel8-cis : 5.5.4 | PATCH | Ensure password hashing algorithm is SHA-512 | libuser.conf] *************************************
ok: [localhost] => (item={'path': '/etc/libuser.conf', 'regexp': '^crypt_style\\s*=\\s*.*$', 'replace': 'crypt_style = sha512'})
ok: [localhost] => (item={'path': '/etc/login.defs', 'regexp': '^ENCRYPT_METHOD.*', 'replace': 'ENCRYPT_METHOD SHA512'})

TASK [ansible-rhel8-cis : 5.5.4 | PATCH | Ensure password reuse is limited | pwhistory] ****************************************************
--- before: /etc/pam.d/password-auth
+++ after: /etc/pam.d/password-auth
@@ -17,7 +17,7 @@
 account     required                                     pam_permit.so

 password    requisite                                    pam_pwquality.so local_users_only
-password    sufficient                                   pam_unix.so sha512 shadow nullok use_authtok
+password    sufficient                                   pam_unix.so sha512 shadow try_first_pass use_authtok remember=5
 password    [success=1 default=ignore]                   pam_localuser.so
 password    sufficient                                   pam_sss.so use_authtok
 password    required                                     pam_deny.so

changed: [localhost] => (item=/etc/pam.d/password-auth)

Control(s) Affected
v8 3.11 Encrypt Sensitive Data at Rest
v7 16.4 Encrypt or Hash all Authentication Credentials
Environment (please complete the following information):

branch being used: tag 2.6.0 (bc4cdf885ce563ec9682caf65131bda9cb38277e)
Ansible Version: 4.0.0 (core 2.11.12)
Host Python Version: Python 3.11.5
Ansible Server Python Version: Python 3.6.8
Additional Details:

Additional Notes
Possible Solution
Remove the task "5.5.4 | PATCH | Ensure password reuse is limited | pwhistory"

hi @fgierlinger
Thank you for this issue, i can see you are referring to the older benchmark version 2.0.0.
CIS v3.0 was released a whil ago.
I have therefore added these fixes to a new locked branch called benchamrk_v2.0.0.
I hope this helps.
Many thanks
uk-bolly

hi @fgierlinger
Thank you again for your time regarding this issue. You should find that this fix was merged into devel and is now in the main branch. I will close this issue, please feel free to reopen if this is not resolved as expected.
Many thanks
uk-bolly


Bump gds-sso to 14.1.1

This release fixes an error NameError uninitialized constant GDS::SSO::VERSION (https://github.com/alphagov/gds-sso/commit/59e9fd42a0b49a50893ad26eaeb76657efeed245)

Closing in favour of dependabot: https://github.com/alphagov/asset-manager/pull/675


Add jtx properties.

Allows additional arbitrary information to be stored in a JTx for use by overrides that need to do additional processing.
Reviewers: @vinniefalco, @seelabs

Fine piece of work here

@ximinez This is great! The only think I'm unclear on is the use case. I get what it is, I'm not sure what benefit it brings to jtx (please read that as I literally don't know, I'm sure there is one). Can you either: 1) write (or point me to docs) or 2) add a test case that shows the use case for this.
In the mean time, I'll test on the various platforms and give a thumbs up after it runs.

A "property" is a way to attach type-erased data to a JTx and retrieve it later. It allows funclets to extend the behavior of JTx in a way that is non-intrusive to the declarations (Open/Closed principle)

nonunity build is failing

Pushed a commit to address the review feedback.
@seelabs, here is a use case from my fee escalation branch:

@seelabs Build error should be fixed. It wasn't happening in Winders.

@ximinez Just pulled and I'm still getting errors. Let me track it down (gcc 4.9.2)

@seelabs I rushed fixing the duplicate Prop type bug in JTx::set. I'll get it straightened out and push in a little bit.

Changes and fixes pushed.

@ximinez I just pulled the latest and tested on linux. Confirmed it builds unity/nonunity passes unittest. I get on error on npm test, but I'm almost positive it isn't related to your changes (Robust transaction submission timeout). I'll look at the code changes and test the other platforms tomorrow morning (just wanted to do a sanity check tonight).

:+1:

:+1:


Update Display Data disappears when display and display.update are in the same cell

Bug: Notebook Editor, Interactive Window, Editor cells

This bug seems to be related to https://github.com/microsoft/vscode-python/pull/10874 . Note that the consequence of this bug is that VSCode cannot be used effectively with the current version of the FastAI library.
Steps to cause the bug to occur
# %%
from time import sleep

from IPython.display import Markdown

# %%
dh = display(display_id=True)

# %%
dh.update(Markdown('`Display Update Fun 1`'))
sleep(3)
dh.update(Markdown('`This update remains`'))
# %%
dh = display(Markdown('`Display Update Fun 2`'), display_id=True)
dh.update(Markdown('`This update is supposed to remain`'))
sleep(3)

Actual behavior
Direct kernel connection
Python version:
3.7.3 (default, Apr 24 2020, 18:51:23) \n[Clang 11.0.3 (clang-1<IP_ADDRESS>)]
[1] from time import sleep...
[2] dh = display(display_id=True)
`This update remains`
[3] dh.update(Markdown('`Display Update Fun 1`'))...
[4] dh = display(Markdown('`Display Update Fun 2`'), display_id=True)...
`Display Update Fun 2`

Expected behavior
Direct kernel connection
Python version:
3.7.3 (default, Apr 24 2020, 18:51:23) \n[Clang 11.0.3 (clang-1<IP_ADDRESS>)]
[1] from time import sleep...
[2] dh = display(display_id=True)
`This update remains`
[3] dh.update(Markdown('`Display Update Fun 1`'))...
[4] dh = display(Markdown('`Display Update Fun 2`'), display_id=True)...
`This update is supposed to remain`

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local
Extension version: 2020.8.105369
VS Code version:  1.48.2
Setting python.jediEnabled: false
Setting python.languageServer: PyLance
Python and/or Anaconda version: 3.7.3
OS: Mac
Virtual environment: venv

Python Output

There was no output.
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

I'm confused to why this was closed, particularly with no comment. While it seemed to work in the insiders version, that doesn't look like it's made it to general release yet. Please leave open until issue is deployed in a general release.


Update CHANGELOG.md

resolves https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/593

Just a changelog change so let me merge.


[REOPEN] Crashing game when loading config with inventory

I've already closed the issue prevously. But it seems that problem still persists. All configs were created from zero on newest version.
I've investigated a bit more and found the following:
[SCENARIO 1]

Start CSGO
Inject
Load config without inventory items
Start Workshop aim_botz
Do 4-5 kills
No crash, keep playing

[SCENARIO 2]

Start CSGO
Inject
Load same config with saved inventory items
Start Workshop aim_botz
Do 4-5 kills
Game crashes

[SCENARIO 3]

Start CSGO
Inject
Start Workshop aim_botz
Do some kills
Load same config with saved inventory items
Do 4-5 kills
No crash, keep playing

Link to configs

Latest source, Microsoft Visual Studio Community 2022 (64 bit) Version 17.3.5, Windows 11 Pro 22H2 build 22621.525, Windows SDK 10.0.19041.0, Platform Visual Studio 2022 v143

Issue mentioned in:
#3838 - #3848 - #3840 - #3843

for me it crashes when literally walking around with the inventory changer

Still persists
c4964783e74814adf395691f363c6ff4200e7ee9

@danielkrupinski
Still persists
01e9e735056c4a8938a74f48bdf56f09d50de4fd

Could you try without gloves equipped?

Yes, working good without gloves

@danielkrupinski
Issue persists

No fix for me yet.

Mentioned in #3882

Persists

Maybe fixed in 3912fdcea25ed91dde9a4fe3f44d6ccc57c1aa18

Maybe fixed in 3912fdc
[SOLVED]


Don't allow yarn.lock updates on CI

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against 33be39eac401e11c04e7e465d10f9e3e30aa6ba8

Love thsi


about fps   Can it be in real time?

like  4k  60fps？

I think your expectations are quite high here.


Feature/change to audited gif

 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.


fix(cmd): align p2p.external_address argument when set the node P2P external address

Closes https://github.com/cometbft/cometbft/issues/3460
for more info, https://github.com/cometbft/cometbft/blob/0cc1b6504c51d481ded95d431900a064533ad9b3/config/config.go#L757

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments
[x] Title follows the Conventional Commits spec

@mmsqe do you mind adding a changelog entry?


Way to add information source for the responses?

Thanks for creating this amazing project. Generating knowledge and summary from the external data source has a great real-world application. I am wondering whether LlamaIndex can help provide the source for the summarized text if provided with indexed documents. Since LlamaIndex is partially powered by langchain which allows souring the answers (https://langchain.readthedocs.io/en/latest/modules/indexes/chain_examples/qa_with_sources.html), there should be a workaround this. But how? Thank you for your reply in advance!

Hi, you can parse response.source_nodes after an index.query(...) call which should contain information about the source texts/documents. Is that what you're looking for?

@jerryjliu This partially answered my question. Thank you!


Running gosf server and gin gonic server together

Now i can only run gin gonic or gosf server not them both

ran into this as well but running the gosf server in a go subroutine fixed it for me
...

// start socket server in go subroutine
go func() {
    gosf.Startup(...)
}()

// start the gin gonic server in the main thread
...


feat: add csv sample and editor

This will fix #10

Closed on favor of working in one repo in #21


Subcommand (non-app) packages are still packages

install_package and uninstall_package shouldn't throw exceptions
package_installed should return True if package is installed

Failing test_install_package_with_json_options... I'm investigating.

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please

@mesosphere-ci retest this please


add Subquery class

Subquerys are new in 1.4 (relevant: #184). I used one for the first time today, and Mypy pointed out that it was missing from these type stubs.
I'm not an expert at SQL or sqlalchemy, so definitely open to feedback.
Thanks for your time!
Relevant links:

SelectBase.subquery() docs
AliasedReturnsRows impl
Subquery impl

 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.Spencer Pearson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing because I'm not willing to grant @CLAassistant all the permissions it requires, and I bet the maintainers have better things to do than jump through whatever legal hoops are involved in finding an alternative solution.


CSS.escape is not supported

CSS.escape is not supported by dom lib
https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape

Fixed by https://github.com/Microsoft/TypeScript/pull/22381


Adds :filter_values option to conditionally keep or remove items from the selection

This is based off #63 this is why it has both changes.
This allows running a function against selected values to keep/discard items.
This is the motivation behind this change:
We allow the user to "tag" other users when creating some records using LiveSelect.
There is a field that controls if the record is "sensitive".
When that field changes, if it changes to "sensitive", we must remove previously "tagged" users that can't see sensitive information.

Hi and sorry for reacting so late.
In the spirit of keeping the API small, can't we achieve this by filtering the options available to the user and/or programmatically reset the selection using:
send_update(LiveSelect.Component, id: live_select_id, value: filtered_selection)

as I was suggesting in #63 ?

Hi and sorry for reacting so late.
In the spirit of keeping the API small, can't we achieve this by filtering the options available to the user and/or programmatically reset the selection using:
send_update(LiveSelect.Component, id: live_select_id, value: filtered_selection)

as I was suggesting in #63 ?

No worries.
That's a good suggestion. I didn't consider doing that because I've got a few scenarios with forms having multiple LiveSelects as the source of truth and I'm not keeping the selection state on the LiveView/Component anymore (we were doing that before and it was the main reason to start using LiveSelect), so when the feature was requested and we figured out the events/API that we wanted for the interactions, it felt that the right way was to delegate it to the library because it has such a nice API and makes the code much more cohesive.
The main benefit to me is to keep the LiveView code easy to reason about.
Right now we have a very clear flow: Anything happens on the LV -> New options/append/filter_selection [without knowing the current state] are sent to LiveSelect -> LV receives the new updated selection from LiveSelect and updates the from it. It works wonders.
By bringing the selection back to the LV we open the door to directly use it (guilty as charged), and end up with two places holding the same state that we may forget to keep in sync.
However I do understand you wanting to keep the API small and there's no hurt feelings if you think this is out of scope.

Thanks for the explanation. I'm starting to see the value in this approach.
Instead of using 2 new options, one to pass a filter and the other to append to the selection, my suggestion would be to generalize the approach by passing an update_selection/1 function that receives the whole selection and returns the new one:
append case:
values_to_append = [1, 2, 3]

send_update(LiveSelect.Component, id: live_select_id, update_selection: fn selection -> selection ++ values_to_append end)

filter case:
send_update(LiveSelect.Component, id: live_select_id, update_selection: fn selection -> Enum.filter(selection, & &1 > 2)
end)

2 birds with a stone. And this general approach will hopefully accommodate future use cases.
What do you think?

I think that does make a lot of sense.
I've got a few busy weeks ahead but would love to give it a shot whenever I can if you don't mind.
Would you rather have me update this or open a new PR?

I think it's better to close these 2 PRs and open a new one that references both.

I've got a few busy weeks ahead but would love to give it a shot whenever I can if you don't mind.

That sounds great! Thanks

Closed in favor of https://github.com/maxmarcon/live_select/issues/68


small objects detection

hello again it finally all works thank you for this valuable repo but i just wanted to ask for "sahi" model wich is used for small objects detection how can i use it in inference with faster r cnn and if there any other models are used for very small (tiny) objects to be used .
thank you all .

Hello @merbenf
I have not integrated SAHI into the project yet. I will add that to my TODO list.

Hello @merbenf I have not integrated SAHI into the project yet. I will add that to my TODO list.

thank you sir we are waiting for it

@sovit-123 , any update about this?

I will be working on this next.

Okay great. Looking forward to this

@joshua-atolagbe
I have SAHI image inference for all the pretrained torchvision models with almost all the arguments similar to inference.py.
The code is in the sahi_inference.py file.
You can find the SAHI branch here.
I will merge it after a bit more testing.

You’re the best bro. Will check it out script. I’m hoping it will also calculate the metrics like map50, precision, recall and fps too

@joshua-atolagbe
Thanks.
Just for some clarification. It is the inference script. It will give you the FPS on the folder of images (the directory path that you will pass that contains the images). However, it does not carry out the metric calculations. It is quite difficult to integrate SAHI with object detection evaluation. Although it sounds plausible to add that, it is not very straightforward.
However, the image inference with SAHI is in working state at the moment. Please let me know if you find any errors.

@joshua-atolagbe
Just for addition. These are the kind of results that you can expect with the current pipeline with the COCO pretrained Faster RCNN ResNet50 FPN V2.

Just an update.
Updated the sahi_inference.py script for custom trained models as well.
Now you can use not just Torchvision pretrained models, but also custom trained weights with the script.
Let me know if I can close the issue.

@sovit-123 Thanks a lot Sir. I'm very grateful for your support and effort. I also sent you a connection request and a message on LinkedIn asking for your opinion. I would greatly appreciate it if you could take a moment to respond.

@joshua-atolagbe Thanks. Just for some clarification. It is the inference script. It will give you the FPS on the folder of images (the directory path that you will pass that contains the images). However, it does not carry out the metric calculations. It is quite difficult to integrate SAHI with object detection evaluation. Although it sounds plausible to add that, it is not very straightforward.
However, the image inference with SAHI is in working state at the moment. Please let me know if you find any errors.

I have some codes that can compute these metrics when using SAHI inference. I will make a pull request soon.

Just an update. Updated the sahi_inference.py script for custom trained models as well. Now you can use not just Torchvision pretrained models, but also custom trained weights with the script.
Let me know if I can close the issue.

Great work man👏. Yes you can close the issue

Thanks.


Potential problem on exponent of carbon A5ZP basis set

Hi BSE devevlopers!
I found that for carbon atom, the exponent of diffusion basis function of Jorge-A5ZP d shell is 0.007196; this exponent is probably too diffuse, comparing to 0.043962 of boron or 0.09339 of nitrogen.
https://github.com/MolSSI-BSE/basis_set_exchange/blob/f8c059b9ecf34571b358b04a5303b4b4bd8c9268/basis_set_exchange/data/jorge/A5ZP.1.json#L1933
I guess the exponent of carbon diffuse d shell is probably 0.07196.
I also confirmed that the basis set data of basis_set_exchange is the same to that obtained from https://qcgv.ufes.br/. So it's probably not a bug of basis_set_exchange, but potential typo of A5ZP basis set itself.

It might not even be a typo. Did you contact Jorge?

@susilehtola Currently not contacted. I'll mail to Jorge on this topic.

@susilehtola After contacting to Jorge, I think that it is actually not a typo. You are correct and I was less considerated on this topic 😿
I can verify that exponents of diffuse GTO primitives of (Jorge-)ADZP (d shell) and ATZP (d, f shells) for carbon could be reproduced by minimizing ROMP2 atomic anion energy (described by 10.1016/j.theochem.2004.11.037). Though I haven't fully reproduced exponents of AQZP and A5ZP by optimization, d shell exponent 0.007196 of carbon gives lower ROMP2 energy (-37.8191569 a.u. with 2 frozen electrons) than 0.07196 (-37.8146132 a.u.). So it's reasonable to apply 0.007196 as exponent for d symmetry as diffusion primitive of carbon atom, from this perspective.

When I repeat the ROMP2 calculations with Gaussian, I get -37.8191670 for the original exponent and -37.8146132 for the exponent multiplied by 10. The latter number matches Jorge's, but there's a discrepancy in the first one, which is already indicative of a problem. Namely, examining the log file it becomes clear that the ROHF calculation didn't even converge but Gaussian went ahead and computed a UMP2 energy. It looks like the exponent comes out so small because of this convergence failure, which makes MP2 completely unreliable.
Repeating the calculation with UMP2, the optimal exponent turns out to come out around 0.06, as one would expect based on the boron and nitrogen calculation.
Similar issues likely affect all of Jorge's basis sets.

Here's the scan for proof

I have emailed Jorge about this issue.

I also emailed Gaussian tech support. The answer came pretty quickly: the DIIS gets confused by small exponents, but the calculations run correctly if you set Use=L506 in the route section as is also directed in https://gaussian.com/scf/


Identity mapping symbol in mxnet

Just want to dump some inner result in the computation graph
For example,
       net = mx.sym.Variable(name='X')
        net = mx.sym.Convolution(
                data=net, name='conv', kernel=(7, 7), num_filter=32)

        #dump the result after conv layer
        net=mx.sym.Identity(net)

        net = mx.sym.Activation(
                data=net, act_type='relu')
        net = mx.sym.Pooling(
                data=net, name='pool', pool_type='max', kernel=(2, 2),
                stride=(2, 2))
        net = mx.sym.Flatten(data=net)
        net = mx.sym.FullyConnected(
                data=net, name='fc1', num_hidden=hidden_size)
        net = mx.sym.Activation(
                data=net, act_type='relu')
        net = mx.sym.FullyConnected(
                data=net, name='fc2', num_hidden=num_classes)
        net = mx.sym.SoftmaxOutput(
                data=net, name='output')

In this example, I want to dump the image after conv layer. Because mxnet will only store the information about args, therefore I tried to manually add an argument to make the result stored by mxnet.
Any idea on how shall I get this identity mapping symbol?

dump to where?

@piiswrong
Thank you for your reply. Dump to some variable. Actually what I want to do is to have the gradient of intermediate layer output, just like the data gradient as saliency map.

You can group the intermediate layer output with the final output. You can also bind the gradient of intermediate layers

great idea on group intermediate layer output with the final output! (I guess BlockGrad symbol is also needed here.) But I don't understand what do you mean by bind the gradient? It would be very helpful for me if you could provide a simple code example. Thank you.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


[BUG] - Navbar The Controlled Menu bar is not activated for the smaller screen

NextUI Version
2.2.10
Describe the bug
The menu bar is fixed and the control menu is never activated when all the sample codes are added
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Just copy the sample codes to a new NextJS project
Expected behavior
it should work as shown in the sample
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

Not able to reproduce the issue. Please share a Stackblitz link.


One true jupyter autogen module

Remove the last remaining bloqs documented under the "old" v1 system
Remove the v1 system
Put the "v2" code back into the qualtran_dev_tools.jupyter_autogen one true module

I kept the commits meaningful to aid in review.

End of an era :(


Redis plugin for infrataster

I have implemented plugins for REDIS server, the plugin is tested on linux machine.
Plugin Source:
https://github.com/rahulkhengare/infrataster-plugin-redis
Kindly review the plugin.
Your thoughts and suggestions will be greatly appreciated

I introduce it in README. https://github.com/ryotarai/infrataster/commit/ecadce687ebb744e07ea535c7cfff9076cf88d7a
Thank you for creating a plugin!

Thank you very much for including redis plugin.
I really appreciate it.


Terraform version update and thus no worky

Seems terraform team has update there way of doing things. Have not looked at what new way would take to get going,  but pulling previous tag, in particular 0.9.11, like I illustrated below will get you going.
Not compatible  (╯°□°）╯︵ ┻━┻
myid@gcp-cf:~/bosh-google-cpi-release/docs/bosh$ docker run -i -t   -e "GOOGLE_CREDENTIALS=${GOOGLE_CREDENTIALS}"   -v `pwd`:/$(basename `pwd`)   -w /$(basename `pwd`)   hashicorp/terraform:light plan     -var service_account_email=${service_account_email}     -var project_id=${project_id}     -var region=${region}     -var zone=${zone}     -var baseip=${base_ip}     -var network_project_id=${xpn_host_project_id-$project_id}
Plugin reinitialization required. Please run "terraform init".
Reason: Could not satisfy plugin requirements.

Plugins are external binaries that Terraform uses to access and manipulate
resources. The configuration provided requires plugins which can't be located,
don't satisfy the version constraints, or are otherwise incompatible.

1 error(s) occurred:

* provider.google: no suitable version installed
  version requirements: "(any version)"
  versions installed: none

Terraform automatically discovers provider requirements from your
configuration, including providers used in child modules.


[Feature Request]: Home page UI change

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to make changes to the UI of the home page.
From This:

To this:

Use Case
This will enhance the overall user experience and make the project more appealing
Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

chatbot features and some other added so do changes accordingly

chatbot features and some other added so do changes accordingly

Ok


Question: How does end-of life for Facebook Graph API v2.2 affect rainloop?

I just received the following email from the facebook:
v2.2 Upgrade Reminder
RainLoop Webmail currently has access to Graph API v2.2 which will reach the end of its 2-year lifetime on 27 March, 2017. To ensure a smooth transition, please migrate all calls to Graph API v2.3 or higher.

To check if your app will be affected by this upgrade you can use the Version Upgrade Tool. This will show you which calls, if any, are affected by this change as well as any replacement calls in newer versions. If you do not see any calls, your app may not be affected by this change.

You can also use our changelog to see the full list of changes in all Graph API versions.

You can view this and other Developer Notifications related to your app, in the App Dashboard.

What needs to be done on my mail server, so that RainLoop does not loose FB integration after 27 March, 2017?

Should this not be closed as of 1.11.0?

Yes it is already fixed in the latest version.


Move contributing rules to CONTRIBUTING.MD

This enables Github's UI for reminding contributors what the guidelines are, per their blog post:
https://help.github.com/articles/setting-guidelines-for-repository-contributors/

Oh cool, thanks!


Mark all LWRPs and Custom Resources why-run safe by default

Our current policy mostly creates boilerplate code to enable why-run on an LWRP when most LWRPs that are correctly written are why-run safe naturally.
We should flip the default so that the onus is on the authors of bad code to write mark their code as being not why-run safe.
Can't do this until chef-13 though.

see #5339

Did an audit of all the providers more or less like this:
require 'chef/providers'
# monkeypatch all the initializers to no-op them so we can build instances
ObjectSpace.each_object(Class).select { |klass| klass < Chef::Provider }.map { |klass| klass.class_eval { define_method(:initialize) { |one, two| } } }
# find all the ones that aren't why-run supported
ObjectSpace.each_object(Class).select { |klass| klass < Chef::Provider }.select { |klass| !klass.new("foo", nil).whyrun_supported? }
=> [Chef::Provider::Breakpoint,
 Chef::Provider::SystemdUnit,
 Chef::Provider::LWRPBase,
 Chef::Provider::Env,
 Chef::Provider::Launchd,
 Chef::Provider::Noop,
 Chef::Provider::Service::Windows,
 Chef::Provider::Env::Windows]

so LWRPBase we want to flip, and it looks like SystemdUnit and Launchd at least are bugs, and Service::Windows might be a bug?
Env and Env::Windows probably isn't why-run safe looking at the code.
I think Breakpoint and Noop are both internal and don't actually affect running state and should be considered why-run safe (Noop doesn't really matter, while Breakpoint I think defeats the purpose of Breakpoint if you use it with why-run mode turned on, which feels wrong to me)
So I'm going to with only these two as the providers I can see that aren't whyrunnable:
 Chef::Provider::Env,
 Chef::Provider::Env::Windows

And these look like it should have been set all along:
 Chef::Provider::Breakpoint,
 Chef::Provider::SystemdUnit,
 Chef::Provider::LWRPBase,
 Chef::Provider::Launchd,
 Chef::Provider::Noop,
 Chef::Provider::Service::Windows,


Is this package active?

With Dashing past EOL are there plans for updating this package?

If anyone unlucky to find this here is what is happening
Hello,

Starting January 31, 2022, we will end support for the following AWS RoboMaker Cloud Extensions, remove the Cloud Extensions from the Robot Monitoring Sample Application, and migrate the Cloud Extension repositories to the AWS Samples GitHub [1]:

* Amazon CloudWatch Metrics Cloud Extension
* Amazon CloudWatch Logs Cloud Extension
* Amazon Kinesis Video Streams Cloud Extension
* Amazon Lex Cloud Extension
* Amazon Polly Cloud Extension
* Amazon S3 Cloud Extension

In general, this means that the Cloud Extensions will no longer be supported by, nor receive updates or security updates from AWS RoboMaker.

What happens now?
On January 31, 2022, the AWS RoboMaker Cloud Extensions GitHub repositories [2] will be migrated to AWS Samples GitHub [1]. You can continue to use the AWS RoboMaker Cloud Extensions within existing and new robot and simulation applications. However, if the cloud extensions break or require security updates, you will be responsible to implement the updates.

Customer Actions:
After January 31, 2022, please visit the AWS RoboMaker user documentation [3] for updated links to the Cloud Extension repositories within AWS Samples GitHub. To install the AWS RoboMaker Cloud Extensions, follow the instructions provided in the README file for each package.

Should you have any questions about this notification, please contact us through AWS Support [4].

[1] https://github.com/aws-samples
[2] https://github.com/aws-robotics
[3] https://docs.aws.amazon.com/robomaker/latest/dg/cloud-services-integration.html
[4] https://aws.amazon.com/support

Sincerely,
Amazon Web Services


Support Encryption Database data

is there any func to encrypte database data?

Hi
Thank you for your question. This is not releated to this library.
Consider to ask the question e.g. on Stackoverflow (SQLite or Entity Framework).
Regards Marc


blocking response reading in StreamingCallSubscriber

Can you please explain implementation of StreamingCallSubscriber in armeria-retrofit2. Why there is blocking response reading is implemented? Are there any plans for asynchronous / reactive stream IO?
I found old issue #1296 with sad story about blocking at read.
Relevant comment is https://github.com/line/armeria/pull/1296#pullrequestreview-138529736
Thanks!

Hi! It's because Retrofit's internal is implemented in a blocking way. We can't make it asynchronous unless they fix theirs.

Thanks for answer!

My pleasure. I hope you are enjoying Armeria. Please let us know if you need any additional questions or feed back.


Windows 10 - vsc 1.29.1 - Antimalware Service Executable - still unresolved

Hi,
this process still running after opening VSC - crushes CPU http://bit.ly/2TldY0v
I reported this bad state in #63026 I thought I'd solved it by turning off on option
typescript.tsc.autoDetect": "off" but it does not.
Is this the problem known?
Does anyone solve it?
VSC to version 1.28 works fine.
I'm really sad from and my work on some project is very annoying due to bad behavior.

Does this just occur when you launch VS Code, or are you doing something specific with VS Code when this happens?

After opening project http://bit.ly/2TbIM3D :(

A temporary solution is a complete shutdown WINDOWS DEFENDER, but why? VSC behaves simply strangely.

Possible duplicate of #63070.

Yes duplicate of #63070


Implement fetch adapter

This should allow using trpc-openapi with Next 13 and other serverless runtimes (eg Cloudflare Workers) (ref. #289).
I've created a sample project at https://github.com/markspolakovs/trpc-openapi-next-13-example.
Should be feature-complete and tested, only thing I'd appreciate thoughts on is an odd typing issue that might be an artifact of my setup - if I remove the as any on https://github.com/markspolakovs/trpc-openapi-next-13-example/blob/190b59da05c9f7ebeb2968aea0648d7f7c93e844/app/api/trpc/_router.ts#L19 I get an error:
Argument of type 'CreateRouterInner<RootConfig<{ ctx: {}; meta: OpenApiMeta; errorShape: DefaultErrorShape; transformer: DefaultDataTransformer; }>, { ...; }>' is not assignable to parameter of type 'OpenApiRouter'.
  The types returned by 'createCaller(...)' are incompatible between these types.
    Type 'DecoratedProcedureRecord<{ echo: BuildProcedure<"query", { _config: RootConfig<{ ctx: {}; meta: OpenApiMeta; errorShape: DefaultErrorShape; transformer: DefaultDataTransformer; }>; ... 5 more ...; _output_out: string; }, unknown>; }> & { ...; }' is not assignable to type '{ query: inferHandlerFn<any>; mutation: inferHandlerFn<any>; subscription: inferHandlerFn<any>; } & DecoratedProcedureRecord<any>'.
      Type 'DecoratedProcedureRecord<{ echo: BuildProcedure<"query", { _config: RootConfig<{ ctx: {}; meta: OpenApiMeta; errorShape: DefaultErrorShape; transformer: DefaultDataTransformer; }>; ... 5 more ...; _output_out: string; }, unknown>; }> & { ...; }' is not assignable to type '{ query: inferHandlerFn<any>; mutation: inferHandlerFn<any>; subscription: inferHandlerFn<any>; }'.
        Types of property 'query' are incompatible.
          Type 'inferHandlerFn<{}>' is not assignable to type 'inferHandlerFn<any>'.
            Types of parameters 'path' and 'path' are incompatible.
              Type 'TPath' is not assignable to type 'never'.
                Type 'string' is not assignable to type 'never'.ts(2345)

Oops, didn't see that #315 also implements this 😅 (though in my defence it hasn't had any activity in a month)

@markspolakovs habe deinen adapter einmal bei mir ausprobiert und bekomme folgenden Fehler:
The edge runtime does not support Node.js 'stream' module.

Ripped out src/adapters/fetch.ts and tested it on my very small project. So far it seems to function well both locally and in production (deployed with Vercel). Would be really cool if this can be merged.