Built-in option 'go_package' not found

syntax = "proto3";

package ecommerce;

option go_package = "proto";

service ProductInfo {
    rpc AddProject(Product) returns  (ProductId);
    rpc GetProduct(ProductId) returns (Product);
}

message ProductId {
    string id = 1;
    string name = 2;
    string description = 3;
    float price = 4;
}

message Product {
    string value = 1;
}

The plugin will not provide the well-known protos, and the plugin will scan all depented libraries for the java project.
To make the plugin work with go project, you need to download google's well-known protos to a folder, and mark this folder as import root in Settings > Language $ Frameworks > Protobuf.
If you can't find google's built-in protos, download it from here.
See #4 for the details.

thx

@ilovesusu
I am planning to provide more and smarter customization features for protobuf on the go project.
In my development process, I am looking for some go users to participate in my plug-in preview project.
Check #37 for the details.


Question - Drop-in replacement for other models that use CLIP?

Hi,
Thanks for making this repo and adding features to make it wickedly easy to use, much appreciated. I've played around with the huggingspace demo and plan to integrate into an application I'm working on for annotating images benthic habitats.
I'm familiar with CLIP (conceptually), but not really dove into it. I'm curious if BioCLIP can be a drop-in replacement for things other zero-shot object detection models? Kinda like FastSAM (which is YOLO model with some functions to allow "prompts" mimicking SAM, including text that uses CLIP), or something like GroundingDINO?
Thanks

Hi @Jordan-Pierce, glad to hear you're finding this useful. Note that BioCLIP (nor any of the other pretrained CLIP models) doesn't do object detection or segmentation. The vision part of these CLIP models do image embedding, and the text encoders do text embedding, and both parts embed into the same vector space, with the training maximizing proximity between text and image from training pairs.

@hlapp Thanks for the reply.
I understand that CLIP (in general) is mostly used for classification as a result of having the combined (or individual) text / image embeddings. However, I do know that others are using CLIP (and variants) to do single-shot detection (like FastSAM). There's also a pretty extensive tutorial on how some are using CLIP for localization of objects of interest. I was just curious if y'all had explored this or know of others who might done something like it with BioCLIP already. Cheers.

Perhaps @samuelstevens has some further thoughts and/or insights here? (perhaps also re: biobench)

BioCLIP probably is worse than other CLIP models for object detection because the majority of its training data has very object-centric photos where object detection is not really a needed "skill" to succeed at the pretraining objective. I would recommend YOLO, GroundingDINO, SAMv2, etc to get objects of interest, then crop so the object is centered and then apply BioCLIP to do organism classification.
As mentioned above, biobench is a benchmark of a bunch of different tasks related to biology + computer vision. There are no object detection tasks yet, but if you are interested in collaborating I would love to add your specific task to the benchmark and evaluate many vision models for you so that you can know which model is best for your use case.


Wrong conversion of srcSet ? The result has no , (comma) .

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
(None. I use this module for customizing htmlAst of Gatsby remark plugin.)
Link to runnable example
No response
Steps to reproduce
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
import { jsxDEV } from "react/jsx-dev-runtime";
import { toJsxRuntime } from "hast-util-to-jsx-runtime";

const input = {
  type: "root",
  children: [
    {
      type: "element",
      tagName: "p",
      properties: {},
      children: [
        {
          type: "text",
          value: "Hero image test.",
        },
      ],
    },
    {
      type: "element",
      tagName: "p",
      properties: {},
      children: [
        {
          type: "element",
          tagName: "span",
          properties: {
            className: ["gatsby-resp-image-wrapper"],
            style:
              "position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 1024px; max-width:56.26vh",
          },
          children: [
            {
              type: "element",
              tagName: "a",
              properties: {
                className: ["gatsby-resp-image-link"],
                href: "/static/d95593e8760258ff1fae38bebc87b161/37852/sample-portrait.jpg",
                style: "display: block",
                target: "_blank",
                rel: ["noopener"],
              },
              children: [
                {
                  type: "element",
                  tagName: "span",
                  properties: {
                    className: ["gatsby-resp-image-background-image"],
                    style:
                      "padding-bottom: 177.734375%; position: relative; bottom: 0; left: 0; background-image: url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAkABQDASIAAhEBAxEB/8QAGQAAAwEBAQAAAAAAAAAAAAAAAAQFAgED/8QAFwEBAQEBAAAAAAAAAAAAAAAAAQACA//aAAwDAQACEAMQAAABkPq0hhGiaO1nzpIPM1nrYUgAY//EAB0QAAICAgMBAAAAAAAAAAAAAAECAAMEERIhIhP/2gAIAQEAAQUCqUMz1pxI0caprHuT6ow0cFvVyMZuY7ASnVlhPa9Nb5M//8QAGBEBAQADAAAAAAAAAAAAAAAAARASITH/2gAIAQMBAT8BxXcOQn//xAAVEQEBAAAAAAAAAAAAAAAAAAARIP/aAAgBAgEBPwFr/8QAHxAAAQQCAgMAAAAAAAAAAAAAAQACECEiURExEkFh/9oACAEBAAY/Asl147jltAe0AX3zUObsLF2OlaOz8XcBNIj/xAAhEAEAAgICAAcAAAAAAAAAAAABABEhUTFBEGFxgZGh4f/aAAgBAQABPyGq5AXUyiaNW1uIg8ksp2If0Q3P7FqYhdoVmZPSncfdIeb+ZOVaG+/KolryxqjcXCGr+/D/2gAMAwEAAgADAAAAEHs9PAA//8QAGBEAAwEBAAAAAAAAAAAAAAAAAAERMRD/2gAIAQMBAT8QslkGWioxz//EABgRAAMBAQAAAAAAAAAAAAAAAAABERAh/9oACAECAQE/EIXMdpRZ/8QAIRABAQACAQQCAwAAAAAAAAAAAREAITFBUWGBkaGxweH/2gAIAQEAAT8QmTqJK0N/OBoehQY0PI5zJkY4yS29s8d3KyQgROlr8u2K/XkEqC9E19/rGU4zgIApeu8TRsUuINBw0KAs8fzGKA9hE9BziKYMuOZEP5xeTuvIpi3P/9k='); background-size: cover; display: block;",
                  },
                  children: [],
                },
                {
                  type: "element",
                  tagName: "picture",
                  properties: {},
                  children: [
                    {
                      type: "element",
                      tagName: "source",
                      properties: {
                        srcSet: [
                          "/static/d95593e8760258ff1fae38bebc87b161/b95e4/sample-portrait.jpg 256w",
                          "/static/d95593e8760258ff1fae38bebc87b161/1779b/sample-portrait.jpg 512w",
                          "/static/d95593e8760258ff1fae38bebc87b161/87945/sample-portrait.jpg 1024w",
                          "/static/d95593e8760258ff1fae38bebc87b161/37852/sample-portrait.jpg 1152w",
                        ],
                        sizes: "(max-width: 1024px) 100vw, 1024px",
                        type: "image/jpeg",
                      },
                      children: [],
                    },
                    {
                      type: "element",
                      tagName: "img",
                      properties: {
                        className: ["gatsby-resp-image-image"],
                        src: "/static/d95593e8760258ff1fae38bebc87b161/87945/sample-portrait.jpg",
                        alt: "sample-portrait",
                        title: "",
                        loading: "lazy",
                        decoding: "async",
                        style:
                          "width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;",
                      },
                      children: [],
                    },
                  ],
                },
              ],
            },
          ],
        },
      ],
    },
  ],
  data: {
    quirksMode: false,
  },
};

const reactComponent = toJsxRuntime(input, {
  Fragment,
  jsx,
  jsxs,
  jsxDEV,
});

console.log(
  reactComponent.props.children[1].props.children.props.children.props
    .children[1].props.children[0].props.srcSet
);
// => '/static/d95593e8760258ff1fae38bebc87b161/b95e4/sample-portrait.jpg 256w /static/d95593e8760258ff1fae38bebc87b161/1779b/sample-portrait.jpg 512w /static/d95593e8760258ff1fae38bebc87b161/87945/sample-portrait.jpg 1024w /static/d95593e8760258ff1fae38bebc87b161/37852/sample-portrait.jpg 1152w'
// ↑ There is no comma so it's invalid as srcset attribute?

input JSON is copied from output of the gatsby-transformer-remark plugin.
I'm sorry if the srcSet in input JSON is wrong format.

React: 18.2.0 (latest)

Expected behavior
Include comma in srcSet property.
console.log(
  reactComponent.props.children[1].props.children.props.children.props
    .children[1].props.children[0].props.srcSet
);
// => '/static/d95593e8760258ff1fae38bebc87b161/b95e4/sample-portrait.jpg 256w, /static/d95593e8760258ff1fae38bebc87b161/1779b/sample-portrait.jpg 512w, /static/d95593e8760258ff1fae38bebc87b161/87945/sample-portrait.jpg 1024w, /static/d95593e8760258ff1fae38bebc87b161/37852/sample-portrait.jpg 1152w'

Actual behavior
No comma in srcSet property.
console.log(
  reactComponent.props.children[1].props.children.props.children.props
    .children[1].props.children[0].props.srcSet
);
// => '/static/d95593e8760258ff1fae38bebc87b161/b95e4/sample-portrait.jpg 256w /static/d95593e8760258ff1fae38bebc87b161/1779b/sample-portrait.jpg 512w /static/d95593e8760258ff1fae38bebc87b161/87945/sample-portrait.jpg 1024w /static/d95593e8760258ff1fae38bebc87b161/37852/sample-portrait.jpg 1152w'

Affected runtime and version
<EMAIL_ADDRESS>Affected package manager and version
<EMAIL_ADDRESS>Affected OS and version
macOS Ventura 13.2.1
Build and bundle tools
Gatsby

Yep, the input should be a string, not an array. Is there a way for you to fix it there?
I thought this field was a comma-separated value, but it isn’t, so that was fixed, see: https://github.com/wooorm/property-information/commit/acf30dd81942e1c03e5ea4301887307df4c6ba30.

Yes, you can open an issue with them, srcSet should be a string.
Closing here, the current handling here is expected, the fix is elsewhere!

Sorry, re-opening.
I just want to write that gatsby's ticket is already issued.
See #34338 .

Ah, yes, thanks for referencing!
P.S. You can still comment even if an issue is closed! :)


dropbox: 3.12.6 -> 3.14.5

Also updates qt5 dependency to qt55, as per release notes: https://www.dropboxforum.com/hc/en-us/community/posts/205672126-Release-Candidate-3-14-5

Typically we don't use/include RC's. Note the actual stable version has been released, it's 3.14.7
https://www.dropboxforum.com/hc/en-us/community/posts/205739106-Stable-Build-3-14-7

