Implement Spell-type cards

Spell types that come to mind immediately would be things like:

Deal n damage to card of type X
Take n card(s) from opponent hand / draw pile / discard pile
Restore n card(s) of type X from own discard pile
Remove n / all enchantment(s) from card X

The idea is that once a spell is played and its effects have been applied, it immediately goes into the discard pile.

Related: Issue #212 and #102

Also another spell type that could be desirable, would be to cause damage directly to the player, regardless of them having units that can block creatures

I would also like to add a "mind control spell" take control of target creature until end of turn.
Also a "disenchant" that would take upgrades off of a target creature, if scrap and all of that is still being used. It's been a bit since we talked about that function. I will add more as I think of them!

Referencing a previous discussion about spells on the Q&A forum: http://www2.zomis.net/tcg-creation/137/new-ability-and-spell-ideas

I got a feeling this will show up in Mythos mod? -- #223

Actually, I was more thinking of a strictly creature-based mod for Mythos. Spells would work better with the mana system in Cyborg Chronicles

I got a feeling that Mythos might need some spells as well, but we'll see.
Either way, this will be supported in the Groovy modding

This issue will be about being able to create spells in the Groovy DSL, and to target specific cards (such as 'Deal 3 damage to 2 target creatures'), for card effect suggestions please see #244

Example spell:
card('Cheating Arms') {
    spell {
        targets(min: 1) {
            creature true
            ownedBy 'you'
            zone 'Battlefield'
        }
    }
    afterPlay {
        damage 1 to targets
    }
}

Other supported variants:
    spell {
        targets 4 cards {
            creature true
            ownedBy 'you'
            zone 'Battlefield'
        }
    }

And:
    spell {
        targets 2 to 4 cards {
            creature true
            ownedBy 'you'
            zone 'Battlefield'
        }
    }

Another example, this time of a spell that does not require any targets:
card('Rain') {
    spell()
    afterPlay {
        damage 1 to {
            zone 'Battlefield'
        }
    }
}

This will deal 1 damage to all creatures on the battlefield.

Another example:
card('Fireball') {
    /* deal 1 damage to whatever target you choose */
    spell {
         targets 1 of {
              zone 'Battlefield'
         }
    }
    afterPlay {
        damage 1 to targets
    }
}


SuperTextField Caret stays hidden when typing starts during a blink animation

@matthew-carroll we're willing to sponsor prioritizing an enhancement here.
Steps to reproduce:

Focus on a SuperTextField
Wait for the caret to disappear, start typing immediately
If you keep typing, the caret stays hidden

Expected behavior
The caret should stay visible while typing and the animation should restart once done typing.
I suppose if we reset the animation after each change, it could accomplish the behavior.

Sounds good. Can this wait until we merge mobile text field support to avoid conflicts?

@matthew-carroll yes can definitely wait

I guess this one is a duplicate https://github.com/superlistapp/super_editor/issues/318

Looks like this is resolved on the latest


MQTT-to-Postgres: enable digital shadow functionality

