Make search in orders hookable

1. Why is this change necessary?
The searchInOrder function controlls the selection of orders in the backend order listing pane. Making it hookable will facilitate customization of the search without affecting larger parts of the order repository class. There is a customer request to be able to search for article ordernumbers in the backend orders list.
2. What does this change do, exactly?
Just changes visibility of searchInOrders from private to protected.
3. Describe each step to reproduce the issue or behaviour.
Method searchInOrders not hookable.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Sorry für die uneccessary commits - räum ich noch auf.

OK, moved now protected function searchInOrders in front of other private functions.

@vanWittlaer @shopwareBot wouldn't it make sense to splitt up the method in one which returns the QueryBuilder object, which would be hookable, and another one which returns the actual result?

Hm, yes in general - but then searchInOrders makes use of the Shopware\Model\SearchBuilder, whilst the other query builders use the em query builder ... I'd say searchInOrders is such a small and self-contained routine that I'd just leave it as is. If you still want to split let me know, it is possible of course.

@shopwareBot Muss ich da selbst was machen um das incomplete zurückzusetzen??

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-21689
Please use this issue to track the state of your pull request.

Hi @vanWittlaer, thank you very much for your contribution! 💙


Please add a LICENSE file

See instructions at https://help.github.com/en/github/building-a-strong-community/adding-a-license-to-a-repository

Added the LICENSE file.


$modelValue undefined in custom directive

I have a tree template in a  directive:

Tree items are passed in as an isolated scope variable in the view:
 <stat-panel ng-repeat="statistic in dataViewCtrl.selectedStatistic"
     items="statistic.Items"
</stat-panel>

I added a ng-click (setSelectedNode(this)) function to each tree node.  However when the function is called in the directive controller the $modelValue is undefined.  I think its because no matter what node I click the ENTIRE tree is returned as node in the directive controller:
        controller: function($scope, $log) {
            $scope.setSelectedDimension = function(node) {
                 $log.log(node.$modelValue);
            };
        }

Any ideas why this is happening?
-VM

I think this is due to the fact that each tree created by the directive needs to have a unique template.
I tried to add ids to the template as follows:

It seems all values are correct, but I get a Network error saying the dynamic templates can't be found.
Any ideas?
  I had my ng-click on the tree instead of on the actual child nodes.  What a dope.
Closing.


Update README and Add UFC GraphQL Server

Just adding a GraphQL Server that consumes UFC's public API.
It's hosted by now.sh then, sometimes, it gets freeze.

@jgcmarins Merged. Thank you for submission 👍


Generated service account is missing auth url required for service registry

Description
For service registry, we need a token url (SSO) to be included for users to be able to configure their registry configuration manually.
UI already does that right now. CLI is missing it so we need this ASAP (and provide new release)

URL:
https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token

We need some way to differentiate between QA and Prod

@craicoverflow @rkpattnaik780 - WDYT about adding "token_endpoint_url" field to the output file?

@craicoverflow @rkpattnaik780 - WDYT about adding "oauth_token_endpoint_url" field to the output file?

Sounds fine, but will it be better if we display it in STDOUT rather than printing it to a file?

env file can be used in guides/will work out of the box when cli print out will be more manual

Writing the token endpoint URL will actually be better that having some separate command or flag to print it in my opinion.
The currently credentials files offer no context as to the environment they are valid for. This makes it difficult for the user to associate the credentials with the correct environment without using service-account describe.
We could always offer both options? rhoas service-account describe --token-endpoint-url as well as printing it to a file.

Done


Graph CLI 0.37.1 Doesn't Complete Setup

Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
I just set up a new Macbook Pro and installed a fresh copy of node, nvm, VScode, and graph-cli (globally). I was spinning up a subgraph for a contract on Goerli and was getting the error seen in the attached photo after setting the path to my ABI.
I checked package.json and saw this:
  "dependencies": {
    "@graphprotocol/graph-cli": "undefined",
    "@graphprotocol/graph-ts": "0.29.1"
  },

I reported this to TheGraph's discord at this point.
I changed the "undefined" line to:
   "@graphprotocol/graph-cli": "0.37.1",
Then ran npm install, and it completed.
This was helpful to keep going, but every time I ran the CLI, the same bug would occur.
I downgraded the CLI 0.37.0 and the CLI error did not occur.

Reproduction
www.thegraph.com
Steps to Reproduce the Bug or Issue

Install GraphCLI globally npm install -g @graphprotocol/graph-cli
Run the CLI graph init --studio
Continue filling out CLI prompts, CLI glitches out after entring path to ABI.

See previously attached photo for bug.
Expected behavior
CLI continues as it usually does in 0.37.0.
Screenshots or Videos

Platform