Right, I've been going by https://www.dropbox.com/release_notes, where 3.14.7 still hasn't shown up, but .5 is tagged as release ... hmm

@bendlas could you squash the commits?


Pass the principals to the artifact version page

The artifact version page in the registry data plane has been modified to allow users to be able to change the ownership of an artifact.  In order to display a dropdown of users when doing this, we need the list of principals in the org.  These are passed in, same as in the Access page.

We definitely need to improve on this; right now it's not clear what each repo is supposed to be doing and handling.

Agreed.
PS: can you merge?  I don't have privs to do that.

Hey @riccardo-forina - any idea why the list if user principals is not being included in the staging environment?  Here's what I see in staging when trying to set access or change ownership (both use the same principal list code) [missing users]:

And here's what I see in production (correct):

Hi @EricWittmann, Riccardo is on PTO .This is a known issue recently the same issue was reported in the console.redhat.com in kas-ui

@ajaypratap003 has more idea about this issue. you can check with him

Thanks @HemaHG and @ajaypratap003  - as long as it's a known issue that is being addressed at some point, I'm OK with not knowing the details.  :)


[iOS] Add a table header for showing the session start day

Issue

None

Overview (Required)

Just as the title

Screenshot

Before
After

👀

🙌


Release in Maven

Hello
Could you deploy 0.2.2 version in maven repository
Thank you

+1

+1

I've found JitPack to be helpful in scenarios where a release isn't published to a Maven repository:

https://jitpack.io/#Sybit-Education/airtable.java/0.2.2
https://jitpack.io/com/github/Sybit-Education/airtable.java/0.2.2/build.log


In AWS, 5Mb above file size throw error

In my aws server, I have a file called index.php. it run perfectly when the file size was below 5mb but after some line of code i added it throws error. In the same, i checked in shared server i run perfectly.
what is the problem?
advance thanks

On my EC2 instance I had to change the nginx.conf and add client_max_body_size in the http block.

Fixed by CollectionFS/DEPRECATING-cfs-s3#44


GoodbyeAds Spotify

https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Extension/GoodbyeAds-Spotify-AdBlock.txt
Hi there,
Would you please consider adding GoodbyeAds Spotify to your lists/hosts?
This can reduce Spotify ads and it does not break the app/website.
Thank you.

Thank you for this @Eow2022yia we've talked about Spotify here many times before.
This isn't going to change.  Too many different apps, devices, web, there's even command line clients for Spotify. Our experience is, list something, break something somewhere else.
Closing.


Docker Image with Gitlab panic: runtime error: invalid memory address or nil pointer dereference [recovered]

I'm have set up a Gitlab Pipeline using the published Docker image, however whenever I try to run the aws nuke commands I recieve the following errors? My AWS access key and secret key have been assigned to the env vars $AWS_ACCESS_KEY_ID and  $AWS_SECRET_ACCESS_KEY.
I looked through the documentation and don't know why this is failing. When I used the 'explain-account' command everything works fine.

@adamLShine please share your config.

What version were you using?

I tried the latest two versions of the image
Adam Langdon
Engineer
m:<PHONE_NUMBER> <//0404788931>
e: @.***
[image: shinesolutions.com] https://shinesolutions.com
On Thu, 14 Nov 2024 at 1:03 AM, Erik Kristensen @.***>
wrote:

What version were you using?
—
Reply to this email directly, view it on GitHub
https://github.com/ekristen/aws-nuke/issues/417#issuecomment-2473709275,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW3UPDAN6ZA6R5UIQDXFGST2ANL3ZAVCNFSM6AAAAABRV4LES2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTG4YDSMRXGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Without more logs, impossible to say, my guess is that it's a config bug, one of which I recently fixed and is in the very latest version of the tool.

I need the entire stack track output
I need your configuration
I need the version it's still happening on

Your configuration is not properly formatted. If you'd copy and paste your config in instead of a screenshot I'll fix for you.
filters need to be indented undernearth the account. That should have been fixed by the latest patch release, I will have to test your specific configuration format.

blocklist:

"000000000"

accounts:
"0000000000":
filters:
global:
- property: tag:aws-nuke
value: "Disable"
- property: tag:aws-nuke
value: "disable"
Thank you!

You should use codefences
regions:
  - global
  - us-east-1
  - ap-southeast-2

blocklist:
  - "000000000000"

accounts:
  "012345678912":
    filters:
      __global__:
        - property: tag:aws-nuke
          value: "Disable"
        - property: tag:aws-nuke
          value: "disable"


make new subscription for this project

This project may need its own Azure subscription. Along those lines maybe need to increase the quota for containers. Also, would it be good to create one subscription for every project in Arjun's group or have each project get its own subscription. For example if the pip python package needs some cloud storage of the data, would that be a separate subscriptions. What about web server for Nat's old project?

I suggest that your lab request a new sub and provide the account number so you will own it.  Then invite us as members.    You will need to provide an approximate monthly spend and so I'm adding to this issue the task of determing a budget.  I will look at our main geneplexus.net account and the various test accounts to determine that.      @ChristopherMancuso  would you please run several jobs to simulate some basic level of users? That will give us more cost data to help our estimate.

[ ] run several jobs to add data for costs
[ ] take cost data from geneplexus.net and various dev resource groups to create monthly cost estimate
[ ] Arjun/Chris complete the form that is linked in this page https://tech.msu.edu/network/cloud-services/  which requires an account number and estimated monthly spend

I can run some jobs. For the subscription, would that be just for geneplexus or one for the krishnanlab and Arjun would then make different resource groups for his various projects?

@ChristopherMancuso filed a ticket with IT Services two weeks ago to create a new subscription.  Chris would you add ac comment here that includes the response and the date you got it?   thank you!

I submitted the initial request on 3/22/22.
I received a message on 3/28/22 that they have resource constraints and cannot provide a timeline for completion
On 4/5/22 they changed the estimated completion data on the ticket too 5/31/22

this is blocked so moving to the next milestone.

since we don't have an ETA,  setting this aside for 'future direction' until we do

since the Krishnan lab has moved to University of Colorado Anschutz Medical Campus , we won't be creating a new subscription at MSU, we will continue to use our DMA/developement subscription until the team at CU takes over the app sometime in January 2023


Viewer List window automatic refresh

It would be nice to automatically refresh Viewer list window when user joins or parts so that it is up to date with main chat window.
The only way to update Viewer list for now is to reopen it.

We occasionally refresh the chatters list, when we do we could try to refresh any open viewer list windows

Might be worth performing a viewer list (and data received from tmi.twitch.tv in general) refresh "on demand" as /chatters command could be quite inaccurate at times without having this.


Improve ArchiveSelf

The ArchiveSelf trait enables optimizations while archiving and unarchiving, but right now the narrative is unclear at best. A few things are in order to make memcpy-able structs a good experience:

[x] Rename the trait to something that more clearly describes what it does
[ ] Document the trait more thoroughly
[ ] Auto-implement it if possible
[x] Improve support through specialization

Fixed by 90dd530be13eb16bbcfb48ceac49bfb1749f8a2b

Fixed by 90dd530be13eb16bbcfb48ceac49bfb1749f8a2b


upgraded intl package to ^0.19.0

@zulfahmi93 please allow and merge this as this dependency issue is breaking app deployments

please merge this branch as it is showing conflicts.


[Feature] Providing docker images for linux aarch/aarch64 platform

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Providing docker images of kuberay-apiserver and kuberay-operator for linux aarch/aarch64 platform
Use case
On Linux aarch/aarch64 platform, the kuberay-apiserver&kuberay-operator images docker pulled are for amd/amd64 architecture rather than aarch/aarch64.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

#1716


”SULINA” is listed in the drop-down menu

Description:
"SULINA" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "SULINA" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oraș SULINA, TULCEA (SULINA)".


Add/edit docs for new stuff + code edits

About this pull request
Added docs for most new features along with some code changes.
Checklist

[x] I've checked this pull request runs on Python 3.6.X.
[ ] This fixes something in Issues.

Issue:

[x] This adds something new.
[ ] There is/are breaking change(s).
[ ] (If required) Relevant documentation has been updated/added.
[ ] This is not a code change. (README, docs, etc.)

Accidently closed due to renaming the branch, re-opened as #2


Default settings for collections

Currently the default asset title can be specified. Expand to include default number of editions and license and royalty for minting.

Done in https://github.com/macterra/artx-market/commit/a29c3eb58543f6e19f512fe2fe98c31fee01a485


A new subcommand named doctor to detect all the possible problems

A new doctor subcommand could check gitea's running status, it could includes:

[ ] Repositories file system permissions. It could read app.ini to get running user and check if all the repositories could be read/write by the user.
[ ] Repositories Hooks script address. It could check if all the repositories hooks script address is current binary's address.

Welcome to add more.

[ ] Repositories under gitea-repositories that are missing from the database, and the other way around.
[ ] authorized_keys script address.
[ ] Assets that are found in data/attachment but are not linked in gitea, and the other way around.
[ ] Automatically detect all running instances.
[ ] Search for app.ini; try to figure out its configuration.

Closed and thanks @guillep2k


newsletter

For Hacktoberfest Project PR

Hacktoberfest Project

@distopiacore2   thanks for making your first contribution, I will be merging your Pull Request, also look at the issues so that you can get a chance to win a limited community Swag from me.
If you like the project and Repo please give it a star and Follow me on Github (would be appreciated)


Version 3.0.0 doesn't work on iOS

Created clean project add version 3.0.0
added all configurations in plist.info
try to run and getting:
Running pod install...
Running Xcode build...
Xcode build done.                                            7.0s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    Undefined symbols for architecture arm64:
      "_vDSP_mmul", referenced from:
          mat1::dense(float*, float*, float*, int, int, int) in FBSDKAddressInferencer.o
          mat1::dense(float*, float*, float*, int, int, int) in FBSDKEventInferencer.o
      "_vDSP_vclip", referenced from:
          mat1::relu(float*, int) in FBSDKAddressInferencer.o
          mat1::relu(float*, int) in FBSDKEventInferencer.o
      "_vDSP_dotpr", referenced from:
          mat1::conv1D(float*, float*, int, int, int, int, int) in FBSDKAddressInferencer.o
          mat1::conv1D(float*, float*, int, int, int, int, int) in FBSDKEventInferencer.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the precompiled application for the device.

Update: version 2.0.1 works.
Update 2: i can run version 2 0.1 but nothing happens when i call loginWithPermmisions()
Update 3: By adding Accelerate.framwork to FBSDKCoreKit i solve the issue but i still cant build release

I get same issue with "architecture arm64". Anyone solved it?

