[5.3.0] bad release causing inability to unset serverSetCookie

Bug
When I set serverSetCookie to never the cookie is still being set by the server.
Expected behavior
v5.3.0 release notes

Change default of serverSetCookie to "always".
Add "never" option to serverSetCookie. This is the same as undefined in previous versions.

Setting serverSetCookie to never should stop the server from setting cookie.
Investigation
I can see that indeed the typings were updated to support the new never option<EMAIL_ADDRESS>However, in i18nRouter.js line 97<EMAIL_ADDRESS>it's still just checking for if (serverSetCookie) rather than if (serverSetCookie !== 'never'). However, this doesn't mean the behavior is unchanged, because on line 16 it's defaulting serverSetCookie to 'always' which makes it basically impossible to unset when using the options defined in the typings.
This feel to me like a bad release that contained some old code, since the source code appears to be correct https://github.com/i18nexus/next-i18n-router/blob/main/src/i18nRouter.ts#L137
Workaround
If anyone is facing this issue, you can workaround it like so:
export const i18nConfig: Config = {
  locales: ["en", "zh"],
  defaultLocale: "en",
  localeDetector: false,
  // @ts-expect-error https://github.com/i18nexus/next-i18n-router/issues/53
  serverSetCookie: null,
};

Additionally, I should mention that this should have been a major version release since it contained a breaking change.

@QingqiShi Thank you so much for your investigation. You're absolutely right. It appears the TypeScript didn't compile prior to publishing v5.3.0. The compiled code is now published correctly in version 5.3.1. It was my understanding that the "prepublish": "tsc" in package.json should have ensured the release was compiled when running npm publish, but apparently that's not working. We will look into this.

Appreciate the quick turnaround! Thank you.

You're right that this could have been a major version release since we're changing the default behavior of serverSetCookie from "never" to "always". But in the end we decided it's not necessarily a "breaking" change since nothing really breaks in this update. serverSetCookie can still be set to undefined. Hope this reasoning is makes sense.
We viewed this more as a feature update rather than a breaking change. We have had many support requests of developers trying to understand why they couldn't visit a non-default locale path. They didn't understand that they had to set a cookie to do that. It seems that "always" is the expected default behavior for most users.

@i18nexus
I think the problem with your prepublish is that it's not defined in the scripts object. https://github.com/i18nexus/next-i18n-router/blob/72a46bf90df53f653c148e168547c3acf5a8b5a3/package.json#L25 https://github.com/i18nexus/next-i18n-router/blob/72a46bf90df53f653c148e168547c3acf5a8b5a3/package.json#L21-L24
And additionally, according to this https://github.com/npm/npm/issues/10074 it may be better to use the prepublishOnly script

@QingqiShi Ah, yep. That's it. Thanks!


Ship cloudtrail to central bucket

ugh, this breaks because the multiple module instances don't play nice:
aws_iam_role.cloud_watch_logs_role: Error creating IAM Role CloudWatch-for-CloudTrail: EntityAlreadyExists: Role with name CloudWatch-for-CloudTrail already exists.

😞


Test suite generation

This is a proposal for decentralized-identity/trustdidweb#87.
The format is inspired by the JSON-LD test suite: https://w3c.github.io/json-ld-api/tests/.
The tests are described in a manifest with entries.
The datatype of an entry looks like this (in Go):
type TestEntry struct {
	Id          string           `json:"id"`
	Type        []string         `json:"type"`
	Purpose     string           `json:"purpose"`
	Input       string           `json:"input,omitempty"`
	Expect      string           `json:"expect,omitempty"`
	SigningKey  jwk.Key          `json:"signingKey,omitempty"`
	Params      tdw.LogParams    `json:"params,omitempty"`
	DIDDocument tdw.DIDDocument  `json:"didDocument,omitempty"`
	Options     TestEntryOptions `json:"options,omitempty"`
}

There are 3 types of tests: CreationTest, UpdateTest and VerificationTest. Depending on the test type, a combination of fields of the entry is used.
There are 2 file references, input and expected which contain filenames to DID Logs. Their usage depends on the test type. For example, CreationTest only uses expected but the UpdateTest also uses the input.
A test can be either a PositiveEvaluationTest or a NegativeEvaluationTest. Inspired by the JSON-LD test vocabulary
Example of an entry:
  {
    "id": "tc001",
    "type": [
      "CreationTest",
      "PositiveEvaluationTest"
    ],
    "purpose": "Create a new log",
    "expect": "testdata/tc001-expect.json",
    "signingKey": {
      "crv": "Ed25519",
      "d": "J3l2VTBrN9GckzX8wt0p_FjJ8TDFdKWWNFM-MuHZWVE",
      "kty": "OKP",
      "x": "Bm-ZiwCZgDgv8K7xf3eGR77Z3vqItWhd0Np5PftRYvM"
    },
    "didDocument": {
      "@context": [
        "https://www.w3.org/ns/did/v1"
      ],
      "id": "did:tdw:{SCID}:example.com"
    },
    "options": {
      "signingTime": "2024-09-06T15:53:15+02:00"
    }
  }

