Control plane assumes /home/omnia directory exists but does not create it

Describe the bug
Trying to build the control plane fails because mngmnt-network-container  failed mount
  Warning  FailedMount  10s (x8 over 74s)  kubelet            MountVolume.SetUp failed for volume "omnia-storage" : hostPath type check failed: /home/omnia/ is not a directory

To Reproduce
build control plane on freshly installed server
Expected behavior
the directory should be created before deploying pods

This issue has been closed with PR #786 in release-1.1.2 branch.


Include 40 Findings with the default installation

40 was chosen as an arbitrary number but it's better than just saying we should support "more" findings. Possible seed sources suggested were OWASP, CWE, and Nessus.

Up to 20. Good enough. Closing.


Develop a portable Python library to read the NIS code (and much more)

Following the specifications described in issue #1, we wrote this library which can be used to send low level commands to a CIE card, without having to install a dedicated software.
This library uses the pyscard  interface to directly send APDUs and read back the response, and supports the EAC authentication protocol too!
There's also a partial implementation of a real-time image recognition software, which can be used to automatically read the MRZ using a webcam, but unfortunately the OCR part is still incomplete.
We also wrote some unit tests to make sure the algorithms and utility functions are working fine.

Thank you for your contribution, and welcome to the community of Developers Italia as maintainer of this repository, on which you now have full admin rights 😃
(Remember: with great power comes great responsibility.)
I also invited you to become part of the italia organization, so that you can display its logo on your profile (don't forget to change the visibility after you accept the invitation!).


Document configuration name error

documents comment:
sidecar configs are identified by a requesting
annotation, like:
"injector.tumblr.com/request=tumblr-php"
the "name: tumblr-php" must match a configuration below;
but configuration is
name: "test"

@newfurniturey @zhangjianweibj has previously signed the CLA, so this is good to merge (https://github.com/tumblr/k8s-sidecar-injector/pull/22#issuecomment-533032419).

@byxorna hold off on that for a moment; we may need to have our new CLA signed first (new parent company, new rules). Getting clarification at this time, can update here when I have more info

stale, will fix in a separate commit. thanks for bringing it to our attention!


[CI Error] RunsInIISExpressInProcess

Microsoft.AspNetCore.FunctionalTests.Microsoft.AspNetCore.Tests.WebHostFunctionalTests.RunsInIISExpressInProcess
Assert.Equal() Failure
          ↓ (pos 0)
Expected: CreateDefaultBuilderApp
Actual:   <!DOCTYPE html>\r\n<html lang="en-US" ns···
          ↑ (pos 0)
   at Microsoft.AspNetCore.Tests.WebHostFunctionalTests.RunsInIISExpressInProcess()
   in /_/src/DefaultBuilder/test/Microsoft.AspNetCore.FunctionalTests/WebHostFunctionalTests.cs:line 179
--- End of stack trace from previous location where exception was thrown ---

That was targeting 2.2. Fix still needs to be merged to master.


Https not working

Hi,
Since your last update, https isn't working: https://bans.chocolia.eu/
I've tried to set https to true in your config, it don't work.
Best regards,
EDIT: Error 500 with default config
http://<IP_ADDRESS>/chocolia/banlist/

I will be looking into this as soon as I can. Thank you for the report. I have the default configuration running on https://mathhulk.me/github/ab-web-addon, so I will try to reproduce the issue later today.

@lucas2107, the HTTPS option in the configuration file is only used for meta tags. Everything else should work on HTTPS whether the HTTPS option in the configuration file is set to true or not. I am using the latest update (latest commit) version of ab-web-addon on https://mathhulk.me/github/ab-web-addon with HTTPS set to false in the configuration file and everything is working fine.

I don't know why I've error 500 :/
I'm using php 7.0

I am using PHP 7 also. Are you sure that you downloaded ab-web-addon recently?

Hi,
I've re-downloaded the addon, with default config with my database infos, error 500.
Nothing in the error.log from apache :/

Open /index.php with a text editor and replace error_reporting(0); with error_reporting(E_ALL). Then, tell me what errors you find in the error file in the root directory of ab-web-addon.

This should be fixed in the latest update. GitHub did not seem to recognize the change in capitalize of a file or I must have forgot to capitalize it on my computer when I moved the files to be pushed to GitHub.


Method for adding source files to project based on current files

For example, given the following files:
// src/main.ts
export * from "./classes";

// src/classes.ts
export class Test {}

And following tsconfig.json:
{
    "files": ["src/main.ts"],
    "compilerOptions" {
        // etc...
    }
}

The following setup...
const project = new Project({ tsConfigFilePath: "tsconfig.json" });

...will cause only main.ts to be added to the project.
It would be nice to have a method that adds all the referenced files to the project. I'm not sure what this would be called, but it should be in an addX format to be consistent with the other methods on Project.

I'm beginning to think this should be done always and instead add a "skip" property to the project options to skip doing this.

I would expect that all referenced files be added to the project by default, especially since that is what happens when using ts.createProgram directly.
"skip" is a bit ambiguous, maybe "resolveFileDependencies"?

Yeah, it wouldn't be "skip," but I do like your idea of resolveFileDependencies. I think people might think setting that to false would disable it completely... so working off what you said maybe skipDependencyResolution?
For a method name, I'm thinking either addDependencySourceFiles(), resolveDependencies(), resolveFileDependencies() or resolveSourceFileDependencies().

This will be in v19. I'm making this a breaking change because more source files may appear in the project after constructing it.


Catalog page

Catalog page finished

In figma, the height of the div containing all icons are the same, but not here. If I were to make the height of the divs same, it would become extremely tedious to make every row aligned with each other. I therefore chose not to. But perhaps there is an easy solution for this.

The catalogs might perhaps be too big, when horizontal scrolling is on. But not sure, it perhaps look nice on the phone.

Also, react complains about key-properties missing. Of course, these things aren't dynamic so it doesn't matter, but i think we should add them to not get a bunch of warnings in the console


Optimize flag evaluation for image streams

This PR optimizes call to t.hasImageStreams() function in flag evaluation for a phase. This call was being made every time a phase transitioned to next regardless of which phase it is. This PR fixes it by making it run only once for particular phase.

I have confirmed this change doesnt break image migrations.


Remove 'Detach' action for attached items under Quick Access node

Storage Explorer Version: 1.13.0
Build: 20200401.4
Branch: rel/1.13.0
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Attach one storage account via SAS.
Add the attached storage account to Quick Access.
Check the context menu of the attached storage account under Quick Access node.

Expect Experience:
No 'Detach' action displays.
Actual Experience:
The action 'Detach' displays well.
More Info:

This issue doesn't reproduce for SAS attached blob container and file shares.
This issue also reproduces for SAS attached queues and tables.
This issue also reproduces for Name & Key attached storage accounts.
Related bug: 1413

Queue will be fixed in 1.14.0. We will adjust when the Table and Storage Account nodes will be fixed.

Work is done for queues.

Verified this issue on build master/20200522.4.

Queue is fixed.
This issue still reproduces for Storage account and Table.  So we keep this bug open.

@v-xianya can you open an issue each for storage account and table? Thanks.

Hi @MRayermannMSFT
Sure. We opened issues for storage accounts and tables. Issues number: 3063,3064.


Remove defaulting for provisioning utility in AWS configs

What this PR does / why we need it:
Remove defaulting for provisioning utility in example Terraform configs for AWS. The provisioning utility is defaulted by machine-controller.
What type of PR is this?
/kind cleanup
Does this PR introduce a user-facing change? Then add your Release Note here:
Remove defaulting for provisioning utility in AWS configs (defaults to Ignition for Flatcar)

Documentation:
NONE

/test pull-kubeone-e2e-aws-flatcar-install-containerd-v1.24.3


Add support for finding class, module and constant references

Motivation
Closes #202
At least from a classes, modules and constants perspective. We can create a new issue for handling methods.
This PR uses the work in #1044 to add support for the references request for classes, modules and constants.
Implementation
The majority of it is pretty standard for adding new requests. In terms of the implementation, the LSP receives an option inside the context parameter about whether to include the declaration as a reference or not.
The implementation:

Resolves the constant under the cursor using the index
Adds all declaration locations as references if that option is true
Asks the indexer to find other references to the fully qualified name

Automated Tests
Added tests.

I'm going to put this on hold for the moment. Finding references like this takes around 40 seconds, which also slows down Sorbet's response because VS Code keeps waiting for all LSPs to return before showing results.
I did extensive profiling of our indexing mechanism and the biggest gains we can have come from making Prism instantiate Prism::Location and Prism::Source lazily (we spend more than 40% of our time creating instances and on GC).
When we can make those instantiations lazily, indexing will be significantly sped up. Then we can make a better decision and maybe even collect references in the first indexing pass.


Explain why a torrent was not cleaned from transmission

Motivation for changes:
I want to know why a certain torrent was not cleaned from transmission
Currently the clean_transmission plugin collects all the information that might or might not be relevant to cleaning a certain torrent from the queue, and then decides whether it will remove the torrent or not. This prevents the code from logging why the torrent was in fact not removed, because the specific reason is burried in the whole if-block.
Detailed changes:

restructure code to follow the "early return" principle, and skips a torrent as soon as it's decided it does not meet the required criteria.
this allows to add log statements why exactly a torrent has not been removed.

Note:
This change depends on #1399

Since the pull request this is based upon was not merged, I'm not rebasing this on the current state. Let me know if you're still interested.


CopySpec filter replaces utf-8 BOM with '???' character sequence

Expected Behavior
this build script snippet:
apply plugin: 'distribution'
distributions {
    main {
        contents {
            baseName = project.ext.mavenArtifactId
            into ("/node_modules") { from "${projectDir}/node_modules" }
            into ("/src") {
                from "${projectDir}/src"
                    filter{ it.replaceAll('\\$VERSION_MAJOR\\$', '1')}
                    filter{ it.replaceAll('\\$VERSION_MINOR\\$', '4')}
                    filter{ it.replaceAll('\\$VERSION_BUILD\\$', project.hasProperty('buildNumber') ? project.buildNumber : defaultBuildNumber)}
            }
...

...operating on text files should result in revised text files in the distribution that are binary identical to the original except for the substitutions (if any).
Current Behavior
For both 5.3.1 and 6.8.3, on Ubuntu (18.04.4 LTS - Bionic Beaver), any text file that is passed to the filter, regardless of whether it includes substitutable text or not, and if it includes a BOM, will have the BOM replaced with the character sequence ???.
Context
For javascript/node applications, this behavior renders source files uninterpretable due to syntax errors, and prevents the app from running.
Steps to Reproduce
Follow README steps here:
https://github.com/chefhoobajoob/gradle-bom-reproducer
Your Environment
OpenJDK 11
Gradle wrapper 6.8.3
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

closing because this is due to the default encoding on the target system being different from others:
https://discuss.gradle.org/t/5-3-1-6-8-3-ubuntu-zip-distribution-replaces-bom-with-question-marks/39363/2?u=chefhoobajoob


type date string on input

i see this is great plug-in
but i want type a date string on the input cause sometime i just fill it by hand

I also have the same requirement. I need to be able to type in the date and time into the input field sometimes. Is this at all possible? Thanks for a very good component.

@viethoanganh79
@toonkii
Update the picker to version 5.0.0-beta.7
Now, there is [readonlyInput] property which could set the text input to NOT readonly and you could type your date time string in it.
You could read more about this from README

Now, there is [readonlyInput] property which could set the text input to NOT readonly and you could type your date time string in it.

I'm on 5.0.0-beta.11 and setting readonlyInput="false" has no effect.  The input is still readonly.

As an update, if I bind readonlyInput to a boolean in the component it works, but passing the string false has no effect.


🐛 prevent task-buttons dropping clicks after focus-out events

refs https://github.com/TryGhost/Ghost/issues/7255

adds a .appear-disabled CSS class that doesn't prevent pointer events like .disabled
updates gh-task-button:

use .appear-disabled class instead of actually disabling button
add check to guard against the button's assigned task being run multiple times whilst the spinner is running

This resolves the user profile slug issue where clicking the Save button whilst the slug input has focus would only trigger the input's focus-out event due to it immediately disabling the button.
There is a simpler alternative where we use the button's click handler to disable the button then re-enable once the task finishes but this would mean that an external save event (eg. a keyboard shortcut) would make the button spin and look disabled but a click would still run the task twice - the proposed solution in this PR will always prevent the button's task from running simultaneously.

LGTM, thanks! I'll look at adding tests for this button soon, I just ran into ember concurrency issues the first time around 😕


feat: fetch feed based on embed types

Overview
This adds the option to retrieve a feed based on the content type of the embedding. The content type can be a broad category such as image or a specific file type such as image/gif.
The full list of options are defined in src/neynar-api/v2/openapi-farcaster/models/embed-type.ts.
Example
# index.js
const result = await client.fetchFeed("filter", {limit: 3, filterType: "embed_types", embedTypes: ["image"]});
console.log(JSON.stringify(result));

$ node index.js | jq '{casts: [.casts[] | {text: .text, timestamp: .timestamp, embed_url: .embeds[0].url, embed_type: .embeds[0].metadata.content_type}]}'

{
  "casts": [
    {
      "text": "Hav nice day RARE fams 💎\n\n",
      "timestamp": "2024-08-29T18:00:15.000Z",
      "embed_url": "https://media.tenor.com/hzrZb_3tie4AAAAM/karen.gif",
      "embed_type": "image/gif"
    },
    {
      "text": "What’s the biggest threat for a creator?\nDeplatforming  https://ik.imagekit.io/lens/media-snapshot/769e76d012e77c2b84158f8964a58f7a5abf892d228f83649eb1f201d500f993.jpg",
      "timestamp": "2024-08-29T18:00:15.000Z",
      "embed_url": "https://ik.imagekit.io/lens/media-snapshot/769e76d012e77c2b84158f8964a58f7a5abf892d228f83649eb1f201d500f993.jpg",
      "embed_type": "image/jpeg"
    },
    {
      "text": "Hav nice day 💎💎💎",
      "timestamp": "2024-08-29T18:00:14.000Z",
      "embed_url": "https://media.tenor.com/tOldnV-a_3IAAAAM/have-a-good-day-have-a-nice-day.gif",
      "embed_type": "image/gif"
    }
  ]
}

talked with @valerierose about this

we can keep using an array of enums since explode = false is supported at the OAS level https://swagger.io/docs/specification/serialization/
defining a type for the [] of embed types is optional


Add option to set API base path

This helps to setup the server with a custom base path for cases where it is required.
var controller = Botkit.facebookbot({
    "webserver": {
      "base_path": "/bot"
    },
    ...
});

This will accepts requests like http://{hostname}/bot/facebook/receive.

Is there any update on this?

How is this more desirable versus using
https://github.com/howdyai/botkit/blob/79427015b3caef2064ce462aaaaab144abf1a623/docs/readme-facebook.md#controllercreatewebhookendpoints

This let's to define a custom route url to receive facebook requests.
For example, if the bot is behind a proxy on /my/bot (that was my case: an AWS Application Load Balancer where I had several apps behind it, so I had to route different paths to each app), without this, you can't setup the bot to receive facebook requests on http://example.com/my/bot/facebook/receive.

@inakiabt can you resolve the conflicts? Ill ask for a review once it can be merged clean.

Done! 👍


Add some unit tests for the favourites service

I think the UK/US spelling is going to cause some pain here.

Codecov Report

Merging #9 into master will increase coverage by 5.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   77.58%   82.75%   +5.17%
==========================================
  Files           8        8
  Lines         174      174
==========================================
+ Hits          135      144       +9
+ Misses         25       15      -10
- Partials       14       15       +1

Impacted Files
Coverage Δ

vsts/favourites.go
81.81% <0%> (+81.81%)
:arrow_up:

Continue to review full report at Codecov.

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


[owners] If there are multiple candidates, randomly choose only 1 candidate as a reviewer

auto mass assigning reviewers to a pull request doesnt seem like a good idea especially on a PR that touches a large number of files with different and multiple OWNERS usernames attached to them. since there are multiple "candidates" most reviewers will think that since there are other reviewers assigned that they do not need to review the PR

Related: https://github.com/ampproject/amphtml/issues/24338

Addressed by reviewer selection algorithm


[Question] Filter votes to submit whose address has 0 weight

When we submit a vote result to the OffchainVoting contract the result will be calculated by nbYes, nbNo - weight is not factored into the calculation. In the FE we are not filtering votes where weight is 0. If someone submits a number of bad votes the vote result could swing by count alone. The question is would this be a good, extra step to take to ensure our UI is sending the best votes it can? It's simple to implement, at least.
NOTE: @adridadou is working on something which may negate the need for this enhancement.

I forgot in the UI we insert the weights into prepareVoteResult (Snapshot lib). In other words, nbYes, nbNo is not a tally. Can close this.


Auto-assign people to issues and PRs

Background
In the CFF App Runtime Platform WG, @ameowlia struggles to keep up assigning issues and PRs to people and asked for some help automating this. I volunteered for a POC as noted as action item in our last WG meeting.
This is relevant for both issues and PRs and I took a look at both. From my POV, we need TOC-agreement for the PR-approach as we'd need a org-wide setting. I think, assigning issues seems to be more urgent and we could also try out a WG-specific solution for it and have a dedicated issue for it outside the central TOC/community project.
Proposal for Issues
I could not find a built-in option and checked two alternatives:

GitHub app: https://github.com/apps/auto-assign-issues
GitHub action: https://github.com/marketplace/actions/auto-assign-issue#working-with-issues

Option 1 did not work and seems not to be flexible for using GitHub teams but I had some success with Option 2, I am preferring 2b:
Option 2a (list of people):
This works just fine:

Docu: https://github.com/marketplace/actions/auto-assign-issue#working-with-issues
Workflow: https://github.com/org-plowin/code-review-poc/blob/b7afe35974dcbb34653a9ff8025b8d655319cf09/.github/workflows/auto-assign-all.yml#L12:

            - name: 'Auto-assign issue'
              uses: pozil/auto-assign-issue@v1
              with:
                  assignees: b1tamara,plowin,stefanlay
                  numOfAssignee: 1
                  allowSelfAssign: true

Issue got assigned: https://github.com/org-plowin/code-review-poc/issues/7
Workflow run: https://github.com/org-plowin/code-review-poc/actions/runs/3712401031/jobs/6293885487
Drawbacks:

requires a workflow per repo
adds many new locations to add WG members as individuals

Option 2b (GitHub "team"):

Docu: https://github.com/marketplace/actions/auto-assign-issue#working-with-prs
Github action config: https://github.com/org-plowin/code-review-poc/blob/a9c3dd614671b0721728668606457e57f10028c0/.github/workflows/auto-assign-all.yml#L12-L15:

            - name: 'Auto-assign issue'
              uses: pozil/auto-assign-issue@v1
              with:
                  teams: team-plowin
                  repo-token: ${{ secrets.TEST_TOKEN }}
                  numOfAssignee: 1
                  allowSelfAssign: true

Issues get assigned to ppl from the team:

https://github.com/org-plowin/code-review-poc/issues/10
https://github.com/org-plowin/code-review-poc/issues/11

Workflow run: https://github.com/org-plowin/code-review-poc/actions/runs/3712689614/jobs/6294496645
Drawbacks:

requires a workflow per repo
adds many new locations to add WG teams
(AFAICT) no option to exclude technical users that might be in the team
requires a token per repo (org:read and repo:admin) to make the GH action work, could be added as org secret (?)

Proposal for PRs
For PRs, we we could use auto-assignment which is available for github orgs and teams. Tried it out for my test-org after adding two colleagues:

3 members in the team: https://github.com/orgs/org-plowin/teams/team-plowin/members
A CODEOWNERS file adds this team to everything in this repo via wildcard: https://github.com/org-plowin/code-review-poc/blob/main/.github/CODEOWNERS
The team has been configured according to this documentation: https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-auto-assignment

Tech users can be excluded which was not tried

When opening a new PR, the CODEOWNER team is pre-selected by default for my repo. The two test-PRs got assigned and team-review was removed:

Example 1: https://github.com/org-plowin/code-review-poc/pull/1
Example 2: https://github.com/org-plowin/code-review-poc/pull/3

With this approach, people are added as "Reviewers" and not "Assignees" but this should be fine from my POV
Exemplary PR adding CODEOWNERS for one of the WG repos: https://github.com/cloudfoundry/pcap-release/pull/10
Drawbacks

Has to be applied on org-level. Also without a CODEOWNERS file, ppl will be auto-assigned instead of the team after adding the team as reviewer: https://github.com/org-plowin/no-code-review-poc/pull/1. From my POV, this is not a big issue.
CODEOWNERS should be maintained for each repo

Additional Questions
In general, I am also not so sure how flexible we are with the GitHub teams. For example in App Runtime Platform WG, we got some areas with experts or even dedicated team-responsibility. We might need a more fine-granular concept of GitHub teams representing this. For us, this might be fine as we just got a new GitHub team that might be used. But for a general concept, this probably needs some broader discussions. Let's use this issue to start them!

Thank you for looking into this @plowin!
😅 I definitely don't think any option will be free or easy.
🤔 I think it would be great if PRs + Issues were handled by the same mechanism. Maybe like this action? (Warning: I did not test it).
❓ What do other WG's handle this stuff? cc: @cloudfoundry/wg-leads ?

Hi @ameowlia , thanks for the feedback and link. It makes sense having the same mechanism but with the current tooling on the web, it does not seem to be possible.
The action looked promising and I tried it out in my setup. It seems to support configuring teams for both, issues and PRs.
Sadly, it does not have any round-robin functionality. When specifying numberOfAssignees to 1, it always takes the first entry from the list. Also checked in the code and there is nothing to get what we need. I raised an issue if this could enhance this workflow in general: https://github.com/wow-actions/auto-assign/issues/11
I'd also be curious how other working-groups handle this, waiting for further ideas.

We use GitHub issues as backlog items, so they go through the classical Tracker-like flow: icebox -> selected -> in progress (that's when we assign) -> finished -> accepted -> done. A flow that auto-assigned issues wouldn't work for us.
On the other hand, it would be convenient for issues opened by people outside of the team. At the moment we just dump them in the icebox, which means it make take us a few days to even notice them.

We use our FI WG meeting to assign people to PRs with the mentioned auto-assignment project settings of Github. For issues we don't have a strict approach. Basically, we try to react on them in a best effort approach and most of the time we don't have anyone assigned to them. During our FI WG we go over the issues which are still in our inbox and close or add a comment to them which transition the issues into our Discussion | Pending Review state. Additionally, we look into all issues in Discussion | Pending Review which have a Last Activity date newer than our last FI WG meeting. With this we guarantee that active issues will be updated latest during our FI WG meeting.

@beyhan - How do you get a list of all issues and PRs for your working group? We have projects, split up by area. But projects only allow you to link 25 repos, and our areas have more than that.

@Benjamintf1  - Curious to hear how you handle this issue Ben, since I know your area handles this on its own.

@ameowlia There is a tool/Github action developed by @rkoster to sync all our repos into one project like here. We struggled also with the Github limit of 25 repos. Not having everything in one place makes it unmanageable that is why that tool arise. It should be generic so that your WG could also have its own sync.

The Buildpacks area in the ARI WG has just one big pool of people and repos when in reality it only makes sense to assign certain users to certain issues. We'd love to have some automation like what is being proposed, but I think this would mean that we'd need to sub-divide our current area quite significantly (1 area becomes 15 areas). Do others have this type of sub-division within their area? Do we just need to bite the bullet and create lots of buildpack areas within ARI?

We have a similar issue with sub-divisions in areas.

@plowin Do you have a solution in the mean time? Can we close this?

Closing because of inactivity. @plowin please reopen if it is still relevent.


change me to mc (payeeMerchantCode)

NPCI UPI LINKING SPECIFICATIONS 1.6.pdf
followed the official document from npci in all the version of npci upi deeplinking specification it is mentioned to give payeeMerchantCode as mc.
uploaded the official document for reference

Hi @seemycoding thanks for raising PR according to specs, the PR changes are looking good to me but could you please also put the reference for the future reference.

Hi , @bhar4t  i have uploaded the official document for the reference in the first comment only

hi @bhar4t  have you updated the npm library with the latest code?

Hi Himashu, actually I'm away from my system, I need to update the version
first, then only changes will be deployed.
On Sun, 7 Apr 2024, 7:56 pm Himanshu Kumar, @.***>
wrote:

hi @bhar4t https://github.com/bhar4t have you updated the npm library
with the latest code?
—
Reply to this email directly, view it on GitHub
https://github.com/bhar4t/upiqr/pull/5#issuecomment-2041488248, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRP5X2LK2ZUEO3KBGH27XLY4FJR7AVCNFSM6AAAAABF3HCACCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGQ4DQMRUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

The changes has deployed.


[TextField] Add isRequired property

This PR adds required inputs as shown in the Material Specs. This is really useful to show that input is required before the user starts typing or submits a form.

I'm not sure if using styles.error.color is a good idea for the asterisk, but at least it's better than hard-coding red.

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@leMaik Thanks for this PR, that looks good!
However, the next branch has made some great progress. The TextField component was migrated. We are close from stopping the support of the already migrated component on the master branch, like the TextField. Would redoing this PR to the next branch makes sense for you?

@oliviertassinari It would, for sure! But right now we are doing a project that uses Material-UI 0.15.4 (0.16 once it is there), so I'd love to have this feature in it. I'd have to rebase our fork for every release otherwise. :confused:
I'll look into the next branch and add a new PR to bring this feature into that branch.

@oliviertassinari The unit tests of the next branch don't work for me. The readme says that I should use npm run test:unit, but that command doesn't exist. How can I run the tests?

I'd have to rebase our fork for every release otherwise. 😕

I think that we should drop the support of any component on the master branch already migrated to the next. I plan to release v0.16.0 this week-end. Aside from patch release (regression fixes). It's most likely to be that last one based on the master branch approach.
So I wouldn't worry about any rebase.

I'll look into the next branch

Thanks :D!

The unit tests of the next branch don't work for me.

Ew, we should fix this. Have you tried using npm run test?
The test suite has his own CLI. You can have look at https://github.com/callemall/material-ui/blob/next/test/cli.js if you want more details.

@leMaik Do you really need this PR in the v0.16.0 release? Otherwise, I'm going close it :grin:.

I actually spent most of the time thinking about the name. :D I'll change it to required.

I can just rebase our fork later, so you may as well close this.
Am 29.09.2016 7:16 nachm. schrieb Olivier Tassinari notifications@github.com:@leMaik Do you really need this PR in the v0.16.0 release? Otherwise, I'm going close it 😁.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

I can just rebase our fork later, so you may as well close this.

Thanks, let's move forward 🚀.

Just for the records:

The tests work with npm run test on my other computer (don't ask me why they didn't on the other one)
react-hot-loader dev dependency is missing but required for testing

@leMaik Thanks for the feedback. That should be fixed with https://github.com/callemall/material-ui/pull/5297.


Binary for Ubuntu 17.10

Is there any plan to distribute a binary for Ubuntu 17.10?
I cannot install one by apt and it seems that there is not the package of PowerShell in https://packages.microsoft.com/ubuntu/17.10/prod/pool/main/.
$ cat /etc/lsb-release                                                                                [faab9e7]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu 17.10"

Could you test the package for 17.04?

FYI
I got PowerShell Core Beta.9 loaded in Ubuntu 17.10


Spotify advertisements need tweaking

Some Advertisements that are moved to make them discrete do not properly fill the space, some aren't clickable either right now.

Cannot reproduce this issue with the current advertisements - I'm happy to reopen this if anyone experiences this.


Not working for nested complex properties

Hello!
Thanks for this plugin, great initiative!
I'm testing and I see some problems for nested entities:
For this input yaml
asyncapi: '3.0.0'
info:
  title: My API
  version: '1.0.0'
  description: |
    A description
  contact:
    name: A Team
    email<EMAIL_ADDRESS>
operations:
  onChange1:
    action: send
    channel:
      $ref: '#/channels/channel1'

  onChange2:
    action: send
    channel:
      $ref: '#/channels/channel2'

channels:
  channel1:
    description: Contains messages for channel 1
    bindings:
      kafka:
        topic: 'channel_1'
        topicConfiguration:
          cleanup.policy: ["compact"]
          retention.ms: 86400000
          retention.bytes: -1
          delete.retention.ms: 86400000
          max.message.bytes: 5000000
    messages:
      channel1Message:
        $ref: '#/components/messages/Channel1Message'

  channel2:
    description: Contains messages for channel 2
    bindings:
      kafka:
        topic: 'channel_2'
        topicConfiguration:
          cleanup.policy: ["compact"]
          retention.ms: 86400000
          retention.bytes: -1
          delete.retention.ms: 86400000
          max.message.bytes: 5000000
    messages:
      channel2Message:
        $ref: '#/components/messages/Channel2Message'

components:
  messages:
    Channel1Message:
      description: |
        A description
      contentType: application/json
      headers:
        type: object
        properties:
          tenantId:
            type: string
            format: uuid
            description: "The UUID representing the tenant"
            example: "550e8400-e29b-41d4-a716-446655440000"
          key:
            type: string
            description: "The unique key within the tenant's scope."
             I'm very glad that my development has been useful to someone! It's nice to hear =) For now, try moving the description of this class to the schemas block. I will update the README soon and fix the generation of nested entities based on messages!

@huan-lui There may also be an error in this section, as additionalProperties is used for generating a Map.
                additionalProperties:
                  anyOf:
                    - type: boolean
                    - type: string
                    - type: integer

I tried adding a nested entity in messages, and I succeeded. You just didn't specify properties for the nested object.
Try like:
    RequestDtoWithProperties:
      payload:
        properties:
          someString:
            type: string
          someOneObject:
            type: object
            description: Inheritance object
            properties:
              someField:
                type: string
                description: someField description

I made a mistake; the object is indeed not being created in the common package. I will fix that.

@huan-lui I fixed it. Please use version 0.5.1 now.
plugins {
id "io.github.yojo-generator.gradle-plugin" version "0.5.1"
}

@huan-lui Can I close the issue? Did everything work out? Examples of possible specification content can be found at https://github.com/yojo-generator/generator/tree/master/src/test/resources/example/contract.


Default result filters

I would like to filter out binary files from results. Currently I use ResultListFilter -v Binary file but that has to be manually run after every <leader>vv, :Grep and others. Would it be possible to add an option to define default filters?

You have a couple of options here. If you are using vimgrep, you can use EasyGrepFilesToExclude to exclude them. EasyGrep also supports other grep programs that will skip over binary files by default; you might be interested in ack, ag, or pt.

Indeed, I totally forgot that the standalone tools have options to ignore binary files.


Partial wasm implementation (not crashing at build anymore)

When combined with https://github.com/alexcrichton/filetime/pull/39 it enables usage of tar-rs in WebAssembly. Some functions have an implementation, others less critical are left with unimplemented!().

A minimalist wasm example logging all tar entries paths is available here: https://github.com/mpizenberg/wasm-tar

Thanks! Like with the filetime PR though could this return errors instead of panicking where possible?

Ok I've made the modifications for functions returning io::Result here and in filetime. They now return an error instead of panicking.

fix #191


Fix error import

What changed?
Fix error import for retry task error

Why?
The initialized is using the wrong import from client generated code

How did you test it?

Potential risks

Coverage increased (+0.6%) to 67.718% when pulling 43344f3b9ed111da3fbf67942b90d5381e96dc7d on fix_import into a24a6c0da32921eeb0dd44e957b2960f630a4cd9 on master.


major update on cbo create

old version https://developers.sap.com/tutorials/abap-extensibility-cbo-create.html
new version https://developers-qa-blue.wcms-nonprod.c.eu-de-2.cloud.sap/tutorials/abap-extensibility-cbo-create.html

Hi Arianna, thanks for reviewing, hope its easily possible with the diff tools.
Thanks and Regards
Ulrike

list of old vs new tutorial versions
cbo creation

old https://developers.sap.com/tutorials/abap-extensibility-cbo-create.html
new https://developers-qa-blue.wcms-nonprod.c.eu-de-2.cloud.sap/tutorials/abap-extensibility-cbo-create.html

cbo ui generation

old https://developers.sap.com/tutorials/abap-extensibility-cbo-ui-generation.html
new https://developers-qa-blue.wcms-nonprod.c.eu-de-2.cloud.sap/tutorials/abap-extensibility-cbo-ui-generation.html

cbo logic

old https://developers.sap.com/tutorials/abap-extensibility-cbo-logic.html
new https://developers-qa-blue.wcms-nonprod.c.eu-de-2.cloud.sap/tutorials/abap-extensibility-cbo-logic.html

cbo ui adaptation

old abap-extensibility-cbo-ui-adaptation.html
new https://developers-qa-blue.wcms-nonprod.c.eu-de-2.cloud.sap/tutorials/abap-extensibility-cbo-ui-adaptation.html

cbo calls external service

old https://developers.sap.com/tutorials/abap-extensibility-cbo-execute-outbound-service.html
new https://developers-qa-blue.wcms-nonprod.c.eu-de-2.cloud.sap/tutorials/abap-extensibility-cbo-execute-outbound-service.html

Review of cbo ui adaptation done - no comments here

Hi @AriannaMussoBarcucci , can you please do the final review and merge then : )
The Test Yourself issue was solved, but stays on QA only, see
Joshua: The reason we do not copy the rules.vr file to production is that the production repo is public and that would make the answer exposed.  The parser works to retrieve the validation questions from the Contribution repo to display them when redering in the production page.


Use CODECLIMATE_REPO_TOKEN from ENV if not defined

Instead of encouraging tokens to be stored in source code, this PR enables the use of CODECLIMATE_REPO_TOKEN being fetched from ENV.

Please change getAllFiles or just remove it from the source code to get the PR merged.


nvim-lsp-file-operations: init at 2024-10-24

Added: https://github.com/antosha417/nvim-lsp-file-operations
Updated my GPG fingerprint due to hardware changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4868

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

x86_64-linux

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

aarch64-linux

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

x86_64-darwin

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

aarch64-darwin

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

Result of nixpkgs-review pr 358250 run on x86_64-linux 1

2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

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

x86_64-linux

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

aarch64-linux

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

x86_64-darwin

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater

aarch64-darwin

:white_check_mark: 2 packages built:

vimPlugins.nvim-lsp-file-operations
vimPluginsUpdater


Signing context may not be selected at runtime.

In an ideal world there would be sign and verify methods able to take a signing context from JS at runtime.
We've been scratching our heads over the current situation. The context is fixed to substrate, and the requirement seems to be that any signing context is defined at build time. Besides forking this repo and publishing a package with the signing contexts cennznet needs, are there any other methods that might work for us?
The underlying cause of the issue is a static lifetime requirement on the signing context that comes from the merlin crate, which is used by w3f's schnorrkel.

I have run into this issue when creating a wrapper for Schnorrkel in Python.
In that too, it is impossible to change the signing context, which kinda ruins this library's use as a multipurpose solution.

Interesting, we could submit a pull request to merlin, not sure if they'd accept it, but hey..
It's not afaik necessarily undefined behavior for foreign code to pass rust a &'static [u8], just even less safe than the normal FFI boundary.
We all know merlin consumes its instantly, and even as a &'a [u8], so passing a reference remains fine unless something changes.
Rust's Box<[u8]>: 'static and ditto Vec<u8> but you can only obtain the &'static [u8] safely with leak::<'static>, so you could reallocate the context temporarily and either (a) you initialize only a few signing contexts on startup, which risks memory leaks, (b) you depend upon leak being a wrapper around into_raw(), or (c) you write leak yourself using into_raw.  I think (c) is preferable, but just passing the reference sounds acceptable too.
There is a separate concern that merlin/strobe might not be the fastest hashing library, which sucks if people call SingingContext::bytes.  I never quite got around to doing the benchmarks, but we always supported any hash function with an XoF, which currently means Shake128, but Blake2x works too if anyone implements it https://github.com/RustCrypto/hashes/issues/83
Anyways..
There are a bunch of breaking changes in schnorrkel now, so we should ideally resolve the hashing question before the sc hnorrkel audit finishes and substrate updates.

We cannot expect merlin to be changed, so we should take another route, either abusing leaking, using empty labels, or just dumping or forking merlin.  I like both merlin and strobe, but we cannot reject dynamic langues, so..
We should benchmark merlin vs. shake128 for our use case I think.

No worries, and thanks. Let me know if there's anything we can do in the meantime. Somewhat time critical for us as well so hoping for speedy resolution.

I've taken the meaningless labels approach while adding our own domain separation in fa0a6f72f46f04a8f2af83d896952a9e093d47c2. We should still benchmark merlin vs shake128 though.  I also removed merlin from our bls crate where it added nothing.

Wonderful news, in that case we're close to a solution. The verify methods still have a static lifetime requirement, for example: https://github.com/w3f/schnorrkel/blob/fee6fdf0b5fd087d9531825c7165abe29f2fe21d/src/sign.rs#L213

Please review https://github.com/w3f/schnorrkel/pull/40

Merged.  We require 0.6.1 now since I got overzealous and yanked 0.6.0

We've an audit starting this week, so expect a breaking 0.7 before August.

Cheers Jeff, will test in the morning and close if resolved. Appreciate the heads up re 0.7.

From: Jeff Burdges<EMAIL_ADDRESS>Sent: Monday, July 8, 2019 8:04:44 PM
To: paritytech/schnorrkel-js
Cc: Wilfred Godfrey; Author
Subject: Re: [paritytech/schnorrkel-js] Signing context may not be selected at runtime. (#12)
We've an audit starting this week, so expect a breaking 0.7 before August.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/paritytech/schnorrkel-js/issues/12?email_source=notifications&email_token=AKH72S5QFZ3URW7PZECXL7LP6LYJZA5CNFSM4H4XDLV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZMJSNY#issuecomment-509122871, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKH72SYFIMC4PG6FW66GPGDP6LYJZANCNFSM4H4XDLVQ.

Please review https://github.com/paritytech/schnorrkel-js/pull/13


Pages that have a name starting with 'public' cannot be accessed from the frontend (e.g. 'publications' or 'publicity')

Affected Version
SilverStripe 4.2.1
composer info --direct
phpunit/phpunit            5.7.27
silverstripe-themes/simple 3.2.0
silverstripe/recipe-cms    4.2.1
silverstripe/recipe-plugin 1.3.0

Description
Creating any page starting with public in the URLSegment (for example publicity or publications) will lead to the page not being accessible through the frontend.
Steps to Reproduce

Fresh SilverStripe 4.2.1 install using composer
Setup database connection and run dev/build
Create a new page at the top level hierarchy, name the page publicity or Publications
Publish or save the page
Click the link to open the page in the frontend.

A 404 Page Not Found error is shown, and one may also observe that the base tag generated in the HTML output contains a trailing /public, which it does not for all other pages.

Just tested this on a 4.2.1 site and I can’t recreate it. I guess that means this only affects people who point their vhost to the app root, rather than the public/ directory?

Indeed my vhost is pointed at the app root. Maybe this could be done in the .htaccess file in the root directory then?

It is hitting the public/index.php
But I just realized that changing only the htaccess might still leave the <base tag with /public at the end, which would then cause all links to contain the /public/ (that isn't actually required) in their URL.

Yes this is a case of the "soft" support for mis-configured webroot.
If you set your server's webroot to public you won't get this issue. There is possibly a htaccess regexp rule we could tweak, but the real fix is to reconfigure your webroot.

Yep, sorry - "soft support for mis-configured webroot" is a good way to put it. If you follow our upgrading instructions at https://docs.silverstripe.org/en/4/upgrading/#step8, you shouldn't end up in this state.


chore(main): release 0.24.0

:robot: I have created a release beep boop
0.24.0 (2023-04-19)
Features

Connections: use default size for delete button (#269) (8a794f5)

Bug Fixes

Connection: change user field label (#266) (be33a4f)
Database: fix bad url in database usage snippets (#271) (bc0ccf9)
Workspaces: hide administration link for non admin/staff user (#267) (6c7614c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.24.0 :sunflower:


Allow passing views into fmi2SetReal

These values can be evaluated lazily in many Julia packages to avoid excess allocations, but the typing on a couple functions prevents that.

Dear  @DhairyaLGandhi,
this is an open issue in FMI.jl and should be fixed for the entire library FMIImport.jl in one step (there are much more places where this fix makes sense). Maybe one of our students can support here?

Dear  @DhairyaLGandhi,
this is an open issue in FMI.jl and should be fixed for the entire library FMIImport.jl in one step (there are much more places where this fix makes sense). Maybe one of our students can support here?

Right, is it possible to link to places where the typing needs to be fixed?

I added the remaining functions and triggered a release :-)


messed up

.

this decided to include 30 commits and it was easier to create a new PR than fix this


date picker not picking value entered manually when used with nzFormat="dd/MM/yyyy"

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-xuxsha?file=src/app/app.component.ts
Steps to reproduce
use the datepicker with nzFormat="dd/MM/yyyy" or any format where the day starts at first, and try to enter the date manually in the input without selecting it from the datepicker, the datepicker does not take the date.
What is expected?
the datepicker should automatically select a date when it's entered manually in the input
What is actually happening?
the datepicker is disregarding the value entered

Environment
Info

ng-zorro-antd
11.4.0

Browser
all browsers

hello, you can try to replace it to nzFormat="'dd/MM/yyyy'" (whith two ' ' inside). Hope this help.

@tongtanhieu did not work.

@eliashourany Should use date-fns. I have added it into documents as many people are confused abort this. https://github.com/NG-ZORRO/ng-zorro-antd/pull/6627/files


run actions for main only

I think we don't need the check for other branch for now and it will minimize the fail messages to our email.

looks good since when I push this change to branch update_actions, the action didn't run.  But after creating the PR, the action ran.


Function parameter with a default of None is saying that's also the type

Microsoft/vscode-python#3244
def spam(x=None):
    pass

spam()

That ends up saying that spam() has an argument of x: None=None which is technically correct based on the default value, but None is so often used as placeholder to mean "no argument provided" that assuming the type is None is too strict in most cases.

I think it might be a good idea to not show None at all for the type. Our current implementation collects info from all calls to fill things in when types aren't provided, so if I change that function a little and pass in a value, you can see that the signature will change:

I've just found some goofyness when you go to use Optional, so that's not a super great option in the current PLS implementation, unfortunately. I'll file a bug for that separately, though.

Ah, I don't mean to remove None altogether, just to not display it in the user-visible string. We'd still want None to have for generating that return type, for example, since it can technically return None.

Elaborating:
In the future, we want to stop doing "collect all calls and union types" method in favor of just walking the function's AST including type hints. In that case with this function, the user hasn't explicitly written that it's supposed to be Any or some other type, so arguably, "None" may be the best we can do. Especially in the original case where the function is just pass with no uses of the argument.
A case where a function has a default of None and no type hint might be the one special case we want to have, since it's so common in current code.

I'm going to close this, since the new language server outputs:

As for my example with:
def f(x=None):
    return x

f("4")

We're treating x to be of type NoneType (as I suspected would occur in https://github.com/Microsoft/python-language-server/issues/375#issuecomment-437208649), so f("4"). isn't going to show completion for strings. I've made #604 to see about potentially changing the behavior x=None to emulate x=Optional[_T] (where _T is some generated type) or similar to better support unannotated code.


CXXODM-61 Write a docs chapter about the BSON mapper

I feel like I'm missing the link in how this relates to models and how nested documents and arrays work.  This is a good overview of the wrapper, but doesn't offer a practical example


Resolve by hostname

CANServer supports mdns in version 2.1.0. When using your phone as a wifi hotspot you do not know the IP address that CANServer will be assigned but will be able to access the data via http://canserver.local

I'm confused. Zeroconf is implemented, so you should be able to tap "scan"
to get the canserver.local broadcast.
On Mon, Feb 21, 2022, 2:12 PM Michael Bloom @.***>
wrote:

CANServer supports mdns in version 2.1.0. When using your phone as a wifi
hotspot you do not know the IP address that CANServer will be assigned but
will be able to access the data via http://canserver.local
—
Reply to this email directly, view it on GitHub
https://github.com/osunick/candash/issues/7, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD72K5GL5X5V6WLSFFH5UDU4K2DLANCNFSM5O7WNZNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

You're right. It does work. Regression issue on my phone with mdns. Why the scan button? Why not just automatically "scan" if no panda does is being received (I wasn't sure what I was even scanning for :) )

Simple get unsatisfying answer is that I haven't really gotten around to
designing a good onboarding experience, and the UX in place is really
designed for my testing rather than the best end user experience. I will
definitely get to it, but I figured get the test app out to see if it's
even worth doing (otherwise I only have to build for myself)
On Mon, Feb 21, 2022, 2:56 PM Michael Bloom @.***>
wrote:

Closed #7 https://github.com/osunick/candash/issues/7.
—
Reply to this email directly, view it on GitHub
https://github.com/osunick/candash/issues/7#event-6114374831, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD72K4SAY6ZVE3LC34CWDTU4K7LBANCNFSM5O7WNZNQ
.
You are receiving this because you commented.Message ID:
@.***>

Totally understand! You've done a fantastic job so far!!! I've been using it for a few days now and really enjoying it.


Serialize returns INVALID

The serialize() algorithm in Section <IP_ADDRESS> does not include the case where an element of the input array is a string.
However, exactly this happens in Lines 4 of coreSign(), where the string comm passed as input value to serialize(). Therefore, currently serialize() would return the value INVALID. Besides, the commitment is missing in Line 2 of CoreVerify().

This is absolutely correct! Resolved by PR 297. The commitment value is removed since it did not seem to serve much its original purpose, which was to support Blind BBS Signatures, now its own document.
Thank you for raising the issue! Will mark it as resolved and close it if there are no objections.


HiDPI Scaling

PyQT HiDPI scaling is not set, which causes fonts not to display properly on HiDPI display's

Fix available in https://github.com/earthinversion/SystemMonitorApp/pull/3


Create Privacy Policy page

These two templates are recommended by Tate:

https://www.rocketlawyer.com/gb/en/sem/privacy-policy?gclid=EAIaIQobChMI34S-lZHX6AIViKztCh1qAQQFEAAYAiAAEgJRH_D_BwE
https://app.termly.io/dashboard

Here's the content: https://www.notion.so/Privacy-Policy-1c35118f107a4e09a7ea5f354ee92b4e


Docker image

Hi man, I really like this implementation and it works quite nice as opposed to others I found. The support is not so big but this one looks quite promising, SO BIG THANKS.
However it would be even more interesting to dockerize it. I can help with the image if you need
I got something here, let me know if it helps or needs to be adjusted:
https://github.com/steevehook/webrtc-conference-stun
Also created a PR on this, glad to contribute

"The support is not so big"
Man, I don't know whether to laugh or cry.  I've gone over the top in supporting everyone over the years by respond to nearly every email in my inbox and mailing list. And by making it as easy as possible to compile and run for all scenarios.
In any case Steve, it is nice to meet you.  And I appreciate your Dockerfile contribution. I'll leave some comments on your PR.  If you can also include your documentation change into resources/readme.src, that would be great.
jselbie

Sounds cool man. I mean I looked a while for a good implementation which works fine with my signalling server and this is the best I found. The rest where either not functioning because of poor docs and/or not properly implemented, I am glad I can contribute to open source, this is my first contribution so I'll be glad to apply the necessary changes in the PR


Create blog for ChatGPT

resolves  https://github.com/dbt-labs/docs.getdbt.com/issues/3367
What are you changing in this pull request and why?
Adding blog post by @pbritosa-sage along with @jasnonaz
Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry website/static/_redirects
[ ] Ran link testing to update the links that point to the deleted page

@runleonarun Is there any action item for me here?

@runleonarun i fixed some artifacts throwing off formatting in the YAML snippets, also I talked with @jasnonaz and we think because ChatGPT performs poorly in the 'bonus' section and displays incorrect code, it might add more confusion than value and so we edited that final piece out.
otherwise good to go.
A note for the medium term: this piece contains a lot of pictures of text to show the output from ChatGPT, which is a big accessibility concern. I think as LLMs become baked into everything we do we're going to need a style point for how we manage prompts and output from LLMs in an accessible way. Not a blocker for this piece but something for yall to consider when there's capacity.

@pbritosa-sage you are good! We will get this published once I give it a last look and @gwenwindflower approves it!

@runleonarun I added some requests in here: https://github.com/dbt-labs/docs.getdbt.com/issues/3367#issuecomment-1638813530 can you please take a look before publishing?

@runleonarun sorry, one super simple last change to the text!
"Fortunately for me, this was February 2023 and ChatGPT had just come out and boy, was I glad to use it."
into
"Fortunately for me, this was February 2023 and ChatGPT had just come out. And boy, was I glad to have it."

Also, my bio seems to have a typo:

OK @pbritosa-sage I made those changes and updated the images to be smaller (but you can click them to see them close up). If everything looks OK, then we can publish!

Looks great! Thank you!

Thanks so much for this blog post, @pbritosa-sage!!

@runleonarun thank you and everyone on the team for you editing and publishing work! What's the final link that I can share? Do you usually share these posts on any platform?

Here's the final link: https://docs.getdbt.com/blog/create-dbt-documentation-10x-faster-with-chatgpt
I will share it in a July release note like this one from June

@jasnonaz or @gwenwindflower where do you usually share these?

That's awesome, thank you!


IdP Entitlement Decision cache not work as expected in clustering environmnet

The issue is related to IS 5.1.0.
Steps to reproduce the issue. Setup node IS cluster (5.1.0)
Test Case 1

Update policy SOAP request sends to node1.
Publish policy SOAP request sends to node1
XACMLDecisionQuery SOAP request sends to node 2.
4.XACMLAuthzDecisionQuery returns incorrect output which sends to node 2

Test Case 2

Update policy SOAP request sends to node1.
Publish policy SOAP request sends to node 2
XACMLDecisionQuery SOAP request sends to node 1.
4.XACMLAuthzDecisionQuery returns incorrect output which sends to node 1

Fixed: https://github.com/wso2/product-is/issues/5310


Rendered markdown for ctrl directions

https://github.com/microsoft/sqlworkshops-sql2022workshop/tree/main/sql2022workshop/03_BuiltinQueryIntelligence/pspopt#see-a-workload-problem-for-psp "See a workload problem for PSP", step 5, it should be ctrl+c but it is just showing as + in the rendered markdown

Nice catch. Fixed


unit of radius in circle RDD

what is the unit for radius in circle RDD?

This is an answered question. Refer to:Issue https://github.com/DataSystemsLab/GeoSpark/issues/100


Rems with folded content/subrems don't get the black triangle/arrow point indicating it.

In the pic, only 2 rems have the collapse/uncollapse triangle. But there are actually four of the displayed rems that have more content (that is collapsed). Thus, we think they are empty, but I just found out they are not.
Even hovering over the text won't show up the triangle (some other times hovering over it makes the triangle show up but very dimmed/greyed out).
I realised these rems have some content by chance: by accidentally pressing the Command+down arrow while the cursor was on "Common errors of annotators" (then I ckecked the others and saw that the next one also has some content, but not the last one). See:

The red dash at the left margin just indicates another subrem that also has some content/subrems but no indicator (triangle) is displayed either.
This is happening everywhere. In some other cases, the black triangle is displayed when hovering on the text (just very dimmed and with at least part of it behind the first letter/s of the text), and we can (hardly) see it if we pay close attention and/or zoom in (literally) the text.

Can you elaborate this with gif(mp4) please? It will be helpful to reproduce your case.
Or, Can I ask you a simple remnote page which is containing your problem? (You can export it with remnote specific format

Thanks!


style spectrum viewer - works only in dark mode so far

Bring over functionality from old-main PR85 to new main and will close #85.
Keeping in draft mode for now while we iron out these issues:

For now, this makes all the plot labels white, so they will disappear in light mode. We need to figure out how to trigger style updates for all the viewers when the darkmode is toggled.
The y-axis tick marker numbers are wonky. They are fine on the first galaxy, but when you switch to other galaxies with different y-axis values, only the numbers that were on the original galaxy plot appear.

This is being superseded by Jon's version.


Two "postal.yml" files - which one should we set?

Hey,
Fresh install. Here's something interesting:
root@server:~# locate postal.yml
/opt/postal/app/spec/config/postal.yml
/opt/postal/config/postal.yml
root@server:~#

Which is the "correct" postal.yml file? Both have the same content.
Thanks

Hi Razva,
I have multiple instances in staging mode, and always used /opt/postal/config/postal.yml.
Regards,
Rahul

Ok, thank you! Any idea what /opt/postal/app/spec/config/postal.yml does?

Not sure, may be someone else should help you. I am also looking for same now.


[metrics] Report metrics when operator-sources fail to reconcile

Problem:
The OpenShift Marketplace does not have a method to communicate to the user,
when an operator source cannot connect to quay.io due to connectivity issues.
Solution:
This PR adds the custom metrics collection logic for three major operator sources -
redhat, community and certified. When an operator source fails to reconcile,
the respective registry-namespace and the operator-source name is reported by the
prometheus. These metrics are further whitelisted to add them to telemeter, so as
to create an alert.

Please make this against the operator-framework/operator-marketplace repo.


Create Humble Branch from Rolling

The first steps in creating a new branch for Humble Hawksbill from Rolling.
Migration command:
python migration-tools/migrate-rosdistro.py \
  --source rolling \
  --source-ref f499b3cf55d5a35e0a89f158f089cd5305b12016 \
  --dest humble \
  --release-org ros2-gbp > migration.out 2> migration.err

31 failed to bloom successfully. This is most frequently caused by missing rosdep dependencies.

aws-robomaker-small-warehouse-world
control_box_rst
control_msgs
cyclonedds
fastcdr
fastrtps
fmi_adapter
fmilibrary_vendor
gazebo_ros_pkgs
ign_rviz
ignition_cmake2_vendor
ignition_math6_vendor
locator_ros_bridge
moveit
mrpt2
ntpd_driver
ompl
rmw_connextdds
rmw_gurumdds
ros1_bridge
ros_ign
ros_workspace
rosbag2
rosbag2_bag_v2
rosbag2_storage_mcap
rosidl_typesupport_gurumdds
sdformat_urdf
usb_cam
v4l2_camera
warehouse_ros_mongo
webots_ros2

This is most frequently caused by missing rosdep dependencies.

For this run the primary cause is actually that the release was still missing in Rolling after the Jammy migratio (#32036). rosdep resolution failure for any platform, including RHEL 8 and Debian Bullseye can block the migration script which has no way to know which platforms are "critical" and which aren't. So we can restore a good few of these with a normal manual bloom-release after the migration.

Packages skipped do to lack of current Rolling release

aws-robomaker-small-warehouse-world

aws-robomaker-small-warehouse-world is not released in the source distribution (release version is missing or blank).

gazebo_ros_pkgs

gazebo_ros_pkgs is not released in the source distribution (release version is missing or blank).

ign_rviz

ign_rviz is not released in the source distribution (release version is missing or blank).

moveit

moveit is not released in the source distribution (release version is missing or blank).

rmw_gurumdds

rmw_gurumdds is not released in the source distribution (release version is missing or blank).

rmw_connextdds

Command '['git', 'bloom-release', '--non-interactive', '--release-increment', '2', '--unsafe', 'humble']' returned non-zero exit status 1.

ros1_bridge

ros1_bridge is not released in the source distribution (release version is missing or blank).

ros_ign

ros_ign is not released in the source distribution (release version is missing or blank).

rosbag2_bag_v2

rosbag2_bag_v2 is not released in the source distribution (release version is missing or blank).

rosidl_typesupport_gurumdds

rosidl_typesupport_gurumdds is not released in the source distribution (release version is missing or blank).

sdformat_urdf

sdformat_urdf is not released in the source distribution (release version is missing or blank).

warehouse_ros_mongo

warehouse_ros_mongo is not released in the source distribution (release version is missing or blank).

webots_ros2

webots_ros2 is not released in the source distribution (release version is missing or blank)


VictoriaMetrics operator: support multiple namespaces watchNamespace param

Hi everyone,
We need to install two instances of VictoriaMetrics operator on one k8s cluster(it is requirement to separate metrics of infrastructure and cloud from business). And we expected that operator  will manage Vmagent, Vmalert, Vmsingle resources only in self namespace.
But there some errors with VictoriaMetrics operator, it tries to update theis resources from another namespace(second operator).
We also have found and tested env variable WATCH_NAMESPACE which described in the issue https://github.com/VictoriaMetrics/operator/pull/329
And it really works, VictoriaMetrics operator starts manage resources only defined namespace, but at the same time it stops managing not only Vmagent, Vmalert, Vmsingle resources, but all VictoriaMetrics's stack resources like vmservicescrapes, vmstaticscrapes, vmpodscrapes, vmrules that can be defined in other namespaces and should be scraped by vmagent/vmalert.
Do you have any assumptions and suggestions which would help us?
P.S. Prometheus operator supports such deployments through next  cmdline flags https://github.com/prometheus-operator/prometheus-operator/blob/main/cmd/operator/main.go#L163-L168.

Hello, only operator deployment with WATCH_NAMESPACE per namespace.
Need to think, how to implement it better, for now I don't see any easy way.

Just to add a +1 to this issue - it is biting me as well. I used the flags that Alex mentioned in prom-operator, hoping we can get something similar added the VM operator to maintain feature parity.

I think this can solve your problem
https://github.com/VictoriaMetrics/operator/issues/641

Having a cluster-wide operator with an option to limit it to only certain namespaces would significantly improve the experience and follow security best practices.
I do want to use a single operator instance for the whole cluster, but I also don't want to include VM into the privileged workloads scope. vm-operator-manager-role cluster role requests access to secrets resource, meaning it can read all secrets and this privilege is unnecessary. (this is not to mention clusterroles and clusterrolebindings, VM operator must not need to even touch them)
I was planning to create a separate cluster role vm-operator-manager-role-scoped that would operate on all sensitive resources like secrets, and create role bindings for the namespaces that run vm clusters, something like this:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: vm-operator-manager-scoped-rolebinding
  namespace: monitoring
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: vm-operator-manager-role-scoped
subjects:
- kind: ServiceAccount
  name: vm-operator
  namespace: monitoring-system

That way, I would be able to somewhat decrease the privileges of vm-operator. But that attempt failed with:
k8s.io/client-go@v12.0.0+incompatible/tools/cache/reflector.go:169: Failed to watch *v1.PartialObjectMetadata: failed to list *v1.PartialObjectMetadata: secrets is forbidden: User "system:serviceaccount:monitoring-system:vm-operator" cannot list resource "secrets" in API group "" at the cluster scope

It would be nice to specify multiple namespaces like this:
env:
- name: WATCH_NAMESPACE
  value: namespace1,namespace2

A good example where it works like that is RabbitMQ Operator.

Must be fixed at v0.42.0 release
Now operator supports comma separated values for WATCH_NAMESPACE env variable.
It doesn't use any cluster wide permissions. And requires a minimum set of permissions.
Few issues left for now, operator creates only namespaced rules for vmagent. It could be fixed by external serviceAccount.


RIAssigner on main Galaxy toolshed

Hi, do you plan to add your tool to the https://toolshed.g2.bx.psu.edu/ ?

should be there: https://toolshed.g2.bx.psu.edu/view/recetox/riassigner/f6bf8f1f3224

My bad, I missed it


Changed html markup of all email related dashboard pages to bootstrap 4 (#8567).

@bitterdev – I think you opened this against the wrong branch. This has to be opened against release/9.0.0 instead of develop.

yes. my mistake. i have created a second pull request #8603


Instancing a Node with Unique/Unlinked resources

Godot version:
Any
OS/device including version:
Any
Issue description:
Whether you duplicate or instance an object its resources are always linked back to the original node/scene. This means that technically you never really  get a 100% unique object. This is a problem because if you wanted to tweak the object at run-time you basically have to hack together something every time to further duplicate/unlink the resources, which doesn't always work either at that. Having
Steps to reproduce:
Having the ability to create a complete copy and not just a half referenced clone really is a must have feature. I can't think of a reason why you won't want this functionality.  maybe an extra parameter in the "instance" method to specify a complete copy?
Minimal reproduction project:
There might be another similar thread but not sure about it.

Take a look at
https://github.com/HugeGameArtGD/Solus-Stunts/blob/95b4beaad498732e57d4ea231731e0b18fed78d7/source/car/car.gd
It's possible to create a new ressource (e. g. Spatial Material) and assign values to it. This ressource is unique and can be applied to the object.

Looks the same as #1213.

That thread seem to talk about duplicating an existing node in the tree. I on the other hand want a 100% on-tethered copy of an instanced/packedScene. Different context I suppose.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Error: Column cell_type is not found

Hi,
Thanks so much for this helpful tool! When I analyze my single nuclei dataset, I'm able to run pseudobulk and mixed model analyses through Libra but when I attempt to run a single cell analysis I receive an error message. I've listed two examples of code below demonstrating the successful running of the pseudobulk analysis and the error I receive with single cell.

DE = run_de(oligos, meta = meta, de_family="pseudobulk",de_method="limma",de_type="voom")
[1] "1"

DE = run_de(oligos, meta = meta, de_family="singlecell",de_method="wilcox")
Normalizing layer: counts
Performing log-normalization
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
[1/1] working on cell type: 1 ...
object 'method' not foundError in group_by():
! Must group by variables found in .data.
✖ Column cell_type is not found.

Any thoughts on why this is occurring?

Hi, there was a minor bug that has been fixed.

Thanks for the reply! Unfortunately, I'm still getting the same error. I ran the check inputs function on my data and there were no errors so no sure what's causing the issue.

DE = run_de(d, de_family = 'pseudobulk', de_method = 'edgeR', de_type = 'QLF')
[1] "oligos"
DE = run_de(d, de_family = 'singlecell', de_method = 'wilcox')
Normalizing layer: counts
Performing log-normalization
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
[1/1] working on cell type: oligos ...
object 'method' not foundError in group_by():
! Must group by variables found in .data.
✖ Column cell_type is not found.
Run rlang::last_trace() to see where the error occurred.

I am having the same problem, even with the most updated version.

I also have the same problem

Hi all,
Do you mind sharing with me your datasets so I can figure what might be wrong?
Best,
Alan

Same problem here


Child component styled component not being rendered

So we are in the progress of migrating our next from 5 to 8.
We have  a page let's say x which contains styled components
import { StyledX } from "components/x/styled-components"; render() { return (... <StyledX> <Card></Card><Styled> ...)}
and Card component as follows:
import { StyledY } from "components/y/styled-components"; render() { return <StyledY> <Something></Something><Styled>}
The StyledX styles are rendered properly. However StyledY styles are present in the html and hence not being rendered.
This is working fine on Next5

Can't help you without a reproduction, also strongly recommend looking at the styled-components integration example as a lot has changed since next v5.


Add create_framebuffer_from_gl_name for interop with surfman and similar crates.

surfman supports multicontext GL on some platforms by creating a texture shared between contexts, which one context uses as an FBO, and the other context samples from. This change to glow makes it easier to use the FBO in a context that is also doing most of its rendering using glow.

Awesome, thanks for merging @grovesNL !


Mediaset Infinity broken

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[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. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Italy
Description
I cannot download from videos from Mediaset Inifinity anymore.
The video I tried to download:
yt-dlp --verbose https://www.mediasetplay.mediaset.it/movie/selvaggi/selvaggi_F006474501000101
^^It's watchable in the browser.
Verbose log
[debug] Command-line config: ['--verbose', 'https://www.mediasetplay.mediaset.it/movie/selvaggi/selvaggi_F006474501000101']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.15.11-xanmod1-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [Mediaset] Extracting URL: https://www.mediasetplay.mediaset.it/movie/selvaggi/selvaggi_F006474501000101
[Mediaset] F006474501000101: Downloading JSON metadata
[Mediaset] F006474501000101: Downloading MPEG4 SMIL data
ERROR: [Mediaset] F006474501000101: None of the available releases match the specified AssetType, ProtectionScheme, and/or Format preferences
  File "/home/<USER>/.local/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 599, in extract
    ie_result = self._real_extract(url)
  File "/home/<USER>/.local/lib/python3.8/site-packages/yt_dlp/extractor/mediaset.py", line 188, in _real_extract
    raise first_e
  File "/home/<USER>/.local/lib/python3.8/site-packages/yt_dlp/extractor/mediaset.py", line 175, in _real_extract
    tp_formats, tp_subtitles = self._extract_theplatform_smil(
  File "/home/<USER>/.local/lib/python3.8/site-packages/yt_dlp/extractor/theplatform.py", line 48, in _extract_theplatform_smil
    raise ExtractorError(

@nixxo

https://github.com/ytdl-org/youtube-dl/issues/30411

Yes, this error appears for DRM content. But it can also appear if the asset types we are requesting is incomplete. So further investigation is needed


Networking documentation point to deprecated API

Our networking documentation recommends using createHttpClient:
https://flutter.io/networking/
This is marked deprecated.

@Hixie, I'm having trouble understanding the recommendation. Is it to replace:
import 'package:flutter/services.dart';
var httpClient = createHttpClient();

with:
import 'dart:io';
var httpClient = new HttpClient();

?

with:
class MyHttpClient implements HttpClient {
   ...
   // An implementation of the HttpClient interface
   ...
}

main() {
   HttpOverrides.runZoned(() {
     ...
     // Operations will use MyHttpClient instead of the real HttpClient
     // implementation whenever HttpClient is used.
     ...
   }, createHttpClient: (SecurityContext c) => new MyHttpClient(c));
 }

Woah, I didn't realize the dart:io overrides required using zones. That's unfortunate. How do you override it for everything including things not in your zone, e.g. if you want other libraries and widgets and so forth to also be overridden?

cc @zanderso @floitschG

In an initial draft of the API, I had a way to set overrides in the root Zone, which all zones would then inherit from unless installing their own overrides. Maybe @floitschG remembers why we decided to remove that. I think it shouldn't be too hard to add back, though.

https://dart-review.googlesource.com/c/sdk/+/30100

Sorry, I'm more confused now: If I just want to make an http request, why do I need to create a custom client class?

Just had a chance to discuss with Florian. The example above for overrides is only meant for cases like mocking for testing, right? If I just want to make an http request, I can just do this, right?
import 'dart:io';
var httpClient = new HttpClient();
var response = await httpClient.read('https://httpbin.org/ip');

var httpClient = new HttpClient(); is how you use the client.
You need HttpOverrides when you want to:

provide a mock
extend the behavior of the default HttpClient class, for example if you want to add custom caching or retry logic

Even when you use HttpOverrides, you still use new HttpClient() when you want to use the client in your code.

Got it. Lastly, when do we recommend dart:io's HttpClient vs package:http?

We don't :) We leave it up to the developer. The framework itself it attempting to reduce dependencies, so the choice to use package:http can be made by the developer.

PR: https://github.com/flutter/website/pull/769


ModuleNotFoundError: No module named 'langchain.chat_models'

System Info
Langchain version 0.0.305
Python version 3.101.1
Platform VScode
I am trying to create a chatbot using langchain and streamlit by running this code:
import os
import streamlit as st
from st_chat_message import message
from dotenv import load_dotenv

from langchain.chat_models import ChatOpenAI
from langchain.schema import (
    SystemMessage,
    HumanMessage,
    AIMessage
)

def init():
    load_dotenv()

    #Checking Openai api key
    if os.getenv("OPENAI_API_KEY") is None or os.getenv("OPENAI_API_KEY") == "":
        print("OPENAI_API_KEY is NOT set yet")
        exit(1)
    else:
        print("OPENAI_API_KEY is fully set")

    st.set_page_config(
        page_title = "ZIKO",
        page_icon = "🤖"
    )

def main():
    init()

    chat = ChatOpenAI(temprature = 0)
    messages = [
        SystemMessage(content="You are a helpful assistant.")
        #HumanMessage(content=input),
        #AIMessage()
    ]

    st.header("ZIKO 🤖")

    with st.sidebar:
        user = st.text_input("Enter your message: ", key = "user")

    if user:
        message(user, is_user = True)
        messages.append(HumanMessage(content=user))
        response = chat(messages)
        message(response.content)

if __name__ == '__main__':
    main()

But I am getting this message:
ModuleNotFoundError: No module named 'langchain.chat_models'
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Steps to reproduce:
Installing langchain
Importing  langchain.chat_modules
Expected behavior
Module loads successfully

I had this same issue and switched my python from version 3.10.12 -> 3.11.5 and the issue was resolved.

I ran into this and realised that it was failing because I had the import inside a folder called "langchain" which causes the interpreter to look for files within the folder. I renamed the module to something else and it worked.


Support version key in manifest file

Then integration to Homeasistant should be upgraded to use version as reported by HA.
2021-04-11 19:48:41 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'indego'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'indego'

I have the same in my logs:
2021-05-21 12:28:30 ERROR (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'indego'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'indego'

OK, I have updated HA to 2021.6.0 and as expected, this integration no longer works.
I know this is more unpaid work for people but can any dev confirm if this is being worked on?

@jm-73 Is probably just busy as everybody else. He was recently active at discord server so it's just about not having time to deal with it at this moment, i guess.
Just add the "version": "0.4", line manually and you should be good to go on 2021.6

👍
I totally understand that people are busy and this is not a priority.
Can you confirm which file I need to add the version line to?  Is it just in the configuration file with the rest of the Indego config or elsewhere?

@Siggy101 The line belongs to manifest.json. :wink:

I have commited the Pr made by Evan. I will have a more in depth look when I have the time. I hope this helps?

@Siggy101 The line belongs to /config/custom_components/indego/manifest.json. 😉
EDIT: Ups, I had to edit the line above because it was actually a version of another project 😆 . Sorry!

Thanks for the pointers.
I added the version line to the manifest file and all is working perfectly again.
No rush on the official fix then, this workaround is nice and easy to use for us noobs.


NER not working when the format  Name: David JName: David J

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to https://presidio-demo.azurewebsites.net/
Paste: in Input text text Box
IP: <IP_ADDRESS>
Name: David J

Anonymized text comes has
IP: <IP_ADDRESS>
Name: David J
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi @jems25, looks like the issue is actually with the IBAN recognizer and not with the NER. If you paste only this:
IP: <IP_ADDRESS>
Name: David J
It does work. The actual issue is probably with the IBAN recognizer. I'll open a different issue on this one.

Hi @jems25. We are unable to reporduce the issue you decribed. Could you please include the steps to reprodue this?

Closing for now, feel free to open if you have more information to share with us.


Objective-C: don't use assign property attribute

When compiling for iOS a lot of Objective-C errors are shown:

warning: default property attribute 'assign' not appropriate for object

https://stackoverflow.com/questions/9608534/app-converted-to-arc-now-getting-warnings-about-my-properties
We should use either use the 'retain' or 'copy' property attribute there.

These warnings are currently not being generated.  Since Xcode 4.2 (ca. 2011), object properties have been given the strong retention policy when nothing is specified (primitive properties still default to assign).

@tarkvara I managed to generate these warnings again.
It happens when you run:
platform/ios/scripts/docc.sh


Display Timezone with Offset

Hello, this is a great simple clock.
Any chance we can show the timezone as a label somehow?
I have set the timezone in the script but how to show it also?
Also, can we display the clock in digital format or as text so we can style it ourselves in CSS?
Your reply would be appreciated.

Hello, this is a great simple clock.

Thanks for your Feedback

Any chance we can show the timezone as a label somehow?

Currently No. It's possible and straightforward if you are familiar with javascript coding.

I have set the timezone in the script but how to show it also?

It's not supported out of the box; you can custom develop this plugin to support it.

Also, can we display the clock in digital format or as text so we can style it ourselves in CSS?

This is just an Analog Clock and the settings are not supported for digital viewing.
Your reply would be appreciated.


Fix shallow water equation

Instability found in following solution, what could be causing this?
using ModelingToolkit, MethodOfLines, DomainSets, OrdinaryDiffEq
using Plots
using IfElse

# Define the system of equations
@parameters t x
@variables u(..) η(..)
#hu(..)

Dt = Differential(t)
Dx = Differential(x)

tmin = 0.0;
tmax = 6000.;

xmin = 0.0;
xmax = 200.;

dx = 2.0;

slope = 0.001;
n= 0.03;
order= 2;

elevation(x) =  (xmax - x) * slope;
h(t,x) = η(t,x) - elevation(x);

source(t) = ifelse(t < 3600, 1/60/1000, 0.0)
@register_symbolic source(t)
g = 9.81;

exp = -4/3

eqs = [
    Dt(η(t,x))  ~ source(t) - u(t,x) * Dx(η(t,x)) + u(t,x) * (-slope) - h(t,x) * Dx(u(t,x)) ,
    Dt(u(t,x))  ~ - g * Dx(η(t,x))  - u(t,x) * Dx(u(t,x))  - g * u(t,x)^2 * n^2 * IfElse.ifelse(h(t,x) > 1e-5, h(t,x)^exp, (1e-5)^exp)
]

domain = [x ∈ Interval(xmin,xmax),
        t ∈ Interval(tmin,tmax)]

bcs = [
    η(tmin,x)     ~ elevation(x)+1e-5,
    u(tmin,x)     ~ 0.0,
    η(t,xmin)     ~ elevation(xmin),
    u(t, xmin)    ~ 0.0,
]

@named pdesys = PDESystem(eqs, bcs, domain, [t, x], [u(t,x),  η(t,x)])
discretization = MOLFiniteDifference([x => dx], t, jac = true, sparse = true) #
grid = get_discrete(pdesys, discretization)

prob = ModelingToolkit.discretize(pdesys, discretization)
@time sol = solve(prob, Tsit5())

anim = @animate for (i, T) in enumerate(sol.t)
    plot(map(d->sol[d][i], grid[u(t,x)]), label="u", title = "t = $T")
    plot!(map(d->sol[d][i], grid[η(t,x)]), label="η")
end
gif(anim, "plots/shallow_water.gif", fps = 10)

Plot:

Looks oscillatory to me. WENO methods may fix this.

Fixed with WENO and implicit methods


Use vendor first if exists.

Some go.mod users prefer generating a vendor directory and keeping it in vcs for some networking reasons. Can we use vendor first if vendor directory exists?
I know it may be difficult if go/modules doesn't consider vendor directory when loading modules. But I know little about the new go/modules, is this possible?

@imjustfly
Now,  bingo support non-go module project,  so you can use vendor mode.


Enable isolated-projects

https://gradle.github.io/configuration-cache/#project_isolation

Close due to https://github.com/gradle/gradle/issues/20333#issuecomment-1087286451.


Http Proxy - Production Instructions/Documentation?

The documentation for the Http Proxy works fine for local development, but there isn't much information for how to setup the http proxy for production use.
I have a mobile app that's written in a language that doesn't allow me to use the SDK directly, so it would seem I need to use the http proxy.
I have my mobile app working perfectly with the Fleet API. I have my mobile app working perfectly with the http proxy running locally on my Mac. Now I'm stuck at what to do next. Obviously I can't continue to run the http proxy locally on my mac, so I need to run it somewhere public, correct?
I have my public key hosted at my domain..
https://mycooldomain.com/.well-known/appspecific/public-key.pem
Do I need to run a VPS for the http proxy?

If so, does it need to use my domain? or can my app call the IP address of the VPS directly?

What key/certs do I use to run with the http proxy? Locally, we just create unencrypted key/cert for dev purposes, so I'm assuming I should not do that for public/production.

Do I use my SSL key/cert for my domain?
Do I buy another SSL key/cert and use that?

Trying to figure out how to get my app to support the http proxy in a production environment since the expectation that the Fleet API use for commands will be depreciated very soon(within the next week).

I installed a nginx proxy that handles the SSL key/cert for the domain, and passes the query to tesla-http-proxy

I installed a nginx proxy that handles the SSL key/cert for the domain, and passes the query to tesla-http-proxy

Thanks for the reply. Are either of these tools sitting on the server where the domain is pointed? Or are they on a different server/machine?
My domain is hosted by namecheap, so I'm trying to figure out if I need to host it myself on my own server/machine for this to work.

In my case, nginx and tesla-http-proxy are running on the same hardware. tesla-http-prooxy  only listens on localhost -  so they have to run on the same box

following @eclipsed4utoo I installed the tesla sdk in a heroku instance, but couldn't made it work yet. Created openSSL pems for my custom domain, it is initializing and everything but still getting a
2024/03/27 18:35:54 http: TLS handshake error from <IP_ADDRESS>:12210: EOF
In my logs, wonder if anybody had the same issue or any way to make it work, would appreciate some help!


Web app contribution guide

PR Summary
I've enhanced the contribution guide for the web app with a walkthrough.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] This PR is ready to merge and is not Work in Progress

Putting this on @liammoat radar.

Incorporated you feedback @liammoat 👍

Incorporated your feedback @khowling 👍


[RFE] Custom separator to lb name generated by ingress controller

Today ingress controller creates load balancers in a format of:
<stackname>-rancherlb-<ingressname>

rancherlb is a static part, and there was a request to make it customizable via flag in kubernetes template

@galal-hussein can be tested with v1.7.1-rancher2 template

Rancher Version: v1.6.6-rc2
Kubernetes Version: v1.7.1-rancher2
I was able to start kubernetes with a custom name for ingress separator, and i verified that the new ingresses will take that name:


Unknown person number

Hi,
I'd like to use GAST-Net with generic video streams without knowing how many people are in the scene in advance. I need to do this in order to have 3D skeletons of every person depicted in the scene.
Is it possible? Thanks

@rirri93 Did you get skeleton animation in 3D?
Have not you encoundtered #16 ? Thanks!

It is possible to reconstruct multi-people 3D poses from a scene.  But the reconstructed accuracy will be subjected to the detected 2D pose. We recommend it for single and two-person scenarios.