I managed to get the Facebook sdk working on ios (not the plugin) by just downloading the framework from Facebook sdk github and adding it to the project. If you do that remember to add the accelerate.framework.
Now you can create a plugin and expose the api you need. I need only login so its quite easy.
I still haven't tested the creation of local plugin but i know for sure the project compiled and run with now issues when i added the framework manually

Hi,
I just start a clean project (come from react native :) ) and I have no issue compiling (debug) on IOS 13 simulator.
I just changed the default ios target from 8 to 9 (on project and target), did a flutter clean, flutter pub get (again in case) and that's all.
I'll try on a real device.

Hi @rphlmr
What is your Flutter version?

@phuc-koli  :
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G95, locale fr-FR)

Hi @rphlmr
I tried your instruction but now I'm getting this error:  module 'FBSDKCoreKit' not found
Do you have any idea?

That's the point. Sometimes cocoapods is crazy and we need to clean everything 😅

Hi~
I am not sure but I solved this issue in this way.
Cause:
Current flutter_facebook_login(3.0.0) is using Facebook SDK v5.11.0.
But Facebook SDK v5.11.0. has small issue.

(https://github.com/facebook/facebook-ios-sdk/releases)
Solution:
As Facebook page says "manually add the Accelerate framework to their targets under the the "Frameworks, Libraries, and Embedded Content" section of the "General" tab."

I hope you can solve this issue.
Have a nice day~ and Happy new year~~^^/

Hi~
I am not sure but I solved this issue in this way.
Cause:
Current flutter_facebook_login(3.0.0) is using Facebook SDK v5.11.0.
But Facebook SDK v5.11.0. has small issue.

(https://github.com/facebook/facebook-ios-sdk/releases)
Solution:
As Facebook page says "manually add the Accelerate framework to their targets under the the "Frameworks, Libraries, and Embedded Content" section of the "General" tab."

I hope you can solve this issue.
Have a nice day~ and Happy new year~~^^/

this doesnt solve the problem because once you hit flutter build ios it will run pod install and all your changes will be lost.
i got to your solution before but it doesnt work eventually

I've been around the houses and back with this and have eventually got this to work with the 5.13.1 Podfiles on iOS (by work, I mean compiling, linking and installing onto a real iPhone - I don't actually use Facebook but it's required as part of the firebase-ui login package  :-D )
Firstly, do the clean mentioned in https://github.com/roughike/flutter_facebook_login/issues/222#issuecomment-568164311
After building I got errors regarding @import .
I then added the modular headers override into the ios/podspec file mentioned here https://github.com/roughike/flutter_facebook_login/issues/214#issuecomment-565166295
I did note that linking errors due to missing Facebook libraries where due to a spurious entry in the Frameworks section. Attached is a picture of my current config.

Finally, I solved the issue by below steps:

Run: flutter clean
Go to ios folder, delete Podfile, Podfile.lock, Pods folder, Runner.xcworkspace
Run project again

thank you very much that worked I have been trying to build the archive since a month,thanks a tonne

My workaround was to update post_install method in Podfile like this:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == 'FBSDKCoreKit'
        frameworks_build_phase = target.build_phases.find { |build_phase| build_phase.to_s == 'FrameworksBuildPhase' }
        frameworks_group = target.project.groups.find { |group| group.display_name == 'Frameworks' }
        framework_ref = frameworks_group.new_file("Accelerate.framework")
        frameworks_build_phase.add_file_reference(framework_ref)
    end

    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end

to remove the manual step of adding framework and allow for automated builds to succeed. Of course it's only temporary until this issue is addressed.


Setup CI & Tooling

Current coverage is 100.00%

Branch #1 has no coverage reports uploaded yet.

No diff could be generated. No reports for development found.

Powered by Codecov. Updated on successful CI builds.


Connecting to remote via ssh is broken in v1.90

Type: Bug
My setup is raspberry pi 4 model B with Raspbian GNU/Linux 10 (buster). I am trying to connect from windows system on local network.
Connection via ssh now prints the following
[16:06:31.320] [server] server inflate progress: 1375/1689 (81%)
[16:06:31.364] [server] server inflate progress: 1461/1689 (87%)
[16:06:31.439] [server] server inflate progress: 1547/1689 (92%)
[16:06:31.474] [server] server inflate progress: 1633/1689 (97%)
[16:06:31.496] [server] server inflate progress: 1689/1689 (100%)
[16:06:31.540] [server] Error installing server: error checking server integrity: failed to run command "/home/pi/.vscode-server/cli/servers/Stable-89de5a8d4d6205e5b11647eb6a74844ca23d2573.staging/server/bin/code-server --version" (code 1): /home/pi/.vscode-server/cli/servers/Stable-89de5a8d4d6205e5b11647eb6a74844ca23d2573.staging/server/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/pi/.vscode-server/cli/servers/Stable-89de5a8d4d6205e5b11647eb6a74844ca23d2573.staging/server/node)

[16:06:34.106] Password dialog canceled
[16:06:34.106] "install" terminal command canceled
[16:06:34.106] Resolver error: Error: Connecting was canceled

I tried downgrading vscode on windows to 1.89.1 and connection worked again.
VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'SSH: raspi-18' could not be established  Connecting was canceled
Extensions: none
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
0ee40948:31013168
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupyter:31046869
newcmakeconfigv2:31067619
26j00206:31048877

@deepak1556 currently non-legacy glibc++ support is set at 3.4.25, did we bump it in the last release?

No we haven't bumped the sysroots, but seems like an issue in the node binary pipeline. I will take a look.

Sorry misread the logs, the issue is not with legacy but the default server which is something downloaded from upstream and not built by us. The symbol verification check in CI didn't scan the node binary which missed this signal early https://github.com/microsoft/vscode/blob/88f50e0809ad71973670a3a98fcbbadba51e8c53/build/azure-pipelines/linux/verify-glibc-requirements.sh#L12-L13
Both x86_64 and arm64 requirements have not changed, but armhf GLIBCXX is now bumped to 3.4.26. We should bump our checks so that legacy server is used for this case. Thoughts ?

Is there any workaround to connect via VS Code Remote SSH until the bug is fixed?

Best workaround seems downgrading to the april version.

Same on MacOS. Best workaround seems downgrading to the april version.

Any other workaround? Because even after I downgrade, VS Code will automatically download the new version...
Also, will the fix be in 1.90.1 or 1.91?

First turn off auto-update, then downgrade to previous version.

Same on MacOS. Best workaround seems downgrading to the april version.

Any other workaround? Is there a way to skip the integrity check? Because even after I downgrade, VS Code will automatically download the new version... Also, will the fix be in 1.90.1 or 1.91?

I can confirm that uninstalling 1.90 and then installing 1.89.1 allowed connecting using SSH to my Pi 3B+.

Glad I found this thread! First turn Off the Updates as shown above Before you downgrade (as it will just auto immediate upgrade to the broken again). I then reinstalled back to VSC 1.88.1, now the SSH to my RPi4 works again, phew!! What a pain though, after 2 days of trying to figure out wth went wrong.

Following this.

Bug still present in June 2024 (version 1.91). After updating I can not connet to my raspberry pi 4:
Failed to connect to the remote extension host server (Error: WrappedError(WrappedError { message: "error checking server integrity", original: "failed to run command "/home/pi/.vscode-server/cli/servers/Stable-ea1445cc7016315d0f5728f8e8b12a45dc0a7286.staging/server/bin/code-server --version" (code 1): /home/pi/.vscode-server/cli/servers/Stable-ea1445cc7016315d0f5728f8e8b12a45dc0a7286.staging/server/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/pi/.vscode-server/cli/servers/Stable-ea1445cc7016315d0f5728f8e8b12a45dc0a7286.staging/server/node)\n" }))

Imagine Microsoft messed up one of the biggest features of the world's best 1 code editor because they forgot to increment a version number...

How hasn't this been assigned higher priority? Remote SSH is central to our workflow, and I believe most of yours as well...

Same on MacOS. Best workaround seems downgrading to the april version.

Any other workaround? Is there a way to skip the integrity check? Because even after I downgrade, VS Code will automatically download the new version... Also, will the fix be in 1.90.1 or 1.91?

I can confirm that uninstalling 1.90 and then installing 1.89.1 allowed connecting using SSH to my Pi 3B+.
Plus, I disabled updates here to avoid automatic updates:

FYI:  The settings seem to only work when the installation was done with "user setup" (the installation I used).  An intern installed using "system setup" (as I understand) and found that "system setup" will continue to update VS Code regardless of these settings.  They uninstalled the system setup and used user setup during install and the automatic update obeyed the settings...
You can check the installation by going to Help, About:

^- This shows my installation as "user setup"...

This bug has been fixed in the latest release of VS Code Insiders!
@kolyalan, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 8703a11164db333db471576d38ddc143d6ad7ead of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

/verified

Working as expected again in the Insiders Build. Thank you @deepak1556

/verified


Account for different coupling lengths in ring_crow_couplers.py

the previous implementation of ring_crow_couplers did not account for the possibility of having couplers of different length. If that's the case, then we have unclosed gaps or colliding waveguides.
With this PR we account for different coupler lengths and just add a straight section to connect everything.

Thank you Marc!


Fix tdigest aggregators to handle null values and enable them to be used for rollup during ingestion

Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
Affected Version
0.16.0
The Druid version where the problem was encountered.
0.16.0
Description
During our local testing I ran into an issue where the t-digest aggregators throw an NPE when a null value is encountered. Additionally, while doing the ingestion, it turned out that the aggregators need to implement the makeAggregateCombiner interface. While this worked fine in 0.12.0, something has changed from then which makes this an explicit requirement.

heh, just noticed the null handling thing last night while evaluating if complex sketch aggs handle null valued numeric columns correctly :+1:


Install Silently Completes incorrectly if a dependent module was in use and could not be upgraded.

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce
install-psresource microsoft.graph.authentication
ipmo microsoft.graph.authentication
install-psresource microsoft.graph.plusplus -verbose

Expected behavior
microsoft.graph.authentication would be upgraded

Actual behavior
VERBOSE: Attempting to delete 'C:\Users\JGrote\OneDrive - Allied Digital Services LLC\Documents\PowerShell\Modules\Microsoft.Graph.Authentication\1.7.0'
VERBOSE: Unable to successfully install package 'Microsoft.Graph.Authentication': 'Access to the path 'Microsoft.Graph.Auth.dll' is denied.'
VERBOSE: Attempting to delete 'C:\Users\JGrote\AppData\Local\Temp\04d0b25b-0cf6-4822-a3d8-7e3c1da7919d'
VERBOSE: Successfully deleted 'C:\Users\JGrote\AppData\Local\Temp\04d0b25b-0cf6-4822-a3d8-7e3c1da7919d'

And silently completes without warning or error

Error details
VERBOSE: Unable to successfully install package 'Microsoft.Graph.Authentication': 'Access to the path 'Microsoft.Graph.Auth.dll' is denied.'

Environment data
ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.11     beta       powershellget                       {Find-PSResource, Get-InstalledPSResource, Get-PS…

Key   : PSVersion
Value : 7.1.4
Name  : PSVersion

Key   : PSEdition
Value : Core
Name  : PSEdition

Key   : GitCommitId
Value : 7.1.4
Name  : GitCommitId

Key   : OS
Value : Microsoft Windows 10.0.22000
Name  : OS

Key   : Platform
Value : Win32NT
Name  : Platform

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0…}
Name  : PSCompatibleVersions

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : <IP_ADDRESS>
Name  : SerializationVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Visuals
No response

Closing this issue as it is resolved now, I believe via PR #525.


I'm hitting the line limit

Hi, I'm hitting the line limit for results returned by open ai. I see that it's hard-coded to 10. Is there an easy way to make this configurable?

Hi, @JoeCotellese . Thanks for letting me know your issue that greatly contributes to the development of ChatUI.
1.0.0-beta.6
🚀 I released 1.0.0-beta.6 to support line limit in MessageRow and character limit in MessageField. Now both have an unlimited line(or character) as a default.
Here is an example usage:
MessageList(messages) { message
    // rowContent
    MessageRow(message: message, lineLimit: 10) // 🌟 set `lineLimit`. The default is `nil` which means unlimited
        .padding(.top, 12)
}

MessageField(characterLimit: 300) { messageStyle in // 🌟 set `characterLimit`. The default is `nil` which means unlimited
    // send message...
}

Additional Information
💡 It is not necessary to use MessageRow in the rowContent of MessageList. You can design your own message row that suits your app's needs by using the messageStyle(_:) modifier in View that is provided by ChatUI.

Example usage(ChatGPT-like):

MessageList(messages) { message in
    HStack(alignment: .top, spacing: 8) {
        AsyncImage(url: message.sender.imageURL) { image in
            image
                .resizable()
                .messageStyle(.senderProfile)
            } placeholder: {
                Image(systemName: "person.crop.circle.fill")
                    .resizable()
                    .messageStyle(.senderProfile)
                    .foregroundColor(appearance.secondary)
            }

        switch style {
        case .text(let text):
            let markdown = LocalizedStringKey(text)
            Text(markdown)
                .fixedSize(horizontal: false, vertical: true) // or use `.lineLimit(nil`
                .tint(isMyMessage ? appearance.prominentLink : appearance.link)
                .messageStyle(isMyMessage ? .localBody({LINE.LIMIT}) : .remoteBody({LINE.LIMIT}))
    }
}

@JoeCotellese
Great! I'll close this issue!
If you have any issues regarding the line limit, please re-open or create a new issue.🌟


Failed to compile Rust examples on SGX

When trying to compile the test_nn crate I get the following error.
  = note: rust-lld: error: undefined symbol: __tvm_module_startup
          >>> referenced by syslib.rs:54 (runtime/src/module/syslib.rs:54)
          >>>               tvm_runtime-f01990fd12d68664.1r4d5m44mb9eexid.rcgu.o:(_$LT$tvm_runtime..module..syslib..SystemLibModule$u20$as$u20$core..default..Default$GT$::default::hcb6bc8b13c957c71) in archive /home/kai/dev/tvm/rust/target/x86_64-fortanix-unknown-sgx/debug/deps/libtvm_runtime-f01990fd12d68664.rlib

The crate runs and compiles fine without SGX. i am not entirely sure where the tvm_moule_startup symbol is defined. Is there some other library I have to link to?
Thanks,
Kai
PS: Also the apps/sgx example seems to be broken.

cc @nhynes

https://github.com/apache/incubator-tvm/blob/master/apps/sgx/build.rs#L68-L73

https://github.com/apache/incubator-tvm/blob/master/apps/sgx/build.rs#L68-L73

Thanks. Not sure why but that fixes it!


macOS Natural Text Editing: "command delete" should delete whole line, not one character

Discussion: #3232
Add: keybind = cmd+backspace=esc:w as a default for macOS. This is similar to #3106.

Note: this may have to be \x15. Me or whoever does this should do some research to figure out the right input here.

\x15 is working for me. https://github.com/datwaft/dotfiles/blob/16504b331bffaa6b56f65012132330c2124323b8/.config/ghostty/config#L12

Fixed by #3679


Add documentation dsl for describing the default value of properties

A lot of our default values are computed and we actually need to describe what they are vs. trying to evaluate them. We should include a new method for adding a default_description.

This has been done


No osx_profile resource

In Chef 12.8.1, or so, osx_profile was added to Chef core. What would the process be for adding that?

I've added it in #756 I'll work on tests / examples tomorrow and then ship 5.1

Awesome, thanks!

This has shipped


GCS and BQ locators and actions change

@itsankit-google @rmstar Please review.

Cleaned up xpaths of existing locators to remove class.
Added locators and actions.

Squashed commits.


Problem including the package dependency in Maven

Getting the following error on adding into pom.xml
    <repositories>
        <repository>
            <id>github</id>
            <name>GitHub Packages</name>
            <url>https://maven.pkg.github.com/xebia-os/xebia-archunit-extension</url>
        </repository>
    </repositories>

        <dependency>
            <groupId>com.github.xebia</groupId>
            <artifactId>archunit-extension</artifactId>
            <version>0.1.0</version>
            <scope>test</scope>
        </dependency>

Could not find artifact com.github.xebia:xebia-archunit-extension:pom:0.1.0 in github (https://maven.pkg.github.com/xebia-os/xebia-archunit-extension)

Could not resolve dependencies for project com.xebia.starters:api:jar:0.1.0-SNAPSHOT: Failed to collect dependencies at com.github.xebia:archunit-extension:jar:0.1.0: Failed to read artifact descriptor for com.github.xebia:archunit-extension:jar:0.1.0: Failure to find com.github.xebia:xebia-archunit-extension:pom:0.1.0 in https://maven.pkg.github.com/xebia-os/xebia-archunit-extension was cached in the local repository, resolution will not be reattempted until the update interval of github has elapsed or updates are forced

Already created a Github PAT and authenticated to Github Packages. The URL seems to be right as per the Github docs but I see a 404 on that page. I can download the jar manually from the packages page. What is missing? Is the name a problem? archunit-extension vs xebia-archunit-extension?

Follow this https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages#authenticating-to-github-packages

Get the following message now:

Failed to collect dependencies at com.github.xebia:archunit-extension:jar:0.1.0: Failed to read artifact descriptor for com.github.xebia:archunit-extension:jar:0.1.0: Could not find artifact com.github.xebia:xebia-archunit-extension:pom:0.1.0 in github (https://maven.pkg.github.com/xebia-os/xebia-archunit-extension)

My settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">

    <activeProfiles>
        <activeProfile>github</activeProfile>
    </activeProfiles>

    <profiles>
        <profile>
            <id>github</id>
            <repositories>
                <repository>
                    <id>github</id>
                    <name>GitHub OWNER Apache Maven Packages</name>
                    <url>https://maven.pkg.github.com/xebia-os/xebia-archunit-extension</url>
                </repository>
                <repository>
                    <id>central</id>
                    <url>https://repo1.maven.org/maven2</url>
                    <releases><enabled>true</enabled></releases>
                    <snapshots><enabled>true</enabled></snapshots>
                </repository>
            </repositories>
        </profile>
    </profiles>

    <servers>
        <server>
            <id>github</id>
            <username>OMITTED HERE</username>
            <password>OMITTED HERE</password>
        </server>
    </servers>
</settings>

Dependency added to pom.xml
        <dependency>
            <groupId>com.github.xebia</groupId>
            <artifactId>archunit-extension</artifactId>
            <version>0.1.0</version>
            <scope>test</scope>
        </dependency>

Removed the  tag from pom.xml this time since it is now in settings.xml

For some reason IntelliJ is looking for 2 different dependencies?

Maven is kind of iffy to work with anyhow, let me try with a Gradle build.

Have you added repository as well?

Gradle test

Generated a new Spring Web project from start.spring.io

Ran ./gradlew build

Followed https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-gradle-for-use-with-github-packages#authenticating-to-github-packages to add configuration to build.gradle. The Github docs are kind of iffy/unclear, ended up with the following:

plugins {

	id("maven-publish")
}
repositories {

	maven {
		name = "GitHubPackages"
		url = uri("https://maven.pkg.github.com/xebia-os/archunit-extension")
		credentials {
			username = OMITTED
			password = OMITTED
		}
	}
}
dependencies {

	testImplementation("com.github.xebia:archunit-extension:0.1.0")
}

Got the following error:
./gradlew build
> Task :compileTestJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Could not resolve all files for configuration ':testCompileClasspath'.
   > Could not resolve com.github.xebia:archunit-extension:0.1.0.
     Required by:
         project :
      > Could not resolve com.github.xebia:archunit-extension:0.1.0.
         > Could not parse POM https://maven.pkg.github.com/xebia-os/archunit-extension/com/github/xebia/archunit-extension/0.1.0/archunit-extension-0.1.0.pom
            > Could not find com.github.xebia:xebia-archunit-extension:0.1.0.

Have you added repository in the pom.xml as well?

Yes I did initially. Tried with both.

One confusion, is it archunit-extension or xebia-archunit-extension?

https://github.com/xebia-os/xebia-archunit-extension/packages/374835

The problem was that parent pom was not published. I fixed the publish process. @awkshwayrd  please close this if it is working for you now.

Working for me now so closing it.


[Branch] carry-rework

Why did we need this? (what does this change enable us to do)

VPR uses a different model for how the CARRY4 works.
This is needed because "chain" pack patterns must only have one root pin.
See

What did it change?
Combines the 4 * CARRY modules found in a slice into a CARRY4 module.
Should it be merged upstream - if not, when can we delete it?
When VPR supports generic tree style pack patterns for carry chains.

synth_xilinx -abc9 already emits CARRY4 instead of MUXCY/XORCY, and there is already some special handling for the -vpr option. Can you provide a PR of the changes you'd like to make? As I remember with talking to @litghost in the past, that your CARRY4 is different to the vendor one?

As I remember with talking to @litghost in the past, that your CARRY4 is different to the vendor one?

The CARRY4 we use with VPR is different than the vendor one due to a limitation in how VPR models carry chains.  VPR had (and probably still has) has limitation on how carry chains are defined.  Specifically if the carry chain can both reach the dedicated fabric and the general routing fabric, it doesn't work correctly.  Because of this limitation, the -vpr flag handles the CARRY4 block differently.
There is also the fact that unregistered CARRY4 outputs can easily result in congestion at the output muxes, resulting the need for passing through the output FF's as latches (which is bad for performance).
In the long run, these limitations will be removed, but they are not a priority right now as this branch modifies the CARRY4 instantiations that accomidates VPR's limitations.

In the long run, these limitations will be removed, but they are not a priority right now as this branch modifies the CARRY4 instantiations that accomidates VPR's limitations.

Sorry, my impression from #43 is that we wanted to work towards driving this delta down to zero @mithro? If so, let me study the problem some more and see if there's a more elegant way of achieving this, now that the flow has evolved some more...

Yosys currently already has a custom CARRY4 for VPR, this branch updates it based on the -abc9 work.  I haven't pushed it upstream yet, but it is something that is planned.


Material time picker size issue

Hi,
Is there any way that we can reduce size of time picker overlay. We tried it by using css theme provider. Couldn't make it up. Any help on this please

can someone  please help here ASAP!

Please submit support requests and questions to StackOverflow using the tag material-ui. StackOverflow is better suited for this kind of support. The issue tracker is for bug reports and feature discussions. See also our CONTRIBUTING guidelines.


appgatesdp_policy.dns_settings isn't removed correctly

Terraform CLI, Terraform appgatesdp Provider Version, and Appgate Appliance version(s)
terraform cli: v0.14.4
terraform-provider-appgatesdp:  0.8.5
appgate appliance version: 5.5.2
Affected Resource(s)
appgatesdp_policy
Terraform Configuration Files
Before:
resource "appgatesdp_policy" "dns" {
  name  = "Forward DNS"
  disabled = false

  dns_settings {
    domain = "default"
    servers = concat(
      tolist(data.aws_route53_resolver_endpoint.dns_aws_oregon.ip_addresses),
    )
  }

  entitlements = [
    appgatesdp_entitlement.dns_aws.id,
  ]
}

After:
resource "appgatesdp_policy" "dns" {
  name  = "Forward DNS"
  disabled = false

  entitlements = [
    appgatesdp_entitlement.dns_aws.id,
  ]
}

Expected Behavior
Default dns_settings should be removed from SDP policy
Actual Behavior
Default dns_settings continue to be applied to the SDP policy
Steps to Reproduce

Deploy a policy with dns_settings configured
Update the policy with the dns_settings block(s) removed

Important Factoids
This is following an upgrade from v5.2 to v5.5 where we are trying to take advantage of the new domain:// syntax.  We applied some changes for the new DNS policies which we later tried to roll back.  The rollback appeared successful however we found out through Appgate SDP Client logs that the settings are still applied.

Thanks for reporting this, this should be resolved in 0.8.7


c++ version

https://github.com/netpipe/LunaLibs/tree/master/mtar
been working on this works on windows fine still trying to get linux version working.

its extracting great now making the proper directorys


JSX Comments (mixed modes)

VSCode Version: 1.5.1
OS Version: Fedora 24

Steps to Reproduce:

Try to put a comment on a JSX row
The comment is "//" instead of "{/*".

https://github.com/Microsoft/vscode/issues/7658

Closing as duplicate of #7658


Handling Categorical Data / Validation: switching from np.ndarray  -> pd.DataFrame

Handling categorical data in HDDDM: Ask user to input dtype as category, then label encode
For detectA, if input dtype then get_dummies()
switch to pd.DataFrame from np.ndarray for validation steps. Why?

allows for storing mapping between categorical variables and their encoding so we can help user identify either which class or which categories are experiencing drift

If we have an internal encoder for each detector (or even just labels), then we might want to set up examples so that they decode, e.g. histograms which swap out "(0,1], (2,3], ..." for "cat, dog, marmoset".

I'm leaning towards requiring the user to convert categorical features to get_dummies as a preprocessing step, before using our detectors (thinking this through in context of DetectA). It seems risky to automatically convert categorical features to dummies? And it would follow with other ML libraries to require the user to preprocess categorical data prior to use
I can add to HDDDM example / documentation a note about using label encode, and to DetectA a note and example on using get dummies
Thoughts? @tms-bananaquit

saving DetectA handling categorical features for later.
Problem: Because we use PCA to whiten the matrix, we must use one-hot encoding to handle categorical variables. When computing the covariance matrix, this results in the correlations of the one-hot encoded variables being the same for several features (Ex: a few features will all have identical rows in the covariance matrix because the correlation between them and other one-hot encoded features is either 0 or 1). This causes the determinant of the covariance matrix to be 0, so we cannot compute the inverse and calculate the T2 statistic.
Potential solutions could consider another form of encoding the categorical variables.. encode using one-hot for PCA and then convert back to label encoding?

After more discussion, we'll likely leave proper encoding to the user, with examples. One can imagine cases where the incoming data is already encoded properly, as it comes out of a query, or similar, so asking the user to potentially back-convert to e.g. a dataframe is potentially duplicating work for them and adding the burden of more code for us. Will think a bit more about this and see whether there's good reason to make other tweaks to the validation.


Added attachment file size display

Hi, first PR to take a look at the code base of this project (and a bit more at matrix internals).
It displays the attachment file size by appending it in the displayed messages.
For example, it would show [Attached Image: Alt Text (12.34 kB)] or [Attached Image: Alt Text] if the size field is not present in the message information.
Adds the humansize crate to Cargo.toml.
Intends to fix #97

This looks great! Thank you for adding more tests, too! :pray:


endpoint: Dump policy map only when syncing from the controller

Avoid dumping the policy map when updating the endpoint policy. This
relies on the realized policy state being up-to-date. The controller
still syncs with a full dump, so if the realized policy state gets out
of date, the bpf state will still be properly fixed.
Avoiding the full dump on policy update reduces the number of syscalls
needed for the policy update.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

This change is

test-me-please

Coverage decreased (-0.05%) to 41.82% when pulling c6a63c3cd7f7fbb1630fedbfe3d36c7ca6b7231f on pr/jrajahalme/map-sync-redux into 97e9825d8833d598e306663c82b44b55b1182563 on master.

test-me-please

test-me-please

Build failure: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/12534/

test-me-please

test-me-please

New CI build started two hours after I asked for it.


Virtual console switch problems

Hi.

ArchLinux
kernel version: 5.16.11-arch1-1
keyd version: 2.2.7-beta
Microsoft Ergonomic Keyboard

I successfully switch to another virtual console from the display manager. However, from the virtual console, switching does not work at all (I press ctrl+alt+F<x> and nothing happens). When I stop keyd it will switch.

Can you post your full config?
On Wed, Mar 16, 2022 at 1:11 AM Andrey Shigantsov @.***>
wrote:

Hi.
ArchLinux
kernel version: 5.16.11-arch1-1
keyd version: 2.2.7-beta
Microsoft Ergonomic Keyboard
I successfully switch to another virtual console from the display manager.
However, from the virtual console, switching does not work at all (I press
ctrl+alt+F and nothing happens). When I stop keyd it will switch.
—
Reply to this email directly, view it on GitHub
https://github.com/rvaiya/keyd/issues/154, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOP7GJM6Y62XET5YDRYVQLVAFUPDANCNFSM5Q2XZEFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

# Microsoft Ergonomic Keyboard (LXM-00001)
[ids]
045e:082c

[main]

rightalt = layer(ralt)
leftalt = layer(lalt)

rightshift = layer(rshift)
leftshift = layer(lshift)

rightcontrol = layer(rcontrol)
leftcontrol = layer(lcontrol)

#left = esc
#right = esc
#up = esc
#down = esc

[rshift:S]

[lshift:S]

[lcontrol:C]
leftshift = swap(lcontrol_lshift)
rightshift = layer(rshift)

[rcontrol:C]

[lcontrol_lshift:C-S]
leftalt = swap(lcontrol_lshift_lalt)
rightalt = layer(ralt)

[lcontrol_lshift_lalt:C-S-A]
leftmeta = swap(fakemeta)

[fakemeta:M]
rightalt = layer(ralt)
rightshift = layer(rshift)
rightcontrol = layer(rcontrol)

[ralt:G]
leftalt = layer(alt_vim)
#leftalt = swap(alt_vim)

[lalt:G]
rightalt = layer(alt_vim)
#rightalt = swap(alt_vim)

[alt_vim]
control = layer(alt_vim_control)
shift = layer(alt_vim_shift)
meta = layer(alt_vim_meta)

h = left
j = down
k = up
l = right
w = C-right
b = C-left

x = delete
0 = home

/ = C-f

[alt_vim_control:C]
f = pageup
b = pagedown

[alt_vim_shift:S]
4 = end

h = S-left
j = S-down
k = S-up
l = S-right
w = C-S-right
b = C-S-left

[alt_vim_meta:M]

Thanks! [lalt:A] fixes the problem.

The output of sudo keyd -m while pressing the sequence would also help.
On Wed, Mar 16, 2022 at 2:49 AM Raheman Vaiya @.***> wrote:

Can you post your full config?
On Wed, Mar 16, 2022 at 1:11 AM Andrey Shigantsov <
@.***> wrote:

Hi.
ArchLinux
kernel version: 5.16.11-arch1-1
keyd version: 2.2.7-beta
Microsoft Ergonomic Keyboard
I successfully switch to another virtual console from the display
manager. However, from the virtual console, switching does not work at all
(I press ctrl+alt+F and nothing happens). When I stop keyd it will
switch.
—
Reply to this email directly, view it on GitHub
https://github.com/rvaiya/keyd/issues/154, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOP7GJM6Y62XET5YDRYVQLVAFUPDANCNFSM5Q2XZEFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Added more tests to the webhook service scaling feature

@sangeethah : Added more tests and modified a couple of tests .Please review. All tests have passed on v1.4.0-rc9 except for "test_webhook_service_no_image" for which we have a bug(#7636) which will be fixed in the next release.

LGTM


add tests for merkle links

New tests reflecting the behavior of merkle-links in ipld (following https://github.com/nicola/interplanetary-paths)

Thanks, merged and fixed everything


Pixman renderer asserts when using scene graph

When using the scene graph, the Pixman renderer crashes with an assertion failure.  The other renderers have not been tested but presumably work.

q.txt

I don't think you're using the API apropriately. I can run the scene-graph example with WLR_RENDERER=pixman without any issues.

I see you based your code on tinywl, there's a patch (https://github.com/swaywm/wlroots/pull/3250) that introduces the scene graph api, might be of help.
Otherwise im afraid i can't debug your code, sorry.


xwayland should be moved to extra/ or xorg/

i have tested xwayland and i believe it should exit testing, and be put in either extra/ or xorg/.
it can also be safely switched out for muon for #86, and wayland users might want this package.
wael: does xwayland belong in community
wael: if at all
illiliti: no
wael: damn so it stays in kiss-xorg

I'm glad someone has tested it - I havent had the time to. Was the setup roughly the same as on X? Were there any wayland specific things that you had to do? I'd definitely like to offer it as an option, so having some docs on how to set it up would be a first step IMO.

Was the setup roughly the same as on X?

depends on the compositor, had to fork almost all of them just to have xwayland built in

Were there any wayland specific things that you had to do?

many packages had to be built both FOR wayland and xorg

Was the setup roughly the same as on X?

depends on the compositor, had to fork almost all of them just to have xwayland built in

Were there any wayland specific things that you had to do?

many packages had to be built both FOR wayland and xorg

If you had to fork so many packages, would it make sense to ship these forked pkgs in their own repo, maybe xwayland/?

i will NOT start working on this and suggest @ehawkvu to instead push the xwayland repository to xorg.
many propietary or X applications will still need X libraries. so a user is suggested to use the entire xorg repository as a benefit.

plz move it to xorg already

done.

thx


Add helper function for diagnosing xmap issues

Collect and return multiple errors?
Currently validate_xmap() checks conditions sequentially like so https://github.com/cynthiahqy/conformr-project/blob/9611e2166fe30a5f41a206e94c9ea3f011ad0e58/create-xmap.Rmd#L497-L522:
This means that validate will only ever throw one error at a time, this could be quite tedious if your xmap has multiple issues that might make sense to fix all at once.
Originally posted by @cynthiahqy in https://github.com/cynthiahqy/conformr-project/issues/59#issuecomment-1398246412
Possible interface: xmap_diagnose(df, from, to, weights)

Other diagnostics that are informative but not strictly necessary for validation are link & xmap type flags -- i.e. recode, split and collapse

This is something like a {pointblank} or {assertr} validation pipeline, where we want to warn on fail instead of stop.
#82 is somewhat of a dry-run for as_map(), but the package could provide more comprehensive guidance on diagnosing and correcting data issues. The Multiagent functions would be particularly useful for preparing multiple maps at once (i.e. with country, year groups).

Closing this issue for now since it's not clear what more is needed beyond the combination of internal abort_ and vhas_ fncs and the external helper verify_links_as_xmap() in #82. Any another kind of refactor is dealt with in #112

Could be implemented as a on_fail = "summary" argument; that checks subsequent conditions?
https://github.com/joelnitta/dwctaxon#validate-data


HttpPositionalArguments false offencefor routes.draw

# spec/controllers/my_spec.rb
RSpec.describy 'My', type: :controller do
  controller(ActionController::Base) do
    # ...
  end

  before(:each) do
    routes.draw do
      get :fetch, to: 'anonymous#fetch'
      get :, to: 'anonymous#with_authenticate'
    end
  end
end

Offenses:

spec/concerns/controllers/my_spec.rb:21:7: C: Rails/HttpPositionalArguments: Use keyword arguments instead of positional arguments for http call: get.
      get :fetch, to: 'anonymous#fetch'
      ^^^

and autocorrects to:
get :fetch, params: { to: 'anonymous#fetch' }

that breaks specs.
Expected behavior
HTTP verbs inside routes.draw are ignored.
Actual behavior
An incorrect auto-correction is made.
Steps to reproduce the problem
See example code.
RuboCop version
$ rubocop -V
1.2.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.1.1, running on ruby 2.5.7 x86_64-linux)
  - rubocop-minitest 0.1.0
  - rubocop-performance 1.8.1
  - rubocop-performance 1.8.1
  - rubocop-rails 2.3.2
  - rubocop-rspec 2.0.0

The issue reproduction code get :fetch, to: 'anonymous#fetch' is a dup with #180 and resolved by #194. Is there anything else that is in issue?

The issue reproduction code get :fetch, to: 'anonymous#fetch' is a dup with #180 and resolved by #194. Is there anything else that is in issue?

Thanks for the heads-up!
I seem to have used an outdated version. Sorry for not checking with the most recent one.

Thanks for the heads-up!
I seem to have used an outdated version. Sorry for not checking with the most recent one.


node-servant: add preflight-convert command

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

/kind feature
What this PR does / why we need it:
Split preflight check and convert. Preflight check is called by yurtctl convert to perform pre-check to reduce the conversion failures.
Which issue(s) this PR fixes:

Fixes #619
Special notes for your reviewer:

@DrmagicE @adamzhoul @rambohe-ch
Does this PR introduce a user-facing change?

other Note

Test cases:
Success:
[root@node1 node-servant]# ./yurt-node-servant preflight-convert
I1215 16:44:57.780194   26543 preflight.go:22] [preflight-convert] Running node-servant pre-flight checks
[preflight-convert] Pulling images required for converting a Kubernetes cluster to an OpenYurt cluster
[preflight-convert] This might take a minute or two, depending on the speed of your internet connection
I1215 16:44:57.805648   26543 preflight.go:31] convert pre-flight checks success
[root@node1 node-servant]#

Failure: run in OpenYurt Node
[root@node1 node-servant]# ./yurt-node-servant preflight-convert --yurthub-image=openyurt/yurthub:v0.5.0
I1215 17:07:35.262807    3171 preflight.go:22] [preflight-convert] Running node-servant pre-flight checks
F1215 17:07:35.263045    3171 preflight.go:29] Fail to run pre-flight checks: [preflight] Some fatal errors occurred:
	[ERROR Port-10268]: Port 10268 is in use
	[ERROR Port-10261]: Port 10261 is in use
	[ERROR Port-10267]: Port 10267 is in use
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
goroutine 1 [running]:
k8s.io/klog/v2.stacks(0xc000010001, 0xc0006c2000, 0x164, 0x2a9)
	/root/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:1026 +0xb9
k8s.io/klog/v2.(*loggingT).output(0x1f1f000, 0xc000000003, 0x0, 0x0, 0xc0004e4070, 0x0, 0x1e8c1cc, 0xc, 0x1d, 0x0)
	/root/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:975 +0x1f1
k8s.io/klog/v2.(*loggingT).printf(0x1f1f000, 0xc000000003, 0x0, 0x0, 0x0, 0x0, 0x151b798, 0x21, 0xc0004e2360, 0x1, ...)
	/root/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:753 +0x19a
k8s.io/klog/v2.Fatalf(...)
	/root/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:1514
github.com/openyurtio/openyurt/cmd/yurt-node-servant/preflight-convert.NewxPreflightConvertCmd.func1(0xc0006a82c0, 0xc00068ee40, 0x0, 0x1)
	/root/test/node-servant/openyurt/cmd/yurt-node-servant/preflight-convert/preflight.go:29 +0x24f
github.com/spf13/cobra.(*Command).execute(0xc0006a82c0, 0xc00068ee30, 0x1, 0x1, 0xc0006a82c0, 0xc00068ee30)
	/root/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc00068b8c0, 0xc0005bff00, 0x1, 0x1)
	/root/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	/root/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main()
	/root/test/node-servant/openyurt/cmd/yurt-node-servant/node-servant.go:50 +0x307