Tests can be generated by executing $ go run cmd/*.go generate --tests from the projects base directory.
Tests can be performed by executing $ go test -v run TestSuite ./...

I've added a draft implementation here: https://github.com/decentralized-identity/trustdidweb-py/pull/11
It would be useful for the verification tests if the metadata included the DID to be verified, as the resolver expects to know that in advance (and check it). Maybe as options["did"]?

I want to update the main branch to support v0.4 and update the testsuite in one go. So I'm going to merge this PR and work on it together.


Add tests

I added a very basic test that doesn't really work (POST /api/v1/session returns [] with invalid credentials).
Not sure what to do about database access, either mocking a repostory, or getting test database setup (a standalone one, or use the one inside the foodsharing docker setup?).
Needs some investigation.

You can run the tests with:
./vendor/bin/simple-phpunit

Not sure why there isn't a way to do it from ./bin/console though... I guess we can add it?

I suggest using an actual test database as this is the only way to test repositories / SQL queries and we have had bugs in those in the desktop version, so I would like to have the possibility of creating tests for that as well.

"Add tests" stays valid, but codeception has been integrated. Should we keep this issue open as a reminder to always add more tests? :D

Great!
Maybe we have subtasks for this:

[x] add basic test infrastructure
[ ] get test coverage to about most code


Confusing Readme on Allowed Methods

"allowedOrigins, allowedHeaders and allowedMethods can be set to array('*') to accept any value, the allowed methods however have to be explicitly listed."

Is fixed.


Jump to corresponding line in VBA code

Jump to corresponding line in VBA code when a hit in the list box is double clicked

Released with version <IP_ADDRESS>


New package: Voicemod.voicemod version 1.2.1

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

Automatic Validation ended with:

No errors to post.

(Automated response - build 896.)

Automatic Validation ended with:

No errors to post.

(Automated response - build 896.)

Verify while here:

And the application doesn't run. Is this expected in a VM?


Issue with /docs/tutorials/kubernetes-basics/cluster-intro/

This is a...

[x] Feature Request

Problem:
Its documented that node is a VM. Can you explain more about master?

/lifecycle frozen

/language en
@ChillarAnand in https://kubernetes.io/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/ we say

The Master is responsible for managing the cluster. The master coordinates all activities in your cluster, such as scheduling applications, maintaining applications' desired state, scaling applications, and rolling out new updates.

please help understand what else do you think we should add in addition to?

/lifecycle rotten


gitlab runs with errors, not web accessible

Issue description
GitLab doesn't appear to be working, maybe due to some ruby dependencies?
Journal output: https://gist.github.com/07532b02f21720a81b8d902662538a9c
Steps to reproduce
Snippet from configuration.nix:
  services = {
    …
    gitlab = {
      enable = true;
      port = 8081;
      databasePassword = "letmein";
      secrets = rec {
        db = "I$2z3\dbz}X`^$3xV:j5(0!EJ`3jL>";
        secret = "${db}";
        otp = "i?yV\!-A[.\.:&U$7VAo>=[yi(\"::_";
      };
    };
  };

Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: (run nix-env --version)
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

~> nixos-version
17.03.1316.412b0a17aa (Gorilla)
~> nix-env --version
nix-env (Nix) 1.11.10
~> nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"17.03.1316.412b0a17aa"
~> grep build-use-sandbox /etc/nix/nix.conf
build-use-sandbox = false

Your gitlab instance is working just fine ! However, it's probably listening on a unix socket, at /run/gitlab/gitlab-workhorse.socket. You're supposed to put it behind an nginx reverse proxy, with something like :
    upstream gitlab-workhorse {
      server unix:/run/gitlab/gitlab-workhorse.socket fail_timeout=0;
    }
    server {
      listen 80;
      listen [::]:80;
      location / {
        client_max_body_size 0;
        gzip off;

        proxy_read_timeout 300;
        proxy_connect_timeout 300;
        proxy_redirect off;

        proxy_http_version 1.1;

        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        proxy_pass http://gitlab-workhorse;
      }

      error_page 404 /404.html;
      error_page 422 /422.html;
      error_page 500 /500.html;
      error_page 502 /502.html;
      error_page 503 /503.html;
      location ~ ^/(404|422|500|502|503)\.html$ {
        root ${config.services.gitlab.packages.gitlab}/share/gitlab/public;
        internal;
      }
    }

The OP account is deleted, so they will not answer. Closing.


fix(#54): Disable axios proxy in favor of https-proxy-agent

As mentioned in the issue #54, this disables the axios proxy in favor of https-proxy-agent (you're using) and applies the recommended configuration.

@taikuukaits Is anything missing? Any ETA when we can expect a fixed version?


Fix install and upgrade applying subchart CRDs when condition is false

Fixes #938
Supersedes #941

Will add a test for upgrade tomorrow.


Implement IO class.

This change is

Coverage increased (+1.6%) to 81.395% when pulling 5ba5167e5658a37fa4264be50b0a2795acd6b3e6 on IO into a86ad4beb769cdf7c737b9f506ff551dc1345dc2 on master.

Coverage increased (+0.8%) to 80.623% when pulling c451c42b3fea69e9843b4b8d9f7f2a80064f1f4c on IO into a86ad4beb769cdf7c737b9f506ff551dc1345dc2 on master.

Coverage increased (+0.6%) to 80.351% when pulling b9831ff828824ab4fd14ab4c2e8b57912b35401a on IO into a86ad4beb769cdf7c737b9f506ff551dc1345dc2 on master.

Coverage increased (+0.6%) to 80.345% when pulling 01ad18555a7af818adf33ddec1f1991705822adb on IO into a86ad4beb769cdf7c737b9f506ff551dc1345dc2 on master.

Coverage increased (+3.4%) to 83.235% when pulling 5a4f0310c17530aefe018a88348c118a655b842c on IO into a86ad4beb769cdf7c737b9f506ff551dc1345dc2 on master.

Coverage increased (+3.7%) to 83.529% when pulling ba099bc01576aaac8c129b539b1f8212a9065087 on IO into a86ad4beb769cdf7c737b9f506ff551dc1345dc2 on master.


Dynamic import ignores mix.setResourceRoot() path. New Issue, since #1513 is stale.

This is a continuation of issue #1513, since that was marked stale and closed.
As of Laravel Mix v4.1.2, setResourceRoot is ignored.  This means applications require major hacks to use lazy component loading.

There is at least a partial fix by doing the following:
mix.webpackConfig({
    output: {
        publicPath: '<same url as setResourceRoot>',
    },
});

Which gets around the issue of the JavaScript not loading at all.
There is still an issue of mix.sass('resources/sass/app.scss', 'css') outputting a 0 byte file when I use lazy loading, but the Vue component at least renders.  I will probably open a separate issue on that one tomorrow.

see https://github.com/JeffreyWay/laravel-mix/issues/863#issuecomment-324332719
it resolved my issue

I don't think this is only related to dynamic imports.  I have no dynamic imports at all and setResourceRoot() is completely ignored

Hello, any updates on this issue?
I'd like to make use of dynamic imports but it seems setResourceRoot has no effect.
Not matter what I do, either in watch mode or production build, chunks are being loaded from the root of public path ( GET http://localhost:3000/vendors~vimeo.js net::ERR_ABORTED 404 (Not Found)).
Anyone has a workaround or should I use my own Webpack configuration?

Hello, any updates on this issue?
I'd like to make use of dynamic imports but it seems setResourceRoot has no effect.
Not matter what I do, either in watch mode or production build, chunks are being loaded from the root of public path ( GET http://localhost:3000/vendors~vimeo.js net::ERR_ABORTED 404 (Not Found)).
Anyone has a workaround or should I use my own Webpack configuration?


Feat/dashpay contract

Issue being fixed or feature implemented
This PR adds dashpay contract into the SDK defaults app under the alias dashpay.
Users wil be able to use documents fetching of type dashpay.*.
Over previous PR.
What was done?

added dashpay contract as default app

How Has This Been Tested?
Todo
Breaking Changes
N/A
Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

Closing since this has been handled now. Most recently in #240. Feel free to re-open if there is a reason to @Alex-Werner


Cannot use resource type panos_address_objects

Describe the bug
Trying to use the resource panos_address_objects generates the error
The provider provider.panos does not support resource type "panos_address_objects".
Expected behavior
Address objects should be planned as per the documentation:
https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs/resources/address_objects
Current behavior
Trying to generate a plan with the command  terraform plan generates the error
The provider provider.panos does not support resource type "panos_address_objects".
Steps to reproduce
https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs/resources/address_objects
Simply follow the documentation and try to create resources (event one does not work):

resource "panos_address_objects" "address" {
  device_group = "DG1_GLOBAL"
  object {
    name  = "test"
    value = "<IP_ADDRESS>/32"
    type  = "ip-netmask"
  }
}

Run the command terraform plan
Get the error The provider provider.panos does not support resource type "panos_address_objects".

Context
I am currently using panos_address_object (no s) as a resource, but as wer are getting timeouts from the API, I wanted to try this.
Your Environment
$ terraform -version

Terraform v0.14.5

+ provider registry.terraform.io/hashicorp/null v3.1.0

+ provider registry.terraform.io/paloaltonetworks/panos v1.9.2

panos_address_objects is present in v1.10.0, seems you're on v1.9.2.

Right you are! I did not even think to check for an upgrade has the repo had been silent for quit a long time before the last one.
I offer to add clear mentions needed version when a new feature is added.  #323


Multiword monomial, Wrong monomial case issues not showing in individual datasets

The DAISIE  dataset has several names with the issue Multi Word Monomial that were only shown as issue on the xRelease.
This issue could be added in the issueExclusion: of the xrelease config file to avoid including this kind of names.

duplicate of https://github.com/CatalogueOfLife/backend/issues/1376


chore(main): release 0.4.0

:robot: I have created a release beep boop
0.4.0 (2022-02-15)
Features

docs/develop: :memo: Update GraphQL Schema docs in accordance with changes from https://github.com/server-state/server/pull/14 (d85eb23)
docs/internal: :memo: Add Redis User DB structure reference (5d61230)
Replace old forums link with Discord link (0913c54)

Bug Fixes

deployment: Remove non-working search for now (bd14814)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/server-state/docs/releases/tag/v0.4.0 :sunflower:


Links to Documentation don't work as intended

When you google something such as 'sails assets' you are given a google result with the link:
sailsjs.org/#!documentation/assets
When you click on the link, you are redirected to the Table of Contents instead.  This is disorientating and frustrating for the user.

unfortunately this has been broken for about a year now. see for example https://github.com/balderdashy/sails/issues/2594

Ah yes, that is exactly the issue.  It is rather disappointing to see that this has been known for months and not yet fixed.  It is a very serious usability problem.

fwiw, we're getting ready to deploy a new sailsjs.org website to solve this very problem, among others: https://github.com/balderdashy/www.sailsjs.org/tree/v1.0

Awesome, sounds good.


what's the best practice for tag-router in multi zookeeper registry scene?

Dubbo Version 2.7.x
1.Spread tag-router config in all zks.
2.Set the tag-router config in the specified zk, and all dubbo app specify this zk as the config-center.
3.Set tag-router config in the zk that exported dubbo service, dubbo consumer load config from calling service' zk registry.
Or other better way？

I think the second way is better. Dubbo supports the isolation of the registry center and the config center.

I think the second way is better. Dubbo supports the isolation of the registry center and the config center.

Agree. but in my case, the first way is more suitable considering the cost of refactor. Because we don't know how many dubbo app use which one registry as config center. Maybe i will use first one way now, and switch to the second way one by one app after.
How about the third way？I think this is the most suitable way, but currently dubbo has not implemented it this way. What is the reason for this?

I think the second way is better. Dubbo supports the isolation of the registry center and the config center.

Agree. but in my case, the first way is more suitable considering the cost of refactor. Because we don't know how many dubbo app use which one registry as config center. Maybe i will use first one way now, and switch to the second way one by one app after.
How about the third way？I think this is the most suitable way, but currently dubbo has not implemented it this way. What is the reason for this?

since dubbo 3.1.0, you can set attachments on registry, may suit your third way


Bug report: Sample Script Govern orphand Microsoft Teams misses authentication/login

Description
Tried to run the PowerShell sample "Govern orphaned Microsoft Teams" under https://pnp.github.io/office365-cli/sample-scripts/teams/govern-orphan-teams/
Did a copy and paste approach and the script throws an error. It misses just a minor thing -> authentication. For sure a small and minor thing, but if this script is the first one you are trying to use and you don't have a background in the field, every step helps to make life easier.
Steps to reproduce
Go to https://pnp.github.io/office365-cli/sample-scripts/teams/govern-orphan-teams/
Copy and paste the code to a ps1 file
Execute the script
Expected result
List of orphaned teams
Actual result
Error.
Solution
Adding o365 login -t password -u $(username) -p $(password) from the other teams sample and providing a user and password solves the problem.
Environment
o365 version 2.9.0

Hey Thomy, thanks for reporting this. We typically don't include the login step in the sample scripts, because if you're already authenticated, it would reset your existing connection. Also, there are different ways to authenticate: interactively by yourself or using credentials, like you mentioned, in a daemon mode. So rather than forcing a particular way of authenticating in a given script, we thought it would make sense to let users choose how they want to authenticate themselves.
I agree, that if you don't use the CLI daily, it might be something that you miss. Given that we would prefer not to dictate how users should authenticate to use the particular script, how could we make it clear that you need to authenticate before you can run the script. Any suggestions?

Gotcha, and agree with your argument. Was just confused, because the other script had the login thing present, no problem though.
What about a small hello world like chapter in the introduction making the login steps clear? If you agree, I try to create something and let's see if you like it.
But I'm good with closing this one.

That would be great! Appreciate your help! 👏


Geckolib compatibility

So as we all know Geckolib Plugin is available for Mcreator now, and since you still want update the generator for the most recent versions of Mcreator I have a suggestion. Gecko is still releasing Geckolib for 1.12.2, so I thought that can be added Geckolib compatibility for the Generator_1.12.2.

This is up to geckolib plugin, not 1.12.2 generator.


⚠ ClamAV has degraded performance

In f25f17b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 59 ms

Resolved: ClamAV performance has improved in 66ef9d1.


[R120-17] Implement regression test

Description
This PR introduces a regression test that would detect the failure to load the 1.1.0 database again.
Linked issue
Type of change

[~] 🐞 Bug fix (non-breaking change which fixes an issue)
[~] 🛠 New feature (non-breaking change which adds functionality)
[~] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[~] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[x] 🔨 New or improved tests for existing code
[~] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[x] I have read the style guide document, and my code follows the code style of this project.
[x] If my code deals with exceptions, it follows the guidelines.
[x] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.

Testing checklist

[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

QA Steps

Screenshots (if available)

Looks good, let's ship it!


when can we have a dingtalk service

This repository is only for the Franz client. Please use this form for service requests or check out the guide to create your own service integration.


Control and private rooms as direct

As title says :)

I said this on Matrix but I'll put it up here as a reference as well: Element got confused when you had multiple DMs with the same user so this was reverted in the current design. If this can be tested not to cause the same issues then I'm okay with the merge.

I said this on Matrix but I'll put it up here as a reference as well: Element got confused when you had multiple DMs with the same user so this was reverted in the current design. If this can be tested not to cause the same issues then I'm okay with the merge.

This should only affect control rooms, right? Having the change for private rooms would already be a great improvement IMO.

It's not only just control rooms IIRC. I'm fine with merging this if the behavior I described does not definitely happen. AKA you can open multiple DMs with IRC puppets and multiple network rooms without an issue. Close control room and reopen it while having all of those around etc.
I saw it happen with Element web originally and I couldn't reopen some room myself (probably control room) because I already had a room with is_direct set with the bridge. I think I had a network room open and I closed the control room and tried to reopen it.

Is there a reason why the "heisenbridge" user needs to be in the private rooms at all? Would it be an option to perform all actions done through "heisenbridge" through the puppet you're chatting with instead, so private rooms can become regular direct message rooms?

The bridge is there for design reasons. It doesn't have a state database so it fetches the current state from the homeserver and the only reasonable way to determine if a room is relevant is to get the rooms the bridge itself is in.
I wouldn't hold my breath for this to change soon if ever.

The bridge is there for design reasons. It doesn't have a state database so it fetches the current state from the homeserver and the only reasonable way to determine if a room is relevant is to get the rooms the bridge itself is in.

I understand that this is the current design. What I'm wondering is whether it would be possible to move the responsibilities of the bridge user to the puppet user (for private rooms), as both are ultimately controlled by the bridge.

Just as an additional data point, in element, you can force a room to be a DM vs not, via the /converttodm and /converttoroom commands. I'm not sure if converting a DM back to a room solves whatever buggy behavior was encountered before, but I thought it would also be worth mentioning here for folks who find this and want to manually convert some of their conversations.

Now I remember why Element didn't work correctly. If you already had a DM room with the bot you couldn't create a new chat (control room) as it would just reopen an existing DM where you two are the only participants.
So it works just fine if you never leave the main control room but if you do then you can't reopen it. If there was a way to tag such room as "not a real DM" it would solve this.


Prevents duplication of frequency for instructors with both DC and SWC badges.

Fixes #787
To be honest, I have no clue why this minor edit fixed the issue.

Then I'm :-1: - if we don't know why it worked, we don't really know that it did. (Thus speaks the voice of bitter experience :-) )

Yes, closing this PR.
Seems like an undefined behaviour.


[LUMI-16] Allow a secret for the Mistral API to be auto-generated if needed

Lumigator needs the MISTRAL_API_KEY environment variable if the Mistral API is to be used. The user can provide either of these properties in the values.yaml file to set the variable:

The name of a Secret in property mistralSecretName
The Mistral API key directly in property mistralKey; in this case, a Secret will also be generated by the template

If neither is set, an error will be shown.

@javiermtorres please, add some text in the README describing the new behavior and the options that the user has.


Force exact modifiers match for mouse bindings

Fixes #3152.

Think I found a small bug (not exactly related to this PR), but when a default keybinding is overwritten by a configuration the default is disabled, whereas with mouse bindings this doesn't seem to be the case. For example,
key_bindings:
  - { key: V, mods: Shift | Control, action: ToggleFullscreen }

mouse_bindings:
  - { mouse: Middle, action: ToggleFullscreen }

Otherwise, the logic for handling mouse mode seems to make sense using it.

I can't repro this @nixpulvis. Could you test again, making sure the config is 100% accurate?

@chrisduerr the issue actually only shows up while in mouse mode. So to test, add the mouse binding from above (copied here), and enter vim with some text in your selection buffer, then trigger the middle mouse button, the app should both go fullscreen, and paste into the vim buffer.
mouse_bindings:
  - { mouse: Middle, action: ToggleFullscreen }

This also occurs on master. Let me know if you still can't reproduce.

@chrisduerr I think my issue was a false report. I can't reproduce it on this branch anymore when I try, so I'm assuming I accidentally tested master, or an older version of this PR.


Converted all lowercase entries to uppercase #14

@fliptrail Are there any changes i have to make or is it fine now?


desiredCapabilities cross-profile pollution

Given the following profile configuration in magellan.json:
[
  {
    "browser": "iphone_11_2_iOS_iPhone_7_Simulator",
    "orientation": "portrait"
  },
  {
    "browser": "android_6_0_Android_Android_Emulator",
    "orientation": "portrait"
  },
  {
    "browser": "ipad_11_2_iOS_iPad_Simulator",
    "orientation": "portrait"
  },
  {
    "browser": "chrome_latest_Windows_10_Desktop",
    "resolution": "1280x960"
  },
  {
    "browser": "MicrosoftEdge_latest_Windows_10_Desktop",
    "resolution": "1280x960"
  },
  {
    "browser": "IE_11_Windows_10_Desktop",
    "resolution": "1280x960"
  },
  {
    "browser": "IE_10_Windows_7_Desktop",
    "resolution": "1280x960"
  },
  {
    "browser": "firefox_latest_Windows_10_Desktop",
    "resolution": "1280x960"
  },
  {
    "browser": "safari_latest_OS_X_10_13_Desktop",
    "resolution": "1280x960"
  }
]

I'm seeing incorrect sauce desiredCapabilities written to my various nightwatch.json temp files. Here's an example output from the iPhone 7 Simulator profile:
"desiredCapabilities": {
  "browserName": "iphone",
  "platform": "iOS",
  "version": "11.2",
  "screenResolution": "1280x960",
  "marionette": true,
  "javascriptEnabled": true,
  "deviceName": "iPhone 7 Simulator",
  "deviceOrientation": "portrait",
  "platformVersion": "6.0",
  "platformName": "Android"
}

Note that the screenResolution setting is desktop-sized, the Firefox-specific marionette option is selected, and the platformName and platformVersion look to have spilled over from the Android profile.
Expected output here for the iPhone 7 Simulator:
"desiredCapabilities": {
  "browserName": "iphone",
  "platform": "iOS",
  "version": "11.2",
  "deviceName": "iPhone 7 Simulator",
  "deviceOrientation": "portrait"
}

When I make the changes from #32 locally, Magellan provides the latter (expected) output.

#32 is merged and<EMAIL_ADDRESS>is out. thanks for the fix.


Updating RN Tester bundle

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and Microsoft/react-native :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into Microsoft/react-native :thumbsup:
[ ] I am making a fix / change for the macOS implementation of react-native
[X] I am making a change required for Microsoft usage of react-native

Description of changes
Updating RN Tester bundle as underlying JS files are changed.
Focus areas to test
Activity Indicator was not working and was bring red box with old bundle which started working well.
Microsoft Reviewers: Open in CodeFlow

I agree with Andrew. All those files should be autogenerated. Please add the Testplan and PR specs

We have to manually pack the bundle because "gradlew assembleRelease" always stuck while trying to create bundle in bundleReleaseJsAndAssets. If we will not keep this in assets then either developer needs to run the dev server to load the bundle which makes testing difficult.

This PR went bad after rebasing with Master as it shows many opened files, closing this.


Lack of memory on the GPU during training

Hi, I'm reproducing with the latest version of the code on 8 A30 GPUs (24GB of memory each) and it shows CUDA out of memory at the beginning of the 1st epoch, what is the cause of this.

To reproduce the full results, you need 80G memory. The baseline method (no semantics, contracted_coord = False and auxiliary_frame = False) can be reproduced with 24G memory.

To reproduce the full results, you need 80G memory. The baseline method (no semantics, contracted_coord = False and auxiliary_frame = False) can be reproduced with 24G memory.

Hi, I change the config as you mentioned, and run it in 4 24G A40 GPU, but still has OOM problem

To reproduce the full results, you need 80G memory. The baseline method (no semantics, contracted_coord = False and auxiliary_frame = False) can be reproduced with 24G memory.

Hi, I change the config as you mentioned, and run it in 4 24G A30 GPU, but still has OOM problem

For contracted_coord = False, we recommend you use a voxel size of [16, 200, 200]. This keeps the resolution of the inner part and removes the contracted outer part. Though we use [24, 300, 300] in our experiments for fair comparisons, to save memory you have to cut down the voxel size.


Can't use "Export Spec"

Dear Sir,
First of all, thank you for the great plugin, it save us lots of time communicating with programmers.
It always worked perfectly for me, until now...
I've tried to do the Export Spec as before, instead of getting the result files I need, I got this error message "Error: An Obj-C exception occurred." this time.
Exporting spec files by using this plugin almost become my daily routine, it's frustrating not be able to use it anymore, could you please take a look at the issue for me, thanks a lot.(btw, I upgrade my MacBook Air to macOS Ventura, wonder if this has anything to do with the Error message?)
Best,
Jaosunny

尊敬的先生，
首先，感谢您提供的出色插件，它为我们节省了与程序员交流的大量时间。 它一直对我很有效，直到现在......
我尝试像以前一样执行导出规范，而不是获取我需要的结果文件，而是收到此错误消息“错误：发生 Obj-C 异常”。这次。
使用这个插件导出spec文件几乎成了我的日常，不能再使用它很沮丧，你能帮我看看这个问题吗，非常感谢。（顺便说一句，我将我的MacBook Air升级到macOS Ventura ，想知道这是否与错误消息有关？）
最好的， 乔桑尼

Dear Sir,
First of all, thank you for the great plugin, it save us lots of time communicating with programmers. It always worked perfectly for me, until now...
I've tried to do the Export Spec as before, instead of getting the result files I need, I got this error message "Error: An Obj-C exception occurred." this time.
Exporting spec files by using this plugin almost become my daily routine, it's frustrating not be able to use it anymore, could you please take a look at the issue for me, thanks a lot.(btw, I upgrade my MacBook Air to macOS Ventura, wonder if this has anything to do with the Error message?)
Best, Jaosunny

update sketch v94


Verification is case sensitive

While playing around with the verification, I found this:

The Usernames on GitLab and GitHub (and I believe other login providers too) are case insensitive, so the Verification should also be case insensitive.

See https://github.com/flathub/website/issues/44#issuecomment-1419975561 and https://github.com/flathub/website/pull/992

Should be working now


[HA] Show more info about the cluster status in the UI if it is failing

What did you do?
I configured 2 alertmanagers to talk to each other with only TCP port 9094 open between each other, UDP port 9094 blocked.
What did you expect to see?
An indication of an error state.
What did you see instead? Under which circumstances?

Cluster status in the UI: "ready" (<-- in green)
a reasonably clean daemon output (without --log.level=debug)

Environment

System information:
Linux 4.9.0-6-amd64 x86_64

Alertmanager version:
alertmanager, version 0.15.2 (branch: HEAD, revision:  d19fae3bae451940b8470abb680cfdd59bfa7cfa)
build user:       root@3101e5b68a55
build date:       20180814-10:53:39
go version:       go1.10.3

Prometheus version: [N/A]

Alertmanager configuration file:

Port 9094 was used as port in the cluster.listen-address and cluster.peer options.

Prometheus configuration file:

insert configuration here (if relevant to the issue)

Logs:

[WARN] memberlist: Was able to connect to 01CRQDCBH4NS9VTT139B9ECNFN but other probes failed, network may be misconfigured

Important: This warn message did not show until I ran both ends with --log.level=debug.

We are using hashicorp's memberlist library to cluster Alertmanager instances. The library makes it transparent to the user whether it uses UDP or TCP. The default  should be UDP, it falls back to TCP for gossip messages otherwise.
When you create a silence on one of the Alertmanager instances, does it eventually show up on the other?

Yes, but double notifications are an extra result (sometimes). See #1550 for an example.

PRs like https://github.com/prometheus/alertmanager/pull/1563 are very welcome @giganteous. I am sorry for the trouble you went through.
Not sure if we can surface those issues in the UI. I need to have a deeper look into memberlist in this regard.

I had the same issue. I've got this message after enabling the debug level:
level=debug ts=2019-12-02T13:41:53.896Z caller=cluster.go:306 component=cluster memberlist="2019/12/02 13:41:53 [WARN] memberlist: Was able to connect to 01DV3CGDM8H91BFE4WEPAF5FV5 but other probes failed, network may be misconfigured\n"

Why the level is debug and then [WARN]? Is it possible to set it in the level warn at the beginning?

Why the level is debug and then [WARN]? Is it possible to set it in the level warn at the beginning?

Because the message comes from the memberlist logging system and we couldn't hook it up properly with the Alertmanager logging. So memberlist log messages are only displayed when debug level is turned on.

Why the level is debug and then [WARN]? Is it possible to set it in the level warn at the beginning?

Because the message comes from the memberlist logging system and we couldn't hook it up properly with the Alertmanager logging. So memberlist log messages are only displayed when debug level is turned on.

So can't you please check the log level of the memebrlist in this function and then set the log level? instead of always setting it at the debug level?


Binance not working

Describe the bug
A Running bot (runs since 8 Weeks) stoppt working with the message:
clock - Unexpected error running clock tick. (See log file for stack trace dump)
If i stop the bot and create an ne instance connect it to binance and start a strategy it will only show the message:
binance is not ready! Please wait..
Steps To Reproduce
Setup a new Hummingbot Instance, connect to binance and try to start a Strategy.
Release version
Version 1.14.0 and Version 1.13.0

The trader which was running had this in his logs:
2023-04-20 08:13:58,002 - 1 - hummingbot.core.clock - ERROR - Unexpected error running clock tick. Traceback (most recent call last):   File "hummingbot/core/clock.pyx", line 119, in hummingbot.core.clock.Clock.run_til     child_iterator.c_tick(self._current_tick)   File "hummingbot/strategy/strategy_py_base.pyx", line 44, in hummingbot.strategy.strategy_py_base.StrategyPyBase.c_tick     self.tick(timestamp)   File "/home/hummingbot/hummingbot/strategy/trader/trader.py", line 76, in tick     mid_price = self._market_info.get_mid_price()   File "/home/hummingbot/hummingbot/strategy/market_trading_pair_tuple.py", line 34, in get_mid_price     return self.market.get_mid_price(self.trading_pair)   File "hummingbot/connector/exchange_base.pyx", line 124, in hummingbot.connector.exchange_base.ExchangeBase.get_mid_price     return (self.get_price(trading_pair, True) + self.get_price(trading_pair, False)) / Decimal("2")   File "hummingbot/connector/exchange_base.pyx", line 275, in hummingbot.connector.exchange_base.ExchangeBase.get_price     return self.c_get_price(trading_pair, is_buy)   File "hummingbot/connector/exchange_base.pyx", line 165, in hummingbot.connector.exchange_base.ExchangeBase.c_get_price     return self.c_quantize_order_price(trading_pair, top_price)   File "hummingbot/connector/connector_base.pyx", line 395, in hummingbot.connector.connector_base.ConnectorBase.c_quantize_order_price     price_quantum = self.c_get_order_price_quantum(trading_pair, price)   File "hummingbot/connector/connector_base.pyx", line 375, in hummingbot.connector.connector_base.ConnectorBase.c_get_order_price_quantum     return self.get_order_price_quantum(trading_pair, price)   File "/home/hummingbot/hummingbot/connector/exchange_py_base.py", line 221, in get_order_price_quantum     trading_rule = self._trading_rules[trading_pair] KeyError: 'BTC-BUSD'


tap-complete not called for last observable inside zip

Describe the bug
Zip tears down all inner observables when it completes before they can run their tap implementations.
When adding a complete-function to all inner observables of a tap, the observable which will complete last and cause the whole zip to complete will not run their complete function iside their tap operator.
I understand that there are multiple solutions to this issue like using the finalize operator, however people don't expect the complete callback to not be called and it took me a while to figure that out.
I'm not sure if this issues comes up in other inner/outer-observable scenarios.
Expected behavior
The complete-callback inside the tap operator should always be called, regardless of when/how it completes.
In the example below, "2 completed" will not be logged. Expected behaviour would be that it will be logged.
Reproduction code
zip(
  of(1).pipe(tap({ next: n => console.log(`${n} nexted`), complete: _ => console.log("1 completed") })),
  of(2).pipe(tap({ next: n => console.log(`${n} nexted`), complete: _ => console.log("2 completed") }))
).subscribe({next: n => console.log(n), complete: _ => console.log("the end")})

Reproduction URL
https://playcode.io/1845913
Version
8.0.0-alpha.3
Environment
No response
Additional context
No response

It simply unsubscribes until complete happens. This can be clearly seen if more elements are passed to the second argument:
https://playcode.io/1846169
zip(
  of(1, 2).pipe(
    tap({
      next: n => console.log('1 nexted:', n),
      unsubscribe: () => console.log('1 unsubscribe'),
      complete: () => console.log('1 completed'),
    })
  ),
  of('a', 'b', 'c').pipe(
    tap({
      next: n => console.log('2 nexted:', n),
      unsubscribe: () => console.log('2 unsubscribe'),
      complete: () => console.log('2 completed'),
    })
  )
).subscribe({
  next: n => console.log('result', n),
  complete: () => console.log('the end'),
});

I really dont think this is a bug. I see @jakovljevic-mladen tagged this  as a bug but let me explain my analisis.
the tap operator has unsubscribe and finalize methods.
If the subscription is terminated from the subscriber than the unsubscribe is called and then finalize.
But if the tap operators inner subscription have already been completed the unsubscribe is not called and only finalize is called.
The source.
complete: () => {                 isUnsub = false;                 tapObserver.complete?.();                 destination.complete();               },               finalize: () => {                 if (isUnsub) {                   tapObserver.unsubscribe?.();                 }                 tapObserver.finalize?.();               },
Also please see this examples
zip(     interval(350).pipe(         take(2),         tap({             next: n => console.log('A nexted:', n),             unsubscribe: () => console.log('A unsubscribe'),             complete: () => console.log('A completed'),             finalize: () => console.log('A finalized'),         })),     interval(200).pipe(         take(2),         tap({             next: n => console.log('B nexted:', n),             unsubscribe: () => console.log('B unsubscribe'),             complete: () => console.log('B completed'),             finalize: () => console.log('B finalized'),         })) ).subscribe({     next: (n) => console.log('result', n),     complete: () => console.log('the end'), });
Result
B nexted: 0 A nexted: 0 result [ 0, 0 ] B nexted: 1 B completed B finalized A nexted: 1 result [ 1, 1 ] the end A unsubscribe A finalized
And second scenario
zip(     interval(350).pipe(         take(2),         tap({             next: n => console.log('A nexted:', n),             unsubscribe: () => console.log('A unsubscribe'),             complete: () => console.log('A completed'),             finalize: () => console.log('A finalized'),         })),     interval(200).pipe(         take(2),         tap({             next: n => console.log('B nexted:', n),             unsubscribe: () => console.log('B unsubscribe'),             complete: () => console.log('B completed'),             finalize: () => console.log('B finalized'),         })) ).pipe(take(1)).subscribe({     next: (n) => console.log('result', n),     complete: () => console.log('the end'), });
RESULT
B nexted: 0 A nexted: 0 result [ 0, 0 ] the end A unsubscribe A finalized B unsubscribe B finalized


CMSConnectSource Metadata

Summary
Using sfdx force:source:deploy  -p force-app/main/default/cmsConnectSource/, all cmsConnectSource metadata will deploy, but if you only want one IE sfdx force:source:deploy  -p force-app/main/default/cmsConnectSource/community name.connectionName.cmsConnectSource-meta.xml the command fails.
Using Bash Terminal returns this error:

there are spaces in the community name, which I believe is the trouble. There is a workaround, where you can add %20 in place of the spaces and it will deploy. HOWEVER,
when using a pipline yml in bitbucket, this workaround is not available and fails with this error.

However, the Network metadata is named with the same 'community name' with spaces and it deploys fine.
Steps To Reproduce:

Add a CMSConnection
run deployment command : sfdx force:source:deploy  -p force-app/main/default/cmsConnectSource/community name.connectionName.cmsConnectSource-meta.xml

Expected result
the metadata should have deployed
Actual result
metadata fails with errors as above
System Information
Bash

If you are using sfdx

Run sfdx version --verbose --json

{
"cliVersion": "sfdx-cli/7.156.1",
"architecture": "win32-x86",
"nodeVersion": "node-v16.15.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 2.1.0 (core)",
"apex 0.13.0 (core)",
"auth 2.2.0 (core)",
"community 2.0.0 (core)",
"config 1.4.12 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.0.4 (core)",
"generator 2.0.1 (core)",
"info 2.0.1 (core)",
"limits 2.0.1 (core)",
"org 1.13.2 (core)",
"salesforce-alm 54.6.0 (core)",
"schema 2.1.1 (core)",
"sfdx-cli 7.156.1 (core)",
"signups 1.2.0 (core)",
"source 2.0.2 (core)",
"telemetry 2.0.0 (core)",
"templates 55.0.0 (core)",
"trust 2.0.0 (core)",
"user 2.1.0 (core)"
],
"osVersion": "Windows_NT 10.0.19045"
}
Additional information
Feel free to attach a screenshot.

Any command parameter value that contains a space needs to be wrapped in quotes.  E.g.,
sfdx force:source:deploy -p "force-app/main/default/cmsConnectSource/community name.connectionName.cmsConnectSource-meta.xml"

Any command parameter value that contains a space needs to be wrapped in quotes. E.g.,
sfdx force:source:deploy -p "force-app/main/default/cmsConnectSource/community name.connectionName.cmsConnectSource-meta.xml"

Thank you! However, this does not help with the pipeline yml issue. Any ideas on that?

You can try sfdx force:source:deploy -m CMSConnectSource.  I don't know the specific problem you're referring to using a yml file with a command containing quotes.

You can try sfdx force:source:deploy -m CMSConnectSource. I don't know the specific problem you're referring to using a yml file with a command containing quotes.

Thank you! This issue with that command is I have to deploy the entire directory. I only want one connect meta.xml

If you are running this command in a yml file, you may need to either use single quotes (') or escape the double quotes (\") for your path passed to -p.
Example (pseudo code):
name: Deploy Stuff
run: "sfdx force:source:deploy -p \"force-app/main/default/cmsConnectSource/community name.connectionName.cmsConnectSource-meta.xml\""

Notice the two \". Let us know if this helps!

Closing due to inactivity, please reopen if you still have issues


opt opt datetime parsing performance

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

add some performance test numbers please.

run build all

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.89 seconds
stream load tsv:          540 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size:<PHONE_NUMBER>6 Bytes


addResponseKeyboard doesn't show a keyboard

Expected behavior
Show suggestions
Actual behavior
Standard user keyboard is shown.
Enviroment Details
Bot is not published to the store but available for testing. Tried via http API and via this library — end result remains the same. I'm not using it as a reply to the message, but as a new text message with a keyboard added. Could it be the problem? Tried to create another bot but it didn't help.
kik-node 2.0.8
Steps to reproduce the behaviour
Not sure whether it could be reproducible at all.

I can confirm this problem. Unable to show a custom options.

@pukhalski can you provide a codesnippet?
My keyboards are all fine!

    let msg = Bot.Message.text('Work-work!!!').addResponseKeyboard(['Yes, please, add it', 'Another answer'])
    return bot.send(msg, 'pukhalski').then(res => {
      console.log(res, JSON.stringify(msg))
    }).catch(err => console.log(err));

@phips28, here it goes. Nothing special. I see the text message but no suggested answer options so far...

Also I was trying to do this using HTTP API, the result remains the same — text message with no options.

Any updates so far?

This is my send method:
_bot.send(Bot.Message.text(text)         .addTextResponse(constant.BOT.MESSAGE.START_VOTING)         .addTextResponse(constant.BOT.MESSAGE.CHOOSE_CATEGORY)         .addTextResponse(constant.BOT.MESSAGE.TRENDING_HASHTAGS)         .addResponseKeyboard(Bot.Response.friendPicker(constant.BOT.MESSAGE.INVITE_FRIENDS))         ,         chatBotUserSession.chatBotUserId, chatBotUserSession.chatId);
IMO adding the text responses like this is more "readable" and you can change the order quickly.
(See also FriendPicker -> there is no direct message like addFriendPickerResponse() so far.)

The thing is that I am using API directly. I was trying through this lib just for the sake of testing as well as I don't know where to communicate Kik tech support :/
Thanks, @phips28, I'll try it out as well.

Same result with the approach of restructuring into a set of separate text responses, as you've shown above, @phips28. Thank you anyway 👍

@pukhalski @phips28 are you guys still experiencing problems with the keyboards? If not I will close this issue.
This snippet should work:
const msg = Bot.Message.text('foo');
msg.addResponseKeyboard(['bar', 'baz']);
bot.send(msg, 'yourusername');

Please, close. @remvst
But I need to let you know, that the issue was on API side, not yours. Thanks.


Split array into consecutive subsequence

Please fill the details before contributing.

⚠Important!!

[x] Done reading CONTRIBUTING.md?

Adding Code PRs?🔥
⚠Do not add multiple files for the same solution!!!

[x] Added problem statement(Readme.md) with solution?

[x] Contributing new file?
[ ] Appending your code in already existing file?

From Platform:

[x] Leetcode
[ ] GFG
[ ] Interviewbit
[ ] Others(only acceptable after DISCUSSIONS)

Migration PRs?🤝

[ ] Done deleteing file from home directory?
[ ] Added file with correct name and correct directory?

Changes Done As requested for file naming

Incorrect file name.

It is correct sir ... I know i am disturbing but can you please correct me


add topology attribute, default to standalone

Looks good.
Is this the only necessary change to install chef-server in a non-standalone mode? If there are more things, I would be concerned about documenting this attribute. Maybe in the future we can handle this differently. Just extra-concerned about exposing our API that's all :smile:

No - non-standalone means you have to create the server blocks so the frontend and backend nodes know who to talk to. That would require a significant amount of documentation that is probably better served by the docs.chef.io site anyway. I will remove the README.md update.


[BUG] Amethyst Censoring Profiles?

Describe the bug
Everytime I see a profile with nudity in it amethyst automatically blocks & hides the profile. I even unblock them but they get automatically blocked again & do not appear in the spammers & blockers list.
To Reproduce
Steps to reproduce the behavior: Look at a profile that has notes with nudity
Expected behavior
Nothing should happen
Video and Screenshots
If applicable, add a video and/or screenshots to help explain your problem.
Device (please complete the following information):

Pixel 5a
Android 13
App Version v0.75.14
I would have made this a discussion but there is no board here so I submitted it as a bug report because this is a problem as well. I shouldn't have profiles being blocked automatically & hidden just because they load some nudity in a note. This should only be hidden with a filter switch & not blocked from my profile so I may never see nudity again & put somewhere that you can't even find them on the block & spam list the profiles are not there.

Try changing the content warning options in the note options menu

Have you tried unticking the below? I believe amethyst uses reports from other users to block spam.

Have you tried unticking the below? I believe amethyst uses reports from other users to block spam.

These are already unchecked & this is happening. They do not appear in the block or spammer list.

Try changing the content warning options in the note options menu

This isn't about content warnings some profiles get blocked automatically & when I unblock them it automatically blocks them in 3 seconds afterwards. If I leave their profile page they get hidden.

Do you have a specific profile for us to look at. I just checked some profiles with sensitive content and they show correctly when filters are disabled.

I couldn't reproduce this one. Closing for now.


Error while running binding install script

I am trying to run the "Install R Bindings" from the "R Integration.pyt" and get the error below. I have ArcGIS 10.3.1 and R 3.2.1. I have tried the suggested troubleshooting techniques on the main github page but have had no success. It looks like it is having trouble reading the .py scripts but I could be mistaken. Is anyone else having this problem or does anyone have any suggestions on where to go from here? I've copy and pasted the details from the geoprocessing window in Arc.
Executing: InstallBindings true
Start Time: Mon Aug 10 16:34:41 2015
Running script InstallBindings...
https://github.com/R-ArcGIS/r-bridge/releases/download/v<IP_ADDRESS>/arcgisbinding_<IP_ADDRESS>.zip
Saving URL to 'c:\users\susanr~1\appdata\local\temp\arcc146\tmpxqfp7t\arcgisbinding_<IP_ADDRESS>.zip'
Traceback (most recent call last):
File "", line 177, in execute
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\install_package.py", line 77, in install_package
execute_r('Rcmd', 'INSTALL', package_path)
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\bootstrap_r.py", line 15, in execute_r
if r_install_valid():
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\bootstrap_r.py", line 71, in r_install_valid
valid = path_exists(r_install_path)
File "C:\Dan\arcgisbindingR\r-bridge-install-master\rtools\bootstrap_r.py", line 65, in path_exists
if os.path.exists(path):
File "C:\Python27\ArcGIS10.3\Lib\genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Failed to execute (InstallBindings).
Failed at Mon Aug 10 16:34:53 2015 (Elapsed Time: 11.42 seconds)
Cheers,
Dan

Hello @dlradke,
It looks like the script is having trouble picking up where your R installation is. Did you install R using the standard installer? Could you post the results of running the "R Installation Details" script in the toolbox?
Thanks,
Shaun

Executing: RInstallDetails
Start Time: Mon Aug 10 18:34:34 2015
Running script RInstallDetails...
R not installed. Please install R prior to using
this toolbox. The R installation can be found at:
http://www.r-project.org/
Completed script RInstallDetails...
Failed to execute (RInstallDetails).
Failed at Mon Aug 10 18:34:34 2015 (Elapsed Time: 0.01 seconds)
Looks like that may be the issue. I used the standard installer for R and its path is "C:\Program Files\R\R-3.2.1"
Dan

OK, it looks like the detection logic for finding your R installation from the registry is failing. Could you do the following to help me debug your issue?

Open the Run box (Win+R) and type regedit
From the Edit > Find dialog, search the keys for the string R-Core, as seen here:

On my machine (64-bit), searching for that string shows two locations:

    HKEY_LOCAL_MACHINE\SOFTWARE\R-core
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core

Once it finds a location, right click on the key named 'R-Core', and select export. That will create a '.reg' file, that's really just text. Attach the text contents of that file here (if possible).

Thanks!

Here is the result.
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core
Class Name:
Last Write Time:   8/10/2015 - 6:51 PM
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R
Class Name:
Last Write Time:   8/10/2015 - 6:51 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Value 1
Name:            Current Version
Type:            REG_SZ
Data:            3.2.1
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R\3.2.1
Class Name:
Last Write Time:   8/10/2015 - 6:51 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R32
Class Name:
Last Write Time:   8/10/2015 - 6:51 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Value 1
Name:            Current Version
Type:            REG_SZ
Data:            3.2.1
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\R-core\R32\3.2.1
Class Name:
Last Write Time:   8/10/2015 - 6:51 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
thanks

Hey Shaun,
similar to your computer, R-Core was in 2 locations. Here is the print out to the other one.
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\R-core
Class Name:
Last Write Time:   8/25/2015 - 12:08 PM
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R
Class Name:
Last Write Time:   8/25/2015 - 12:08 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Value 1
Name:            Current Version
Type:            REG_SZ
Data:            3.2.1
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R\3.2.1
Class Name:
Last Write Time:   8/25/2015 - 12:08 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R64
Class Name:
Last Write Time:   8/25/2015 - 12:08 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Value 1
Name:            Current Version
Type:            REG_SZ
Data:            3.2.1
Key Name:          HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R64\3.2.1
Class Name:
Last Write Time:   8/25/2015 - 12:08 PM
Value 0
Name:            InstallPath
Type:            REG_SZ
Data:            C:\Program Files\R\R-3.2.1
Still having no luck with the install.
Dan

Hello Dan,
We've updated both the bridge library, and the installer. Could you update from GitHub (or download the Zip archive again) and see if the newer release fixes your issue? I'm now checking both the 32- and 64-bit registry hives, which hopefully will fix your problem. It did on the one machine I had that had a similar configuration to the one you initially posted. If it doesn't work, also let me know and we can keep digging.
Cheers,
Shaun

Hey Shaun,
The install actually worked about 2 or 3 weeks ago. Not sure why but it didn't work in the morning, and then did later that afternoon. It seems to be working well and I've been able to start developing tools using R scripts. I will run the update script just to make sure I'm up to date. Thanks for fixing the issue.
Dan

I downloaded the new release and it now gives me an error when I try and run a geoprocessing tool.
Error in .Call("arc_warning", conditionMessage(w), PACKAGE = "rarcproxy") :
"arc_warning" not available for .Call() for package "rarcproxy"
I have tried to run the install bindings script and checked the override box and get this error.
Executing: InstallBindings true
Start Time: Tue Sep 08 14:59:27 2015
Running script InstallBindings...
https://github.com/R-ArcGIS/r-bridge/releases/download/v<IP_ADDRESS>/arcgisbinding_<IP_ADDRESS>.zip
Saving URL to 'c:\users\johnra~1\appdata\local\temp\arcc016\tmpamvapm\arcgisbinding_<IP_ADDRESS>.zip'
package 'arcgisbinding' successfully unpacked and MD5 sums checked

installing to library 'C:/Program Files/R/R-3.2.1/library'
Warning: cannot remove prior installation of package 'arcgisbinding'
R package path: C:\Program Files\R\R-3.2.1\library\arcgisbinding.
ArcGIS 10.3.1 detected. Creating link to package.
Completed script InstallBindings...
Succeeded at Tue Sep 08 14:59:29 2015 (Elapsed Time: 2.09 seconds)

Don't know what is going on but not thrilled that it is no longer working.
Cheers,
Dan

I fixed the install issue but I still get the "Error in .Call(..." when trying to run any geoprocessing tools, including the ones included in the zip file.
Dan

@dlradke D'oh! Sorry for introducing this issue for you. Fortunately, the fix should be easy enough. On your machine, R is installing packages into the "Program Files" directory, which requires escalated privileges to write to. We're aware of the issue and are planning a better fix, but for now, could you:

Close ArcMap
Right click on the icon you use to open it and select "Run as Administrator" and then try the upgrade script a second time.

Sorry again for the inconvenience.

Okay seems to be working now. Had a bit of a scare there.
Thanks for the help.
Dan

Great, glad the bridge is working fine now. I think we've resolved the original registry issue with the latest release, so I'm going to mark this issue as closed, but you're welcome to create a new issue if you hit any further problems. Feel free to contact our R team if you need any assistance, we're at<EMAIL_ADDRESS>

Hi there,
I am now having the same error message for error in calling rarcproxy,
I was following the instructioins in the course


Services - Volumes associated with services donot get deleted when using acorn rm -af to delete the app using the service.

Acorn version - ### acorn version v0.7.0-alpha1-39-g696e7f52+696e7f52
Steps to reproduce the problem:
Deploy app that uses a service.
In my case, service creates volume and secret.
Deplete the app.
acorn apps
NAME          IMAGE          HEALTHY   UP-TO-DATE   CREATED   ENDPOINTS                                                MESSAGE
mytest        99aca2339227   1         1            11m ago   http://app-mytest-9c158bdf.local.on-acorn.io => app:80   [defined: waiting on missing secrets [mydb]]
mytest.mydb   1a061021afe6   1         1            11m ago   tcp://<IP_ADDRESS>:3306 => dbcon:3306                   OK

 % acorn secrets
NAME                TYPE      KEYS                  CREATED
mytest.mydb.admin   basic     [password username]   11m ago

% acorn volumes
NAME                 APP-NAME             BOUND-VOLUME   CAPACITY   VOLUME-CLASS   STATUS    ACCESS-MODES   CREATED
mytest.mydb.mydata   mytest.mydb.mydata   mydata         15G        local-path     bound     RWO            11m ago
sangeethahariharan@Sangeethas-MacBook-Pro serviceexample % acorn rm -af mytest
Waiting for app mytest to be removed...
Removed: mytest
  •  No volumes associated with mytest
Removed: mytest.mydb.admin

 % acorn apps
NAME      IMAGE     HEALTHY   UP-TO-DATE   CREATED   ENDPOINTS   MESSAGE

 % acorn secrets
NAME      TYPE      KEYS      CREATED
 % acorn volumes
NAME                 APP-NAME             BOUND-VOLUME   CAPACITY   VOLUME-CLASS   STATUS     ACCESS-MODES   CREATED
mytest.mydb.mydata   mytest.mydb.mydata   mydata         15G        local-path     released   RWO            11m ago

App relating to the service gets deleted.
Secrets associated with service also gets deleted as expected .
Volume continues to be present in the "released" state and never gets removed.

Tested with acorn version - v0.8.0-rc4-58-gbe49d0bd+be49d0bd
I am still able to see the volumes not being cleaned up when the consuming app gets deleted.

Deploy the an app  that consumes a service (that has volume defined in it).
App fails to come up successfully waiting for the service (this most probably because of something not right with the service)

acorn apps
NAME          IMAGE                                  COMMIT    CREATED    ENDPOINTS                                       MESSAGE
mytest        3e2bf5ac815f                                     71s ago    http://app-mytest-9c158bdf.local.oss-acorn.io   (container: app): waiting for service to be created [mydb]; (service: mydb): not ready
mytest.mydb   docker.io/sangeetha/mytestsql:v0.0.1             71s ago    tcp://<IP_ADDRESS>:3306                        OK

Delete the app using acorn rm -af mytest

This leaves behind the volume in "released" state.
 % acorn apps
NAME      IMAGE     COMMIT    CREATED   ENDPOINTS   MESSAGE
 % acorn secrets
NAME      TYPE      KEYS      CREATED
% acorn volumes
NAME                 BOUND-VOLUME   CAPACITY   VOLUME-CLASS   STATUS     ACCESS-MODES   CREATED
mytest.mydb.mydata   mydata         15G        local-path     released   RWO            18m ago

Thanks for retesting


fix: eslint-config devDeps not accessible, moving to deps

When installing @knocklabs/eslint-config because the dependencies are set to devDependencies, they're not installed along with the config. This means each of those dependencies would need to be installed on their own.
This moves these devDependencies to dependencies to make install smoother.

Looks good, but would run an install and push again in case there are conflicts with the lock file during deploy (I don't think it'll be a problem but just to be safe)

Yeah I regenerated the lock file but it was the same as before. No changes in git.


Fix remaining integrations that don't document how to specify the Zulip server

I did an audit and determined that several of our integrations don't document how to specify a specific Zulip server.  See the list below.
I suspect most of these work already (e.g. because they are using the Zulip Python API bindings (https://zulipchat.com/api/) and we need to document how to point the integration at an arbitrary server.  templates/zerver/integrations.html, and api/integrations/ for the code for Python ones.  SITE should usually be https://yourDomain.zulipchat.com/api (there’s a template variable for this, external_api_uri_subdomain, that we use in the docs).

[ ] perforce doesn’t document SITE
[ ] https://forge.puppet.com/mbarr/puppet_zulip update SITE
[ ] Document redmine SITE
[ ] Document RSS integration how to set SITE
[ ] Test twitter search bot how to set SITE
[ ] Document Hubot SITE option properly
[ ] Document Jenkins SITE properly (Waseem tells me he did the work, we just need to document).

It'd be awesome to fix all of these so that every integration documents clearly how to use an arbitrary Zulip server.

I'm working on it.
One question:
should usually be https://yourDomain.zulipchat.com/api - it means its always hosted on zulipchat.com ? Or it might be self-hosted like https://tomaszkolek.pl/api ?
I'm asking because not sure about usage external_api_uri_subdomain variable

As to second point from the list:
https://github.com/TomaszKolek/puppet-zulip/blob/master/lib/puppet/reports/zulip.rb
Not sure but it seems we should:

Add param to config
Use param in file above
Change doc to inform user about changing config param

Does it make sense? @timabbott

See zerver/views/integrations.py; it sets external_api_uri_subdomain appropriately for the different places that Zulip can be deployed.  So, we should just be using that variable for the integration docs.
Yes, that approach makes sense; we probably don't need to write the docs as "this is a change"; just write them describing the new behavior.

https://github.com/matthewbarr/puppet-zulip/pull/1

As to redmine:
https://github.com/TomaszKolek/zulip-redmine-plugin/blob/master/redmine_zulip/lib/zulip_hooks.rb
Do we need any additional docs? I think we should change zulip_api_basename to returns zulip_server+"/api" (pseudo code)

Well this part of the docs: "In either case, fill out the bot email address and API key, and the Zulip stream that should receive notifications. Apply your changes." should mention the server as well, yeah.
Also, we should change the repo to point to zulipchat.com, not zulip.com (which will cease existing soon).

Heh, sorry for the next question:
RSS - for me is documented correctly. Documention points to https://chat.zulip.org/integrations/#rss (link in doc is to zulip.com - so it should be fixed)
Correct url https://chat.zulip.org/api/#api_keys - I think here we should change example value of SITE param.
What do you think?

sounds good!

OK I fixed the chat.zulip.org configuration.
Hmm, I guess we potentially want to change things the documentation on /api/ to not include the (unnecessary) trailing /api.

Yes, we should do it for being consistent.

For Hubot I just copied part about run script on self-hosted Zulip

@timabbott Do you have jenkins instance to retake screenshot? I think its only one think needed in Jenkins.
I can set it up if needed.

I don't think we do; @wdaher do you happen to still have this setup?

I don't, sorry!
On Fri, Nov 4, 2016 at 12:13 PM Tim Abbott<EMAIL_ADDRESS>wrote:

I don't think we do; @wdaher https://github.com/wdaher do you happen to
still have this setup?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/1821#issuecomment-258522922, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGqvlf2a2KYDw-eAYbTP9qzJjGPl-txks5q64PhgaJpZM4KBAFC
.

Ok, so I'm starting to setup.

Jenkins done.
But now I get stuck.
Please correct me if I'm wrong.
example:
We'd like to setup more than one bot. Lets say twitter-bot and rss-bot. Before that we create ~/.zuliprc file with properly configured bot keys in api section. Is it true that both bots will be used the same bot?

The Zulip API bindings support passing the --config-file option for where to find the zuliprc file for the bot.  But yes, if you're testing multiple bots on the same system, you need to pass that argument.

OK, and the second question - is any idea behind the thing that some bots are using ./Xrc file and some have python own config?
I'm wondering if we could (or even should) normalize it?

Some of the ones, like the trac one, that have a Python script config file clearly need that because they have some code that's configurable as a function.  So we need to keep the python config file model.
So the only way to normalize would be to eliminate the zuliprc file approach, which I'm not sure is a good idea (it's a pretty handy mechanism when you're just writing custom code to do stuff).

This was resolved by #2210


improved docs

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

Thanks @prtk2001! We will stick with the original here.


Issue with SSR and requestInterceptors

Thanks for this amazing library. It looks great and almost works perfectly!
I'm trying to set this up in a SSR NextJS project. I've used these instructions from the documentation and SSR works great.
My next step was to add a requestInterceptor so that I don't have to type the base API domain over and over again. For this I used your example host interceptor. As follows:
const requestHostInterceptor = host => client => async action => {
    return {
        ...action,
        endpoint: `${host}${action.endpoint}`,
    }
}

export const client = createClient({
    cacheProvider: cache,
    requestInterceptors: [requestHostInterceptor('http://local.api.dev')],
})

But SSR stops working as soon as I add the requestInterceptors property to createClient. The endpoint gets called twice (first backend, then frontend again because it finds there is no cache). So the client is making the call correctly from the backend to the api, but somehow the payload remains undefined while rendering on the server.
I've looked through the code, but can't find any pointers. Do you have any ideas?

@yoeran please check this example on codesandbox (I think it's working correctly):
https://codesandbox.io/s/react-fetching-library-ssr-nextjs-9d7t0
Is it ok? Maybe you forgot about
 client.cache.setItems(cacheItems);

@marcin-piela Thanks for the quick response! Code-wise it's exactly the same, the only difference I see is your example is using next ^8.1.0, while I'm at next ^9.0.5. I tried downgrading nextjs in my project, but that gives compatibility issues with my code. Could you try your example with 9.0.5? Otherwise I'll try it later this week.

Wait, just tried to fork your codesandbox, but your example isn't quite working as intended as well. It's giving results even though with that configuration the endpoint URL would have become https://private-34f3a-reactapiclient.apiary-mock.com/https://private-34f3a-reactapiclient.apiary-mock.com/users (yes double domain, because you defined it in both the action as the request interceptor)

After fix that it's not working as you described in the issue. I will try fix it tomorrow, this is the problem with storing in cache action before processing by interceptors

If you have codesandbox with nextjs v9 please provide me link :)

Here is the codesandbox link, not really familiar with codesandbox, so hope it's correct: https://codesandbox.io/s/react-fetching-library-ssr-nextjs-u5827

@yoeran fixed in 1.5.6
Example: https://codesandbox.io/s/react-fetching-library-ssr-nextjs-nqzox

Excellent! Works like a charm. Thanks so much for the quick response.


Centralized version control image link is broken

"Centralized version control image" link (https://git-scm.com/book/en/v2/book/01-introduction/images/centralized.png) is broken on page https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control.

@schacon took care of it. :+1:

Great!


APIView tool for C++ SDKs.

Is it possible to have the ParseTests use the live tree rather than checking in all sources into this repo?

Not trivially. I'm currently disabling them for now - they can't work until I fix some issues with the AstType type.


[Broken] Zee5 extractor

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running yt-dlp version 2021.08.10
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
[debug] Command-line config: ['-v', 'https://www.zee5.com/tvshows/details/bhabi-ji-ghar-par-hai/0-6-199/bhabi-ji-ghar-par-hain-episode-993-december-18-2018-full-episode/0-1-160205']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] yt-dlp version 2021.08.10 (zip)
[debug] Python version 3.9.6 (CPython 64bit) - Linux-5.11.0-25-generic-x86_64-with-glibc2.33
[debug] exe versions: none
[debug] Optional libraries: keyring, sqlite
[debug] Proxy map: {}
[debug] [Zee5] Extracting URL: https://www.zee5.com/tvshows/details/bhabi-ji-ghar-par-hai/0-6-199/bhabi-ji-ghar-par-hain-episode-993-december-18-2018-full-episode/0-1-160205
[Zee5] 0-1-160205: Downloading access token
[Zee5] 0-1-160205: Downloading video token
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/home/paritosh/Videos/BJGPH/yt-dlp/yt_dlp/extractor/common.py", line 682, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/paritosh/Videos/BJGPH/yt-dlp/yt_dlp/YoutubeDL.py", line 3190, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 555, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description
It appears as though the url https://useraction.zee5.com/tokennd used to get token_request isn't working properly. The extractor was working correctly 24 hours before reporting this issue. It is possible that Zee5 might have made some changes on their end.

@Ashish0804

Yeah i can recreate this issue.
The site seems to have changed token endpoint and the videoinfo endpoint.
Will make a fix today.

I can help test changes if need be!


use where in output query

hi.
thanks for your nice package.
i created a custom database like this:

id
parent_id
name
slug
post_type
img

1
0
cat 1
cat-1
posts
thumb.jpg

2
1
cat 2
cat-2
posts
p.png

3
0
cat 3
cat-3
products
pthumb.jpg

i want to show only categories for a specific post_type
can u help me?

i can override get() in NestableTrait.php like this:
$this->source = parent::where('post_type','posts')->get();

but if i update the package, all these will gone...

i created NestableTraitPlus
now i use my own functions and i think it's a safe way ...

Hi Mostafa,
I have seen yet the message. Let me check.

That missing the ->nested() method in your query.

thank you dear ahmet...
so it's a safe way to create "NestableTraitPlus" and using new get() function?
or if i should wait for new version, how long does it take?

Hi @mostafaznv
it's fixed: 96cac5a
You should update the package.

thanks ...
it works fine only for nested()
but i get these errors for other methods (renderAsDropdown, renderAsHtml):
Call to a member function where() on string
Call to a member function get() on string

Hi @mostafaznv
Please use such: Category::where('post_type', 'posts')->renderAsHtml();
or
Category::where('post_type', 'posts')->renderAsDropdown();
Not use such:
Category::where('post_type', 'posts')->renderAsDropdown()->get();

but it return all records in my table
$categories = category::where('post_type', 'posts')->renderAsHtml();

I tested the changes and works fine. Are you share the results?

this is my table:

i get below result with this code:
$categories = \App\category::where('post_type', 'posts')->renderAsHtml();
return $categories;

Hi @mostafaznv
update and try again.

wow ...
thanks dear ahmet ...
it works fine ...

Thank you too for contribution @mostafaznv .


Issue in Syder Ubntu

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "/home/vangjush/.local/lib/python2.7/site-packages/spyder/plugins/ipythonconsole.py", line 906, in
clear_variables))
File "/home/vangjush/.local/lib/python2.7/site-packages/spyder/plugins/ipythonconsole.py", line 948, in execute_code
sw.sig_prompt_ready.disconnect()
TypeError: disconnect() failed between 'sig_prompt_ready' and all its connections
Traceback (most recent call last):
File "/home/vangjush/.local/lib/python2.7/site-packages/spyder/plugins/ipythonconsole.py", line 906, in
clear_variables))
File "/home/vangjush/.local/lib/python2.7/site-packages/spyder/plugins/ipythonconsole.py", line 948, in execute_code
sw.sig_prompt_ready.disconnect()
TypeError: disconnect() failed between 'sig_prompt_ready' and all its connections
Version and main components

Spyder Version: 3.2.4
Python Version: 2.7.14
Qt Versions: 5.9.1, PyQt5 5.7 on Linux

Dependencies
pyflakes >=0.5.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.3.1 (OK)
pygments >=2.0    :  2.2.0 (OK)
pandas >=0.13.1   :  0.20.3 (OK)
numpy >=1.7       :  1.13.3 (OK)
sphinx >=0.6.6    :  1.6.5 (OK)
rope >=0.9.4      :  0.10.7 (OK)
jedi >=0.9.0      :  0.11.0 (OK)
psutil >=0.3      :  5.4.0 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
sympy >=0.7.3     :  1.1.1 (OK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.3.1 (OK)
IPython >=4.0;<6.0:  5.5.0 (OK)
pylint >=0.25     :  1.7.4 (OK)

Thanks for reporting. We'll fix this bug in our next release.

@dalthviz, please catch the TypeError and simply pass if that happens.


Add serialized array macro

This change is

I didn't know about serialized and that you can use a tuple for this. In any case, I think it is a useful util (we use it a lot for both production contracts and tests). It would be good to have it available somewhere (in stdlib, Alexandria or somewhere else) since it is way more readable and less error-prone.
If you think it is not for this repo, I can open a PR for Alexandria and add serialized.

I'd rather see this as a macro package, when we'll release them in Scarb.

Looking forward to it!

Seems like we're at the dead end here. Closing.


Rename leftovers after #103

We're currently processing your upload.  This comment will be updated when the results are available.


Nature implings are labelled incorrectly as Mature implings on minimap overlay

Type
Other
Operating System
Windows
OS Version
Windows 10
Bug description
When using Implings plugin, the player selects "Nature impling" as Highlight option, the impling is labelled incorrectly as Mature impling on the minimap.
Screenshots or videos
No response
RuneLite version
1.10.9
Rev 215
2.1.3
Logs
No response

The code does not contain any reference to "Mature impling". Most likely you are misreading "Nature" as "Mature".


Move hostname to last argument on windows

As per PR #12 and PR #20 , we moved the hostname to the last argument on the ping command on unix systems.
I propose we do the same for Windows as well so we can maintain a uniform standard across platforms.
All we need to do is follow the steps as in #12 or #20 .

Move ip to last argument in src/builder/windows.ts
Adjust the tests in test/builder/builder.ts

I'll take this up once I get the time. Anyone who wants to work on this on the meantime, can comment here if you want a more detailed idea about what we're trying to achieve.

Hi, I'd like to take this up!

I've observed that on Windows there are separate function calls to check for IPV6/4, should I be worrying about that?

@sravanth-chebrolu all yours, thanks 😄


send issue

after successfully creating ordinal using wallet inscribe, how can I send this ownership to someone?  Are there private keys from this wallet or a better way, I didnt see anything other than reference on inscription.

ord wallet send   --fee-rate


CVE Build dependency issues

Needs investigating:
18:20:19,909 [INFO] --- maven-dependency-plugin:3.1.2:analyze-dep-mgt (depmgmt) @ egeria ---
18:20:19,910 [INFO] Found Resolved Dependency/DependencyManagement mismatches:
18:20:19,911 [INFO] 	None
18:20:19,945 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,945 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,946 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,950 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,950 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,950 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,950 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,953 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,953 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,953 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,953 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,959 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,959 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,959 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,959 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,973 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,973 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,974 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,974 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,980 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,980 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,980 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,981 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:19,981 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,988 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,989 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,989 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,989 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:19,989 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,992 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,993 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,993 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,993 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:19,993 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:19,996 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:19,997 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:19,997 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,997 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:19,997 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:20,000 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:20,001 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,001 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,001 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:20,002 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:20,004 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:20,005 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,005 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,005 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:20,005 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:20,008 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:20,009 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,009 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,009 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:20,009 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:20,012 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:20,013 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,013 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,013 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:20,013 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:20,016 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:20,017 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:20,017 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,017 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,017 [WARNING] Try running the build up to the lifecycle phase "package"
18:20:20,020 [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor:
18:20:20,020 [WARNING] o org.odpi.egeria:repository-services-apis:jar:1.7-SNAPSHOT (compile)
18:20:20,020 [WARNING] o org.odpi.egeria:audit-log-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,020 [WARNING] o org.odpi.egeria:open-connector-framework:jar:1.7-SNAPSHOT (compile)
18:20:20,021 [WARNING] Try running the build up to the lifecycle phase "package"
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.7.2/lucene-queryparser-7.7.2.pom

Seen in master. May affect branch

There are actually more than these - we have huge numbers of errors from the pom processing.

Investigating if this is a problem.
Once a first build has passed, modules will be resolveable from the local .m2 repo, or in the case of a formal build environment, potentially from artifactory, yet I would expect all modules should be resolved within the reactor -- and therefore not expect to see this error.
Additionally this being out of sync could lead to incorrect artifacts being pulled in.
The change to 1.7 may have caused this to surface..

This is caused by the '-DCVE' option I was using
This activates a profile which runs an check using the owasp plugin (to check for security vulnarabilities). However this goal does not seem to work properly with our multi module pom, probably relating to aggregate checks .
As such

does not affect release
isn't a regression
Only of impact when doing a -DCVE (and primarily we use other tools)

As such it needs tidying up but isn't an urgent issue

these issues are no longer occuring


Write shell scripts for checking if parameters pass to methods used in Kotlin have <html> tags

According to the research done in https://github.com/VirtusLab/git-machete-intellij-plugin/pull/911 discovered that text parameter in method com.intellij.ui.layout.Cell.label, com.intellij.ui.layout.Cell.chechbox may include HTML, but only when it is  wrapped in <html> ... </html> tags.
Label() and checkbox() methods are only used in Kotlin files in code base, so it is impossible to apply there the same rules as in https://github.com/VirtusLab/git-machete-intellij-plugin/pull/911.
The idea is to create some shell scripts for checking if text param pass to this methods has HTML code, and if it is does whether it is wrapped in  <html> ... </html>.
Also error() method from com.intellij.ui.layout.ValidationInfoBuilder may have HTML inside (message parameter). In this case, theoretically, wrapping in <html> ... </html> is not required, but according to the principle created in https://github.com/VirtusLab/git-machete-intellij-plugin/pull/911 <html> ... </html> should be added wherever we use HTML.
TIP: https://github.com/VirtusLab/git-machete-intellij-plugin/blob/master/scripts/prohibit-kotlin-undefined-property-keys

If this is ever picked up, better to use sth like Kotlin Symbol Processing API


Dashboards for ambassador

Some metrics are not with the same labels as before AES 1.0

metrics changed with AES v1.0, dashboards are now updated and display the correct metrics


Can't Deserialize a Serialized Calendar

I am trying to serialize to a string and then deserialize back to a Calendar object, however; the deserializer always returns null for the object.  This is an example I created in a console app of what I'm trying.
using ConsoleApp1;
using System.Text.Encodings;
using Ical.Net;
using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes;
using Ical.Net.Serialization;

// See https://aka.ms/new-console-template for more information

var recur = new RecurrencePattern(FrequencyType.Weekly, 2);
var cev = new CalendarEvent()
{
    Start = new CalDateTime(DateTime.Now),
    RecurrenceRules = new List<RecurrencePattern>() { recur }
};
var cal = new Calendar();
cal.Events.Add(cev);

var s = new CalendarSerializer();

var text = s.SerializeToString(cal);

Console.WriteLine(text);

var sr = new StringReader(text);
var newCal = s.Deserialize(sr);

Console.WriteLine($"{nameof(newCal)} is null: {newCal == null}");

@melance shouldn't you be using a method Calendar.Load()? As mentioned in here? https://github.com/rianjs/ical.net/wiki/Deserialize-an-ics-file

I can't believe I missed that.  Thank you!


The time cost on training

I train the finetune.py which is estimated to take 100 hours.
My device is 4090, is there something wrong in my setting?

你好，请问你的样本量是多少呀？


The Values tag cannot be edited

The version of grafana is <IP_ADDRESS>, the status bot plugins is version 0.2.3, and the value tag cannot be edited. How should I solve this problem?

It seems like plugins are not allowed to have tabs called "Values" anymore for some reason which is causing this to break. I'll get that changed and submit a new version to Grafana. I'll let you know once it's available for download.

New version has now been released:
https://grafana.com/plugins/btplc-status-dot-panel/installation?version=0.2.4


test(infra): add processing stack tests

closes #129

PS: I wrote an S3 file context manager for testing purposes, but I've managed to push the relevant tests closer to the unit level so I don't think it's in any of the PRs. Combined with random_string it should provide a nice way to avoid leaving data lying around after testing and to ensure tests are independent.
from types import TracebackType
from typing import BinaryIO, Optional, Type

import boto3

DELETE_OBJECTS_MAX_KEYS = 1000

class S3Object:
    def __init__(self, file_object: BinaryIO, bucket_name: str, key: str):
        self.file_object = file_object
        self.bucket_name = bucket_name
        self.key = key
        self.s3 = boto3.client("s3")

    def __enter__(self) -> "S3Object":
        self.s3.upload_fileobj(self.file_object, self.bucket_name, self.key)
        return self

    def __exit__(
        self,
        exc_type: Optional[Type[BaseException]],
        exc_val: Optional[BaseException],
        exc_tb: Optional[TracebackType],
    ) -> bool:
        version_list = self._get_object_versions()
        self._delete_object_versions(version_list)

        return False  # Propagate exception

    def _delete_object_versions(self, version_list):
        for index in range(0, len(version_list), DELETE_OBJECTS_MAX_KEYS):
            response = self.s3.delete_objects(
                Bucket=self.bucket_name,
                Delete={
                    "Objects": version_list[index : index + DELETE_OBJECTS_MAX_KEYS],
                },
            )
            print(response)

    def _get_object_versions(self):
        version_list = []
        object_versions_paginator = self.s3.get_paginator("list_object_versions")
        for object_versions_page in object_versions_paginator.paginate(Bucket=self.bucket_name):
            for marker in object_versions_page.get("DeleteMarkers", []):
                if marker["Key"] == self.key:
                    version_list.append({"Key": self.key, "VersionId": marker["VersionId"]})
            for version in object_versions_page.get("Versions", []):
                if version["Key"] == self.key:
                    version_list.append({"Key": self.key, "VersionId": version["VersionId"]})
        return version_list

Usage: with S3Object(BytesIO(b"your content"), f"linz-geospatial-data-lake-{ENV}", filename) as s3_object:

Thank you!

Thank you!