Reason
We need to store the relevant data from the mqtt broker to the timescaleDB in order to build the digital shadow (issue #297).
New Topics to be stored in the timescaleDB:
/productTag (issue #309) -> in productTagTable
/productTagString (issue #319) -> in productTagStringTable
/addParentToChild (issue #320) -> in productInheritanceTable
Changed Topics to be stored in timescaleDB:
/uniqueProduct (issue #318) -> in uniqueProductTable, Added the uniqueProductAlternativeID

Now we can divide the problem in three:

Use /uniqueProduct which gives us the AID and the Asset and make an entry in the uniqueProduct table containing the AID and a newly generated UID.

Use /productTag and /productTagString. The AID (child) and the AssetId is used to look for the uniqueProduct of the Child to get the UID of the child. The product Tag information is then stored with the UID in the TimescaleDB

Use the /addParentToChild message. Retrieve the child UID by using the child AID and the Asset. Get the parent UID's by finding the last time the parents AID's were stored in the uniqueProductTable.

Buffering the not processable MQTT messages (for productTag, productTagString, addParentToChild) in case necessary uniqueProducts are not yet available is not done in this sprint but might be later solved to reduce complexity.

*Challenge:
There is another design decision we need to think about:
leaving the step_id information out of the productTag, productTagString and the addParentToChild topic leads to error prone fetching of the parent and child UID's.
Imagine there are a lot of steps in one single asset and the MQTT-to-postgres function only receives the asset and aid for one value: to get the UID it would have to find the last time the AID was used at the asset. If now the latest correct uniqueProduct Message wasn't sent, it would have to use a wrong UID witch might create problems later. Also this behavior would need to be changed, if a buffer is implemented down the road.
Solution:
Write the step_id into the productTag, productTagString and the addParentToChild Messages.
I think it would be best to write it in the topic: ia/<customerID>/<location>/<AssetID>/<step_ID>/addParentToChild

I agreed with @kruegeralex on the solution to redefine the asset: now it describes the smallest production unit (also a single step). Because of that, we don't have to include a step_ID.


Create basic searchpages client

This is a partial PR, to ensure everybody thinks this is the right approach, before I continue in this direction.
For headless, we want to completely encapsulate/blackbox analytics through coveo.analytics.
In JSUI, one thing we had already created was a huge object containing all the analytics cause that could be used by all the different components you have inside a standard search page. All this logic and information was never ported back to coveo.analytics.
See : https://github.com/coveo/search-ui/blob/master/src/ui/Analytics/AnalyticsActionListMeta.ts
This PR creates a CoveoSearchPageClient which exposes a bit of "higher" level methods that we could call from our headless library.
CoveoSearchPagesClient would be the source of truth for all "standard search pages" events.
Inside headless (so, from the consumer point of view), we could use it like this :
import {CoveoSearchPageClient} from 'coveo.analytics';

export const analytics = new CoveoSearchPageClient({
  getBaseMetadata: () => ({headlessVersion: "0.1"}),
   getSearchUID: () => store.getState().result.searchUID
   getSearchEventRequestPayload: () =>({
       queryText: store.getState().query.expression,
       responseTime: store.getState().result.executionTime,
       ...... etc.
   }),
})

class HeadlessSearchbox() {
  constructor() {....}

  public submit() {
      // dispatch needed redux actions
      // .... etc
     analytics.logSearchboxSubmit();
  }

}

Once again, this is partial, not all tests are there, and not all events.

Codecov Report

Merging #195 into master will increase coverage by 1.51%.
The diff coverage is 98.27%.

@@            Coverage Diff             @@
##           master     #195      +/-   ##
==========================================
+ Coverage   86.93%   88.44%   +1.51%
==========================================
  Files          19       21       +2
  Lines         574      632      +58
  Branches       92       93       +1
==========================================
+ Hits          499      559      +60
+ Misses         45       44       -1
+ Partials       30       29       -1

Impacted Files
Coverage Δ

src/events.ts
100.00% <ø> (ø)

src/searchPage/searchPageClient.ts
97.61% <97.61%> (ø)

src/coveoua/library.ts
100.00% <100.00%> (ø)

src/searchPage/searchPageEvents.ts
100.00% <100.00%> (ø)

src/client/analytics.ts
89.20% <0.00%> (+1.43%)
:arrow_up:

src/client/analyticsFetchClient.ts
74.07% <0.00%> (+3.70%)
: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 ddc8249...4e9a18e. Read the comment docs.


Fix _call_femtet_api

For example, in case of the argument of the api accesses the member of Femtet such as self._call_femtet_api(self.Femtet.Gaudi.Activate) after Femtet crashed, the com_error is raised because of Femtet.Gaudi .
Fix this by pass command as str and eval it in _call_femtet_api.

Fixed in 0.4.23


electron-69: fixes the issue raised in the ticket for windows

@lneir Please review and merge.
I have not been able to test this because I don't have the proper certificates in place.
Can you please checkout this pull request and test it on the build server and let me know if you face any issues?
And, the version of aip I have in my system is higher than what was in the repo.

you can test locally by disabling the signing.

Done, tested locally, it is working as expected.

looks like you used a much newer version of advanced installer and caused a bunch of other updates.  we should use the same version to do updates.  i can get you a copy of the old version and you should use that.

sure, I'll look into that.

closing this to create another PR with the older version of advanced installer.


Make can.view.live utilize temporary stores

Can.view.live is used within the {{#each}} helper to allow adding or removing members within an array to lazily create or destroy the respective DOM node. The current approach however doesn't optimize for list replacing, and will always do a full teardown. For a lot of operations, such as sorting, filtering, or replacing a list with a findAll promise, all result in lists with a subset of the same members.
I propose that during operations such as replace, we create a temporary store of DOM nodes to their respective values ( CID? ), and then recycle as much as possible before tearing down the remainder

Sample use case:
notifications.replace(Notification.findAll());

Because of the way can.Model.stores work, the resulting array could likely in fact have a large intersect.

After discussing this with Justin Meyer, the issues are:
For this to be advantageous, the time complexity of the solution would need to be O(N), or linear. Initially, this appeared as having a time complexity of O(N LOG(N))
A key value store neglects that Document Node's can only be attached once to a document fragment. Cloning would potentially be necessary
If @index is being read, then cloning may not be viable.
List replacing uses splicing, which is represented in two events: a remove event, followed by an add event. The current bindings aren't well suited for this. A batchNum like mechanism could be potentially used. This could potentially be represented by a new splice event.
This relates to the work for #1454 to create a move event, which could be represented as a splice event.

:+1:

This is mostly closed by #1782.  It doesn't handle "move", however, simple mutations don't redraw the entire list.
If there are other cases our diff can be better at, please open an issue.


Sync oapi-3 branch with master

Hi 👋
I want to start taking a look to the oapi-3 branch to try to finish the work that @blakepettersson started some day in #603
This PR is just for sync the oapi-3 branch with master for starting from a better starting point :)
What do you think? Can this help? Or is better if you rebase the oapi-3 branch with master and I add the remote branch to my repository?
Thanks!

After trying to solve the conflicts, I think it's better to close this PR and try to understand and to migrate the changes done by @blakepettersson directly to the current master version.

@jcagarcia I'm very interested in doing this as well, with the ultimate goal of getting it merged into master. We're facing a lot of issues from the lack of v3 support. If there's anything I can do to help get the oapi-3 branch up to date and figure out what pieces are missing to get it to 100% support, let me know!


docs: remove README QUIC section

The upstream Rustls issue mentioned here has since been resolved and can
be removed from the README as a blocker for QUIC support. Initial support exists in-tree.

Thanks!
Perhaps the whole section should be removed or reworded? There's some initial quic support here: https://docs.rs/rustls-rustcrypto/latest/rustls_rustcrypto/quic/index.html

Perhaps the whole section should be removed or reworded?

:+1: Removing the section outright feels like the right call. It seems odd to discuss HTTP/2 support under the banner of QUIC, and there's probably not much to say in the README on QUIC support that wouldn't be better as documentation on the initial module.

Thanks!


Traverse In Place Element Structures

Fixes #46
Added case in Scripting_ReplaceVIsAndControls to traverse in place element structures
This allows for users to use class templates with content inside in place element structures that need to be replaced

Thanks for your pull request, I'm pretty new to dealing with pull request in GIT (I've used SVN for most of our development). I've added you as developer as well :-). I'll try to get SourceTree to pull your changes and view them. I'm sure they are fine (as long as they are in LV2014).


Resolved #243: Fixed heatmap

Codecov Report

Merging #245 into master will increase coverage by 0.01%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
+ Coverage   24.64%   24.65%   +0.01%
==========================================
  Files          61       61
  Lines        1599     1598       -1
  Branches      189      189
==========================================
  Hits          394      394
+ Misses       1139     1138       -1
  Partials       66       66

Impacted Files
Coverage Δ

...oblems-frontend/src/components/CalendarHeatmap.tsx
0% <0%> (ø)
:arrow_up:

atcoder-problems-frontend/src/utils/DateUtil.ts
90% <100%> (+8.18%)
: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 e1a2cd9...053b76a. Read the comment docs.


Use rack-canonical-host

Redirects web traffic so that all requests are served from the canonical
hostname.
https://github.com/tylerhunt/rack-canonical-host

So we'll have to ignore some hostnames when requesting other API.
But that's a good point, only explicit hostnames would be authorized to request
:ship:

I don't understand.
What do you mean by "ignore some hostnames when requesting other API" ? Why ?

My mistake, I misunderstood what it was about.
:shipit:


How to bind strings?

I have created an extra field to a window:
public IEnumerable<string> TestItems = new List<string>();
And then in a constructor I inserted:
DataContext = this;
TestItems = new List<string>() { "john", "Mark", "Doe" };

but it doesn't load any suggestions. What else do I need?

autocomplete:AutoCompleteBehavior.AutoCompleteItemsSource="{Binding TestItems}"
Did you add this to the XAML for the edit?
This is how you connect the autocomplete to your actual text control.  Yours might not use the "autocomplete:" that's simply how I referenced the control in my XAML file.

What @Quade369  said.


Problem installing manim : Pycairo wheel

Hello to all,
I have tried to follow the steps proposed by bhowell4 to install Manim for Mac users (http://bhowell4.com/manic-install-tutorial-for-mac/) but I have a problem installing Pycairo.
I have the following error message :
Collecting pycairo
Using cached https://files.pythonhosted.org/packages/a6/54/23d6cf3e8d8f1eb30e0e58f171b6f62b2ea75c024935492373639a1a08e4/pycairo-1.18.0.tar.gz
Building wheels for collected packages: pycairo
Building wheel for pycairo (setup.py) … error
Complete output from command /Users/cusset/Animation/manim/venv/bin/python -u -c “import setuptools, tokenize;file=’/private/var/folders/2s/v1d3n29s77db0590732lvcgr0000gn/T/pip-install-e0qeh4zm/pycairo/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d /private/var/folders/2s/v1d3n29s77db0590732lvcgr0000gn/T/pip-wheel-96i_cait –python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.7
creating build/lib.macosx-10.7-x86_64-3.7/cairo
copying cairo/init.py -> build/lib.macosx-10.7-x86_64-3.7/cairo
copying cairo/init.pyi -> build/lib.macosx-10.7-x86_64-3.7/cairo
copying cairo/py.typed -> build/lib.macosx-10.7-x86_64-3.7/cairo
running build_ext
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc’
to the PKG_CONFIG_PATH environment variable
Package ‘libffi’, required by ‘gobject-2.0’, not found
Command ‘[‘pkg-config’, ‘–print-errors’, ‘–exists’, ‘cairo >= 1.13.1′]’ returned non-zero exit status 1._
The error message suggests the I add the directory containing `libffi.pc’
to the PKG_CONFIG_PATH environment variable, but I don't know how to to that (where is this variable ?)
Thanks in advance for any help !

https://github.com/lovell/sharp/issues/1603#issuecomment-471767376
This worked for me.

It wooooorked ! Thank you sooo much !!


Update golang.org/x/net to resolve CVE-2023-45288

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.
Commands ran:
./scripts/update_dep.sh golang.org/x/net v0.23.0

Scans reported that abbolt package was missing in the server application, resolved with:
cd server
go get<EMAIL_ADDRESS>
Related: CONJSE-1855

LGTM!
What does the comment in the PR description about bbolt mean? Was that from an earlier revision, maybe? I didn't see any reference to it in the changes.

I doublechecked and this package like this is already included, so it must've been something I noticed when I was working off the wrong branch. I'll remove that from the PR description.


Csar support final

Adds support for TOSCA CSAR archives (e.g. https://github.com/alien4cloud/samples/tree/master/mysql)

Looks good. A handful of comments. Where are the tests?

Comments addressed, and test added

@nakomis Nice one.


test the .pb model in opencv

Did you test your trained .pb model in opencv sucessfully? I have something wrong like this:
strided_slice:StridedSlice(Placeholder)(strided_slice/stack)(strided_slice/stack_1)(strided_slice/stack_2)
shrink_axis_mask:[ ]
end_mask:[ ]
new_axis_mask:[ ]
ellipsis_mask:[ ]
begin_mask:[ ]
T:0
Index:[ ]
OpenCV Error: Unspecified error (Unknown layer type StridedSlice in op strided_slice) in populateNet, file /home/mi/opencv-3.4.0/modules/dnn/src/tensorflow/tf_importer.cpp, line 1487
terminate called after throwing an instance of 'cv::Exception'
what():  /home/mi/opencv-3.4.0/modules/dnn/src/tensorflow/tf_importer.cpp:1487: error: (-2) Unknown layer type StridedSlice in op strided_slice in function populateNet

Hi, were you able to successfully test the .pb model in opencv? If so, can you please share the details regarding how to! Thanks


Clean up the Collection when upload failed

Hey!
Is there a recommended way to clean up the Collection when an upload failed ?
I am now at the following situation:
When uploading multiple files and while uploading them the internet connection is gone (or I close the Tab while uploading) the FS Document still exists with this information:
_events: Object
_id: "zvYcjge8SmNYwNxQv"
_maxListeners: 10
chunkCount: 0
chunkSize: 2097152
chunkSum: 1
collectionName: "files"
createdByTransform: true
domain: null
original: Object
owner: "exsrC8roKDw2TbAdk"

Is there a way to read out that this Document failed while uploading ? Or is they any other way ? So I can use a process to clean up the Collection every x-seconds to remove all documents which failed because CollectionFS does not do this by them self.

Without being able to confirm if this is expected (it seems like it should be handled internally), does the debug messages reveal anything else?
FS.debug = true;

Why this issue is closed ? I am reworking on my project and the problem still exists. It is easy to reproduce if you enable multiple file upload. When you now select (for example) about 15 files to upload and right after the uploading has started close the Tab. When you now reopen your meteor project you will see that all 15 Files was added to your collection but with the fact that no one of this has the "uploadedAt" property because the file itself was not uploaded (you will not be able to show these file with this.url). Its very hard to clean this up for me because I dont know how to check which upload really failed and which upload is just not finished yet.


GRPC Setup for CPP client server using Visual Studio 2017

Hi,
Myself Nithish. I want to use GRPC for one of my application. I am using Visual Studio 2017 with CPP.  I am not getting proper channel to setup the environment for windows system using visual studio to use GRPC. Kindly guide me to the proper channel. Any help will be appreciated.

Please see the examples under the examples directory on this repo as a starting point.
This form is for bug reports and feature requests only.
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io


jemalloc: support page size up to 64KB on AArch64

Description of changes
The default build configuration only supports page sizes up to 4KB.
AArch64 systems (among other architectures) can be configured with
larger page sizes. nixpkgs's jemalloc currently crashes in these
situations.
Doing some research revealed that this same change is already applied in Fedora, Debian as well as ALARM (coincidentally, as of 10 hours ago).
Example issue caused by the current jemalloc configuration: running nslookup just crashes on my AArch64 NixOS system using 16K page sizes:
[nix-shell:~]$ nslookup
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
mem.c:465: INSIST(ctx != ((void *)0)) failed, back trace
/nix/store/qq7qwfc4ypspyqvnkxgn18njq6qlf655-bind-9.18.5-lib/lib/libisc-9.18.5.so(+0x3a640)[0x3ff9ec6a640]
/nix/store/qq7qwfc4ypspyqvnkxgn18njq6qlf655-bind-9.18.5-lib/lib/libisc-9.18.5.so(isc_assertion_failed+0x14)[0x3ff9ec6a574]
/nix/store/qq7qwfc4ypspyqvnkxgn18njq6qlf655-bind-9.18.5-lib/lib/libisc-9.18.5.so(isc__mem_create+0x1e8)[0x3ff9ec7d8d0]
nslookup(setup_libs+0x88)[0x40cd70]
nslookup(main+0xd4)[0x407254]
/nix/store/3rz8shlg3mql8ki5w5fxyipifs6mjf9v-glibc-2.35-163/lib/libc.so.6(+0x273f4)[0x3ff9e7d73f4]
/nix/store/3rz8shlg3mql8ki5w5fxyipifs6mjf9v-glibc-2.35-163/lib/libc.so.6(__libc_start_main+0x98)[0x3ff9e7d74d0]
nslookup(_start+0x30)[0x407570]
Aborted (core dumped)

Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Any reason to target the staging branch?

It's a huge rebuild for aarch64. orborg's labels show the situation for x86_64.


Unable to run xCluster twice

I am trying to create a new cluster on the first node. The node is an Azure VM. The first time the following is run, it works.
xCluster CreateCluster
{
    Name = "SqlFailoverCluster"
    DomainAdministratorCredential = $DomainAdmin
    StaticIPAddress = "<IP_ADDRESS>"
}

The second time, it fails with

There was an error adding node 'SQL-VM-1' to the cluster
The computer 'SQL-VM-1.contoso.local' is joined to a cluster.

I use a DSC pull server so this runs every 15 mins. Are my parameters incorrect?

@jonathaneckman Great that you solved it. It's NetBIOS limitation, for another reference see here https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/create-or-configure-an-availability-group-listener-sql-server?view=sql-server-2017#DNSnameReqs
Closing this as this was resolved by the contributor.


DON'T MERGE testing to get CI to work

DON'T MERGE testing to get CI to work

closing to allow #124 to come back from the dead


[BEAM-1750] Split BigQueryIO.java into several files.

BigQueryIO.java has become almost unmanageably large. This pull request refactors it into multiple files which are easier to peruse. There should be no functionality changes introduced by this PR.

Coverage decreased (-0.002%) to 70.127% when pulling 9af7db828b2d959562f0857cb4a1cb75610719bf on reuvenlax:bigquery_file_refactor into 3f0fe91aabcd9623aff2f9f4bf9dce5038c287f5 on apache:master.

This needs to be rebased once 2238 is merged.

Coverage decreased (-0.009%) to 70.12% when pulling ad20a77546810f38b14716f83b6ce47610f04c2c on reuvenlax:bigquery_file_refactor into 3f0fe91aabcd9623aff2f9f4bf9dce5038c287f5 on apache:master.

Coverage increased (+0.003%) to 70.121% when pulling 0af2cf291c053f3e15dc1ec5781b9f13f6d8671e on reuvenlax:bigquery_file_refactor into 6fa1fca4f23a36be6e43fd31f93f28990475d805 on apache:master.

R: @jkff
Please rebase one more time and get green tests.

Coverage remained the same at 70.096% when pulling 6868470c477e1f4af2604bc15358c2fa9550bc12 on reuvenlax:bigquery_file_refactor into e5f1a6479c0a7c6f531c340fe371e4b66e7ea2a5 on apache:master.

Coverage increased (+0.01%) to 70.109% when pulling 6868470c477e1f4af2604bc15358c2fa9550bc12 on reuvenlax:bigquery_file_refactor into e5f1a6479c0a7c6f531c340fe371e4b66e7ea2a5 on apache:master.

retest this please

Coverage increased (+0.09%) to 70.19% when pulling 6868470c477e1f4af2604bc15358c2fa9550bc12 on reuvenlax:bigquery_file_refactor into e5f1a6479c0a7c6f531c340fe371e4b66e7ea2a5 on apache:master.

Thanks! Mostly LGTM, just a few nitpicks; please also squash the fixup-like commits into their parent commits.

Changes Unknown when pulling 56db974651e9ed427928dd9ff3514fc2a94db817 on reuvenlax:bigquery_file_refactor into ** on apache:master**.

retest this please

Changes Unknown when pulling 56db974651e9ed427928dd9ff3514fc2a94db817 on reuvenlax:bigquery_file_refactor into ** on apache:master**.

Run Dataflow RunnableOnService


[BUG] IPv6 addresses for Load Blanacers are incorrectly configured

IPv6 addresses in cluster-density tests are not bracketed leading to following errors:
2023-01-15T05:48:37.238Z|00047|lb|WARN|Failed to initialize LB VIP: 16::1:8080: should be an IP address and a
port number with : as a separator, 16::2:8080: should be an IP address and a port number with : as a separator,
16::3:8080: should be an IP address and a port number with : as a separator, 16::4:8080: should be an IP address
and a port number with : as a separator, 16::5:8080: should be an IP address and a port number with : as a
separator, 16::6:8080: should be an IP address and a port number with : as a separator, 16::7:8080: should be an
IP address and a port number with : as a separator, ...

And ovn-heater also manages to set up None as an IP address at some point:
2023-01-15T06:33:09.875Z|00144|lb|WARN|Failed to initialize LB VIP: None:8080: should be an IP address and a port
number with : as a  separator, None:8080: should be an IP address and a port number with : as a separator.
2023-01-15T06:33:09.875Z|00145|socket_util|ERR|None:8080: bad IP address "None"
2023-01-15T06:33:09.875Z|00146|socket_util|ERR|None:8080: bad IP address "None"

density heavy test case is also broken.    We don't have test data before that.

@igsilya can you please try the PR #148 (IPv6 Load balancer fixes) to check if the reported issue is resolved?

@igsilya I updated the PR in order to fix linter issues.


Cannot open mp3 files

(Android, 64-bit) When selecting an mp3 from the files, no matter which file is selected, an error popup comes up saying "Failed to open file".

hey there, give media permissions to Geode in your phone settings

my only confusion is that android is supposed to ask for files access, but this just lets me choose a file? i can only control the permission if it asks for it, which it doesnt, i cant give the green light if android thinks it doesnt need it

requesting access is up to the app, i will add it in a future update


Support for Github Copilot

I installed Github Copilot on top of this config. It does not generate recommendations consistently. I was able to get it to function once or twice, but I can't repeat it consistently.
I would like to allow Copilot to be enabled properly, but I don't know which package is blocking it.

I do not use that Plugin, So i do not know the reason. You need to debug yourself.


It reminds me

Your GPU driver version has expired, please update to a new version.
gpu:6600xt 23.12.1

Probably game is checking nvapi, please consider using nvapi-dummy


How to flush c.Params.tmpFiles

Thanks always. I have a question.

Is there any way to flush tmpFiles of Controller?

Through using file upload and binding by arg name of Controller
func (c MyApp) MyController(myfile *os.File) revel.Result {
  _, err := os.Rename(myfile.Name(), mydestination)
  if err != nil {
    return c.ReturnError(err)
  }
  return c.RenderJson(map[string]interface{}{})
}

because (and of course) I move tmp file, ParamsFilter WARNs error
https://github.com/revel/revel/blob/master/params.go#L125-L130
I guessed solutions for this,

DO NOT rename, but copy tmp file to my dest.
customize ParamsFilter and replace default.

but it's easier if I can flush tmpFiles in Controller. Please teach me if there is a way to do that.
Thank you

Third solution is here (but it seems a bit irrational)
c.Params = &revel.Params{}

Whats teh issue here.. are these large files or something ??
Is ita  timeout problem..
Or is it parsing didgy URl's etc..?
More explain of problem would be useful ..
ta

Thanks for comment.
My concern is the way to avoid ParamsFilter WARNs error occurred by using os.Rename.

If you don't want to see warnings, then disable the WARN level. Overwriting Params isn't ideal.


When "Organizational" roles are selected, display "Organizational Name" above the text entry box.

This should help the user remember that these were organizations, since the role terms on the left show no distinction if you choose a role like "Author" that exists on both lists.

@astridu Wanted to run this one by you to see if you think it is a good way to make it clearer when a depositor is looking at contributors that have already been entered which ones are individuals and which are organizations -- outside the one box/two box thing, which is a bit subtle. Thanks.

I agree. It's a good idea!


feat: cache certificate

Description

If we enable https with the config below:
export default defineConfig({
  server: {
     https: true,
  },
});

Browser will throw the NET::ERR_CERT_AUTHORITY_INVALID error ervery time vite restart.
This PR cache the certificate to file system to avoid the boring error.
Additional context

I do not know if I can use the config.cacheDir directory to cache this.
It seem that it only use for build data and maybe clean by --force option.

What is the purpose of this pull request?

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

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

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

Thanks for the PR. We'll discuss this feature with Evan to get approval next week.
I think it makes sense to use the cacheDir for this as you did. Do you see a problem with --force also deleting the cert cache?

@patak-js --force clean the cache cert file just as no this feature. But it is not a serious problem.
I think it is a good way that give some sub directories which do not clean by --force for vite plugins and other use case.
So that plugins no need add another cacheDir config for users.

I think it is a good way that give some sub directories which do not clean by --force for vite plugins and other use case.
So that plugins no need add another cacheDir config for users.

Yes, I agree. But I don't know if there is a need to add the fine-grained options at this point. But I think we may end up with --clean-optimized-deps, --clean-https-cert, etc at one point.

We discussed this with Evan and we have his approval to merge this feature. But I just saw that there were some previous discussions about this in the past between Evan and @underfin in https://github.com/vitejs/vite/pull/276. Looks like the PR was closed after the v2 rewrite, but the feature was also considered good to have at that point. But there was some talks about storing IP addresses in the cert. @wmzy would you review that discussion? @underfin could you review this new PR?

@patak-js This pr does not change the cert creation logic, but only add the cache to prevent the NET::ERR_CERT_AUTHORITY_INVALID error every time vite is restarted.
If that storing IP addresses in the cert is needed, it is better another pr.

Hi @patak-js @antfu ，can you help to merge this pr?
Do I need to make any changes?


[016] As an owner or experimenter, I want a profile with a unique username and my contact information

Feature implemented.


[WIP] Create nftable base chains in virt-handler

The base chains are now set up in vift-handler instead of relying on loading of .nft files
Signed-off-by: Tomas Psota<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/ok-to-test

Could you explain why this approach is better than what we had?

Could you explain why this approach is better than what we had?

Currently, we're calling nft command to check if nft is installed, and fallback to iptables if nft fails. This command loads the base chains from the ipv4/6-nat.nft files that are being distributed with KubeVirt, which imposes the risk of U/S and D/S configuration files getting out of sync. Setting up the base chains in the virt-handler would unify our handling of nft.

/retest

/retest

Could you explain why this approach is better than what we had?

Currently, we're calling nft command to check if nft is installed, and fallback to iptables if nft fails. This command loads the base chains from the ipv4/6-nat.nft files that are being distributed with KubeVirt, which imposes the risk of U/S and D/S configuration files getting out of sync. Setting up the base chains in the virt-handler would unify our handling of nft.

I think this might be helpful to be included in the first commit.
/cc @AlonaKaplan

Tom is working in another group. Currently, this is not a priority


GoSublime error: MarGo build failed

| GoSublime error: MarGo build failed
|                > This is possibly a bug or miss-configuration of your environment.
|                > For more help, please file an issue with the following build output
|                > at: https://github.com/DisposaBoy/GoSublime/issues/new
|                > or alternatively, you may send an email to<EMAIL_ADDRESS>|                >
|                >
|                > cmd: ['D:/Go\\bin\\go.exe', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r17.12.08-1_go?.exe', 'disposa.blue/cmd/margo']
|                > stdout: |                >  |                >
|                > stderr: |                > can't load package: package disposa.blue/cmd/margo: cannot find package "disposa.blue/cmd/margo" in any of: |                > 	D:\Go\src\disposa.blue\cmd\margo (from $GOROOT) |                > 	D:\SOFT\SublimeText3_ha\Sublime Text 3.3126x64\Data\Packages\User\GoSublime\src\disposa.blue\cmd\margo (from $GOPATH) |                > 	D:\SOFT\SublimeText3_ha\Sublime Text 3.3126x64\Data\Packages\GoSublime\src\disposa.blue\cmd\margo |                >
|                > exception: None
|   install state: busy
| sublime.version: 3126
| sublime.channel: stable
|       about.ann: a17.12.08-1
|   about.version: r17.12.08-1
|         version: r17.12.08-1
|        platform: windows-x64
|            ~bin: D:\SOFT\SublimeText3_ha\Sublime Text 3.3126x64\Data\Packages\User\GoSublime\windows-x64\bin
|       margo.exe: ~bin\gosublime.margo_r17.12.08-1_go?.exe (missing)
|          go.exe: D:/Go\bin\go.exe (ok)
|      go.version: go?
|          GOROOT: D:/Go
|          GOPATH: D:/Go/go_pro
|           GOBIN: (not set)
|       set.shell: []
|       env.shell:
|       shell.cmd: ['C:\Windows\system32\cmd.exe', '/C', '${CMD}']
|    sh.bootstrap:
|                > 	error running sh-bootstrap.go: CreateFile sh-bootstrap.go: The system cannot find the file specified.
|                >
|                > 	go version: (raw version string)
|                > 	shell bootstrap took 1.478s
|                >
This file gosublime.margo_r17.12.08-1_go.exe will be deleted in Sublime Text 3.3126x64\Data\Packages\User\GoSublime\windows-x64\bin and warn me again when I reopen sublime3

I don't know how to reproduce that. Does the file D:\SOFT\SublimeText3_ha\Sublime Text 3.3126x64\Data\Packages\GoSublime\gosubl\sh-bootstrap.go exist and is readable?


Update documentation for prettier and eslint on save for 2020.x versions

It's coming natively. Current EAP already supports prettier on save, eslint is coming.
https://blog.jetbrains.com/webstorm/2019/12/webstorm-2020-1-roadmap/

We also plan to streamline the process of working with Prettier and ESLint by adding options to run them on save and to set Prettier as the default formatter.

Originally posted by @SimenB in https://github.com/dubreuia/intellij-plugin-save-actions/issues/160#issuecomment-592513555

Yes, I can confirm that it works on IntelliJ Ultimate 2020.2


Transition between Tutorial and Mission 1

@jhird11 @gabriellamiles, what is the plan for the transition between the missions? Is it triggered if the player goes into a particular area?

When the player goes through the waterfall I believe. Should just be achieved by triggering load_enviroment when the robot enters the waterfall
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Mickey Li @.***>
Sent: Monday, 14 June 2021, 11:38
To: FARSCOPE-UKRAS-Festival-Game-Dev/Robot-Explore-Game
Cc: Julian Hird; Mention
Subject: [FARSCOPE-UKRAS-Festival-Game-Dev/Robot-Explore-Game] Transition between Tutorial and Mission 1 (#100)
@jhird11https://github.com/jhird11 @gabriellamileshttps://github.com/gabriellamiles, what is the plan for the transition between the missions? Is it triggered if the player goes into a particular area?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/FARSCOPE-UKRAS-Festival-Game-Dev/Robot-Explore-Game/issues/100, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALLUOH27RSLT2YT6IHK6XHDTSXL2TANCNFSM46U65X7Q.

Okay... there's no waterfall yet in tutorial though? I'm guessing thats going to be in some other branch?

Does the current tutorial level have any assets in what's so ever? I think they still need merging on top of each other
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Mickey Li @.>
Sent: Monday, June 14, 2021 1:31:45 PM
To: FARSCOPE-UKRAS-Festival-Game-Dev/Robot-Explore-Game @.>
Cc: Julian Hird @.>; Mention @.>
Subject: Re: [FARSCOPE-UKRAS-Festival-Game-Dev/Robot-Explore-Game] Transition between Tutorial and Mission 1 (#100)
Okay... there's no waterfall yet in tutorial though? I'm guessing thats going to be in some other branch?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/FARSCOPE-UKRAS-Festival-Game-Dev/Robot-Explore-Game/issues/100#issuecomment-860646513, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALLUOH7V5CG6YFQPM4PPKTLTSXZDDANCNFSM46U65X7Q.

No, the tutorial still has the blue blocks? I think it needs a second pass anyhow if we're redoing the intro too

Done! But mission 1 isn't finished yet


"access" param handling for model properties

using swagger-core-1.5.1-M2.
I am trying to filter parameters/properties based on the access param.
@ApiParam/@ApiImplicitParam and swagger-models Parameter work just fine. There, both sides support the property and it can be mapped (e.g. in swagger-jaxrs ParameterProcessor).
However, @ApiModelPropertys access flag/param is not mapped to swagger-models Property. AbstractProperty/Property are lacking a corresponding access property, I think?
Not having the access param available in swagger-models Property makes it hard, if not impossible, to filter model properties based on the access param with a SwaggerSpecFilter. At least I did not find a clean way.
related: https://github.com/swagger-api/swagger-core/issues/996
thanks, zyro

yes, there should be some private value to map these too in the properties.

This has been added back.


Host and Images autorefresh

Description
Host and Images autorefresh
Use case
N/A
Interface Changes
N/A
Additional Context
N/A
Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

VMs and Host autorefresh are implemented in this issue
Finally, images aren't included on autorefresh

VMs and Host autorefresh are implemented in this issue
Finally, images aren't included on autorefresh


scheduled-pg pod hanging and then failed

This issue was also posted in the Slack channel
Scheduled snapshots stopped running for all KubeDB databases in my cluster.  Updating the Postgres version and KubeDB operator fixed the issue for all applications in the cluster except for one. We have the same set up for 3 other namespaces in the cluster. With a kubedb postgres and 3 scheduled-pg pods. They were working fine after the update. It is only the one namespace which failed. The failing namespace had a scheduled-pg-0 pod that was hanging and eventually failed. I deleted the pod and it failed to come back up.
The issue was eventually resolved by removing KubeDB from the namespace and restoring the database from a manual backup. I'd like to know the cause of this issue to prevent it in the future, as this is on a production environment.
When the scheduled-pg pod was hanging, it had this status:
Status:
  Observed Generation:  4$4215184848040632782
  Phase:                Running
  Reason:               roles.rbac.authorization.k8s.io "scheduled-pg" is forbidden: attempt to grant extra privileges: [{[use] [policy] [podsecuritypolicies] [] []}] user=&{system:serviceaccount:kube-system:kubedb-operator faad96e0-4673-11e9-af74-02a4c44d01ce [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]} ownerrules=[{[*] [apiextensions.k8s.io] [customresourcedefinitions] [] []} {[get patch] [apiregistration.k8s.io] [apiservices] [] []} {[delete get list watch patch] [admissionregistration.k8s.io] [mutatingwebhookconfigurations validatingwebhookconfigurations] [] []} {[create delete get patch] [rbac.authorization.k8s.io] [rolebindings roles] [] []} {[create delete get patch list] [] [services] [] []} {[create delete get patch] [] [secrets serviceaccounts] [] []} {[create delete get patch update] [apps] [deployments statefulsets] [] []} {[get] [apps] [replicasets] [] []} {[create delete get list watch] [batch] [jobs] [] []} {[get] [storage.k8s.io] [storageclasses] [] []} {[*] [] [pods] [] []} {[create delete get list patch watch] [] [persistentvolumeclaims] [] []} {[create delete get update list patch] [] [configmaps] [] []} {[create] [] [events] [] []} {[get list watch] [] [nodes] [] []} {[*] [kubedb.com catalog.kubedb.com authorization.kubedb.com] [*] [] []} {[*] [appcatalog.appscode.com] [*] [] []} {[*] [monitoring.coreos.com] [servicemonitors] [] []} {[create] [] [pods/exec] [] []} {[list] [apps] [deployments] [] []} {[list] [apps] [statefulsets] [] []} {[use] [policy] [podsecuritypolicies] [kubedb-operator] []} {[use] [policy] [podsecuritypolicies] [elasticsearch-db] []} {[use] [policy] [podsecuritypolicies] [etcd-db] []} {[use] [policy] [podsecuritypolicies] [memcached-db] []} {[use] [policy] [podsecuritypolicies] [mongodb-db] []} {[use] [policy] [podsecuritypolicies] [mysql-db] []} {[use] [policy] [podsecuritypolicies] [postgres-db] []} {[use] [policy] [podsecuritypolicies] [redis-db] []} {[use] [policy] [podsecuritypolicies] [elasticsearch-snapshot] []} {[use] [policy] [podsecuritypolicies] [mongodb-snapshot] []} {[use] [policy] [podsecuritypolicies] [mysql-snapshot] []} {[use] [policy] [podsecuritypolicies] [postgres-snapshot] []} {[create] [authentication.k8s.io] [tokenreviews] [] []} {[create] [authorization.k8s.io] [subjectaccessreviews] [] []} {[create] [authorization.k8s.io] [selfsubjectaccessreviews selfsubjectrulesreviews] [] []} {[get] [] [] [] [/api /api/* /apis /apis/* /healthz /openapi /openapi/* /swagger-2.0.0.pb-v1 /swagger.json /swaggerapi /swaggerapi/* /version /version/]}] ruleResolutionErrors=[]
Events:                 <none>

The logs from the kubedb-operator show::
E0406 00:53:37.367751       1 worker.go:76] Failed to process key assay-upload-manager-10039527/scheduled-pg. Reason: timed out waiting for the condition
I0406 00:53:37.367835       1 worker.go:80] Error syncing key assay-upload-manager-10039527/scheduled-pg: timed out waiting for the condition
I0406 00:53:37.520431       1 statefulset.go:59] Patching StatefulSet assay-upload-manager-10039527/scheduled-pg with {"spec":{"template":{"spec":{"$setElementOrder/containers":[{"name":"postgres"}],"containers":[{"$setElementOrder/env":[{"name":"APPSCODE_ANALYTICS_CLIENT_ID"},{"name":"NAMESPACE"},{"name":"PRIMARY_HOST"},{"name":"POSTGRES_USER"},{"name":"POSTGRES_PASSWORD"},{"name":"STANDBY"},{"name":"STREAMING"},{"name":"LEASE_DURATION"},{"name":"RENEW_DEADLINE"},{"name":"RETRY_PERIOD"}],"env":[{"name":"NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":null}}}],"name":"postgres"}],"securityContext":null}},"volumeClaimTemplates":[{"metadata":{"annotations":{"volume.beta.kubernetes.io/storage-class":"gp2"},"creationTimestamp":null,"name":"data"},"spec":{"accessModes":["ReadWriteOnce"],"dataSource":null,"resources":{"requests":{"storage":"50Mi"}},"storageClassName":"gp2"},"status":{}}]}}.
E0406 01:03:36.955256       1 workqueue.go:51] timed out waiting for the condition
E0406 01:03:36.955273       1 worker.go:76] Failed to process key assay-definition-manager-10094388/scheduled-pg. Reason: timed out waiting for the condition
E0406 01:03:36.955303       1 worker.go:90] timed out waiting for the condition
I0406 01:03:36.955310       1 worker.go:91] Dropping key "assay-definition-manager-10094388/scheduled-pg" out of the queue: timed out waiting for the condition
E0406 01:03:37.537682       1 workqueue.go:54] timed out waiting for the condition
E0406 01:03:37.543173       1 worker.go:76] Failed to process key assay-upload-manager-10039527/scheduled-pg. Reason: timed out waiting for the condition
E0406 01:03:37.543192       1 worker.go:90] timed out waiting for the condition
I0406 01:03:37.543198       1 worker.go:91] Dropping key "assay-upload-manager-10039527/scheduled-pg" out of the queue: timed out waiting for the condition

The scheduled-pg pod logs:
The logs reported timed out waiting for the condition for any actions on it and creating scheduled snapshots. From the pod logs:
2019-04-04 17:25:38.947 UTC [261] LOG:  PID 10695 in cancel request did not match any process
2019-04-24 20:34:09.455 UTC [25734] LOG:  incomplete startup packet
2019-04-24 20:36:46.120 UTC [25746] LOG:  incomplete startup packet

and
Error from server: Get https://<IP_ADDRESS>:10250/containerLogs/assay-upload-manager-10039527/scheduled-pg-0/postgres: dial tcp <IP_ADDRESS>:10250: connect: connection refused

kubedb-operator cluster-role
The  kubedb-operator cluster-role

This looks like an issue with pod security policy. An empty psp was received by database-role from an older catalog. It was an issue with kubeDB operator while upgrading from version 0.10.0 to 0.11.0. The temporary solution was then to upgrade the catalog first and then upgrading the operator. It shouldn't have been a problem in newer versions.
What version of the operator were you upgrading from?

@iamrz1 I was upgrading from 0.9.0 to 0.10.0 and we are currently on 0.10.0 (the upgrade was to get Postgres 10.2-v2, since we were on the deprecated version).
After this issue was resolved by removing KubeDB from the namespace and restoring the database from a manual backup, scheduled backups for all applications using KubeDB stopped running again. Updating the yaml file triggered them to start again.
Do you know why scheduled snapshots stopped running, both initially and after resolving the hanging pod?

It is intriguing because this seems to be an error related to missing PSP permission and PSP was only added in KubeDB version 0.11.0. So KubeDB should not have anything to do with PSP in prior versions.
Anyway, have you tried upgrading catalog version first as I mentioned before? My suggestion would be upgrading to the latest operator and catalog versions.


Conflicting keymap with swedish keyboard layout

GitLens Version: 8.1.1
VSCode Version: 1.21.0
OS Version: 10.13.3

shift+alt+7 is backslash on swedish keyboards. Please remove the keymap to gitlens.showCommitSearch
Steps to Reproduce:

Use swedish keyboard
shift+alt+7

Found the setting for changing this.

@baelter was this a new install of GitLens or an upgrade from a prior version?

Upgrade

Ah, OK, then that is expected -- I didn't want to change the defaults for any existing user (only new ones). Thanks!


WeakMap or Ds\ structures

You mention that cleanup is expensive. What if you used a built-in PHP approach, such as WeakMap array or one of the Ds containers?
WeakMap would set the minimum to PHP 8, but that's becoming standard now.

WeakMap like use object instance as key to array offset? In any case, this was a premature optimization. There wouldn't have been any considerable performance penalty from looking up the object in the request queue and removing it as soon as it was done.


Tuya V2 not visible after installation

Describe the bug
I followed all the steps for the HACS installation
Expected behavior
As per the installation instructions, once I reboot HA I should be able to install Tuya V2 from
Configuration > Integrations > ADD INTEGRATION, search for the keyword tuya and select Tuya v2.
Screenshots

Home Assistant Version

Device info (please complete the following information, which can be found in log):
This is the only message I can find in the logs that related to tuya_v2
2021-10-17 14:55:13 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration tuya_v2 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Device specifications (please complete the following information, which can be found in log):
Since I haven't been able to setup Tuya V2 there are no devices.
Additional context
Add any other context or logs about the problem here.

There are also no devices in the home assistant.

I solved the problem, the way in the pictures!

Ugh!! While it is true that Tuya V2 now shows up in the integrations, the integration fails.  I first got a cryptic error message - sorry I didn't make a note of it, but something along the lines of "The installation ahs failed." I then clicked on the + Add Integration button again and I get the following popup that spins for ever.

I'll try to look at the log and post more info.

Are you on 2021.10.0 or later? You should then remove tuya_v2 from your custom integrations, as TuyaV2 is now integrated into Home Assistant Core. Having both installed may cause issues.

Sorry, I meant to add that the logs are nearly empty.
This is the code in my configuration.yaml
`
Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
zeroconf:
history:
#media_source:
frontend:
themes: !include themes.yaml
logger:
default: critical
logs:
custom_components.tuya_v2: debug
`

Are you on 2021.10.0 or later? You should then remove tuya_v2 from your custom integrations, as TuyaV2 is now integrated into Home Assistant Core. Having both installed may cause issues.

I posted a screen shot from Supervisor > System

core-2021.10.5
supervisor-2021.10.0
Home Assistant OS 6.5

I will now have to see how I can remove the integration. Perhaps I will start with HACS and work backwards.
I was trying to look for the newest version because I have 23 devices on iot.tuya.com, but on 12 show up in HA.
Any thoughts on that?

In the end I restored a backup from last night. Now I have the majority of my Tuya devices running on localtuya.
Unfortunately localtuya does not support climate and other functions of thermostats, and I have 4 Tuya-based thermostats. The device type covered by localtuya are:

binary sensor
switch
light
cover
sensor
switch

Clearly none of these device type is suitable for a thermostat, and the thermostat response time does not need ot be in milliseconds, so I thought I would just leave then on the Tuya cloud-based integration. Huh! Well, what do you know, I reinstalled the default Tuya integration using credentials that were accepted, and now I do not see any devices in the Tuya integration. :-(
Thoughts?

I am in Canada and selected Western America Data Center and successfully scanned and authorized in the app.  I have one device visible in cloud and have successfully added the integration to HA but no devices are appearing.  I added Eastern America Data Center to the mix but still no device.

OK! I managed to get it to work on my end. I hadn't noticed the dropdown menu on the "Link Tuya App Account" tab. The one in the upper right.

So @PimDoos suggestion was good, I just needed to be a bit less flustered or more observent on my end... so API and App synced.
On the Home Assistant side, I was still getting issues with the Tuya-2 integration, so I opted to use LocalTuya instead - a much quicker, local option.
I got the device local_keys through the API interface, as per the directions in this YouTube video:
https://www.youtube.com/watch?v=FpY-xsY-pZ8&t=455s
Hope that helps somebody. In any case, my Tuya switches are now up and running.


Stuck at login

The more we know about your system and use case, the more easily and likely we can help.
Environment info

OS: Windows 10 Enterprise 1803
App Version (Command/Ctrl + ,): 1.7.3

Description of the problem / feature request / question:
I'm unable to log in on my work laptop; it just sits at the login progress bar. I've tried reinstalling with no luck. I was able to log in on my personal machine without a problem.
If possible, provide a sample gist or screenshot:

If possible, provide the log files

2019-03-12T16:50:22.725Z - info:
----- Lepton v1.7.3 win32-----
2019-03-12T16:50:22.727Z - info: [conf] Looking for .leptonrc at C:\Users\jshkolnik/.leptonrc
2019-03-12T16:50:22.727Z - info: [conf] The resolved configuration is ...
2019-03-12T16:50:22.727Z - info: "userPanel": {"hideProfilePhoto":false}
2019-03-12T16:50:22.727Z - info: "logger": {"level":"debug"}
2019-03-12T16:50:22.727Z - info: "proxy": {"enable":false,"address":"socks://localhost:1080"}
2019-03-12T16:50:22.728Z - info: "snippet": {"sorting":"updated_at","sortingReverse":true,"expanded":true,"newSnippetPrivate":false}
2019-03-12T16:50:22.728Z - info: "editor": {"tabSize":4}
2019-03-12T16:50:22.728Z - info: "enterprise": {"enable":false,"host":"","token":"","avatarUrl":""}
2019-03-12T16:50:22.728Z - info: "type": "literal"
2019-03-12T16:50:22.861Z - info: Checking for update
2019-03-12T16:50:23.089Z - debug: -----> registering login-page-ready listener
2019-03-12T16:50:26.137Z - info: Update for version 1.7.3 is not available (latest version: 1.7.3, downgrade is disallowed).
2019-03-12T16:50:26.138Z - debug: checkForUpdatesAndNotify called, downloadPromise is null
2019-03-12T16:50:27.308Z - debug: -----> Inside getCachedUserInfo
2019-03-12T16:50:27.314Z - debug: -----> [false] cachedProfile is undefined
2019-03-12T16:50:27.319Z - debug: -----> [false] cachedToken is undefined
2019-03-12T16:50:27.342Z - debug: -----> Inside LoginPage componentWillMount with loggedInUserInfonull
2019-03-12T16:50:27.344Z - debug: -----> Registering listener for auto-login signal
2019-03-12T16:50:27.345Z - debug: -----> sending login-page-ready signal
2019-03-12T16:50:27.346Z - info: [signal] sending auto-login signal
2019-03-12T16:50:27.493Z - debug: -----> Received "auto-login" signal with loggedInUserInfo null
2019-03-12T16:50:29.156Z - debug: -----> Inside launchAuthWindow with token undefined
2019-03-12T16:50:29.215Z - debug: loading authUrl https://github.com/login/oauth/authorize?client_id=xxx&scope=gist
2019-03-12T16:50:29.287Z - info: [Dispatch] updateAuthWindowStatus ON
2019-03-12T16:50:40.910Z - info: [Dispatch] updateAuthWindowStatus OFF
2019-03-12T16:50:40.917Z - info: [Dispatch] updateUserSession IN_PROGRESS
2019-03-12T16:50:40.927Z - debug: [REST] Exchanging authCode with access token
2019-03-12T16:50:41.078Z - error: Failed: {"code":"SELF_SIGNED_CERT_IN_CHAIN"}

I just noticed this is identical to #250

It's something to do with strict SSL (as mentioned here) but I don't know how to apply it to the login.

Since it's duplicate. I'll reopen https://github.com/hackjutsu/Lepton/issues/250 and close this one. Thanks for reporting!

I have the same issue I think on my work pc.
2019-06-11T01:21:39.399Z - info:

----- Lepton v1.8.0 win32-----

2019-06-11T01:21:39.400Z - info: [conf] Looking for .leptonrc at C:\Users\<username>/.leptonrc
2019-06-11T01:21:39.400Z - info: [conf] The resolved configuration is ...
2019-06-11T01:21:39.400Z - info: "theme": "dark"
2019-06-11T01:21:39.400Z - info: "userPanel": {"hideProfilePhoto":false}
2019-06-11T01:21:39.400Z - info: "logger": {"level":"debug"}
2019-06-11T01:21:39.400Z - info: "proxy": {"enable":true,"address":"https://<hostname:port>"}
2019-06-11T01:21:39.400Z - info: "snippet": {"sorting":"updated_at","sortingReverse":true,"expanded":true,"newSnippetPrivate":false}
2019-06-11T01:21:39.400Z - info: "editor": {"tabSize":4}
2019-06-11T01:21:39.400Z - info: "enterprise": {"enable":false,"host":"","token":"","avatarUrl":""}
2019-06-11T01:21:39.400Z - info: "type": "literal"
2019-06-11T01:21:39.438Z - info: Checking for update
2019-06-11T01:21:39.607Z - debug: -----> registering login-page-ready listener
2019-06-11T01:21:40.999Z - info: [.leptonrc] Use proxy https://<hostname:port>
2019-06-11T01:21:42.509Z - debug: -----> Inside getCachedUserInfo
2019-06-11T01:21:42.513Z - debug: -----> [false] cachedProfile is undefined
2019-06-11T01:21:42.517Z - debug: -----> [false] cachedToken is undefined
2019-06-11T01:21:42.534Z - debug: -----> Inside LoginPage componentWillMount with loggedInUserInfonull
2019-06-11T01:21:42.535Z - debug: -----> Registering listener for auto-login signal
2019-06-11T01:21:42.535Z - debug: -----> sending login-page-ready signal
2019-06-11T01:21:42.536Z - info: [signal] sending auto-login signal
2019-06-11T01:21:42.619Z - debug: -----> Received "auto-login" signal with loggedInUserInfo null
2019-06-11T01:21:42.800Z - info: Update for version 1.8.0 is not available (latest version: 1.8.0, downgrade is disallowed).
2019-06-11T01:21:42.801Z - debug: checkForUpdatesAndNotify called, downloadPromise is null
2019-06-11T01:21:43.890Z - debug: -----> Inside launchAuthWindow with token undefined
2019-06-11T01:21:43.912Z - debug: loading authUrl https://github.com/login/oauth/authorize?client_id=9e42611bb02db4547abf&scope=gist
2019-06-11T01:21:43.936Z - info: [Dispatch] updateAuthWindowStatus ON
2019-06-11T01:21:51.223Z - info: [Dispatch] updateAuthWindowStatus OFF
2019-06-11T01:21:51.232Z - info: [Dispatch] updateUserSession IN_PROGRESS
2019-06-11T01:21:51.245Z - debug: [REST] Exchanging authCode with access token
2019-06-11T01:21:51.357Z - error: Failed: {"code":"ECONNRESET"}
2019-06-11T01:23:03.477Z - info: The app window is closed

I hid the output of the proxy and user in the logs for privacy.


Problems with grunt-favicons and win32

There is a problem running grunt-favions, the output states that execSync isnt compatible with the installed node, which is grunt-favicons.
The exact error is:
Loading "favicons.js" tasks...ERROR
Error: execSync incompatible with installed nodejs

Did author check his 'product' on windows at all? @IanMercer solution did not worked for me :(
Windows 7.1

I'm also still fighting this the fix doesn't work for me

@IanMercer  thanks! It works for me :+1:

I no longer have this issues - must have been resolved.


Full documentation

Feature Description
RTFM
Use Case
We want to maintain at a minimum the level of documentation standards begun in aicsimageio.
Solution
Bring docs over from aicsimageio, rewrite as necessary.  First version, probably the api/examples will be similar but the installation will be different.
Alternatives
Rewrite from scratch?

ping on this one.  While full documentation would be ideal, even just a minimal readme showing how this library is expected to be used (for those coming from aicsimageio) would be great

ping on this one. While full documentation would be ideal, even just a minimal readme showing how this library is expected to be used (for those coming from aicsimageio) would be great

See #16 which I think fully addresses this.    At this point the API hasn't changed so most of the code migration would be to change how you install it, and change AICSImage to BioImage


docs: add AKS admission enforcer to known issues

Added known issue as discussed here: https://github.com/Azure/azure-workload-identity/issues/525
Reason for Change:

Requirements

[ ] squashed commits
[ ] included documentation
[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Please answer the following questions with yes/no:
Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

[ ] yes
[x] no

Notes for Reviewers:

/azp run Azure Workload Identity CI


About ‘text.py’

Hello, thanks for your help. Does running text.py require a java environment? I get the following error while running text.py, how can I solve it?
Load vocabulary from vocabulary_Pubmed-full.json
Compute pos weight done! There are 4474321 sentences in total, with 203653 sentences as positive
Start loading model.
Start evaluating.
Batch 1, Loss: 1.043701
Rouge-1 recall score: 0.503920, Rouge-1 f-score: 0.446150,                Rouge-2 recall score:0.219530, Rouge-2 f-score:0.195170,                Rouge-L recall score:0.356910, Rouge-L f-score:0.311760
Traceback (most recent call last):
File "/home/dl/code/cyc/Extsumm_local_global_context-master/test.py", line 147, in
r2, l = eval_seq2seq(test_dataloader,model,hyp_path,LENGTH_LIMIT,pos_weight,device,USE_SECTION_INFO,remove_stopwords,stemmer,meteor=True,lcs=lcs,saveas=SAVE_RESULT_NAME)
File "/home/dl/code/cyc/Extsumm_local_global_context-master/run.py", line 97, in eval_seq2seq
get_meteor(summ_path, ref_path,model_type)
File "/home/dl/code/cyc/Extsumm_local_global_context-master/utils.py", line 145, in get_meteor
subprocess.call(['java','-Xmx2G','-jar','meteor-1.5/meteor-1.5.jar','all_hyp_inorder.txt','all_ref_inorder.txt','-norm','-f','system1'],stdout=of)
File "/home/dl/anaconda3/envs/ext/lib/python3.7/subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/dl/anaconda3/envs/ext/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/home/dl/anaconda3/envs/ext/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'java': 'java'

Thank you for your answer, I have resolved this error. At present, when I run test.py, only rouge1,2,L appears, and there is no method value. Is this normal? @Wendy-Xiao


Remove unscan method in parser

Do this only once tests are written so it is verifyable that nothing breaks when doing so

Resolved by 3c5bff1852ddcc5cda797f29c5cdd9794acfe490


Change A Cask for #{token} is already installed. message.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Changed the message from suggesting brew cask install --force to brew cask uninstall --force, followed by a normal brew cask install.
Also fixed the indentation of CaskCommandFailedError.
--
@Homebrew/cask

@vitorgalvao, changed it to &&.

@vitorgalvao, could you approve this?


community: Corrected aload func to be asynchronous from webBaseLoader

Description: The aload function, contrary to its name, is not an asynchronous function, so it cannot work concurrently with other asynchronous functions.

Issue: #28336

**Test: **: Done

**Docs: ** here

**Lint: ** All checks passed

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

I understand you might be busy, but I would greatly appreciate it if you could provide comments on this PR.
@baskaryan @efriis @eyurtsev @ccurme @vbarda @hwchase17

Thanks for spending the time on this! I suggest a way to partially handle the problem without making a breaking change to this code since it's used by a lot of people as is

I will make the revisions based on the comments and resubmit the pull request. Thank you!

✅ [What I've done]

Implementing the load() function to execute concurrently in a new thread for Jupyter environment users.

Keep aload() as a synchronous version with a warning message stating the following:

Users should replace aload() with load().
Or they can replace it with alazy_load().

Add 'a' prefix for the scrape_all function

⏳ [What remains to do]
Include a warning message specifying in which version the aload() function will be updated to an asynchronous version.


Layout issue with repl filter in debug pane

Steps to Reproduce:

Repl filter does not properly shrink and grow when resizing VSCode

Does this issue occur when all extensions are disabled?: Yes
It should have similar behavior as the problems filter.
(related to #105866)

Agree with this. Marking as a feature request since we simply did not write code for this.


python312Packages.pychromecast: 14.0.3 -> 14.0.4

Changelog: https://github.com/home-assistant-libs/pychromecast/releases/tag/14.0.4

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351408

x86_64-linux

:white_check_mark: 15 packages built:

displaycal
displaycal.dist
gnomecast
gnomecast.dist
home-assistant-component-tests.cast
home-assistant-component-tests.lovelace
pulseaudio-dlna
pulseaudio-dlna.dist
python311Packages.pychromecast
python311Packages.pychromecast.dist
python312Packages.pychromecast
python312Packages.pychromecast.dist
sublime-music
sublime-music.dist
tauon


Knockback kicks player to a different side of the world

Mmmm, I don't know how else I can describe this - but after testing the knockback command, the plugin knocks back to an entirely different side of world. (e.g. if i were to cross the border at Z -2048, the plugin would sometimes knockback to Z 2048 instead of Z -2040)

https://github.com/PryPurity/WorldBorder/assets/66474423/83955dcc-0bde-4ed5-973b-8a8ea35ac86f
sorry for the sound i forgot to mute lmao

In the config.yml you need to turn of wrapping for your world like this:
worlds:   world:     x: -0.5     z: -0.5     radiusX: 512     radiusZ: 512     wrapping: false


Setting statement collect interval result in loading spinner

Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do?
Set statement collect interval to a smaller value.
What did you expect to see?
Updated and the right panel disappear.
What did you see instead?

The spinner keep spinning.
What version of TiDB Dashboard are you using (./tidb-dashboard --version)?

Tested it and not easy to re-produce, keep an eye on it. And we need to and will polish the error handle.


pd.NA should behave as np.nan

Expected Behavior
pd.NA should behave the same as np.nan and be returned when handle_missing="return_nan".
Actual Behavior
pd.NA is treated like an other category.
Steps to Reproduce the Problem
from category_encoders.target_encoder import TargetEncoder

TargetEncoder(handle_missing="return_nan").fit_transform([["a"], ["b"], [pd.NA]], y=[0, 1, 1])

returns
          0
0  0.579928
1  0.710036
2  0.666667

instead of
          0
0  0.579928
1  0.710036
2       <NA>

You just need to add this argument "handle_unknown="return_nan":
TargetEncoder(handle_missing="return_nan", handle_unknown="return_nan").fit_transform([["a"], ["b"], [pd.NA]], y=[0, 1, 1])

That's not the same. I want unknown values to return the target mean, like handle_unknown="value" does, and missing values return missing. Also, your code returns np.nan, and not pd.NA. It would be better if the returned NA type is the same as the input one.

You can use Numpy :
import numpy as np
Your data :
data = [["a"], ["b"], [pd.NA]]
y = [0, 1, 1]

Convert pd.NA to np.nan
data = [[np.nan if pd.isna(val) else val for val in row] for row in data]
Apply the TargetEncoder
encoder = TargetEncoder(handle_missing="return_nan")
result = encoder.fit_transform(data, y)

I hope I was able to help you

You can use Numpy :
Your data :
data = [["a"], ["b"], [pd.NA]]
y = [0, 1, 1]

Replace pd.NA with np.nan :
data = [[val if not pd.isna(val) else np.nan for val in row] for row in data]

Apply TargetEncoder :
encoder = TargetEncoder(handle_missing="return_nan")
encoded_data = encoder.fit_transform(data, y)

Convert the result back to pd.NA where np.nan is present :
encoded_data = pd.DataFrame([[pd.NA if pd.isna(val) else val for val in row] for row in encoded_data.values], columns=encoded_data.columns)

print(encoded_data)

I hope I was able to help you

agreed! this should be changed


misc suggestions for Cleanup

uses pyproject.toml instead of setup.cfg
uses ruff for everything, removes black
applies formatting
removes unnecessary / unused files

Closed by #68


new function: recall

This is in reference to #2980. It supports a particular class of function: A unary function that if returns a function, is also unary with this same rule.

Thank your for the PR.  I'm afraid I forgot to do the research into why uncurryN doesn't already handle this.  I will try to do so soon.
Did you look into updating uncurryN to also handle this case?  Because if there's not some compelling reason not to do so, it seems that would be a much better solution.

@CrossEye No problem. I gave a cursory look into uncurryN. It seemed fine. I didn't notice anything glaring and figured I'd need to dig further and see how currying was being handled. I'll need to make some time for that.


Flicker Filter Request

Dear OPL team,
Recently I have started collecting old consoles, PS1, PS2, Original Xbox, Gamecube. I bought myself a nice Sony Wega CRT 29inch from 2007 and it looks glorious, well, except for the PS2...
All consoles connected through component (TV has component etc.) look amazing, and the PS2 looks like crap, I have the official Sony PS2 component cable by the way.
My setup couldn't be any more perfect and yet, it seems to only accentuate how bad PS2 games look.
So I researched on it, and it so happened that PS2 games are completely unfiltered, is funny but they look too clear for their sake when using component. Consoles like the OG Xbox have something called "Flicker Filter" built into the Xbox itself.
The nice thing on the Xbox, is that using a custom dashboard, you can actually get rid of the filter or leave it there if you wish (or even choose the "amount" of filter you want). This filter is ideal if you are using a CRT, it not only hides the Jaggies a bit, but also helps CRT's not to shimmer, and you can read better, etc.
In summary, this filter, acts as a way of a AA effect, while mantaining the nice component colours and blacks levels etc.
Could this be implemented in games on the PS2? Maybe using GSM through OPL? I know maybe I am not in right place to ask this, but I could not find a "working" GSM github.
I look forward in what you guys could tell me, and I believe not only people with CRT's would benefit, but also people using HD TV's could benefit too, from such a filter (similar to playing PS2 games on BC PS3's).
Thank you so much guys! ;)
Nashismo.

If your CRT TV have got component input,
probably you can try to change V-mode in settings,
e.g. for progressive:
EDTV 640x448p @ 60Hz 24bit,
EDTV 704x480p @ 60Hz 24bit (HIRES), etc.
For game you achieve almost the same thing
by enabling built-in GSM in game settings (e.g. 480p @ 60 Hz).

If your CRT TV have got component input,
probably you can try to change V-mode in settings,
e.g. for progressive:
EDTV 640x448p @ 60Hz 24bit,
EDTV 704x480p @ 60Hz 24bit (HIRES), etc.
For game you achieve almost the same thing
by enabling built-in GSM in game settings (e.g. 480p @ 60 Hz).

CRT TV's do not accept 480 progressive scan. 480i is the max a CRT TV can admit, no matter if the TV has component input, S-Video or even RGB Scart.

CRT TV's do not accept 480 progressive scan. 480i is the max a CRT TV can admit, no matter if the TV has component input, S-Video or even RGB Scart.

I'm not sure if I understand you?!
Your TV do not accept 480p or all CRT TV's do not accept 480p?
E.g. Samsung TX-P2775H should accept 480p:
https://www.mediacollege.com/equipment/samsung/tv/tx/txp2775h.html.

Plenty of late-model CRTs accept a progressive scan signal.
As for the flicker filter - it was my understanding that there wasn't a uniformly applied hardware method on the PS2 as there is on the XBox / GC / Wii, so implementing a toggle wouldn't be feasible.

I have never seen a 480p CRT TV in my country. But I know they exist, but they were few ever made and they were like PC monitors. Nonetheless, this is not case or meaning of this request.
I ask if there is a way to apply a "flicker filter" effect through GSM, and it would be ideal that someone who knows GSM in and out, to tell me how to achieve this, or if you could actually do this.

Plenty of late-model CRTs accept a progressive scan signal.
As for the flicker filter - it was my understanding that there wasn't a uniformly applied hardware method on the PS2 as there is on the XBox / GC / Wii, so implementing a toggle wouldn't be feasible.

On the OG Xbox there is toggle, yes, but there is also the option to add 5 different levels of flicker filtering, which are not necessarily native to the Xbox. If this could be implemented on the Xbox I don't see why this couldn't be implemented on the PS2.

CRT TV's do not accept 480 progressive scan. 480i is the max a CRT TV can admit, no matter if the TV has component input, S-Video or even RGB Scart.

I'm not sure if I understand you?!
Your TV do not accept 480p or all CRT TV's do not accept 480p?
E.g. Samsung TX-P2775H should accept 480p:
https://www.mediacollege.com/equipment/samsung/tv/tx/txp2775h.html.

CRT TV's that accept progressive scan are actually not even CRT TV's, they share more in common with PC Monitors from the 90's and early 2000's.
So in summary, yes, all conventional CRT TV's  do not accept 480p. They accept 240p, 480i for NTSC and 288p, 576i for PAL respectively and that's it.
Games can be all sorts of resolutions, most PS2 games are actually not even 480, they are 512x448. Xbox and Gamecube games on the other hand are almost all 640x480, that is why they have no trouble running at 480p while still maintaining correct aspect ratio.

That does not mean that it is possible to add this feature to every or even most games...
It might switch the render-method and not 'filter' at all...

That does not mean that it is possible to add this feature to every or even most games...
It might switch the render-method and not 'filter' at all...

Sure, it probably wouldn't work on "every" single game, as some games already have their own filters as others have no filters whatsoever. But it would be amazing just to have the option to at least try! I would gladly test every game I have.
Cheers and thank you for stopping by.


ubuntu xenial support

On ubuntu xenial there are some issues:
Ruby 1.9 is not available
This can easily be solved using a ruby version manager like "rvm".
While upgrading to ruby 2+ would have a large impact (e.g. puppet 4.0)
docker version tag
Docker uses the distribution in its version string (1.9.1-0~trusty).
On xenial the minimum docker version available is 1.11.0.
upstart vs. systemd
Xenial uses systemd as init service. This causes some issues
There're almoust 3 years left till trusty eol. Are there any plans to support xenial?

We're likely going to be looking into switching to xenial soon. Though when we switch we will likely drop support for trusty.

Dropping trusty support will definitively ease things. And supporting both, trusty and xenial does not make much sense to me. Anybody, still running a trusty buildfarm, can easily use the trusty branch.

@mistoll there is a legacy trusty branch that we are no longer actively maintaining but master now targets xenial and has received a significant refactor.


ClusterManager isn't in public api

ClusterManager is under the "ebeaninternal" package: com.avaje.ebeaninternal.server.cluster.  It seems as if it should be under com.avaje.ebean package instead since it exposes methods that aren't meant for users to use directly.

At this point ClusterManager does not need to be in the public API.  There is the BootupEbeanManager interface which maybe would have been better named to 'Container' or 'EbeanContainer'.  The implementation BootupEbeanManager controls clustering, creating EbeanServer instances and shutdown.  At this stage there are no clustering methods that need to be added / exposed via BootupEbeanManager (but that is where they should go I believe).
It is tempting to rename BootupEbeanManager to EbeanContainer - hmmm.
I'll close this for now but re-open or add a comment to discuss further.
Cheers, Rob.

For the website docs, I could only find API docs on ClusterManager, and examples using that in the test cases.
I'll create better clustering docs and do a pull request. Is below the correct usage for setting up a clustered server?
private ContainerConfig createContainerConfig(String local, String threadPoolName) {
    ContainerConfig container = new ContainerConfig();
    container.setMode(ContainerConfig.ClusterMode.SOCKET);  // also CusterMode.MULTICAST

    ContainerConfig.SocketConfig socketConfig = new ContainerConfig.SocketConfig();
    socketConfig.setLocalHostPort(local);
    socketConfig.setThreadPoolName(threadPoolName);
    socketConfig.setMembers(Arrays.asList("<IP_ADDRESS>:9876", "<IP_ADDRESS>:9866"));

    container.setSocketConfig(socketConfig);
    return container;
  }
ContainerConfig containerConfig = createContainerConfig("<IP_ADDRESS>:9876", "pool0");

ServerConfig config = new ServerConfig();
...
config.setContainerConfig(containerConfig);
EbeanServer ebean = EbeanServerFactory.create(config);


BUG: Setting the area density according to SI for a thickness seems to not convert value

Describe the bug
To set the area density variable (as seen on the printscreen) to a thickness via the webservice with the SI unit N/m^2 does not seem to convert it to kg/m^2 (see GUI on printscreen).
We provided the value 13441.67 [N/m^2] and expect the value 1344.167 [kg/m^2] in the GUI (after the model is saved).
To Reproduce
The following call is made:
Thickness.StiffnessMatrix(
                no = self._thickness_count,
                name = thickness_name,
                material_no = material_num,
                stiffness_matrix= stiffness_matrix,
                consideration_of_self_weight = [ThicknessStiffnessMatrixSelfWeightDefinitionType.SELF_WEIGHT_DEFINITION_TYPE_DEFINED_VIA_FICTITIOUS_THICKNESS_AND_AREA_DENSITY, fictitious_thickness, area_density]
            )

Expected behavior
We provided the value 13441.67 [N/m^2] and expect the value 1344.167 [kg/m^2] in the GUI (after the model is saved).
Screenshots

Desktop (please complete the following information):

Version of WIN10 OS
Version of RFEM6.03.00045
Version of tool / rfem package 1.17

Hi @Dervis-vL,
thank you for noticing this. It'll be corrected.

The bug was reported (#139798). Thank you.

Hi!
I am curious to hear if progress on this issue has been made.


Change template partial cp-zookeeper.service-name to cp-zookeeper.connect

What changes were proposed in this pull request?
Very small change: cp-kafka chart adds the -headless suffix for the Zookeeper connection string in cp-zookeeper.service-name, and cp-kafka-rest chart adds the suffix in cp-zookeeper.fullname. I think it's more intuitive to append -headless in cp-zookeeper.service-name, and it is a little confusing to have it appended in different places in the two charts. This PR changes the cp-kafka-rest partials to match those in cp-kafka.
How was this patch tested?
helm install on GKE

plz resolve the conflict

plz resolve the conflict

Sorry I missed this again @qshao-pivotal, conflict should be resolved.


warmup example in the document conflicts with lr scheduler and lr monitor

🐛 Bug

To Reproduce
The warm-up example in the document suggests to manually warm-up lr before optimizer step.
# learning rate warm-up
def optimizer_step(self, current_epoch, batch_nb, optimizer, optimizer_idx, second_order_closure=None, on_tpu=False, using_native_amp=False, using_lbfgs=False):
    # warm up lr
    if self.trainer.global_step < 500:
        lr_scale = min(1., float(self.trainer.global_step + 1) / 500.)
        for pg in optimizer.param_groups:
            pg['lr'] = lr_scale * self.hparams.learning_rate

    # update params
    optimizer.step()
    optimizer.zero_grad()

However, in the training_epoch_loop.py, the scheduler updater will change the lr.
https://github.com/PyTorchLightning/pytorch-lightning/blob/381343a79c703f2ccf1ab7c1d87400ad6e31fdf4/pytorch_lightning/loops/epoch/training_epoch_loop.py#L137-L150
I think this will not affect the warm-up behavior of optimizer, since the updated lr is never used.
But, will it affect the lr monitor? According to the documentation, the monitor is call on the start of the batch/epoch.
So during warm-up stage, a wrong lr is recorded at the beginning of the next batch-loop.
Expected behavior

Correct warm-up learning-rate to be recorded.
Suggestion for better warmp-up code style. Update documentation.

Environment

PyTorch Lightning Version (1.4.5)

Additional context
Related issue https://github.com/PyTorchLightning/pytorch-lightning/issues/4902

the example seems incorrect. warmup should happen after the optimizer step so that it's effect will begin from the 2nd batch. Mind send a PR to move flip it?


Allow remapping shortcuts to arbitrary Unicode characters/strings

Summary of the new feature/enhancement
I want to extend my keyboard layout to allow entering specific Unicode characters that are not accessible via the plain keyboard layout. Specifically, as a German speaker who spends 99% of the time coding and 1% writing short emails or chat notices in German, I want to extend a US layout to allow easy access to German umlauts without having to change the layout:

AltGr+A -> "ä"
AltGr+U -> "ü"
AltGr+s -> "ß"
and so on.

Keyboard manager only allows remapping keys to other keys or shortcuts to other existing shortcuts. What is missing is a way to remap shortcuts to characters that are not yet accessible via the layout.
Proposed technical implementation details (optional)
"Remap shortcuts" could allow multiple alternative targets. One of them could allow entering (or pasting) an arbitrary unicode string.

Great idea, tracking this issue here: #3290 Closing this cause duplicate


Fixes Issue #89 - ldap_sync.py Breaks when 0 Users Currently Exist

As discussed in https://github.com/linkedin/oncall/issues/89, this should be a quick fix for issues when the set of ldap_users and set of oncall_users are identical and yield an empty set.

@jrgp @dwang159 ^


1 Phasen Strombegrenzung!

Is your feature request related to a problem? Please describe.
I have a System that can charge up to 32 Ampere on 3 phases.
But in 1Phase-Mode my fuse is only able to handle 16 Ampere, othervise the unbalanced load  on the neutral-conductor gets to big.
Describe the solution you'd like
I'd like a Parameter to configure maxCurrent in 1Phase-Mode seperately from maxCurrent in 3Phase-Mode
Describe alternatives you've considered
I will do so with an external python script for now but it is a very unwhole solution due to bad visualization in the evcc GUI where the high Power in 1Phase-Mode is still shown in the Phase-Menu

Fully understand. Unfortunately this is currently not possible. I‘m really sorry but for time being wontfix due to technical reasons.
/cc @premultiply

Yes, looks simple but would require to add a lot more complex code and conditions. Not now. Maybe at a later time.

@andig @premultiply
Maybe here my question is fitting: So I suspect that wanting separate minimum current values for 1 and 3 phases is also a won't fix at the moment, or is it different?
My problem is that our Renault Twingo doesn't want to charge correctly below 8 Ampere when on 3 phases. On 1 phase though, it would be nice to being able to charge with 6 ampere, for days with not a lot of PV available.

Its the same case.
Just set it to 8A.
No other solution yet, sorry.


Find/replace of copyright header strings with CELA guidance

Highly recommend you return to CELA and inform them that this is a open source repository that takes in outside contributions and does not require the transfer of copyright from its external contributors. (This means they may not own the copyright on every single file in this repository.) They should then give you a new header that reflects that, similar to what was done on the .NET side.
Example:
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

Looping in @jeffwilcox for awareness. This seems to keep happening year over year... seems like CELA should be a bit more experienced with the OSS workflow by now.

Thanks @riverar 👏.
This does represent the latest guidance - our latest templates remove the "All rights reserved", and many of the companies we work with prefer this wording. I agree it's maybe a bit randomizing, but do support this update if it doesn't impact the rest of the project too much.

/azp run

Always appreciate when no one acknowledges my concerns. It certainly demotivates me to continue contributing here.

Contributions into this repo are covered by the Contributor License Agreement that folks digitally sign to contribute to Microsoft repositories. This includes granting specific rights to Microsoft for contributed code. The copyright statement does not state or infer that Microsoft employees were the original author of all of the code. It does not imply that Microsoft is an exclusive copyright holder (the CLA covers this as well). Nor does it limit the rights conferred under the MIT license that applies to use of code provided in this repository.
Is there a more specific concern that hasn't been addressed?
Ben

Also, you can see an example of the CLA here:
https://opensource.microsoft.com/pdf/microsoft-contribution-license-agreement.pdf
Thanks,
Ben

The copyright statement does not state or infer that Microsoft employees were the original author of all of the code.

It is extremely frustrating that, instead of doing the right thing here (like the .NET folks did), we're going to instead play legal word games.
Thanks for closing the loop; please consider this matter closed.


Navbar problem with navigating between several (group) layouts

Describe the bug
Page content doesn't unload and appends to top of page during navigation between two groups of layouts with navbars and active link: $: activeUrl = $page.url.pathname;

Reproduction
https://github.com/hkyselov/my-app
Flowbite version and System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
    Memory: 925.22 MB / 7.89 GB
  Binaries:
    Node: 21.1.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.1.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 118.0.5993.118
    Edge: Spartan (44.19041.3570.0), Chromium (118.0.2088.76)
    Internet Explorer: 11.0.19041.3570
  npmPackages:
    @sveltejs/kit: ^1.20.4 => 1.27.2
    flowbite-svelte: ^0.44.19 => 0.44.19
    svelte: ^4.0.5 => 4.2.2
    vite: ^4.4.2 => 4.5.0

@hkyselov This should be now fixed. Can you please check?

work well now, thanks @jjagielka


Remove the prefix 'version_' in tensorboard logging

🚀 Feature

Motivation

In tensorboard there's an explicit '/', and I think there's no need for this 'version_'.
it makes the whole stuff too long.
Pitch

I can bring a PR for this.
Alternatives

Additional context

@Ir1d people usually version with numbers though. You might be the edge case with names here. I would be ok with v_ instead

I would be ok with v_ also, but wouldn't it be better if we allow users to decide the whole thing by themselves? I mean that let them use whatever prefix they like

done


[Bug] marked.Renderer is not a constructor

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[X] Not reproducible in the monaco editor playground

Monaco Editor Playground Code
No response
Actual Behavior

I try to export directly
import { marked } from 'monaco-editor/esm/vs/base/common/marked/marked.js';
marked is empty object
Expected Behavior
No response
Additional Context
No response

I wonder if this is a bundling issue.

@alexdima Do we allow Monaco users to load our internal files like this?

I load monaco-editor by monaco-editor-webpack-plugin. Then the error "marked.Renderer is not a constructor" is reported. So I want to try to import the marked.js file separately, and the last imported marked is an empty object. I don't know if it is a problem with the packaged build configuration.

The same to me, here is screenshot.

export var marked = (__marked_exports || exports);

The same to me, here is screenshot.

fixed by change marked.js:
- let __marked_exports = {};
+ let __marked_exports = typeof define === 'function' && define.amd ? {} : null;

Hello! I am also running into this issue, any news about when this will be addressed? I am happy to contribute (I'll need some guidance) if required.

Hello @mjbvz, I have been looking for several weeks for a workaround to solve this issue when loading monaco-editor by ESM and found this issue that was closed some years ago, can this be a regression?.
I would appreciate any workaround to solve this issue, I am not loading monaco with the webpack-plugin as @gongtiexin above, but I can confirm that the issue is still present without using the plugin.
I have tested different monaco-editor versions from v0.19.3 to v.0.33 and the issue is reproducible since v31.0 at least. I am exposing a commonjs library using webpack and the AMD is not an option because it would require a re-write of the whole project.
Let me know if I can help with something in order to get this resolved, or if there are any workaround available for this!

@miamagana I had the same problem, using monaco in an (inhouse) library bundled as commonjs using webpack (without the plugin) and the library itself is included is several react apps.
I could "fix" the issue for me in<EMAIL_ADDRESS>by changing marked.js as
-export var marked = (__marked_exports || exports);
+export var marked = exports;

at the very end of the file.

@miamagana I had the same problem, using monaco in an (inhouse) library bundled as commonjs using webpack (without the plugin) and the library itself in included is several react apps.
I could "fix" the issue for me in<EMAIL_ADDRESS>by changing marked.js as
-export var marked = (__marked_exports || exports);
+export var marked = exports;

at the very end of the file.

Hello! Thanks for your answer, this fix is by editing the marked.js file in monaco-editor package, right? Meaning that everytime you install the dependencies or try to do a clean build, you will need to modify it again.
If so, it's not ideal but at least is a way of staying up to date, many thanks!

@miamagana Yes, you have to edit it in the package directly. I'm aware of two ways how to make this workaround permanently:

You can automate this patching by using https://github.com/ds300/patch-package . I've used it in the past and it worked quite well.
You publish the patched monaco-editor under a separate name (e.g. @mycompany/monaco-editor-workaround) and reference it via an alias in you package.json:

dependencies: {
 "monaco-editor": "npm<EMAIL_ADDRESS>}

instead of
dependencies: {
  "monaco-editor": "0.33.0",
}

The second option is really nice if you have a self hosted package registry, otherwise I would use the first one.

@miamagana Yes, you have to edit it in the package directly. I'm aware of two ways how to make this workaround permanently.

Thanks a lot for your answer @bockj! It totally makes sense to workaorund it until monaco officially fixes this!

As mentioned in https://github.com/microsoft/monaco-editor/issues/2966#issuecomment-1165439620, the fix above doesn't work for my case (I'm using Parcel). I believe that the correct fix is to remove everything between // ESM-uncomment-begin and // ESM-uncomment-end:
@@ -8,17 +8,8 @@
  * DO NOT EDIT THIS FILE
  * The code in this file is generated from files in ./src/
  */

- // ESM-uncomment-begin
- let __marked_exports = {};
- (function() {
-   function define(deps, factory) {
-     factory(__marked_exports);
-   }
-   define.amd = true;
- // ESM-uncomment-end
-
  (function (global, factory) {
   typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
   typeof define === 'function' && define.amd ? define(['exports'], factory) :
   (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.marked = {}));
@@ -2942,9 +2933,4 @@

   Object.defineProperty(exports, '__esModule', { value: true });
 }));

- // ESM-uncomment-begin
- })();
- export var marked = (__marked_exports || exports);
- // ESM-uncomment-end
-

This also fixes #2966 at the same time.

Info: the change was introduced in https://github.com/microsoft/vscode/commit/bd369c638ea582aedb3dcd9d05eb8dcd2158496f.

This bug affects our project as well. The comment https://github.com/microsoft/monaco-editor/issues/3035#issuecomment-1165455990 makes everything work as intended as well.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Do not start Kueue when the visibility server cannot be started

What type of PR is this?
/kind feature

What this PR does / why we need it:
Add logic that allow to crash server on error in CreateAndStartVisibilityServer.
Which issue(s) this PR fixes:

Fixes #2634
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Do not start Kueue when the visibility server cannot be started, but is requested.

/retitle Do not start Kueue when the visibility server cannot be started

/release-note-edit
Do not start Kueue when the visibility server cannot be started, but is requested.

/retest

/lgtm
/approve