goroutine 6 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x1f1f000)
	/root/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:1169 +0x8b
created by k8s.io/klog/v2.init.0
	/root/go/pkg/mod/k8s.io/klog/v2@v2.9.0/klog.go:420 +0xdf

goroutine 7 [chan receive]:
k8s.io/klog.(*loggingT).flushDaemon(0x1f1ef20)
	/root/go/pkg/mod/k8s.io/klog@v1.0.0/klog.go:1010 +0x8b
created by k8s.io/klog.init.0
	/root/go/pkg/mod/k8s.io/klog@v1.0.0/klog.go:411 +0xd8
[root@node1 node-servant]#

@adamzhoul Do you have any comments about new command: node-servant preflight-check?

@adamzhoul @rambohe-ch
Currently, only the parameter kubeadm-config-path in node-servant convert and preflight check has been modified. Does not affect the use of yurtctl convert/revert and node-servant revert.
Because there are different modifications in the yurtctl convert/revert and node-servant revert, I will submit it in another pr.

kubeadm-conf-path Test：
convert:
[root@master bin]# ./yurt-node-servant convert --join-token 30zrv0.2h7ivu4561gre3fx --working-mode cloud --kubeadm-conf-path=/etc/systemd/system/kubelet.service.d/10-kubeadm.conf,/usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf
I1220 20:44:46.779194   16227 yurthub.go:67] setting up yurthub on node
I1220 20:44:46.779231   16227 yurthub.go:70] setting up yurthub apiServer addr
I1220 20:44:46.779330   16227 yurthub.go:88] create the /etc/kubernetes/manifests/yurt-hub.yaml
I1220 20:44:46.781013   16227 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:44:56.781285   16227 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:45:06.781257   16227 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:45:16.781258   16227 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:45:26.781560   16227 yurthub.go:182] yurt-hub healthz is OK after 40.002206 seconds
I1220 20:45:26.781631   16227 kubelet.go:100] revised kubeconfig /var/lib/openyurt/kubelet.conf is generated
I1220 20:45:26.781773   16227 kubelet.go:173] restartKubelet: systemctl daemon-reload
I1220 20:45:26.839596   16227 kubelet.go:178] restartKubelet: systemctl restart kubelet
I1220 20:45:26.859147   16227 kubelet.go:183] restartKubelet: kubelet has been restarted
I1220 20:45:26.859161   16227 convert.go:48] convert success