OS: [e.g. macOS]
NodeJS: [e.g. 19.4.0]
@graphprotocol/* version(s): 0.37.1.

Subgraph Manifest
Error was prior to subgraph.yaml being created
Subgraph GraphQL Schema
Error was prior to this schema.graphql being created
Additional context
Thanks! Let me know if theres any other info needed!

@marcusrein can you please try latest? 0.37.6
this was fixed before by @enisdenjo

updated - works like a charm, thanks!


Update schemes to not use whole kubernetes API

Superseded by https://github.com/rancher/opni/pull/925


Replace http and https // for resources

Replace http resources with https.
Use // instead of specifying protocol for resource.

Thank you!


synchronize the content of the static hosted website in S3 and the frontend url (aws_content_delivery_url)

I'm beginner in angular and aws services. How can I synchronize the content of the static hosted website S3 and the frontend url (aws_content_delivery_url)?

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


how can i send notifications for ios safari?

I can receive notifications on the web as in android using in magnificent library but in safari ios no council works

Hello @jarl-alejandro
What seems to be the problem with safari ?
You would use Push.js in the very same for across all browsers. The library takes care of cross-browser compatibility under the hood and abstracts away almost everything.
Could you please try opening the pushjs.org website and confirming whether the Demo works for you ?

@jarl-alejandro Sorry I missed the 'IOS' part of your question. IOS Safari has no implementation for Web push notifications yet.


[Feature]: Validate policies for no commercial providers (just git)

What would you like to see improved?
Create a new provider just for Git projects. Sometimes we have no interest in validating Pull Requests or Merge Requests, or validating organization settings or repository changes as we might have a simple git repository that is in no way attached to a commercial tool.
What would be the ideal solution?
We want to check with a Git provider to analyze git repository policies that validate compliance within git branches, commits, work trees, and others.
This can be done through builtins that checkout a repository
What would be a "good enough" solution?
Only capabilities regarding the repo files
Code of Conduct

[X] I agree to follow Reposaur's Code of Conduct

Hey @jsmvaldivia 👋🏼
As spoken offline this sounds like a great idea to me as it expands the use cases possible. I still have some questions regarding how this feature can work tho:

Currently, Reposaur works by receiving some JSON input and outputting a SARIF report. We can't change how we get the input since that's what makes it easy to integrate with other tools. How'd you see users specifying they want to validate a Git repository instead of some JSON input?

Would this feature work for local repositories only or should remote repositories also be supported?

I think we could go with a PoC that receives a string as input that's prefixed with the git protocol followed by two semicolons :: (similar to what hashicorp/go-getter does), example:

git::git@github.com:reposaur/reposaur.git
git::https://github.com/reposaur/reposaur.git

The main issue is that the DataDeriver interface argument to both Derive* methods expects a map[string]any as argument for data.
Additionally, we use a json.Decoder in the CLI when we process the inputs before we even know what type they have, so we would have to add a condition prior to that to check for the special cases (trying to decode a single string results in an error).
Any ideas regarding this questions?


Index pages descriptions

As you may have seen, the short text below each index and subindex page is hardcoded. Those texts are not general and some users may want to change them so I will add and additional "description" key to the configuration file to specify them.

Superseded by: https://github.com/Raku/Documentable/issues/104


Error result of Grouping set when colocate is enable

Describe the bug
The result of following query is incorrect:
SELECT k1, k2, SUM( k3 ) FROM table GROUP BY GROUPING SETS ( (k1, k2), (k1), (k2), ( ) ) order by k1, k2;

The result number is incorrect.
There are some duplicate rows that have not been aggregated.
To Reproduce
Steps to reproduce the behavior:

create table , distributed by k1

CREATE TABLE `table` (
  `k1` tinyint(4) NULL COMMENT "",
  `k2` smallint(6) NULL COMMENT "",
  `k3` int(11) NULL COMMENT "",
  `k4` bigint(20) NULL COMMENT "",
  `k5` decimal(9, 3) NULL COMMENT "",
  `k6` char(5) NULL COMMENT "",
  `k10` date NULL COMMENT "",
  `k11` datetime NULL COMMENT "",
  `k7` varchar(20) NULL COMMENT "",
  `k8` double MAX NULL COMMENT "",
  `k9` float SUM NULL COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`, `k6`, `k10`, `k11`, `k7`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`k1`) BUCKETS 5
PROPERTIES (
"replication_num" = "3",
"in_memory" = "false",
"storage_format" = "V2"
);

load data
open colocate session variables

set disable_colocate_plan = false

query, the answer is incorrect

SELECT k1, k2, SUM( k3 ) FROM table GROUP BY GROUPING SETS ( (k1, k2), (k1), (k2), ( ) ) order by k1, k2

Expected behavior
the correct answer should be same as the answer of query:
SELECT * FROM\n                (SELECT k1 as k1, k2 as k2, SUM( k3 ) FROM test_query_qa.baseall GROUP BY k1, k2 UNION\n                 SELECT k1, null, SUM( k3 ) FROM test_query_qa.baseall GROUP BY k1 UNION\n                 SELECT null, k2, SUM( k3 ) FROM test_query_qa.baseall GROUP BY k2 UNION\n                 SELECT null, null, SUM( k3 )FROM test_query_qa.baseall\n                ) t ORDER BY k1, k2

After colocate aggregation pr.

This pr products this problem #5555


Files are no longer being downloaded

Adding url_file_to_attachment feature introduced regression which cause that no files being downloaded.

After initial investigations, turns out, that Slack has changed format of response. There is no "subtype": "file_share" anymore. So it is unrelated to url_file_to_attachment option.

Fixed in 9ab0dd0da02a0c30daf3a280b140f8754d53744c.


Basic tests for answerQuestion method of FormEntryController

This PR is a basic test for answering simple questions with and without constraints.
FormEntryController.answerQuestion has some strange logic in it that has to do with answering questions that are complex. For background complex questions have copy tags in them that need xml subtree substitution to occur during evaluation.
I wanted to test that logic, gave up after not being able to produce a valid xform as input.

Tests! Sweet!

:star2:

@phillipm Are these ready for merging? Don't see the flag, but look good to me.

@ctsims yup, I created this PR before knowing about labels. Should be ready to review/merge.


Review the Overmocked.Mock and Mock<T, TReturn>

Both methods below need to be reviewed. I'm not satisfied with the current implementation.
Overmock.Overmocked.Mock()
Overmock.Overmocked.Mock<T, TReturn>()

Changing public apis (breaking changes) and inc versions


enhancement: change grafana agent from daemonset to deployment

Closes https://github.com/giantswarm/giantswarm/issues/30317
This PR changes the configuration of the grafana agent used to collect kubernetes events in clusters from a daemonset to a deployment. As the grafana agent is only used to collect events, there is no reason to deploy it as a daemonset.
This should reduce the resource usage of our platform accross all clusters once the logging operator is released with this change

Tested on grizzly:

We are still receiving events:

It should be yes as they watch the same events

Do we just go from deamonset to 1 deployment? Is this enough ?

I guess the implied question was: that's only 1 pod, so there is no more redundancy. What happens when it breaks, it there a risk of missing some events?

I think the agent should bé able to get évents as long as it's up. Do you prefer me to configure 2-3 replicas?

I think the agent should bé able to get évents as long as it's up. Do you prefer me to configure 2-3 replicas?

Yes I would prefer having 3 replicas.

Actually, maybe we should make it a single replica statefulset ? https://grafana.com/docs/agent/latest/flow/reference/components/loki.source.kubernetes_events/#component-behavior

Well, yes, it looks like a single-replica statefulset may be the way to go. With a tiny pv.

Moved to a single replicas statefulset with a 1 Gi pv


Add rendered changes check

Raise an error and reject build if if rendering causes changes
Issue #24

I, @johnallen3d, have checked:
Style/Standards/Process

[ ] If there is commented out code that should be deleted
[ ] That the change implements what was requested in the ticket
[ ] For adequate test coverage for changed lines or critical code paths

Code Quality

[ ] Do the classes follow CodeClimate 7 Patterns to Refactor
[ ] If there are more idiomatic ways of using our frameworks/libraries
[ ] Are there alternative implementations or refactors that increase readability/understandability and/or maintainability
[ ] I can actually understand what the code is doing (if you're struggling to understand, then others may as well)
[ ] This change is ready for production, if not should there should be a feature flag

Security and Privacy

[ ] Do the changes raise any security or privacy concerns


Add config command

This is rebased on #4 and partially addresses #13.
This PR adds a config command with the following sub-command:

download:

Usage:
  sandbox-ce [OPTIONS] config download [download-OPTIONS]

Help Options:
  -h, --help                                     Show this help message

[download command options]
      -r, --revision=                            revision to download (default: master)

Each downloaded docker-compose.yml will be put in ~/.srcd/composer-configs/<revision>/docker-compose.yml.

list: simply lists the available configurations, and marks the current default configuration as follows:

✔  se7entyse7en in ~/Projects/smacker/superset-compose (composer-config-download)  $ GITBASE_REPOS_DIR=/Users/se7entyse7en/Projects/.go-workspace/src/github.com/src-d go run cmd/sandbox-ce/main.go config list
cfbe758 (default)
master

set-default:

Usage:
  sandbox-ce [OPTIONS] config set-default [set-default-OPTIONS] revision

Help Options:
  -h, --help                                     Show this help message

Sets the default configuration to use. Under the hood, it creates a symlink from ~/.srcd/composer-configs/__default__/docker-compose.yml to the provided configuration.
This PR doesn't use the default config yet, but only adds the logic for the config command. The next step is to add a --config to the init and start commands. If --config is not provided, then the default config is used. If even the default config is not set, then the one present in the repo is used.

Regarding the code, looks good to me.
I have a few comments on UX.
I'm not sure about the sub command config name. A docker-compose.yml is called "Compose file" in the docker docs, not "config file". Plus in the future we may have config files for sandbox-ce itself (maybe for ports, default user password, etc). I propose to use sandbox-ce compose download/list instead, as it makes more clear that you are managing docker-compose files behind the scenes.
download does not output anything in case of success. I think it would be useful to print something like "Compose file successfully downloaded to path"
All commands are missing the help texts. In this case I think config/compose should include a mention to the ~/.srcd/composer-configs/, to make it clear that you may want to go there to manage things manually.
Similar to the config sub command name, I feel the composer-configs dir could be renamed to compose-files, to be more aligned with the name used in the docker documentation.

I actually disagree with Carlos. We try to avoid much complexity and use as much of docker-compose as possible. So such things as ports are already in docker-compose.yml and it makes sense to put login/pass there too (they need to be read by scripts so they should be env variables that are defined in yml). So I would prefer to keep the name "config".

But I have concerns about UX. I think we need to discuss it with product or Santiago or Maximo.
I don't see much use of specifying and downloading different revisions.
For me it feels like we need just "update" command and allow to pass url for special cases.

I actually disagree with Carlos. We try to avoid much complexity and use as much of docker-compose as possible. So such things as ports are already in docker-compose.yml and it makes sense to put login/pass there too (they need to be read by scripts so they should be env variables that are defined in yml). So I would prefer to keep the name "config".

The point I was trying to make is not about reserving config for other files. Rather, my main point is that sandbox-ce compose makes it clear that the user is dealing with docker compose files.
If the docs say you can update your "config", the implications are not clear. If we refer to them clearly as docker compose files, it's more easy to understand its purpose.
This goes in line with the example you propose. If we say in the docs that you can setup some environment variables in the "config" file, a user might be surprised to find a docker-compose.yml. Also, calling these files "compose files" means that a user that is not familiar with docker compose can look up reference docs for it if some customization is needed.

We discussed in apps sync, and the final decision is here.

I rebased this and updated in order to support also urls.

I have pushed changes addressing most comments.
Main changes:

Moved all functions that deal with docker compose files to a new package, compose/file
download takes an argument that can be either a revision or a URL.
For the files downloaded from URL, I have changed the dir name from time.Now to the URL in base64. This way the name is safe to use as dir name, and can be decoded to use the original URL in list.
I have renamed all functions that deal with docker compose files from config to compose or compose files.
I feel sandbox-ce compose conveys better than config what the command is about. Let me know if you have strong opinions on this, if you think it should be named back to sandbox-ce config.

I agree base64 is not ideal when you cd into the dir, but well at least list shows the proper name.
Maybe a simple improvement could be to add a README.txt file in the same dir and put there the clean URL. In any case I would consider this as a future improvement.


iOS Native Certificate Code

Hello
I am working on a Local government project, We need to develop a verification certificate feature in native iOS Swift Code.
Is there any code available for reference?

Github
https://github.com/egovernments/DIVOC/tree/main/public_app
Study these js files:
https://github.com/egovernments/DIVOC/blob/main/public_app/src/components/VerifyCertificate/index.js
https://github.com/egovernments/DIVOC/blob/main/public_app/src/components/CertificateStatus/index.js -- check VerifyData()


Remove version: Redisant.BACnetExplorer version <IP_ADDRESS>

All InstallerUrls returned 404 Not Found

https://github.com/chenjing1294/BACnetExplorer-release/releases/download/v<IP_ADDRESS>/BACnetExplorer-<IP_ADDRESS>-windows.zip

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/chenjing1294/BACnetExplorer-release/releases/download/v<IP_ADDRESS>/BACnetExplorer-<IP_ADDRESS>-windows.zip
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)


[IRGen][DebugInfo] split method declaration and definition.

When the function is a method, we only want a DW_AT_declaration
there, because LLVM LTO can't unify type definitions when a child DIE is a
full subprogram definition. Now the subprogram definition gets added at the
CU level with a specification link back to the abstract declaration.
Both GCC and Clang write debuginfo this way for C++ class methods. Now Rust is too.
Related discussions:

[Verifier] definition subprograms cannot be nested within DICompositeType when enabling ODR.
https://github.com/llvm/llvm-project/issues/61932
https://github.com/rust-lang/rust/pull/111167

Fixes #53940.

@swift-ci please test

@adrian-prantl  Could you help me invoke swift-ci and merge changes? This is my first pull request.

@swift-ci test and merge

@swift-ci test and merge

After adding the parameter --param backtracing, I can reproduce the test/Backtracing/Crash.swift error. Trying to solve it.

After this PR, a DWARF in the following format may be generated:
0x00000d58:       DW_TAG_subprogram
                    DW_AT_linkage_name	("$s8CrashOpt0A0V5$mainyyFZ")
                    DW_AT_name	("$main")
                    DW_AT_type	(0x00000f65 "$sytD")
                    DW_AT_declaration	(true)
                    DW_AT_external	(true)
                    DW_AT_APPLE_optimized	(true)
...
0x00000d9d:         DW_TAG_inlined_subroutine
                      DW_AT_abstract_origin	(0x000011d2 "$s8CrashOpt0A0V5$mainyyFZ")
                      DW_AT_ranges	(0x00000210
                         [0x00000000000011e0, 0x00000000000012f3)
                         [0x00000000000012fb, 0x0000000000001307))
                      DW_AT_call_file	("/home/dianqk/Projects/swift-project/swift/test/Backtracing/Crash.swift")
                      DW_AT_call_line	(0)
...
0x000011d2:   DW_TAG_subprogram
                DW_AT_specification	(0x00000d58 "$s8CrashOpt0A0V5$mainyyFZ")
                DW_AT_inline	(DW_INL_inlined)

I put b00d1520f89bb7df1d2a3eeee57cae7682755634 to this PR to show on CI that this did work.
Opening a new PR should be a better option. #67592

I also tried to solve the failure of lang/swift/async/stepping/step-in/task-switch/TestSwiftTaskSwitch.py on macOS.
The https://github.com/apple/llvm-project/pull/7114 is a change that can pass the test case. But I have no lldb related knowledge.
This might be something to ask @kastiglione to take a look at, thanks.

I've reviewed the backtracing change in #67592. TL/DR: It looks fine, though I think I'd like it to check the tag to make sure the DW_AT_specification is pointing at the kind of thing we expect.

@swift-ci Please test

I figured out why the TestSwiftTaskSwitch.py test case was failing. I tried to submit the patch https://reviews.llvm.org/D157184.

Rebase and update code comments.

@swift-ci test


Add a method to close both the http file and the response window.

After finishing a request and trying to go back to editing, i have to close both windows. I think something like Neogit when u press q it closes everything.
it doesn't need to be q just a method that we can map to any keys.
Great project btw.

is there a way to close the results window only? Thanks!


Bug with build on Mac M1

Capacitor build fails for iOS build when using google maps plugin with Mac M1.
Using "@capacitor/google-maps": "4.5.0",
        ** BUILD FAILED **

        The following build commands failed:
        SwiftEmitModule normal arm64 Emitting\ module\ for\ CapacitorGoogleMaps (in target 'CapacitorGoogleMaps' from
        project 'Pods')
        SwiftCompile normal arm64 Compiling\ Map.swift
<EMAIL_ADDRESS>(in
        target 'CapacitorGoogleMaps' from project 'Pods')
        (2 failures)

Looks it had been solved but not yet implemented: https://forum.ionicframework.com/t/google-maps-capacitor-not-working-on-ios/223525/14
Do you have any tricks to solve this problem ?
Thanks for your help

Cf https://github.com/ionic-team/capacitor/issues/5838

Cf https://github.com/googlemaps/google-maps-ios-utils/issues/355

You are most likely using @capacitor/google-maps. You are now in the @capacitor-community/google-maps repository.


Update build dependencies

Updates build process dependencies. Notably, gulp-bless, didn't generate sourcemaps correctly, and the update fixes that.
Changes

Updates gulp-bless from 3.2.1 to 4.0.0.
Updates gulp-changed from 1.3.2 to 3.1.2.
Updates gulp-clean-css from 3.0.4 to 3.4.2.
Updates gulp-imagemin from 3.1.1 to 3.3.0.
Updates gulp-sourcemaps from 2.4.1 to 2.6.0.
Updates gulp-uglify from 2.0.1 to 3.0.0.

Testing

./frontend.sh should complete and the page should load without errors.

@anselmbradford, does ie9 support source maps?

@anselmbradford, does ie9 support source maps?

Heh, no it doesn't, however, gulp-bless can be used with gulp-sourcemaps, and were it to be it would be spitting out incorrect maps according to the changelog, so probably best to update it. Though you raise a good point, I don't quite see why gulp-bless supports sourcemaps at all when they weren't added to IE before IE11. Possibly just to support what the underlying bless library supports.

👍 , at some point we need to write some smoke tests for our gulp processes.


Server-Client trimming form discovery info update

During #1091 pull request works some issues which the PDP and EDP WriterHistory trimming were noticed. This pull request must be merged after #1091.
When an endpoint destruction notification is received then all its associated changes in the history should be removed. This removal cannot be done at once, the server must wait till all the clients acknowledge the changes. Thus, there is a collection of changes marked for disposal.
The disposal must be aborted if the endpoint we want to remove appears again. In order to detect that eventuality before removing an endpoint changes we check this endpoint is not in the discovery database (not alive). There was a bug on this step that is now repaired.
During the testing of trim operation under heavy exchange of discovery data several ABBA locks were detected and solved.
It was also detected that if a server cannot open the ports assigned to its addresses no error was notified. This situation is odd but it actually happen so a notification was introduced.

Build status:

Linux
Mac
Windows

Unrelated test failures


1.21.4 Support

Hello,
I would like to request support for Minecraft version 1.21.4.
If there are issues preventing support for this version, I’d be happy to help test.
Thanks !

I unfortunately wont be able to update until sometime january, in the meantime you can use/test a build from the open pr: https://github.com/megabyte6/FastQuit/releases
Please note that I am not the author of this build, so download at your own risk


Language model decoding problems

There seem to be problems with decoding from a language model, in particular a (very small) attention_lm and a custom lstm model. When t2t-decoder is run in interactive mode:
python t2t-decoder --data_dir="C:\t2t\t2t_data\lm1b_baseline" --tmp_dir="C:\t2t\t2t_temp" --t2t_usr_dir="C:\t2t\multi_lm" --output_dir="C:\t2t\t2t_training\lm1b_baseline\attention_lm-attention_lm_tiny" --problem=languagemodel_lm1b8k --model=attention_lm --hparams_set=attention_lm_tiny --decode_interactive
it produces the same output every time, regardless of the input:

INFO:tensorflow:Restoring parameters from C:\t2t\t2t_training\lm1b_baseline\attention_lm-attention_lm_tiny\model.ckpt-108581
2017-12-29 23:16:23.449223: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\logging_ops.cc:79] beam_decode batch_size=[1]
INFO:tensorflow:" I 'm not going to be able to make it , " he said .
INTERACTIVE MODE  num_samples=1  decode_length=100
it=<input_type>     ('text' or 'image' or 'label', default: text)
pr=<problem_num>    (set the problem number, default: 0)
in=<input_problem>  (set the input problem number)
ou=<output_problem> (set the output problem number)
ns=<num_samples>    (changes number of samples, default: 1)
dl=<decode_length>  (changes decode length, default: 100)
<target_prefix>                (decode)
q                   (quit)
>What if
2017-12-29 23:16:29.480916: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\logging_ops.cc:79] beam_decode batch_size=[1]
INFO:tensorflow:" I 'm not going to be able to make it , " he said .
INTERACTIVE MODE  num_samples=1  decode_length=100
it=<input_type>     ('text' or 'image' or 'label', default: text)
pr=<problem_num>    (set the problem number, default: 0)
in=<input_problem>  (set the input problem number)
ou=<output_problem> (set the output problem number)
ns=<num_samples>    (changes number of samples, default: 1)
dl=<decode_length>  (changes decode length, default: 100)
<target_prefix>                (decode)
q                   (quit)
>Let's try this instead
2017-12-29 23:16:49.811394: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\logging_ops.cc:79] beam_decode batch_size=[1]
INFO:tensorflow:" I 'm not going to be able to make it , " he said .
INTERACTIVE MODE  num_samples=1  decode_length=100
it=<input_type>     ('text' or 'image' or 'label', default: text)
pr=<problem_num>    (set the problem number, default: 0)
in=<input_problem>  (set the input problem number)
ou=<output_problem> (set the output problem number)
ns=<num_samples>    (changes number of samples, default: 1)
dl=<decode_length>  (changes decode length, default: 100)
<target_prefix>                (decode)
q                   (quit)
>asdfasfdas
2017-12-29 23:16:58.642319: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\logging_ops.cc:79] beam_decode batch_size=[1]
INFO:tensorflow:" I 'm not going to be able to make it , " he said .
INTERACTIVE MODE  num_samples=1  decode_length=100
it=<input_type>     ('text' or 'image' or 'label', default: text)
pr=<problem_num>    (set the problem number, default: 0)
in=<input_problem>  (set the input problem number)
ou=<output_problem> (set the output problem number)
ns=<num_samples>    (changes number of samples, default: 1)
dl=<decode_length>  (changes decode length, default: 100)
<target_prefix>                (decode)
q                   (quit)
>

This problem also occurs for a LSTM model:
@registry.register_model
class LSTMLm(t2t_model.T2TModel):
    """Basic LSTM recurrent neural network."""

    def model_fn_body(self, features):
        if self._hparams.initializer == "orthogonal":
            raise ValueError("LSTM models fail with orthogonal initializer.")
        train = self._hparams.mode == tf.estimator.ModeKeys.TRAIN
        with tf.variable_scope("lstm_lm"):
            # Flatten and shift inputs.
            shifted_targets = common_layers.shift_right(features.get("targets"))
            inputs = common_layers.flatten4d3d(shifted_targets)
            outputs, _ = lstm.lstm(inputs, self._hparams, train, "lstm")
            return tf.expand_dims(outputs, axis=2)

python t2t-decoder --data_dir="C:\t2t\t2t_data\lm1b_baseline" --tmp_dir="C:\t2t\t2t_temp" --t2t_usr_dir="C:\t2t\multi_lm" --output_dir="C:\t2t\t2t_training\lm1b_baseline\lstm-lstm_tiny" --problem=languagemodel_lm1b8k --model=lstm_lm --hparams_set=lstm_tiny --decode_interactive
Note that both models were trained on the 1 billion word dataset with a vocab size of 8192
@registry.register_problem("languagemodel_lm1b8k")
class LanguagemodelLm1b8k(LanguagemodelLm1b32k):

    @property
    def targeted_vocab_size(self):
        return 2**13  # 8192

for over 100,000 steps and reached decent negative log perplexities, under -4.
Although I have not done a complete review of the source code, this seems to occur for two reasons: (1) the model isn't receiving the input sequence and conditioning the output on it, and (2) there isn't any non-deterministic sampling from the output probabilities.
Is this correct? And if so, is this the intended behavior or a bug? Both (1) and (2) are a problem for decoding from language models. Others have raised similar issues with decoding, e.g. #439.
I'm running TensorFlow 1.3.0 and Tensor2Tensor 1.3.0. Any help would be greatly appreciated.

I have not tested again with last versions, but it would be great if you could test it with TF 1.4 and T2T 1.4.1
They made significant changes since.

I'm having some problems using T2T 1.4.1 and TF 1.4, it looks like T2T now requires TF Eager, but it isn't yet included in the official TF releases?
Also, I tried the nightly TensorFlow releases, but encountered one of several problems (depending on the version): (1) TF eager imports not working, (2) T2T hanging before training as in #494, or (3) the TensorFlow runtime not starting. I thought the last problem could be caused by an improper install or missing environment variables, but it seems that all the CUDA and cuDNN files were placed in the right locations and the environment variables were there.

Closing in favor of #439 which reports the same issue.


Update to use useRuntimeConfig

I think this module needs updating since the nitropack merge.
This file needs updating to switch from import config from '#config' to the new import { useRuntimeConfig } from '#nitro'
Version
@nuxtjs/supabase: : v0.1.5
nuxt: 3.0.0-27470397.9ebea90
Reproduction Link
https://stackblitz.com/edit/github-zshr3e-acedle?file=app.vue
Steps to reproduce
Install the module and use the latest version of nuxt 3.
Run the dev server.
What is Expected?
Dev server runs.
What is actually happening?
Several warns about #config and then an error
 ERROR  [worker reload] [worker init]Package import specifier "#config" is not defined in package /home/projects/github-zshr3e-acedle/package.json imported from /home/projects/github-zshr3e-acedle/.nuxt/dev/index.mjs

@ikadix I imagine the Nuxt team is having quite a busy day today, to say the least :wink: so I made a pull request based on your input (which solved the issue on my end). It's my first time contributing to a Nuxt module, so hopefully, everything will work out :crossed_fingers:

Damn you are faster than me @psto :rocket:

Fixed in https://github.com/nuxt-community/supabase-module/releases/tag/v0.1.7
Thank you for your help ❤


BUG in langchain_community.vectorstores.qdrant

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
Issue Description
I encountered a problem when using the Qdrant.from_existing_collection method in the Langchain Qdrant integration. Here is the code I used:
from langchain_community.vectorstores.qdrant import Qdrant

url = "http://localhost:6333"
collection_name = "unique_case_2020"

qdrant = Qdrant.from_existing_collection(
    embedding=embeddings,  # Please set according to actual situation
    collection_name=collection_name,
    url=url
)

When I run this code, I get the following error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[21], line 7
      3 url = "http://localhost:6333"
      4 collection_name = "unique_case_2020"
----> 7 qdrant = Qdrant.from_existing_collection(
      8     embedding=embeddings,  # Please set according to actual situation
      9     collection_name=collection_name,
     10     url=url
     11 )

TypeError: Qdrant.from_existing_collection() missing 1 required positional argument: 'path'

To resolve this, I added the path argument, but encountered another error:
qdrant = Qdrant.from_existing_collection(
    embedding=embeddings,  # Please set according to actual situation
    collection_name=collection_name,
    url=url,
    path=""
)

This raised the following error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[23], line 7
      3 url = "http://localhost:6333"
      4 collection_name = "unique_case_2020"
----> 7 qdrant = Qdrant.from_existing_collection(
      8     embedding=embeddings,  # Please set according to actual situation
      9     collection_name=collection_name,
     10     url=url,
     11     path=""
     12 )

File ~/.local/lib/python3.10/site-packages/langchain_community/vectorstores/qdrant.py:1397, in Qdrant.from_existing_collection(cls, embedding, path, collection_name, location, url, port, grpc_port, prefer_grpc, https, api_key, prefix, timeout, host, **kwargs)
   1374 @classmethod
   1375 def from_existing_collection(
   1376     cls: Type[Qdrant],
   (...)
   1390     **kwargs: Any,
   1391 ) -> Qdrant:
   1392     """
   1393     Get instance of an existing Qdrant collection.
   1394     This method will return the instance of the store without inserting any new
   1395     embeddings
   1396     """
-> 1397     client, async_client = cls._generate_clients(
   1398         location=location,
   1399         url=url,
   1400         port=port,
   1401         grpc_port=grpc_port,
   1402         prefer_grpc=prefer_grpc,
   1403         https=https,
   1404         api_key=api_key,
   1405         prefix=prefix,
   1406         timeout=timeout,
   1407         host=host,
   1408         path=path,
   1409         **kwargs,
   1410     )
   1411     return cls(
   1412         client=client,
   1413         async_client=async_client,
   (...)
   1416         **kwargs,
   1417     )

File ~/.local/lib/python3.10/site-packages/langchain_community/vectorstores/qdrant.py:2250, in Qdrant._generate_clients(location, url, port, grpc_port, prefer_grpc, https, api_key, prefix, timeout, host, path, **kwargs)
   2233 @staticmethod
   2234 def _generate_clients(
   2235     location: Optional[str] = None,
   (...)
   2246     **kwargs: Any,
   2247 ) -> Tuple[Any, Any]:
   2248     from qdrant_client import AsyncQdrantClient, QdrantClient
-> 2250     sync_client = QdrantClient(
   2251         location=location,
   2252         url=url,
   2253         port=port,
   2254         grpc_port=grpc_port,
   2255         prefer_grpc=prefer_grpc,
   2256         https=https,
   2257         api_key=api_key,
   2258         prefix=prefix,
   2259         timeout=timeout,
   2260         host=host,
   2261         path=path,
   2262         **kwargs,
   2263     )
   2265     if location == ":memory:" or path is not None:
   2266         # Local Qdrant cannot co-exist with Sync and Async clients
   2267         # We fallback to sync operations in this case
   2268         async_client = None

File ~/.local/lib/python3.10/site-packages/qdrant_client/qdrant_client.py:107, in QdrantClient.__init__(self, location, url, port, grpc_port, prefer_grpc, https, api_key, prefix, timeout, host, path, force_disable_check_same_thread, grpc_options, auth_token_provider, **kwargs)
    104 self._client: QdrantBase
    106 if sum([param is not None for param in (location, url, host, path)]) > 1:
--> 107     raise ValueError(
    108         "Only one of <location>, <url>, <host> or <path> should be specified."
    109     )
    111 if location == ":memory:":
    112     self._client = QdrantLocal(
    113         location=location,
    114         force_disable_check_same_thread=force_disable_check_same_thread,
    115     )

ValueError: Only one of <location>, <url>, <host> or <path> should be specified.

Error Message and Stack Trace (if applicable)
No response
Description
Expected Behavior
The from_existing_collection method should allow the path argument to be optional, as specifying both url and path leads to a conflict, and path should not be mandatory when url is provided.
Actual Behavior

When path is not provided, a TypeError is raised indicating that path is a required positional argument.
When path is provided, a ValueError is raised indicating that only one of <location>, <url>, <host>, or <path> should be specified.

Suggested Fix

Update the from_existing_collection method to make the path argument optional.
Adjust the internal logic to handle cases where url is provided without requiring path.

Reproduction

Use the provided code to instantiate a Qdrant object from an existing collection.
Observe the TypeError when path is not provided.
Observe the ValueError when path is provided along with url.

Thank you for looking into this issue.
System Info
Environment

Python version: 3.10
Name: langchain-community
Version: 0.2.2
Summary: Community contributed LangChain integrations.
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Location: /home/lighthouse/.local/lib/python3.10/site-packages
Requires: aiohttp, dataclasses-json, langchain, langchain-core, langsmith, numpy, PyYAML, requests, SQLAlchemy, tenacity
Required-by: langchain-experimental
Qdrant version: 1.9.x （docker pull）

Hello @deepslit.
Please use the new langchain-qdrant that includes a fix for this. The community version is no longer maintained.
pip install langchain-qdrant

from langchain_qdrant import Qdrant


[6.2][ES2015] Add babel to gulp pipeline

To get #7758 going.

Thanks for being on top of it! :)
Instead of the es2015 preset, can we load only the plugins for features we're going to use? This might help keep us reigned in as we rework the codebase. (Our starter projects will probably just use the es2015 preset, but we need to limit our codebase to only features that don't require polyfills.)
Here's the list. Each one has a matching Babel plugin:

Fat arrows
Classes
Multiline strings
Template strings
Destructuring
Default function parameters
Trailing function parameters
Spread parameters
Let and const

Here are the plugins I came up with that match the features list you provided. Could use some help on the ones with question marks.

Fat Arrows = es2015-arrow-functions
Classes = es2015-classes
Multiline Strings = es2015-template-literals ???
Template Strings = es2015-template-literals
Destructuring = es2015-template-literals
Default function parameters = es2015-parameters
Trailing function parameters = ???
Spread parameters = es2015-spread ???
Let and const = es2015-block-scoping and/or es2015-block-scoped-functions???

All of those look fine. As for es2015-block-scoped-functions, from the readme:

Babel plugin to ensure function declarations at the block level are block scoped.

That sounds like it doesn't require a polyfill, so that's fine.

@gakimball PR is updated with plugins.

Nice, thank you :)


Fixed typo in 'nzimm' field of CSRR*I instructions

In the RV32/64G Instruction Set Listings the immediate field of the CSRRWI, CSRRSI and CSRRCI instructions was called zimm, there was a missing n there - enforcing all-zero immediates wouldn't have made any sense... 🙃

We use zimm there as shorthand for zero-extended immediate, not zero immediate.  nzimm isn't quite right, as there's no constraint that the immediate must be nonzero.

Huh... 🤔
That was not what I expected, might I suggest using an abbreviation that is slightly less similar to nzimm or dropping a footnote to explain it?

There are some things that match this pattern in the vector spec, so down the road we can see what they do, and consider changing this abbreviation to match

But what about just using uimm there, like it's done in the chapter text (or uimm[4:0], to follow the style of other instructions in the same table)?
I think that if something is listed as "unsigned immediate", then it is a given default that it will be zero-extended to the required width, don't you agree?

I had forgotten the chapter text used uimm; that is preferable.  I will fix it.

ba63c32418dcb3b72859957f83373b8a5644e169


Remove version: Principle.Lusun version 2.2.3

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://releases.lusun.com/lusun-2.2.3-win-x64.exe
Response Error: The remote server returned an error: (403) Forbidden.
(Automated message - build 911)


Icon Code provided is obsolete

Bug type
Docs (mudblazor.com)
Component name
No response
What happened?
I ran into a few instances of where the code provided for an icon is obsolete, example here:

Looks like the code provided by icons may need to be updated. Not sure how many of these are affected.
Expected behavior
Code provided for an icon does not give an obsolete warning.
Reproduction link
https://try.mudblazor.com/snippet/QkGnuvQkgcpXtAzf
Reproduction steps

Go to https://mudblazor.com/features/icons and pick an icon
Copy the code from Icon Code
Use the code and receive the warning

Relevant log output
No response
Version (bug)
6.1.7
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@henon This is probably another v7 change unless we decide to pull these from the docs now.

This is an easy doc fix that can be done now. Would you want to PR this @HoofedEar ?

I'd be happy to help!
Should I look in the src/MudBlazor.Docs/Pages/Features/Icons folder? Might need some guidance on what needs to change haha

was this resolved by #8536 or #8421?

Yes, this can be closed.
The problem was that in the docs https://mudblazor.com/features/icons when you are at "filled" section and you type lock you will find Icons.Material.Filled.LockOutlined icon, when you copy past, you'd get an exception that this icon is obsolete and tells you to use Icons.Outlined.Lock instead. Now the obsolete icons are gone and do not show up in the search, and the appropriate icon can be found under "Outlined" section.


terra-hyperlink UX Audit

terra-hyperlink
Known Aliases
Document any known aliases of the component, decide if another name makes more sense.

[X] Has known aliases

Potentially design standards will have a standard for both anchor navigation and link

[ ] Requires name change

Design Standard Doc
Any documentation needed to be added to terra-ui describing the make up and usage of the component
Any doc examples that need to be updated?

[ ] Missing design standard documentation linkage.

Guides
Any guides needed to be added to terra-ui describing the usage of this component when used with other components.

[X] Missing Guides

Guide for when we should be using the new link style button

[X] Missing UX recommended Usage.

These should only be used for actual href external type links

[ ] Deprecation guide

Accessibility Guides

[X] Missing Accessibility Guides

No links without underline except for very specific use cases

Behaviours

[X] Missing behaviours

Add a link style button that is strictly intended for navigation

[X] Contains bad practice behaviours that should be removed

Evaluate whether we should not accept a children node and make it textual instead

Accessibility

[X] Meets wcag 2.0/section 508 standards

Need to make sure we have consistent navigation
Need to add some form of assistive descriptor for the various link types (e.g. "Video link")

[ ] Meets wcag 2.1/en 301 549 standards

Deprecation

[ ] Component is a bad pattern and should be deprecated.

Related Issues
Other Considerations

Re-organize terra form: https://github.com/cerner/terra-core/issues/3195


OmniSharpDocumentation doesn't show documentation

I'm using VIM 7.4 on OS X with Mono 4.2.0 (both installed via Homebrew).
The issue I'm running into is that when I try OmniSharpDocumentation on any Unity symbols, I only ever see the type info. However, if I use omnisharp-atom on the same project mouse hovering a method will return the correct result.
If I start OmniSharp in a different console with verbose logging, I can see that OmniSharp is returning responses like {"Type":"MyScene Component.GetComponent();","Documentation":null} whenever a documentation request is made.
Anything I might be missing?
Here's my .vimrc (which is just the vimrc from the readme, but with Vundle)
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'Shougo/vimproc.vim'
Plugin 'OmniSharp/omnisharp-vim'
call vundle#end()

" OmniSharp won't work without this setting
filetype plugin on

"This is the default value, setting it isn't actually necessary
let g:OmniSharp_host = "http://localhost:2000"

"Set the type lookup function to use the preview window instead of the status line
"let g:OmniSharp_typeLookupInPreview = 1

"Timeout in seconds to wait for a response from the server
let g:OmniSharp_timeout = 1

"Showmatch significantly slows down omnicomplete
"when the first match contains parentheses.
set noshowmatch

"Super tab settings - uncomment the next 4 lines
"let g:SuperTabDefaultCompletionType = 'context'
"let g:SuperTabContextDefaultCompletionType = "<c-x><c-o>"
"let g:SuperTabDefaultCompletionTypeDiscovery = ["&omnifunc:<c-x><c-o>","&completefunc:<c-x><c-n>"]
"let g:SuperTabClosePreviewOnPopupClose = 1

"don't autoselect first item in omnicomplete, show if only one item (for preview)
"remove preview if you don't want to see any documentation whatsoever.
set completeopt=longest,menu one,preview
" Fetch full documentation during omnicomplete requests.
" There is a performance penalty with this (especially on Mono)
" By default, only Type/Method signatures are fetched. Full documentation can still be fetched when
" you need it with the :OmniSharpDocumentation command.
let g:omnicomplete_fetch_documentation=1

"Move the preview window (code documentation) to the bottom of the screen, so it doesn't move the code!
"You might also want to look at the echoic plugin
set split below

" Get Code Issues and syntax errors
"let g:syntastic_cs_checkers = ['syntax', 'semantic', 'issues']
" If you are using the omnisharp-roslyn backend, use the following
" let g:syntastic_cs_checkers = ['code_checker']
augroup omnisharp_commands
    autocmd!

    "Set autocomplete function to OmniSharp (if not using YouCompleteMe completion plugin)
    autocmd FileType cs setlocal omnifunc=OmniSharp#Complete

    " Synchronous build (blocks Vim)
    "autocmd FileType cs nnoremap <F5> :wa!<cr>:OmniSharpBuild<cr>
    " Builds can also run asynchronously with vim-dispatch installed
    autocmd FileType cs nnoremap <leader>b :wa!<cr>:OmniSharpBuildAsync<cr>
    " automatic syntax check on events (TextChanged requires Vim 7.4)
    " autocmd BufEnter,TextChanged,InsertLeave *.cs SyntasticCheck

    " Automatically add new cs files to the nearest project on save
    autocmd BufWritePost *.cs call OmniSharp#AddToProject()

    "show type information automatically when the cursor stops moving
    autocmd CursorHold *.cs call OmniSharp#TypeLookupWithoutDocumentation()

    "The following commands are contextual, based on the current cursor position.

    autocmd FileType cs nnoremap gd :OmniSharpGotoDefinition<cr>
    autocmd FileType cs nnoremap <leader>fi :OmniSharpFindImplementations<cr>
    autocmd FileType cs nnoremap <leader>ft :OmniSharpFindType<cr>
    autocmd FileType cs nnoremap <leader>fs :OmniSharpFindSymbol<cr>
    autocmd FileType cs nnoremap <leader>fu :OmniSharpFindUsages<cr>
    "finds members in the current buffer
    autocmd FileType cs nnoremap <leader>fm :OmniSharpFindMembers<cr>
    " cursor can be anywhere on the line containing an issue
    autocmd FileType cs nnoremap <leader>x  :OmniSharpFixIssue<cr>
    autocmd FileType cs nnoremap <leader>fx :OmniSharpFixUsings<cr>
    autocmd FileType cs nnoremap <leader>tt :OmniSharpTypeLookup<cr>
    autocmd FileType cs nnoremap <leader>dc :OmniSharpDocumentation<cr>
    "navigate up by method/property/field
    autocmd FileType cs nnoremap <C-K> :OmniSharpNavigateUp<cr>
    "navigate down by method/property/field
    autocmd FileType cs nnoremap <C-J> :OmniSharpNavigateDown<cr>

augroup END

" this setting controls how long to wait (in ms) before fetching type / symbol information.
set updatetime=500
" Remove 'Press Enter to continue' message when type information is longer than one line.
set cmdheight=2

" Contextual code actions (requires CtrlP or unite.vim)
nnoremap <leader><space> :OmniSharpGetCodeActions<cr>
" Run code actions with text selected in visual mode to extract method
vnoremap <leader><space> :call OmniSharp#GetCodeActions('visual')<cr>

" rename with dialog
nnoremap <leader>nm :OmniSharpRename<cr>
nnoremap <F2> :OmniSharpRename<cr>
" rename without dialog - with cursor on the symbol to rename... ':Rename new name'
command! -nargs=1 Rename :call OmniSharp#RenameTo("<args>")

" Force OmniSharp to reload the solution. Useful when switching branches etc.
nnoremap <leader>rl :OmniSharpReloadSolution<cr>
nnoremap <leader>cf :OmniSharpCodeFormat<cr>
" Load the current .cs file to the nearest project
nnoremap <leader>tp :OmniSharpAddToProject<cr>

" (Experimental - uses vim-dispatch or vimproc plugin) - Start the omnisharp server for the current solution
nnoremap <leader>ss :OmniSharpStartServer<cr>
nnoremap <leader>sp :OmniSharpStopServer<cr>

" Add syntax highlighting for types and interfaces
nnoremap <leader>th :OmniSharpHighlightTypes<cr>
"Don't ask to save when changing buffers (i.e. when jumping to a type definition)
set hidden

I think this may have been an issue with the legacy server. Closing - please re-open if this is can be reproduced using the roslyn server


Added missing export.

Closes #69
Impact
Adds SolutionForm for exporting.

Added some A-Z order to components import and add missing build file

👍


Documentation for hud_generate_json management command

An overview of how we generate the JSON files that power the Find a Housing Counselor tool.
Additions

a documentation page under the "Back End Guidelines" category, called "Housing Counselor Data Processing"

Notes

I'm not up to speed on our documentation standards. Feedback welcome on where this should live, its organization, formatting, and content, and anything else.

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the development playbook
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Visually tested in supported browsers and devices (see checklist below :point_down:)
[x] Project documentation has been updated
[x] Reviewers requested with the Reviewers tool :arrow_right:

P.P.S: I realize now that my comments about the automation kinda contradict what I said in the GHE issue. Upon further reflection, I do think it makes sense to talk about it as long as we don't disclose the Jenkins URL. Maybe also include a tl;dr section at the top for someone who isn't interested in the particulars of what the management commands are doing, they just want to get the data into the tool for local development.

Thanks for your comments, @Scotchester and @chosak. I'm incorporating your feedback and adding the sections you requested. This adds significantly more content to the page, so I'll be taking a day or so to write and edit it.

@schbetsy No rush! Thank you for your work on this.


Allow for installation on projects using Composer 2

Hi, it'd be great if we could use this package on composer 2 as well.
Thanks!

Any progress on this?

Hi, @allanpaiste,
Is this project still maintained?

I put a request out to Vaimo a few weeks ago regarding this and some other composer modules they support. Unfortunately I have not received a message back. I did look to see if the main developer of this still worked there, and alas he does not. So I have forked all of these modules under the LANFest Org (we're also using these dependencies) and updated them (and dependencies) to support Composer 2. They're live on packagist today.

@japerry What a coincidence! I forked 'em too this weekend, but I only did the bare necessities for our project:

https://packagist.org/packages/bolt/binary-chromedriver
https://packagist.org/packages/bolt/webdriver-binary-downloader

It's working correctly for us, now.. At a first glance I don't see any changes in your fork. For me, the trickiest part was getting it to download stuff in https://github.com/LANFest/webdriver-binary-downloader/blob/master/src/Managers/DownloadManager.php#L128
If you intend to keep the forks updated, I'm more than happy to deprecate ours right away!

Oh, hah I didn't see that. Yup we plan on keeping maintenance of it, feel free to make PRs there. I have to bring in vaimo's other binary drivers, which will happen sometime this sprint. We cleaned up some of their other processes as well.
I made a PR from your work here: https://github.com/LANFest/webdriver-binary-downloader/pull/1
Also, same goes with us, if you guys want to maintain it, we're happy to push PRs to your fork instead!

@japerry I think I'd prefer to lend a hand with getting your forks up to speed. Probably later this week, i'll switch to your fork, and make some PR's where needed!


Core Dump Error??

Good morning! For some reason I started getting this error with is causing ComfyUI to shut down. Not sure what I changed since yesterday (it was working fine) but today it's giving me this error. I updated everything but that didn't help. Any ideas?
To see the GUI go to: http://<IP_ADDRESS>:8188
got prompt
[rgthree] Using rgthree's optimized recursive execution.
[rgthree] First run patching recursive_output_delete_if_changed and recursive_will_execute.
[rgthree] Note: If execution seems broken due to forward ComfyUI changes, you can disable the optimization from rgthree settings in ComfyUI.
Load appearance_feature_extractor done.
Load motion_extractor done.
Load warping_module done.
Load spade_generator done.
Load stitching_retargeting_module done.
Could not load library libcudnn_cnn_infer.so.8. Error: libnvrtc.so: cannot open shared object file: No such file or directory
Aborted (core dumped)
(comfyui_env) user@AI:~/ComfyUI$

Can't think of anything I did that would cause that, it's a cuda error and something wants to find cuda toolkit files, but can't.
All I changed since yesterday was to use comfy's device detection to determine what device to use, instead of defaulting to cuda.

I might be from a custom node I installed from another workflow but I don't remember what was installed recently

I have a stand alone version of Comfy and the comfy that runs with SwarmUI. I can run it on the SwarmUI without the issue but that doesn't have everything (custom nodes) installed on it like my stand alone version does.. Maybe I need to reinstall Comfy?? That would be a bummer

I have a stand alone version of Comfy and the comfy that runs with SwarmUI. I can run it on the SwarmUI without the issue but that doesn't have everything (custom nodes) installed on it like my stand alone version does.. Maybe I need to reinstall Comfy?? That would be a bummer

I would just try reinstalling/updating pytorch first. It's hard to tell with so many custom nodes out there.

Ok I'll try that, thank you


MT: Testing of block library fixes post-production (3.2)

Description
Testing the block library plugin after it has been pushed to production in https://github.com/aemsites/vg-macktrucks-com/issues/26
Testing Notes

[ ]  Cannot be tested until the parent ticket is complete
[ ]  Refer to the parent ticket for further details

Testing has been completed.


Project Upgrade Failed.

Describe the bug
I try to open system.mak, and I get this

and if I press OK,

Expected behavior
I tried it in Visual Studio 2017. I tried it in Visual Studio 2019. I even tried it in Code::Blocks. CodeBlocks cannot open the file, and both versions I specified give me the same error.
Additional context
Nothing else.

Just open it as folder in VS and then use the CLI to build with nmake.

Thank you. This solved the issue


Those who patch Get-DbaBackupHistory are doomed to repeat it.

Fixes #
Changes proposed in this pull request:

Database parameter now works for dbs that don't exist anymore
Outputs sorted on LastLsn, then Backup Type (fixes issues where LastLSN is the same)
Using LastRecoveryForkGUID to build up Last backup chain, was getting confused with test database examples, this carries through the backups
backuphistory object now has a LastRecoveryForkGuid property
revision number updated in library.ps1 so should recompiled the dll

How to test this code:

[ ]
[ ]

Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  Windows 7
[ ]  SQL Server 2000

Has been tested on maximum requirements:

[ ]  SQL Server vNext
[ ]  Windows 10
[ ]  Azure Database

Tests for tester:

[ ] Working/useful help content, including link to command on dbatools web site
[ ] All examples work as advertised
[ ] Does not contain template content
[ ] Does not contain excessive/unnecessary amounts of comments
[ ] Works remotely
[ ] Works locally
[ ] Works on lower versions or throws error specifying version not supported
[ ] Works with named instances
[ ] Works with clustered instances
[ ] Handles offline/read only databases
[ ] Supports multiple servers (at the command line or piped from Get-SqlRegisteredServerName)
[ ] No un-handled errors which stop the command working with multiple servers

LOL!


search for default browser instead of google chrome.

do you have any idea on how to describe the issue?

I thought the title was quite self-explanatory, but let me simplify it further.
The 'operate' command should look for the operating system's default browser, rather than trying (and failing) to find Google Chrome, particularly for those who haven't installed Google Chrome on their computers.
Do you get it now?

@joshbickett I agree. I am not sure how much using different browsers would affect the SOC performance, but I think that this is definitely necessary for those who have not installed Chrome on their device.

@Daisuke134 yeah, performance is my main concern. I wouldn't want to sacrifice the experience for the many (since I think chrome is over 60% of market if I remember correctly). Long-term to build in local settings memory to the project. On the first search for Chrome doesn't yield anything then the agent could save that to local memory and look for another browser to use in the future.

i tried to run and quits after saying downloading chrome .
how can i resolve this issue


Add transaction decoding for native staking deposit calls

Summary
Note: this is part of multiple PRs to break down https://github.com/safe-global/safe-client-gateway/pull/1824.
This calls the native staking deposit mapper in the MultisigTransactionInfoMapper, should a deposit call to an official staking deployment be found.
Changes

Add features.nativeStakingDecodinng feature flag
"Find" and map native staking deposit calls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

8 of 21 (38.1%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 46.622%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
5
18
27.78%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.03%

Covered Lines:
4689

Relevant Lines:
8121

💛  - Coveralls


[Bug]: Conflict when importing org.apache.commons.lang with shaded version

Module
Core
Testcontainers version
1.19.3
Using the latest Testcontainers version?
Yes
Host OS
MacOS Ventura 13.5.2
Host Arch
Apple M1 Max (ARM)
Docker version
4.26.0

What happened?
Compiling a class in test scope that imports org.apache.commons.lang3.StringUtils causes a compilation error.
This problem happens with version 1.17.0 up to 1.19.3
Downgrading to 1.16.3 solves the problem.
Using org.testcontainers:mysql on Java 11.0.21 (OpenJDK Zulu11.68+17-CA)
Relevant log output
package org.testcontainers.shaded.org.apache.commons.lang does not exist
org.testcontainers.shaded.org.apache.commons.lang.StringUtils

Additional Information
Seems like this was already an issue that was resolved in the past:
https://github.com/testcontainers/testcontainers-java/issues/698
It reappeared in 1.17.0 and is still there in the latest version.

Problem solved. Turns out it was a wrong import in an old file, which somehow was using the shaded version instead of the commons-lang package.


[stable/traefik] Godaddy + Letsencrypt working randomly

Is this a request for help?: Help or bug report

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Possibly a bug report
Version of Helm and Kubernetes:
Helm:
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Kubernetes:
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:43:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Which chart:
stable/traefik
What happened:
Setup chart to run DNS-01 challenge on a godaddy domain i own. The behaviour is very random and it does NOT always produce the certificates that i expect it should (majority of the time it fails or - possibly worse - does not produce any meaningful outcome). The logs seem to suggest that nothing is happening. I note that i was able to make this work with traefik running in docker (i.e. not via the helm chart or kubernetes).
Does not work either in staging or production.
At times - randomly - something does happen but it mostly fails and can't get the certificate to be created.
What you expected to happen: should be able to get the certificates (either main standalone or main with SANS or multiple mains). I used to be able to get even a wild card certificate when passing the base domain as a separate main request (i.e. 2 main requests).
How to reproduce it (as minimally and precisely as possible):
helm install stable/traefik --namespace=kube-system --name=traefik -f values.yaml
Anything else we need to know:
see attached files
persistentVolume.yaml.txt
values_edited.yaml.txt
in the storage, file acme.json gets created instantaneously all the time and is:
{
"Account": {
"Email": "",
"Registration": null,
"PrivateKey": null,
"KeyType": ""
},
"Certificates": null,
"HTTPChallenges": null,
"TLSChallenges": null
}

OK - i was being stupid and unfortunately the messages in the logs did not help.
My default certificate was in itself a wildcard certificate and as such it was not going to get certificates from Letsencrypt.
I can confirm however, that to obtain wildcard certificate, you CANNOT have also the main domain as a sans with Godaddy. An alternative is probably to add another main domain to the list of domains and wait for a bit of time.


Dark Mode Doesn't Apply to Mobile Header

Describe the bug
On mobile, enabling dark mode keeps the header in light mode but inverts the color of the logo.
To reproduce
Steps to reproduce the behavior:

Go to any page on a mobile device (or with a browser window resized such that the mobile header is visible.
Enable dark mode.
Observe the color of the mobile header.

Expected behavior
The header should have it's colors inverted, but the logo should not.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 22.04
Browser: Firefox
Version: 117.0.1

Smartphone (please complete the following information):

Device: iPhone 13 Mini
OS: iOS
Browser: Safari, Chrome
Version: iOS 17.0.1

@ItsTrashPanda and @CRImier have also reproduced the issue.
Duplicate of upstream issue https://github.com/Drassil/git-wiki-theme/issues/105 because upstream appears abandoned.

Fixed as of c5c68c1662dacce6a0c8cb8adeb1688ff20a3c0a


Map creation and deletion are extremely slow in my team account

Context
I've been noticing lately the slow speed when creating or deleting a map in my account. Some map creation with already imported data is taking more than 20 seconds. I think there is a relevant difference between this in my team account and another one I have in a free server.
cc/ @juanignaciosl

happening in staging enviroinments when creating a new map with new datasets (requests taking minutes for creation/deletion with no data)

I just update the local env to master and started suffering this.
Comparing approaches (with 50 untitled maps, 300 visualizations):

Current: Visualization::Collection.new.fetch(user_id: user.id, exclude_shared: true).map(&:name) -> 2600ms
Memoized: @m ||= Visualization::Collection.new.fetch(user_id: user.id, exclude_shared: true).map(&:name) -> 78ms
Memoized, only name: |m || = Carto::Visualization::where(user_id: user.id).select(:name).map(&:name) -> 70ms
Checking per visualization: Carto::Visualization.where(user_id: user_id, name: name).exists? -> 55ms

Deployed! I did a quick test in with @saleiva's account and it seems to be much better now.


Search with filterValue on array of objects(complex data)

I've read a lot of closed issues in similar search and filtering data, but can't make mine to work. Sorry for long post, but I want to make this as clear as possible.
ISSUE: When searching(main search on top), I'd like filterValue to be used on some columns. It does not work(at least in my case).
What's complex on my end is that I have this type of data:
{
    "id" : "B001D8HP60",
    "note" : "This is a note #1",
    "links" : [
        {
            "url" : "https://google.com/v",
            "urlNote" : "Url note",
            "businessId" : "7563iTq9qhBtumv8q"
        },
        {
            "url" : "https://google.com/v1",
            "urlNote" : "Url note1",
            "businessId" : "u5hxZ562NHnZj849k"
        },
        {
            "url" : "https://google.com/v3",
            "businessId" : "pgCdDSXCcLYWxkmrw"
        }
    ]
}

Here's how I display it(love this project, btw):

Searching works perfectly on simple data such as PID column.(shown on screenshot).
However, it does NOT work on URLs and Business columns.
Here are some of the snippets of my code:
HTML:
<BootstrapTable data={documents} ref="documentsTable" striped hover pagination deleteRow insertRow search multiColumnSearch multiColumnSort searchPlaceholder="Search All Data" selectRow={selectRow} options={options}>
            <TableHeaderColumn dataField='_id' isKey hidden>ID</TableHeaderColumn>
            <TableHeaderColumn dataField='id' dataSort dataFormat={ this.formatID.bind(this) } filter={{type: 'TextFilter'}} >PID</TableHeaderColumn>
            <TableHeaderColumn dataField='links.url' searchable dataFormat={ this.formatURLs.bind(this) }
                               filter={ { type: 'TextFilter' } } filterValue={ this.filterUrlValue.bind(this) }>
              URLs</TableHeaderColumn>
            <TableHeaderColumn dataField='links.bId' searchable dataFormat={ this.formatBusiness.bind(this) }
                               filter={ { type: 'TextFilter' } } filterValue={ this.filterBusinessValue.bind(this) }>
              Business</TableHeaderColumn>
            <TableHeaderColumn dataField='action' dataFormat={this.actions.bind(this)} width='120px' dataAlign='right'>
              Actions</TableHeaderColumn>
          </BootstrapTable>

NOTICE, on 3rd and 4th TableHeaderColumn I had to make custom dataField. Initially I had the both equal to links, but my filtering did NOT work properly for both columns(only last filterValue would be used). So I used custom names.
JS:
filterUrlValue(cell, row) {
    const links = row && row.links;
    // option 1: returning the array value (commented out)
    // return links && links.map(link => link.url);

    // option 2: returning the single string to be searched on(array is separated by random chars: `:::`)
    const urls = links && links.map(link => link.url);
    return urls && urls.join(":::");
  }

  filterBusinessValue(cell, row) {
    const links = row && row.links;
    return links && links.map(link => {
      const business = this.getBusiness(link.businessId);
      return business && business.name;
    });
  }

.
So, when I use filters on URLs or Business, it works AWESOME. But when I try to search for the same values in main search these do not work. Any help?
My guess is that it's related to custom dataField names that I use.

P.S. I've found that there is a way to do remote table where I would have to provide all the functions for sorting and filtering, but I'd want to try to avoid that.

Hi Allen
Is there any update of this issue in react-bootstrap-table2 ?

I have same issue, I wonder if I can solve it without going to remote. Is this handled in react-bootstrap-table2??

I was able to solve using a Custom Search Component documented here https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/basic-search.html#customize-search-component
Example
       const CustomSearchComponent = (props) => {
            let input;
            const handleChange = (e) => {
                return customAsyncSerachOnServer(input.value)
                    .then(result=> {
                        if(result!== null) //If a result was found change the search value to the id of the result to get single match
                            props.onSearch(result.id);
                        else //Use the default built in search logic and pass the value through
                            props.onSearch(input.value);
                    })
            };
            return (
                <div>
                    <input
                        className="form-control"
                        ref={ n => input = n }
                        type="text"
                        style={{width: "15%"}}
                        placeholder="Search"
                        onChange={ handleChange }
                    />
                </div>
            );
        };`


Added set support for arrays

The code looks good! Please add a test case in tests/schemas with a valid and an invalid document.

Also, for the future: If you write "This fixes #107" into the PR description, GitHub will automatically link it to the issue.


source: Reorder AllowSource switch Statement and Comment Nits

The AllowSource method contains logic that maps the
hierarchical sources of truth for when an entity's existing
source allows a new source of truth to overwrite it.
The method was written so that the cases were not in the order
of their importance, which makes the method confusing to read.
Additionally there were some typos and incorrectly worded comments
that further make the method difficult to read.
Signed-off-by: Nate Sweet<EMAIL_ADDRESS>

test-me-please

test-runtime

test-runtime

test-1.21-4.9

A couple tests failed in 1.21-4.9. Let's see if they are flakes. If they are, we need to open issues.

I opened https://github.com/cilium/cilium/issues/15791 for those.


Throw when mount/shallow rendering invalid root elements

Throw TypeError('ShallowWrapper can only wrap valid elements') or TypeError('ReactWrapper can only wrap valid elements') when ShallowWrapper or ReactWrapper are created wrapping an invalid element as root.

The tests added failed previously with
AssertionError: expected [Function] to throw 'TypeError' but 'Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it\'s defined in, or you might have mixed up default and named imports.\n\nCheck the render method of `WrapperComponent`.' was thrown
+ expected - actual

-Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
-
-Check the render method of `WrapperComponent`.
+TypeError

at Context.<anonymous> (packages/enzyme-test-suite/test/ReactWrapper-spec.jsx:94:7)

for the mount tests and
AssertionError: expected [Function] to throw 'TypeError' but 'Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it\'s defined in, or you might have mixed up default and named imports.\n\nCheck the render method of `WrapperComponent`.' was thrown
+ expected - actual

-Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
-
-Check the render method of `WrapperComponent`.
+TypeError

at Context.<anonymous> (packages/enzyme-test-suite/test/ReactWrapper-spec.jsx:101:7)

for the shallow tests


emoji_picker: Add ability to search using aliases.

Fixes: #6250 & #6286.

I get this exception when trying to use this:

I merged the first commit, since that looked good; I also added a commit on top to get rid of the :s in the emoji names, since that's how we're generally doing emoji display.  It might make sense to replace the :s with spaces too.
What are the test cases you use for emoji that have aliases when testing manually?

@timabbott I am unable to re-produce the exception.

Do you have a test case you use where the emoji actually has aliases?  I think I just played around typing in words and moving with the arrow keys.

You can try some of the following:
1: +1, thumbs_up
2: tada, party_popper
3: shirt, tshirt
4: poop, pile of poo
Behavior to test:
1: Search for party_popper and reacting using it should display party_popper on hovering the reaction.
2: Reaction can be removed even without searching for party_popper.
3: Similar check emoji picker in compose box emoji picker.
Actually let me update #6294 that will allow you to play with it more nicely.

OK, I can't reproduce an issue anymore either, and this seems to work, so merged, thanks @HarshitOnGitHub!


mandatory trailing slash in Href

Href must add a slash to the URL

@rultor release, tag is 0.13.6

@rultor release, tag is 0.13.6

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.13.6

@yegor256 Done! FYI, the full log is here (took me 17min)


New Port: Galaxy Forces 2

Galaxy Forces 2
Game Information

Title: Galaxy Forces 2
URL:https://sourceforge.net/projects/galaxyv2/

Submission Requirements
CFW Tests
Ensure your game has been tested on all major CFWs:

[x ] AmberELEC
[ x] ArkOS
[ x] JELOS

Resolution Tests
Test all major resolutions:

[ x] 480x320
[ x] 640x480
[ x] 720x720 (RGB30)
[x ] Higher resolutions (e.g., 1280x720)

File Structure

Your port should have the following structure:

portname/

port.json
README.md
screenshot.jpg
cover.jpg
Port Name.sh
portname/

Additional Resources
For an in-depth guide on creating a pull request, refer to: PortMaster Game Packaging Guide

Where does this file come from?
https://github.com/PortsMaster/PortMaster-New/blob/e3b86c0bddb632f1b1a42b8de6b3c7f94242bb9a/ports/galaxyforcesv2/galaxyforcesv2/Assets/Images/screenshot.png

I think that is a test image from my imgui app!
Cell +44<PHONE_NUMBER>
Work hard in silence, let your success be your noise.
On Thu, 21 Mar 2024 at 12:38, Cebion @.***> wrote:

Where does this file come from?
https://github.com/PortsMaster/PortMaster-New/blob/e3b86c0bddb632f1b1a42b8de6b3c7f94242bb9a/ports/galaxyforcesv2/galaxyforcesv2/Assets/Images/screenshot.png
—
Reply to this email directly, view it on GitHub
https://github.com/PortsMaster/PortMaster-New/pull/199#issuecomment-2012178084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABONRNRRP53GLFHFJ3OIXUDYZLIDBAVCNFSM6AAAAABFBHVM7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJSGE3TQMBYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have removed two images that are not needed from the imgui front end


What am I missing?

I cannot tell what this module adds to the game or how to use it. No documentation or anything is provided and I see no difference when moving my actors.

same ^^

https://github.com/7H3LaughingMan/wayfinder?tab=readme-ov-file#troubleshooting

I see that you added this in the README, thank you!


No license

Hi sonicnkt :)
I am really happy with using glauth-ui for a project or two, but I noticed that it currently is not under a specific license. Are you planning on changing that?

Thanks for reminding me :)
Added License (MIT like Glauth)

Thank you :)


[Automation] Generate Fluent Lite from recoveryservices#package-2023-01

[Automation] Generate Fluent Lite from recoveryservices#package-2023-01

API change check
API changes are not detected in this pull request.


ModSecurity 2.9 on IIS 7

I've installed ModSecurity on Windows Server 2008 R2 Enterprise but it does not seem to be working.
I installed the prerequisite Visual C++ Redistributable for Visual Studio 2013.
I ran the installer in verbose mode and did not see any major issues.
I set the engine on with a basic rule to test the protection.
I updated the web configs of my applications to enable ModSecurity.
I turned on the debug log to level 9 yet no logs are being written.
The only messages I see in the Event Viewer are
The description for Event ID 1 from source ModSecurity cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
ModSecurity for IIS (STABLE)/2.9.0 (http://www.modsecurity.org/) configured.
There are a total of 6 of these messages, the above and one each for APR, PCRE, LUA, YAJL and LIBXML.
Any help on this issue would be greatly appreciated!
Thanks

What is the rule that you have configured.

Hi thanks for getting back to me,
Some important config options I have set up...
SecRuleEngine On
#default action on rule match
SecDefaultAction "phase:1,deny,status:403,log"
SecDebugLog C:\Program Files\ModSecurity IIS\logs\modsec_debug.log
SecDebugLogLevel 9
SecRequestBodyAccess On
SecRule ARGS "../" "t:normalisePathWin,id:99999,severity:4,msg:'Drive Access'"
the above rule I found was from https://www.apachelounge.com/viewtopic.php?t=2520 which supposedly will block a request of type http://www.xxxx.com/?abc=../../
I assumed that those messages from my original post indicated some sort of issue with the install, is that not the case?

Try something a bit more simple. like
SecRule ARGS:test "@contains test" "id:5,block,deny,status:403"
Then you can use:
http://localhost/?test=test
You should get a 403 forbidden.

k I just gave that one a try, unfortunately it reaches the site successfully, as well as not providing any messages in the Event Viewer.
Is there any other information I could provide which might be helpful?
Thanks

I'll second this problem.  Spent some time grappling with this exact issue.  IIS shows it as an active model, tracing the process shows a file open of the config file.

Hi @tetreaultcrt,
Is there any log message that indicates ModSecurity initialization?

Hi @zimmerle
Unfortunately the only log messages I'm seeing are the ones I mentioned in my original post. Do you have any idea what might be causing that message? or causing that to be the only message?
Thanks

Did you manage to make it work? Im having the same issuses

I made the reference to those other tickets because they all mention the "source ModSecurity cannot be found" which I'm still working through myself.

Has anyone solved this issue, I don't understand why it keeps getting closed in every thread I've seen a similar issue with no resolution, yet the case gets closed!?

Hey @tetreaultcrt, @dmz006 and @ghost-atl the "source ModSecurity cannot be found" message are just warnings that the Event registered by ModSecurity was not defined according to strict Microsoft event handling. You should be able to safely ignore it for now.
If you haven't done so, I suggest giving it a go with the latest version.
If you look a bit further down on to "The following information was included with event:" you can see the actual ModSecurity log. Alternatively you can also see the plain log by switching to the "Details" tab of the Event like so:

On these log events, If you see the something in these lines (versions may vary of course):
ModSecurity for IIS (STABLE)/2.9.1 (http://www.modsecurity.org/) configured.
ModSecurity: LUA compiled version="Lua 5.1
ModSecurity: YAJL compiled version="2.0.1"
ModSecurity: LIBXML compiled version="2.9.1"
ModSecurity: APR compiled version="1.4.8"; loaded version="1.4.8"
ModSecurity: PCRE compiled version="8.33 "; loaded version="8.33 2013-05-28"
ModSecurity: StatusEngine call: "2.9.1,IIS,1.4.8/1.4.8,8.33/8.33 2013-05-28,Lua 5.1,2.9.1"
It means its all good and ModSecurity should be correctly installed and enabled.
As CRS is already configured by default you can give it a quick test by just firing the following on your browser: http://localhost/?a=> and you should get some warnings similar to the one in the screenshot above.
You can also test that the request is being properly blocked with a 403 by changing SecRuleEngine to "On" on the C:\Program Files\ModSecurity IIS\modsecurity.conf file.

Closing this one. If problem still persists feel free to reopen.


File or Folder “domainbed” not found.

Hello,
I can't find the file or folder of “domainbed” in this repo.
Could you share it with me?
Thanks!

Hi, @JimZAI !
Please refer to https://github.com/facebookresearch/DomainBed.
Thank you.


Example in python for authentication with DVID layer

Hi @jbms ,
Currently I have a segmentation data that is only accessible via a token and is configured as a dvid datasource.
When I try to add it as a segment layer, I get the following error.
Traceback (most recent call last):
  File "/Users/sri/Documents/Python/neuroglancer/python/neuroglancer/sockjs_handler.py", line 52, in _on_changed
    provider = self.credentials_manager.get(parsed_key['key'], parsed_key.get('parameters'))
  File "/Users/sri/Documents/Python/neuroglancer/python/neuroglancer/credentials_provider.py", line 31, in get
    return self._providers[key](parameters)
KeyError: 'DVID'

I noticed that there are examples for configuring brainmaps/gc authentication here:
https://github.com/google/neuroglancer/blob/master/python/neuroglancer/default_credentials_manager.py
Can you please provide an example like this to configure for DVID from the python side. The token is already cached and would be captured from an env var.

As you noticed, it is necessary to implement a separate credentials provider in Python, because the normal mechanism used by the neuroglancer client for getting credentials require that the neuroglancer client be served from a permitted origin (that is the mechanism by which the authentication server prevents other websites from stealing your credentials).  Since with the Python integration the client runs on a random port on your own machine, it doesn't have a permitted origin and needs to obtain the credentials through a separate mechanism.
Currently there is no DVID credentials provider implement in Python.  But if you would like to implement one, I'd be happy to include it.


Fix/aws smtp host name

Can you provide a link to relevant documentation about this change please?


Match and warn on abbreviated git and hg revisions

Match abbreviated git and hg commit hash, 7 and 12 characters
respectively. Warn in validateManifest if abbreviated hashes are used.
Fixes #567

Assumes hg short version commit length based on:
https://www.mercurial-scm.org/wiki/Nodeid

LGTM - thank you! 🎉


Generation 4: Fix Simple

In Generation 4, Simple did not double stat boosts as they changed.
Instead, it treated each stat boost as if it had twice the effect.
Reimplemented the deprecated ModifyBoost event, but with slightly
different functionality as before; it now modifies the live boosts so that
they work properly with Simple.

Is how I implemented the event the correct syntax to do it? If it is, then I can use this code to instantly fix Foresight/Miracle Eye!

Oh right, with this kind of refactoring I'll have to make sure earlier gens have it too?

Who handles Gen 4? @Marty-D?

Probably Marty? Anyways, the idea is that after I finish this refactor, I can probably fix Foresight and Miracle Eye real easy as well by adding this code into the volatile instead of the onModifyMove handler:
onModifyBoost: function (boost, pokemon, stat) {
    if (stat === 'evasion' && boost > 0) return 0;

TheImmortal was bugging me about Baton Pass with Simple, so I added that check. (I don't think it's neccessary though)

Ah nice work @ascriptmaster, this looks like a great change. Nice tests too! You've also reminded me I forgot to change the Foresight/Odor Sleuth/Miracle Eye descriptions in my update the other day.

Cool!
Hmmm, since I didn't set inherit:true on this, does that mean I can remove the onBoost empty function?

Removed the empty onBoost function.

I think we should have a new rule to only use the event system if we have more than one event handler.
If it's only one, we might as well hardcode it as an exception.

It is going to have more than one event handler.

It's being used for this, the implementation of Generation 4's Simple.
It's going to be used for Foresight and Miracle Eye.
Maybe we could use it in Unaware to improve the readability of our code.

Okay, sounds good. Do you personally think this is ready for merging, or should I get someone else to look over it?

What about when it Baton Passes to something without Simple?

That case is definitely being handled correctly, although we might want to make a test to that end.

Well, the "Baton Pass in" test should work the same way as "Baton Pass out". There's not a huge need to test both.

I'm merging since it looks good to me and no one else has said anything.


Random output messages on typing error

I keep having output messages,
on js files that are not supposed to be watched :
"files.watcherExclude": {
"**/1-Notes/**": true,
},

VSCode Version: latest 1.32.3
OS Version: latest 10.14.3

/needsMoreInfo

there is not much more I can say. If we could not display the output, I would not care,
but that the thing , even if I remove OUTPUT from terminal, to only show the terminal, it comes back.
it's a fresh create react app dev. nothing is running , editing a simple .js file.

Does this reproduce in the latest VS Code insiders build with all extensions disabled?
It sounds like this is caused by the styled-jsx extension

I uninstalled it an hour ago..

And you're still seeing logs from it?

I ll try tomorrow , I had enough for the day ;) tks !


TorchEnabled for android doesnt work at all

Hi, I have been working on using the camera view to capture image(which is not a barcode or qr code). When enabling the Torch in Xaml, it doesnt work but when trying in c# it throws null reference exception.
`
private void CameraView_CamerasLoaded(object sender, EventArgs e)
{
if (cameraView.Cameras.Count > 0)
{
cameraView.Camera = cameraView.Cameras.Where(x => x.Position == CameraPosition.Back).FirstOrDefault();
    MainThread.BeginInvokeOnMainThread(async () =>
    {
        await cameraView.StopCameraAsync();
        var result = await cameraView.StartCameraAsync();
        if(result == CameraResult.Success)
        {
            cameraView.TorchEnabled = true;
        }
    });
}

}
`

Having the same issue, any update on this? Anyone got the torch working on Android?


添加sql日志打印，修复asMap报错

修复asMap报错

What are you trying to achieve here?
Can you describe in English what problem your pull request solve?

Thanks a lot for your pull request. I have solved the asMap problem as you suggest. I did not merge your pull request, as there seems to be a lot of unnecessary commits with no explanation. Hope this is ok!


[hmac_idle, tests] Introduce HMAC idle chip level test

Introduction
This change extends the existing hmac_enc_test to add the hmac_idle_test.
Please see:
https://docs.opentitan.org/sw/device/tests/
For detailed test description.
NOTE:
PLEASE MAKE SURE TO NOT REVIEW THE RELATED PR CHANGES IN THIS PR, INSTEAD DO IT IN THEIR RESPECTIVE PRs.
Related PRs
(pre) #10995
Chip level test-plan contradictions

"Write the HMAC clk hint to 1 within clkmgr to indicate HMAC clk is ready to be gated. Verify that the HMAC clk hint status within clkmgr reads 0 (HMAC is idle)."
This requirement is contradictory, as writing 1 to the Clock Manager Hints register unconditionally enables the corresponding clock.

"Initiate an HMAC operation with a known key, plain text and digest. Verify that the HMAC clk hint status within clkmgr now reads 1 (HMAC is not idle), before the HMAC operation is complete."
This requirement is confusing, as in order to initiate any HMAC operation, the clock has to be enabled (read 1).
Due to the above contradictions, I have done the steps that are described in the chip_sw_kmac_idle test plan.
Clock gating behaviour
When the hint is given to the Clock Manager to gate the clock, whilst HMAC is in operation. The clock will remain enabled until the end of the HMAC processing (idle, HMAC done interrupt status reads 1).
The implication of this is that the clock is gated on the next cycle after the completion, and any read/write from the register results in a hanging system.

To avoid this, the Clock Manager HMAC clock status is polled with a 50uS time-out, which should be enough for the HMAC process operation on a 100kHz clock to finish. As soon as it reads 0 it indirectly signifies that the HMAC has finished. The clock is then enabled, HMAC finish operation performed, and the digest is verified.
The behaviour described above, might be also related to the issues described in the #11014 .
TODOs
Test in DV

Good catch on the chip_testplan description of the clkmgr hint polarity. However, I don't see a change in that file. Is that in a separate PR?

Good catch on the chip_testplan description of the clkmgr hint polarity. However, I don't see a change in that file. Is that in a separate PR?

There is no change for it. If the wording of the test plan for HMAC idle is otherwise fine, I can submit the change to fix hint polarity in the description.

Hi  @silvestrst would you kindly just rebase this quickly. I'll then review and merge. Thanks!

@mundaym, this PR is pointing at #10995 which has been merged. Can we close this one?

@mundaym @silvestrst @engdoreis I see that the chip_sw_hmac_enc has been merged as part of #10995. However, I am not sure this is the case for the chip_sw_hmac_idle test. Can you double check and resurrect this PR if needed?

So the reason why I am asking this is that the chip_sw_hmac_idle test point does not show up as implemented on https://reports.opentitan.org/hw/top_earlgrey/dv/latest/results.html. Can you double check the description of that test on https://docs.opentitan.org/hw/top_earlgrey/doc/dv/ to see whether 1) the  chip_sw_hmac_idle test point is covered and we just need to update the testplan to reflect that, or 2) we need to develop a new test to cover chip_sw_hmac_idle?

I see, the issue is that the test is mapped with the wrong name, this PR #14027 will fix it.

Great, thanks for addressing that!