[root@master bin]# ./yurt-node-servant revert
I1220 20:20:24.097646    5506 kubelet.go:161] revertKubelet: undoAppendConfig finished
I1220 20:20:24.097677    5506 kubelet.go:176] restartKubelet: systemctl daemon-reload
I1220 20:20:24.162094    5506 kubelet.go:181] restartKubelet: systemctl restart kubelet
I1220 20:20:24.184615    5506 kubelet.go:186] restartKubelet: kubelet has been restarted
I1220 20:20:24.184664    5506 kubelet.go:88] revertKubelet: undoWriteYurthubKubeletConfig finished
I1220 20:20:24.184708    5506 yurthub.go:106] UnInstallYurthub: /etc/kubernetes/manifests/yurt-hub.yaml has been removed
I1220 20:20:24.184894    5506 yurthub.go:119] UnInstallYurthub: config dir /var/lib/yurthub  has been removed
I1220 20:20:24.184902    5506 yurthub.go:152] wait for yurt-hub exit
I1220 20:20:24.185566    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:25.185909    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:26.185881    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:27.185886    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:28.185882    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:29.185887    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:30.185894    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:31.185936    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:32.186965    5506 yurthub.go:162] yurt-hub is still running
I1220 20:20:33.185805    5506 yurthub.go:159] yurt-hub is not running, with ping result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:20:33.185871    5506 yurthub.go:133] UnInstallYurthub: cache dir /etc/kubernetes/cache/  has been removed
I1220 20:20:33.185889    5506 revert.go:41] revert success

[root@master bin]# ./yurt-node-servant convert --join-token 30zrv0.2h7ivu4561gre3fx --working-mode cloud
I1220 20:19:11.003462    4514 yurthub.go:67] setting up yurthub on node
I1220 20:19:11.003493    4514 yurthub.go:70] setting up yurthub apiServer addr
I1220 20:19:11.003592    4514 yurthub.go:88] create the /etc/kubernetes/manifests/yurt-hub.yaml
I1220 20:19:11.003790    4514 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:19:21.004018    4514 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:19:31.004014    4514 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:19:41.004008    4514 yurthub.go:179] yurt-hub is not ready, ping cluster healthz with result: Get "http://<IP_ADDRESS>:10267/v1/healthz": dial tcp <IP_ADDRESS>:10267: connect: connection refused
I1220 20:19:51.004338    4514 yurthub.go:182] yurt-hub healthz is OK after 40.000724 seconds
I1220 20:19:51.004406    4514 kubelet.go:103] revised kubeconfig /var/lib/openyurt/kubelet.conf is generated
I1220 20:19:51.004500    4514 kubelet.go:176] restartKubelet: systemctl daemon-reload
I1220 20:19:51.065718    4514 kubelet.go:181] restartKubelet: systemctl restart kubelet
I1220 20:19:51.089076    4514 kubelet.go:186] restartKubelet: kubelet has been restarted
I1220 20:19:51.089092    4514 convert.go:48] convert success
[root@master bin]#
[root@master bin]#

preflight check:
[root@master bin]# ./yurt-node-servant preflight-convert
I1220 20:07:28.351996   31541 preflight.go:40] [preflight-convert] Running node-servant pre-flight checks
[preflight-convert] Pulling images required for converting a Kubernetes cluster to an OpenYurt cluster
[preflight-convert] This might take a minute or two, depending on the speed of your internet connection
I1220 20:07:45.537409   31541 preflight.go:49] convert pre-flight checks success

[root@master bin]# ./yurt-node-servant preflight-convert --kubeadm-conf-path=/etc/systemd/system/kubelet.service.d/10-kubeadm.conf,/usr/lib/kubelet.service.d/10-kubeadm.conf --ignore-preflight-errors=fileatleastoneexistingcheck-/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
I1220 20:43:45.756054   15824 preflight.go:40] [preflight-convert] Running node-servant pre-flight checks
E1220 20:43:45.756277   15824 preflight.go:46] Fail to run pre-flight checks: [preflight] Some fatal errors occurred:
	[ERROR KubeadmConfig]: no file in list [/etc/systemd/system/kubelet.service.d/10-kubeadm.conf /usr/lib/kubelet.service.d/10-kubeadm.conf] exists
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
[root@master bin]#
[root@master bin]#

/lgtm


add xrepo_target_packages

Before adding new features and new modules, please go to issues to submit the relevant feature description first.
Write good commit messages and use the same coding conventions as the rest of the project.
Please commit code to dev branch and we will merge into master branch in feature
Ensure your edited codes with four spaces instead of TAB.

增加新特性和新模块之前，请先到issues提交相关特性说明，经过讨论评估确认后，再进行相应的代码提交，避免做无用工作。
编写友好可读的提交信息，并使用与工程代码相同的代码规范，代码请用4个空格字符代替tab缩进。
请提交代码到dev分支，如果通过，我们会在特定时间合并到master分支上。
为了规范化提交日志的格式，commit消息，不要用中文，请用英文描述。

@cyfdecyf We recommend using the xrepo_target_packages interface to integrate packages, it is more simple and general, and supports all xrepo packages and third-party packages, not just packages with cmake modules. For details, see: https://github.com/xmake-io/xrepo-cmake#add-basic-packages

This is really a nice feature to have. I will used it for well organized CMake code.
I didn't think about this because I'm working with existing projects that doesn't have well organized CMake code. Global include and link libraries are used instead of on targets.
To be honest, I'm not serious about CMake for a long time. Just finished reading Modern CMake a few months ago and written quite some CMake code to refactor existing build code. I don't like the CMake language, the quirks are awful, syntax are ugly. If not for working with existing projects, I'd rather try to switch to xmake.
Rants aside, thanks for xrepo, I don't need to use CMake as a language for package management.


Update validators.js

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Fix/Feature: Docs have been added/updated
[ ] Fix/Feature: Tests have been added; existing tests pass

Other information:

I'm closing this since it seems to be the same as #16836


Emit a warning when encountering an unknown macro

I'm trying to have pylatexenc emit a warning when it finds an unknown macro.
I define an arguments parser that does nothing and emits a warning. Then I define a MacroSpec that uses this parser and finally I register it with the walker's context using set_unknown_macro_spec(). See the code below.
I gently ask if this is the correct way to go.
I suspect that I'm missing something, because I get a warning at the end of the math mode (at the second "$" in the second example in the code below).
I would also like to emit the name of the unknown macro, but this is for later :)
"""Emit a waning on unknown macros - proof of concept."""

from pylatexenc import macrospec, latexwalker, latex2text
import logging

class DoNothingArgumentsParser(macrospec.MacroStandardArgsParser):
    """An argument parser that does nothing and emits a warning."""

    def parse_args(self, w, pos, parsing_state=None):
        """Override the parse_args method to emit the warning."""
        logging.warning("Unknown macro XXX at %s",
                        pos)
        return super().parse_args(w, pos, parsing_state=None)

walker_context = latexwalker.get_default_latex_context_db()
unknown_macro_spec = macrospec.MacroSpec(
    "",  # anything would do?
    args_parser=DoNothingArgumentsParser()
)
walker_context.set_unknown_macro_spec(unknown_macro_spec)

# first example
output = latex2text.LatexNodes2Text().latex_to_text(
    r"""\unknown""", latex_context=walker_context)
print(output)

print("===")

# second example
output = latex2text.LatexNodes2Text().latex_to_text(
    r"""start
$\mu $
\foo
\foobar
""", latex_context=walker_context)
print(output)

# Output:
# WARNING:root:Unknown macro XXX at 8
#
# ===
# WARNING:root:Unknown macro XXX at 11
# WARNING:root:Unknown macro XXX at 18
# WARNING:root:Unknown macro XXX at 26
# start
# μ
#

Your approach is correct! Your code also captures the macro \mu which is not explicitly declared to the latexwalker. The default implementation relies on the behavior for default macros, which is to keep them as a macro node with no arguments. (The macro is separately declared for latex2text as representing the unicode "μ" symbol.)
I realize it's a bit of a weakness of the API for now that the parse_args() method is not given information about the macro/environment that is currently being parsed. This is usually not a problem in typical settings where you set a MacroSpec or EnvironmentSpec to specific macros, since in such cases the parser is usually tailored to a specific macro/environment. A possible approach to display the unknown macro name is to hook directly into the LatexContextDb object. I also realize that these objects don't expose a simple way of doing this, but the following code achieves the desired behavior:
from pylatexenc import latexwalker, macrospec, latex2text

class UnknownMacroArgsParser(macrospec.MacroStandardArgsParser):
    def __init__(self, macroname):
        super().__init__()
        self.macroname = macroname

    def parse_args(self, w, pos, parsing_state=None):
        print("Unknown macro `\\{}' at {}".format(self.macroname, pos))
        return super().parse_args(w, pos, parsing_state=parsing_state)

class CustomLatexContextDb(macrospec.LatexContextDb):
    def __init__(self, db):
        super().__init__()
        for cat in db.categories():
            self.add_context_category(
                cat,
                macros=db.iter_macro_specs([cat]),
                environments=db.iter_environment_specs([cat]),
                specials=db.iter_specials_specs([cat]),
            )

    def get_macro_spec(self, macroname):
        mspec = super().get_macro_spec(macroname)
        if mspec is not None:
            mspec
        return macrospec.MacroSpec(macroname, args_parser=UnknownMacroArgsParser(macroname))

walker_context = CustomLatexContextDb(latexwalker.get_default_latex_context_db())

# second example
output = latex2text.LatexNodes2Text().latex_to_text(
    r"""start
$\mu $
\foo
\foobar
""", latex_context=walker_context)
print(output)
# prints:
#
# Unknown macro `\mu' at 11
# Unknown macro `\foo' at 18
# Unknown macro `\foobar' at 26
# start
# μ

It's not a particularly elegant solution, and I'll look into how to make this easier in future versions of pylatexenc.
Regarding macros that are considered as unknown to latexwalker but are known to latex2text, you could consider emitting a warning only after performing a search in the latex2text context db object (call l2tcontext.get_macro_spec(macroname) and check if it is None, where l2tcontext is the context-db object used by latex2text). I hope this helps.
I'm going to change the issue title to reflect that the desired improvement to pylatexenc is that unknown macro/environment/specials handlers be given more information about what macro/environment/specials was encountered.

Actually, I realize that issue #32 already asked a very similar question. If you care about converting to text, not necessarily about obtaining the argument structure, you can plug into latex2text's context db to issue warnings for unknown macros. See my comment in issue #32.

Thank you for the clarifications.
Yes, #32 is better for my use case (sorry I didn't spot it by myself).


Be able to pass class using $$props.class

It would be cool to be able to pass your own css classes to the color picker, and it will require one line to be changed.
Example:
https://svelte.dev/repl/6de3c939fcbf4c90a0309210c04e1c3a?version=3.17.2
My main reasoning behind this:

I can use tailwindcss dark theme solution
I would like to set the color picker location as absolute
responsive design ig?

I understand what you want to do here but I'm not sure that the proposed solution is the right one. In the library there are a lot more that one HTML element. Exporting a class props would only make one HTML element class overridable.
You can already use tailwindcss to style the component by:

overriding the components
overriding the css variables:

:global(.dark) .my-color-picker-wrapper {
        --cp-bg-color: theme(colors.gray.800);
        --cp-border-color: theme(colors.white);
        --cp-input-color: theme(colors.gray.500);
        --cp-button-hover-color: theme(colors.gray.700);
    }

overriding the styles applied to the color-picker classes with the :global directive

Is ont of the proposed solution enough or is there something that you cannot do with that?

I understand what you want to do here but I'm not sure that the proposed solution is the right one. In the library there are a lot more that one HTML element. Exporting a class props would only make one HTML element class overridable.
You can already use tailwindcss to style the component by:
1. [overriding the components](https://svelte-awesome-color-picker.vercel.app/#components)

2. [overriding the css variables](https://svelte-awesome-color-picker.vercel.app/#components):

:global(.dark) .my-color-picker-wrapper {
        --cp-bg-color: theme(colors.gray.800);
        --cp-border-color: theme(colors.white);
        --cp-input-color: theme(colors.gray.500);
        --cp-button-hover-color: theme(colors.gray.700);
    }

3. overriding the styles applied to the color-picker classes with the [`:global` directive](https://svelte.dev/docs/svelte-components#style)

Is ont of the proposed solution enough or is there something that you cannot do with that?

What about having an exported variable that is a js object with fields that correspond to their specific element? this is how i do it on a non svelte library i made

hmmm I checked :global() actually works for your lib i wonder why mine doesn't, Fair enough no use case for what I wanted then.
Then I suggest adding in the docs the css classes that you could overwrite with :global like "input container" etc.


scripts/python,vagrant/k8s: find python using env

This PR fixes errors such as:
./setup_cluster.sh: ./vagrant_cluster.py: /usr/local/bin/python: bad interpreter: No such file or directory
make[1]: *** [k8s-sanity-cluster] Error 126

LGTM


context issue..

it cannot grasp the full workspace context even when a full file is included with # ... and if use full workspace is enabled it just doesn't recognise files at all whether it's mentioned with # or not again..

Is it possible for you to provide your repository? I want to check for debugging purpose. Some file types can cause this maybe.
Also if your codebase is big , there is an extension setting use_full_workspacethis should be false. For small codebases setting it to true can work very well.

Is it possible for you to provide your repository? I want to check for debugging purpose. Some file types can cause this maybe.
Also if your codebase is big , there is an extension setting use_full_workspacethis should be false. For small codebases setting it to true can work very well.

its an all in python repository its private for a reason is 6.3k lines of code considered big? that's too bad if so it doesn't seem to be working with files that have 600 lines of code well either it just cuts out or returns not full code and tends to delete code on its own randomly

Sorry for this. Im working on a new feature that can handle the big files. Standart copilot can also struggle with long files currently.


Enable merge fallback when an i18n key is missing in a language

Resolves #80

Thanks, I'll Test it later today.


Background color for current selected !

Please update the highlight color while navigating thru oprtions ( I suggest a darker one or same as file-tree-color )
Thank you

Hi, indeed, I missed that. This should fixed in 3.0.3.

great !


Add theme.json with sensible defaults to the Theme Scaffold

This is ment to be a tracking ticket for the different action items that will be needed in order to add support for theme.json in the Theme Scaffold.
The Dev Note on make.wordpress.org says that these are the sideeffects of just adding an empty theme.json file to a theme:

There are some features that are enabled or disabled when a theme has support for a theme.json file:

The template editor is enabled.
The default layout and margin styles for themes are not enqueued and the new layout options are enabled instead (see related dev note for layout).
The inner div for the group block (wp-block-group__inner-container) is removed.
The default font-family styles for the editor are not enqueued.

https://make.wordpress.org/core/2021/06/25/introducing-theme-json-in-wordpress-5-8/

Tasks:

[ ] Add Theme Colors
[ ] Add Theme Spacing
[ ] Add Theme Fonts

Questions:

[ ] If we follow the IE: This is the End and don't worry about IE11 we can also refactor the colors to use the ones that are enqueued from WordPress Automatically by using the `theme.json. A great article about that can be fund here: https://richtabor.com/standardizing-theme-json-colors/
[ ] Do we want to enable the Block Templates (Template Part Editor) in the default scaffold
( can get removed by adding remove_theme_support( 'block-templates' ); in the after_theme_setup hook)
[ ] Do we want to remove the DropCap option by default?

#33 This PR has been closed because of this

@fabiankaegy

[x] Yes, we can assume we are supporting IE11.
[ ] Enable the Block Templates? I don't know. What are your thoughts?
[x] Remove drop caps by default? Yes - this is a good easy pattern to add to the theme.json by default and it can be assumed it will be removed by most projects out of the box

Additional things I would like to cover as part of this introduction:

[ ] Standardize how we load custom fonts in the editor (through defining the font in the theme.json and loading it via add_editor_style)
[ ] Standardize how we use font size systems so that we no longer have the issue of differing rem values in the editor


Scope floating ui portal

This should solve the problem where users using mixed density and portal launch mess up the whole UI

@origami-z Is there anything blocking this PR?

@origami-z Is there anything blocking this PR?

no, i wanted to see chromatic or snapshot test

@origami-z Are you happy for this to be merged in?


DataVersion handling for dynamic endpoint 0

Problem

actual behavior:
In Server::Init() the data model is initialized InitDataModelHandler() and then the fabric table is initialized mFabrics.Init(). In the initialisation of the fabrics, IncreaseClusterDataVersion() is called indirectly for endpoint_id 0, and cluster_id OperationalCredentials::Id.
Now if endpoint 0 is created dynamically using emberAfSetDynamicEndpoint(), the endpoint is not yet created and so the DataVersion is not found, and this prints an error Endpoint 0, Cluster 0x0000_003E not found in IncreaseClusterDataVersion!. The dynamic endpoints cannot be created before Server::Init(), since the data model itself is being initialized in Server::Init().

Apart from printing the error message this should be working fine, right?

Yes, I did not see any other issues.

The relevant stack seems to be:
  * frame #0: 0x0000000100021a9c chip-all-clusters-app`chip::app::(anonymous namespace)::IncreaseClusterDataVersion(aConcreteClusterPath=0x00007ff7bfeff0a8) at ember-compatibility-functions.cpp:269:55
    frame #1: 0x0000000100021a3e chip-all-clusters-app`MatterReportingAttributeChangeCallback(endpoint=0, clusterId=62, attributeId=1) at ember-compatibility-functions.cpp:1002:5
    frame #2: 0x000000010006bd88 chip-all-clusters-app`fabricListChanged() at operational-credentials-server.cpp:276:5
    frame #3: 0x00000001000733f7 chip-all-clusters-app`OpCredsFabricTableDelegate::OnFabricRetrievedFromStorage(this=0x0000000100210aa0, fabric=0x0000000100215d58) at operational-credentials-server.cpp:319:9
    frame #4: 0x000000010019b474 chip-all-clusters-app`chip::FabricTable::LoadFromStorage(this=0x0000000100215d58, fabric=0x0000000100215d58) at FabricTable.cpp:628:19
    frame #5: 0x000000010019c44f chip-all-clusters-app`chip::FabricTable::Init(this=0x0000000100215d58, storage=0x0000000100217020) at FabricTable.cpp:774:13
    frame #6: 0x00000001001d15ff chip-all-clusters-app`chip::Server::Init(this=0x0000000100213a78, delegate=0x0000000000000000, secureServicePort=5540, unsecureServicePort=5550, interfaceId=<unavailable>) at Server.cpp:136:20

We should think about changing init so we load the fabric table before initializing the data model, which would address this.  But failing that, for now it sounds like it's just a slightly confusing log....


Learn about Mongo/Meteor aggregations.

The analytics and other dashboard features may rely on aggregation functions such as sum, average, filtering, etc. Get a better understanding of how to use Mongo aggregations in Meteor.

Check out the meteorhacks:aggregation package.


cinny: 2.1.3 -> 2.2.0

Description of changes
https://github.com/cinnyapp/cinny/releases/tag/v2.2.0
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

1 package built:

cinny

Thank you!


Feature request: Filter queries on metric value

Starting using Prometheus I'm looking for a way to filter some of my queries on the metric value.
Filter already allow us to select a set of metrics according to labels, but in some case, it would be useful to filter on the metric value.
The easiest example that I have in mind would be to filter "up" query to only retrieve down instances.
http://localhost:9090/api/v1/query?query=up{job="node"}&time=2015-11-13T11:30:00.0Z
Maybe this could be done with a specific function to look like the following ?
http://localhost:9090/api/v1/query?query=filter(,,up{job="node"})&time=2015-11-13T11:30:00.0Z
So that the request would look like this :
http://localhost:9090/api/v1/query?query=filter(gt,0,up{job="node"})&time=2015-11-13T11:30:00.0Z
Thanks for your feedback.

Sounds like you simply want up{job="node"} == 1.
Comparison operations do filter by default.

Oh, great :-)
I did not understood this from "http://prometheus.io/docs/querying/operators/".
Thank you very much for your quick reply.


Bug report: Dataview won't complete a task filtered out by DQL within a dataview view

What happened?
I have a following snippet of code:
```dataviewjs
await dv.view('Bins/Utils/daily-footer')
```

daily-footer contains the following code:
const currentDate = dv.current().date;
if (!currentDate) {
  return;
}
const currentNoteDate = currentDate.toFormat('yyyy-LL-dd');

dv.header(3, 'TODOs carried over');
dv.el('div',
  await dv.tryQueryMarkdown(`
    TASK
    FROM "Journal"
    WHERE
      !completed
      AND file.cday < date("${currentNoteDate}")
    SORT file.ctime asc
  `)
);

This snippet renders correctly, and you can click on the task checkbox, but it doesn't propagate to the original document.
 And when finally visualizing those with dv.taskList, task completion still doesn't propagate


Skeleton of console and new package structure.

This PR has the base files for the new console in a console directory and it also has two examples instead of just one, so it has a slightly updated folder structure. The console does not work, but it's best to have the base files in master before straying too far.

Nice!

Awesome! While the console would reuse parts of the notebook, I would
imagine it being a separate top level plugin. Would it make sense to have a
separate jupyter-js-console package/repo?
On Wed, Apr 13, 2016 at 10:42 AM, Steven Silvester<EMAIL_ADDRESS>
wrote:

Merged #175 https://github.com/jupyter/jupyter-js-notebook/pull/175.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter-js-notebook/pull/175#event-626154307

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I would actually prefer there to be only three repos, to mirror what we're doing with Phosphor: jupyter-js-core, jupyter-js-ui, and jupyter-lab, but that is perhaps a conversation for Friday.

Since it's going to use so many notebook things, I think for the time being keeping it here makes sense. If it turns out to be really massive, we could consider a separate repo, but I think for now, we might find that it's really analogous to notebook and that it fits well in this repo.
I tend to agree with @blink1073 about fewer repos.

OK sounds good.
On Wed, Apr 13, 2016 at 11:10 AM, A. Darian<EMAIL_ADDRESS>wrote:

Since it's going to use so many notebook things, I think for the time
being keeping it here makes sense. If it turns out to be really massive, we
could consider a separate repo, but I think for now, we might find that
it's really analogous to notebook and that it fits well in this repo.
I tend to agree with @blink1073 https://github.com/blink1073 about
fewer repos.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter-js-notebook/pull/175#issuecomment-209573213

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


Gets the child click event

Is there an event outside that lets me know that I clicked on the child？

Is there any reason you can put your own Touchable inside?

@iRoachie I have this case and don't know how to proceed.

I have tweaked in the Collapsible component and found the main Animated.View has this
pointerEvents={collapsed ? 'none' : 'auto'}
is there any reason why the the view prevents touch while is collapsed?

You can enable children touch events with enablePointerEvents

Any update on it?