ValueError: The class sequence '{example.classes[i]}' did not start on a token boundary

Hi guys,
Thanks for hosting this great competition! During one of my experiments, I ran into the following two errors:
ValueError                                Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/eval_pipeline/models.py](https://localhost:8080/#) in _evaluate_classification(self, examples)
    470                 try:
--> 471                     token_index = text_offset.index(text_index)
    472                 except ValueError as e:

ValueError: 537 is not in list

followed by
ValueError: The class sequence '{example.classes[i]}' did not start on a token boundary

It has previously worked with other datasets, so I am at a loss for why it breaks? If anyone could help that'd be greatly appreciated :))

Hi!
That line was missing an f-string, which I've added now, so it should tell you which class is causing the issue. This error occurs when the "answer" part of the prompt isn't separated from the "question" part properly; i.e. they aren't separated by a full token. This usually happens when there's no space at the start of the class sequence, since most tokens start with a space.
If you run the script again now you should see the class that's causing the issue in the error message.

Ok, now the code throws:
    472                 except ValueError as e:
    473                     raise ValueError(
--> 474                         f"The class sequence '{example.classes[i]}' did not start on a token boundary"
    475                     )
    476                 class_logprob = 0

IndexError: list index out of range

which is a bit unexpected - I will keep on digging and let you know what I find :))

Ok, I solved it: apparently, the questions had different number of options which caused the index error. I solved it by making them all have the same number of options.


feature-request Archive all cards in current Lane

Here is a use case.
I usually organize my lanes like this:
Planned
To Do
In Progress
Done
It would be nice if within my Done lane at end of day I could archive everything on right click of that lane under a board.
RIght- Click - Archive all cards in lane.

I also noticed on the move card functionality the right click menu then switches to the main (cntrl shift p) menu - I'll see if I can't code up a contribution that uses the right click menu.


Remove duplicate icons on top bar and sidebar

Migrated from https://github.com/phenopolis/phenopolis_frontend_react/issues/134
Originally created by @IsmailM on Wed, 08 Jul 2020 18:00:45 GMT

Top header bar:

remove language icon

Sidebar:

remove publications icon
move divider above the languages icon
remove account icon
add logout icon under languages icon

@IsmailM can you remind what was the ask here?

I think we wanted to remove the top right language icon (in the top-bar) as it is redundant?
Put a logout button under the language icon in the side-bar

Do you mind discussing with @YuanTian1991 so we can close this issue?

I redesigned the action bar a bit, but I did not remove the publication and account icon, because if on the mobile screen. The topbar's account will be hidden, then the sidebar is the only way to logout and check publication.
Below is the screenshot of current version of sidebar, if you think it's OK, we can close this issue.


add commits_valid for check_git_remote_exists

Can we use commits (not tag, nor branch) for source version?
for example, bfl repository uses specific commit for ros release due to backward compatibility, but it seems failing on nose tests (https://api.travis-ci.org/v3/job/490889110/log.txt) if we allow this for source entry, we need to fix test code.
If this is not allowed for doc/source (although allowed for release), then it's ok. I'll fix PR #20260
https://github.com/ros/rosdistro/pull/20260/files
    source:
	      type: git
	      url: https://github.com/toeklk/orocos-bayesian-filtering.git
	      version: f21791e4d35f7343b06819e0507a21b83edf8f99

My understanding is that a branch is required for the source entry because of some requirements of Jenkins (though I don't know the details; @tfoote may).  I believe the doc entry can point to either a branch or a tag, though we usually recommend a branch.

For development and pull requests jobs to work the source entry must be a branch. I haven't audited but I'd wager there are at least a few places that make that assumption between the rosdistro, ros_buildfarm, and bloom codebases.
Is there any reason not to create a branch that will just always point to the specific commit ID? Additional branches cost almost nothing in Git and it would allow all tools to work as expected in the ROS ecosystem.

Thanks for feedback, since I not a developer of the original package so I do not have access to the repository to create new tag/branch.
I think this is a very special case, so close for now.

Yes, this is something that jenkins cannot handle either. I added documentation of this in the CONTRIBUTING.md in #20286

FYI a situation has actually arisen in ROS 2 where we need similar functionality. I've added a commit in #20287 which incorporates these changes and allows a source version to be a commit (or tag) if both test_commits and test_pull_requests are explicitly false. @k-okada if you would like to re-introduce a source entry to https://github.com/ros/rosdistro/pull/20260 after that PR merges then you should be able to do so by setting test_commits and test_pull_requests to false.


Mention minification functionality on docs

Currently, I can't find any mention of minification on the documentation. I think if this was functionality was advertised a little bit more, usage would skyrocket.

Looks like it's mentioned in the first page on the docs: https://darklua.com/docs/getting-started/

Thank you for the feedback, I'll keep that in mind next time I do a pass on the docs site as it could apparently be clearer. I could add a note on the home page.


Could not load source file "../src/Layout.ts" in source map of<EMAIL_ADDRESS>

I'm trying to connect the Zebec SDK with the frontend of my app but each time I use the parcel bundler, I keep getting this error message
Could not load source file "../src/Layout.ts" in source map of<EMAIL_ADDRESS>

Remove and pre-install.
$ npm i zebecprotocol-sdk @solana/web3.js buffer-layout @solana/spl-token
It seems due to misconfiguration of node modules while setting up the project.


Update v2-api.adoc: remove mention of /api/c

I haven't found this alias anywhere in code. When I checked 9.3 RC1 /api/c isn't handled either. Perhaps I miss something.

I suspect the /api/c/ pattern was something our old home grown code supported that we don't have in the new V2 approach...

I suspect the /api/c/ pattern was something our old home grown code supported that we don't have in the new V2 approach...

Yep, pretty much.  Technically, the new v2 framework supports it, but we are moving away from it for consistency/intuitiveness reasons.  "Saving" a few characters in a URL path isn't really worth the downsides of making the path less readable to users, and obscuring whether a given API call is a core vs a collection operation.  So as we've been making APIs more REST-ful some of them have dropped the abbreviated "/c/" syntax.
This PR LGTM.
IMO the page could use some even more drastic changes; this is a good reminder for me to get to those for 9.4; thanks @mkhludnev !


[QUESTION] How to stop footer scaling?

@dkzwm, I dont want to have footer scaling in my layout. When user reaches end of screen and tries to drag up, layout scales up too. I installed your sample APK. In that APK,  every activity has footer scaling, so I couldnt find a way to turn it off.
Can you help me? Thanks.

Does trying call setEnableOverScroll(false) have an effect?

Or call setDisableLoadMore(true)?
Hope i understand what you mean correctly ₍₍ (̨̡ ‾᷄ᗣ‾᷅ )̧̢ ₎₎

setEnableOverScroll(false) worked perfectly


Design and Implement Fully Responsive Dishes Page for Seller

PR: Design and Implement Fully Responsive Dishes Page for Vendor
Description
This PR aims to create a fully responsive Dishes page for Vendorspage. This page will display all dishes created by the Vendor, with a clear and organized layout. It enhances the Vendor experience by providing easy access to manage their dishes, making it simpler to view, edit, and delete items.
Key Requirements:

Responsive Design: Ensured the Dishes page adapts seamlessly to various screen sizes for an optimal experience on both desktop and mobile devices.
Dishes Overview: Each dish displays essential details, including the title, price, thumbnail image, and a brief description, allowing Vendors to review all items at a glance.\
Navigation: Provided easy navigation back to the Vendor dashboard, along with quick access for editing or deleting dishes.

Acceptance Criteria:

The Dishes page is visually appealing, intuitive, and user-friendly.
All dishes are displayed responsively across different screen sizes.

This new page significantly enhances the Vendor's ability to manage their dishes, contributing to an improved user experience.
Checklist

[X] Verified the responsive design across devices.
[X] Added interactive elements for sorting and filtering.
[X] Implemented navigation and management options for easy dish handling.

This update offers Vendors a streamlined interface for managing their dishes, fostering increased engagement and satisfaction.

Hey @ShivanshPlays, I'll assign the level at the time of the PR


Cache invalidation

How to invalidate the local storage cache?
My user accessed the app before I added their browser's default language. Now they see English instead of French.

Can you more explain what you mean by:

My user accessed the app before I added their browser's default language. Now they see English instead of French.

How do you set the language?!?

Not sure why the extra punctuation.
I don't set it explicitly. I use this plugin to automatically detect the language.
Scenario in detail:

User accessed app before French translations existed.
This plugin (or i18n-next react?) set a local storage prop (i18nextLng) to EN.
I deployed a new version of the app containing French translations
The user still sees English.

So basically I have users who should now see French translations (because that is their navigator.language prop, but instead see English because of the LS i18nextLng prop.

Ah, i see. There is not much we can do in this case...it's just a detector and persisting mechanism. While there is an options expiration for cookies - there is nothing similar to localStorage. Also resetting that automatically might lead to more problems the road down as users might not won't that.
Like always the best option is to give your users an option to toggle that language - this way they can change the language anytime it gets added.

For react-query I added the locale/language that is also sent to the API (Accept-Language HTTP request header) to the cache key (array). I hope this allows to easily invalidate the request caches when the locale is changed.


New option: Link css files from within report.html

Just messing around and I hope this will be useful. I've added an option to my fork that allows the user to specify a list of CSS files that will be linked from the generated report.html file, and removed a couple static styles from the html.
For me personally, I needed to increased the max-width of the code columns via css and add a custom tab size, so I could see both sets of code clearly. I hope these commits will allow more flexibility for end users to customize the report how they wish.

Apologies for the VERY long delay here. Thank you for the PR! I made some minor changes -- the documentation needed to be added to the readme and sphinx files, I also added an extra line of clarification. I also re-added the static styles, but they are now defined in the report.html's internal CSS so that they can be easily overwritten by custom CSS files. The linked CSS had to be moved after the report's style block to allow this.
I also removed the short version of the CLI argument (-C), so just --css has to be used. For more niche parameters such as this I prefer to avoid taking up a short argument (there is a WIP branch that already uses -C for something else).
If those updates are okay with you I can get this merged and include it in the next release, which should be out in the next few weeks. Thanks again for the PR.

How cool. Yes, those changes sound good to me. Thanks for accepting my pull request and making this great program in the first place.


Stuck at Working With Custom Content Types in Alfresco: Part 3

Instructions under Setup read "...To facilitate this, I'm going to create two new Maven projects, but because they don't produce AMPs there is no reason to use the Alfresco Maven SDK to create them."
Can you explain how these projects are created please? I have tried creating directories on the file system, but can't import them into Eclipse as projects. If I create a project in Eclipse, it presents a wizard and I have to select a Maven archetype to use.
Either way, I can't arrive at the structure I see here on github.
Thanks,
Chris

The method you use to create the two Maven projects differs by IDE (or whether you are using an IDE at all). If you are using Eclipse to create the project, when you select a wizard, change to "General" and then click "Project". Now you can build the directory structure in that project any way you see fit. You could also choose one of the generic Maven archetypes, but it if you are following the steps it might be easier to just use a generic project.
You can always just create the directory structure external to your IDE and use Maven to build on the command line.
You should be able to import the projects into Eclipse as "existing Maven projects", although, depending on your version of Eclipse and what plugins you've got installed you might have to resolve a few minor issues after import.


Non-Escapable Types

This is the first of two proposals covering this new feature:
It propose an Escapable type marker to indicate that a value of this type can escape the local scope -- by being stored in a global or returned, for example.
This new marker would be implicitly satisfied by all current Swift types to avoid breaking existing code and to reflect the expectation that most types can in fact be freely copied and assigned without limit.
We then add a new ~Escapable type requirement that can be used to selectively remove this capability.
We explain the motivation for such types and the basic capabilities and restrictions on their use.
The companion proposal "Lifetime Dependency Constraints for ~Escapable Values" proposes a set of annotations that selectively modify the constraints of ~Escapable types so they can be used to provide accurate compile-time tracking of values that are inherently subsidiary to some other value (for example, iterators over collections or slices that must not outlive the container to which they refer).
These are part of the BufferView roadmap and are prerequisites for that type.

I've incorporated a number of suggested edits from @glessard , @lorentey , and @atrick .   Please let me know if you find any other issues.


support multiple ApiImplicitParameters

What's this PR do/fix?
support multiple ApiImplicitParameters
Are there unit tests? If not how should this be manually tested?
None.
Any background context you want to provide?
@Target({ ElementType.METHOD, ElementType.ANNOTATION_TYPE, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@ApiImplicitParams({
	@ApiImplicitParam(
			name = "common1",
			value = "common1",
			paramType = "header",
			dataType = "String",
			required = true
	),
	@ApiImplicitParam(
			name = "common2",
			value = "common2",
			paramType = "header",
			dataType = "String",
			required = true
	)
})
public @interface ApiImplicitParamsCommon {
}

@ApiImplicitParamsCommon
@ApiImplicitParams({
	@ApiImplicitParam(
			name = "test1",
			value = "test1",
			paramType = "path",
			dataType = "String",
			required = true
	)
})
public void test1(String test1) {}

@ApiImplicitParamsCommon
@ApiImplicitParams({
	@ApiImplicitParam(
			name = "test2",
			value = "test2",
			paramType = "path",
			dataType = "String",
			required = true
	)
})
public void test2(String test2) {}

What are the relevant issues?
None.

Thanks for the PR. Unfortunately this PR has a compile error @ileler.

This PR supercedes #2331

Thanks for the PR. Unfortunately this PR has a compile error @ileler. Also could you perhaps add a test?

get it.However, regarding the test cases, I may have to take a moment to look at it. I am not familiar with the test cases of the project.

@dilipkrish The test case has been added.

The build is still failing @ileler It seems like a checkstyle issue

Thank you @ileler!


[DOCS] Add documentation

TODOs:

[x] Add how to use the app as the first-page / startup-page for chrome
[x] Add project details
[x] Add basic setup information about how to use this application
[x] Add contribution guide
[x] Add status indicator and other small widgets
[x] Add license
[ ] Code-of-conduct information
[ ] PR template
[x] Guidelines for creating issue
[x] Branching strategy details

can i work on code of conduct and pr template? @yashchaudhari008 pls assign me under hacktoberfest


[Bug] [Worker] The sub workflow instance doesn't created#16651

Search before asking

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

What happened
[Bug] [Worker] The sub workflow instance doesn't created #16651

What you expected to happen
找到具体的commit
How to reproduce
找到具体的commit
Anything else
No response
Version
3.2.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

We refactored all the logic of these in `dev, not just in a single PR.

临时应急方案有吗，我看之前修过一次，但我们代码也是那次修复之后的代码。还是出现了。  3.2.1   能不能有啥应急措施。我们在生产环境  有点急~

We refactored all the logic of these in `dev, not just in a single PR.

Unfortunately not at present. We don't recommand using 3.2.x version in production environment.


Species references that contain DOIs or other links are not clickable

Some checklists supply references to the original species descriptions, and those references may contain DOIs or other links. The new portal doesn't make use of these, instead the DOIs are simply displayed as text and the user is invited to search on Google Scholar. For example https://demo.gbif.org/species/3049605:

This reference has a DOI that will take the user straight to the article, but instead the DOI is not linked.
I confess I have a stake in this as the reference above comes from The Plant List with Literature dataset which I assembled based on several years mapping cryptic citations to full references. On the old portal if I went to the The Plant List view of this name http://www.gbif.org/species/119188437 I had a "Publisher record" link which was the DOI to the paper:

This has disappeared from the equivalent view on the new portal https://demo.gbif.org/species/119188437:

Can we make DOIs for references for names clickable? This gives users a way to see the original evidence for that species, as well as a potential source of further information about that species.

Thanks Rod

Yes the DOI's should be linked. It was at some point, but the library didn't work to well for DOIs, so I removed it postponing that part. But it is useful that it should/could - I can see that.

I have logged an issue earlier about the missing link to publisher record https://github.com/gbif/portal-feedback/issues/222
That said it is still available in the verbatim https://demo.gbif.org/species/127690321/verbatim

it might also be worth noticing that it also has something to do with how the data. It is possible to provide a link, but we might as well try to parse it as well when the publisher/API doesn't provide it.
http://api.gbif.org/v1/species/212/references?limit=5&offset=0
vs
http://api.gbif.org/v1/species/3049605/references?limit=5&offset=0

@MortenHofft Looks like whatever code is parsing references is treating anything as a DOI.  Reference links are placed in the dcterms:identifier column, which means they could be anything. It's a pity GBIF's reference extension is so limited (e.g., be nice to have columns for different identifiers, such as DOIs, Handles, etc.) and have these output by the API so that clients (including the new portal) don't have to interpret the URL on the fly.


How to prescribe a limit to response value according to its physical meaning?

Dear Contributors and Members,
I am trying to apply XGBoost to the assessment of environmental risk, where each variables should be within the zone of reasonableness. For example. the concentration of a certain pollutant should not be less than 0. However, in my model, I got a prediction with few negative values. Is there any way to prescribe a limit to response value when training a model? Or the only thing I can do is change these negative values to zero.
I would greatly appreciate any explanation or suggestions in this matter.
PS: I’m using xgboost <IP_ADDRESS> in R 3.6.1.
With kind regards,
Melonki

See https://discuss.xgboost.ai/t/how-to-prescribe-a-limit-to-response-value-according-to-its-physical-meaning/1174

See https://discuss.xgboost.ai/t/how-to-prescribe-a-limit-to-response-value-according-to-its-physical-meaning/1174

Got it. Thank you.


Fix typos in README.

Fix typos in README.
Change:

Thanks to Apoorv Sharma @apoorv-sharma, hnswlib now supports true element updates (the interface remained the same, but when you the perfromance/memory should not degrade as you update the element embeddinds).
Thanks to Dmitry @2ooom, hnswlib got a boost in performance for vector dimensions that are not mutiple of 4

To:

Thanks to Apoorv Sharma @apoorv-sharma, hnswlib now supports true element updates (the interface remained the same, but when you the performance/memory should not degrade as you update the element embeddings).
Thanks to Dmitry @2ooom, hnswlib got a boost in performance for vector dimensions that are not multiple of 4.

@ghuls thanks for reporting. Those typos are already fixed in develop branch (#253 )


Refactor translations, use i18next

i18next is way more modern, compared to the old i18n-react that we've
been using. i18next also comes with a hooks api and typescript support,
reducing our typescript errors by ~120
I really got warm with this one :-D

I'm looking into why the CI broke

Does that mean that language isn't a compile time thing any more?

@Kadrian ready to merge?

Nice, thanks for fixing the CI.

Does that mean that language isn't a compile time thing any more?

Well if you mean that we don't have to use the LANG env variable anymore, that's true in a way:

Switching languages using a button in the app could now happen during runtime
Adding text from different sources (e.g. a translator software) during compile time or runtime is easier now
It makes translations more statically analyzable, so finding missing translations e.g. could become a compile time thing soon.
i18next automatically warns when encountering missing translations during runtime.


Replace f-string without any text with using value directly instead

Explanation
Analyze f-strings. If f-string has no text and only a passed value, then use that value directly.
Example 1
# Bad

foo = "bar"
my_text = f"{foo}"

# Good

foo = "bar"
my_text = foo

Example 2
# Bad

def my_func(foo: str):
    my_text = f"{foo}"

# Good
def my_func(foo: str):
    my_text = foo

Example 3
# Bad

my_number = 123
my_text = f"{foo}"

# Good

my_number = 123
my_text = str(foo)

I just came here to request this exact feature!

Could you please let me know whether your plugin can detect types or I need to address this feature implementation to Mypy?

Maybe I misunderstand. Why would simplify need to perform type checking to know that this pattern is incorrect?

Maybe I misunderstand. Why would simplify need to perform type checking to know that this pattern is incorrect?

You are right. Probably no type checking is required.

astpretty --no-show-offsets /dev/stdin <<< `cat example1.py`
Module(
    body=[
        Assign(
            targets=[Name(id='foo', ctx=Store())],
            value=Constant(value='bar', kind=None),
            type_comment=None,
        ),
        Assign(
            targets=[Name(id='my_text', ctx=Store())],
            value=JoinedStr(
                values=[
                    FormattedValue(
                        value=Name(id='foo', ctx=Load()),
                        conversion=-1,
                        format_spec=None,
                    ),
                ],
            ),
            type_comment=None,
        ),
    ],
    type_ignores=[],
)

$ astpretty --no-show-offsets /dev/stdin <<< `cat bad-example3.py`
Module(
    body=[
        Assign(
            targets=[Name(id='my_number', ctx=Store())],
            value=Constant(value=123, kind=None),
            type_comment=None,
        ),
        Assign(
            targets=[Name(id='my_text', ctx=Store())],
            value=JoinedStr(
                values=[
                    FormattedValue(
                        value=Name(id='foo', ctx=Load()),
                        conversion=-1,
                        format_spec=None,
                    ),
                ],
            ),
            type_comment=None,
        ),
    ],
    type_ignores=[],
)


Add option to automatically turn off if the 'list' option is off

This allows toggling two thing with one command, or one mapping (yol from vim-unimpaired), and reduces the need to keep a list of disabled filetypes because many filetypes (e.g. help) have ftplugins that unset list.

This allows toggling two thing with one command, or one mapping (yol from vim-unimpaired), and reduces the need to keep a list of disabled filetypes because many filetypes (e.g. help) have ftplugins that unset list.

For users who don't have 'list' set having this on by default changes the behavior.


Update to 5.2 for (py3k)

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


TypeError: Cannot read property 'width' of undefined

Hello, I have the next code:
`import React from "react";
import {Link} from "react-router-dom";
import OwlCarousel from 'react-owl-carousel';
import EventListItem from "./EventListItem";
const ServerClient = require('../kernel/ServerClient');
export default class EventListTop extends React.Component {
constructor(props) {
super(props);
this.state = {
eventList: []
};
}
componentWillMount() {
    checkConnection();
    ServerClient({
        method: 'GET',
        path: '/siteApi/eventTop',
        headers: {
            'Content-Type': 'application/json'
        }
    }).then(response => {
        this.setState({
            eventList: response.entity
        });
    });

}

render() {
    let eventList = this.state.eventList.map(object => {
        return <EventListItem key={object.ouid} data={object}/>
    });

    const options = {
        autoWidth: true,
        nav: true,
        autoplay: true,
        navText: ["", ""]
    };

    return (

                <Link to="/" className="logo d-block border-0"/>

                    <OwlCarousel options={options} className="announse owl-carousel">
                        {eventList}
                    </OwlCarousel>

    )
}

}`
And i get the next error:
`Uncaught TypeError: Cannot read property 'width' of undefined
at Owl.maximum (owl.carousel.js:1049)
at Owl.run (owl.carousel.js:412)
at Object.e [as run] (jquery-3.1.1.slim.min.js:2)
at Owl.update (owl.carousel.js:592)
at Owl.refresh (owl.carousel.js:633)
at Owl.initialize (owl.carousel.js:491)
at new Owl (owl.carousel.js:182)
at HTMLDivElement.eval (owl.carousel.js:1675)
at Function.each (jquery-3.1.1.slim.min.js:2)
at r.fn.init.each (jquery-3.1.1.slim.min.js:2)
Owl.maximum @ owl.carousel.js:1049
run @ owl.carousel.js:412

The context of how I got this problem is a little different but should provide insight as to why this error occurs. I am using django to render templates if a field is created. If the Sponsor field is created then it render Owl Carousel code. The problem came up when someone didn't fill out the Sponsor field. Meaning that the field didn't render. I was using more than once instance of Owl Carousel so it would cause the other one to break too. In Django, I just used an if statement to cover this patch. However,
TL;DR your owl carousel isn't rendering at all or properly. Inspect elements to see if the elements are missing.

i have same problem after adding autowidth option. remove it .then it will work . i had  another problem .it is creating an empty space before my content.


fixes typo in nginx-unit docker snippet

Thanks a lot!

Thanks a lot. Seems to be introduced in all 8.2+8.3 releases. I tried to fix it in any of the future builds.
Thanks again!


PIXI as render engine for Matter

I am new with Matter.js. So I am a little bit confused how to render matter bodies with PIXI.js. I know that PIXI elements 0,0 coords are at the top left corner of it, while matter bodies has mass center (that is definatly not in the top-left corner).
My first thought was to change center point of pixi elements with the help of anchor/ pivot.  These manipulations move  0,0 coords to the center of the element.
In the demo https://jsfiddle.net/olga_akinshyna/ma4ma3yb/3/  I want the width of the boundary equals canvas width.   In jsfiddle I have couple variants in comments, but the result is not what I have expected.
There was similar issue https://github.com/liabru/matter-js/issues/211, but there people tried to bind matter to html element and some recommends to change matter body mass center, but I think it can break physics laws, and it is not desired.

Check out RenderPixi, which although it is deprecated it should be a good reference.

Created a codepen for how to do this https://codepen.io/celsowhite/pen/XWbEzpx. It includes Pixi sprites following Matter bodies and setting up canvas boundaries for the objects.


CI pipeline needs optimization

I do think it is an issue that it takes too long to run a full round of tests in the CI pipeline. At least from the contributor/developer's point of view, it slows down the feedback loop when debugging.
One straightforward problem is that the test infrastructure is mixed with examples, which introduces some unnecessary output that slow down the tests. So probably tests should be separate from examples.
@ranocha @sloede

We concur, the long cycle time for running the full set of tests is annoying. Unfortunately, however, we currently have no better way of testing all features that is sustainable in terms of maintenance. Furthermore, we consider the examples to be part of the Trixi.jl implementation, thus they need to be tested as well.
If you have a concrete suggestion on how to improve testing times without losing coverage and without increasing the test complexity even further, we'd be happy to discuss it!

If you have a concrete suggestion on how to improve testing times without losing coverage and without increasing the test complexity even further, we'd be happy to discuss it!

I can give it a try but it won’t start soon due to my schedule.


Search return with no results.

https://github.com/aviaryan/python-gsearch/blob/fba2f42fbf4c2672b72d05b53120adcb25ba8b69/gsearch/googlesearch.py#L120
Is effectively destroying the results on son querys.
When searching for: 170PP+270PP
Returns the url https://books.google.es/books?id=XZd2DwAAQBAJ&amp[...]
re.sub(r'^.*?=', '', url, count=1)
Severs the url to: XZd2DwAAQBAJ&pg=PA283&amp[...]
What is the intended use of this line? Shouldn't it raise an exception when the return value is not valid?

Hi @aviaryan,
Looking through the readme I've noticed that you state that gsearch works:

[...] without any external dependencies.
In that case should I discard the PR idea to replace regex with BS4?

@EndermanAPM Yes, that would be good. In fact, I don't think BS4 adds any real value. Structured parsing can be also achieved using the inbuilt HTMLParser as well (#2). And doing that would be welcome. 😄
Looking forward to any PRs.


renovatebot(deps): update dependency com.squareup.okhttp3:okhttp to v4.0.1

This PR contains the following updates:

Package
Update
Change

com.squareup.okhttp3:okhttp
patch
4.0.0 -> 4.0.1

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.null seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


feat: Asset and AssetList class

Please also rebase (or merge) with v1 branch so it is up to date

@eirikdahlen FYI when this PR will be accepted by the review I suggest you don't merge it but squash it with the commit similar to feat: Asset & AssetList classes

closed due to a newer PR https://github.com/cognitedata/cognitesdk-js/pull/247/files

closed due to a newer PR https://github.com/cognitedata/cognitesdk-js/pull/247/files


Switch to Grafeas v1 API in grafeas storage

Main Changes:
switch to Grafeas v1 api, store simplesigning attestation in ATTESTATION occurrence and store intoto attestation in BUILD occurrence.
Grafeas Note

create ATTESTATION note to link ATTESTATION occurrence.
create BUILD note to link BUILD occurrence.
user-configured note name will be added a suffix ('-simplesigning'
or '-intoto') to differentiate the two note types.

Grafeas Occurrence

For oci artifact

create ATTESTATION occurrence per OCI artifact.
the ATTESTATION occurrence contains simplesigning attestation.

For taskrun artifact

create BUILD occurrence per container image built by the taskrun.
the BUILD occurrence contains intoto statement with SLSA0.2 predicate.

cc @wlynch

/lgtm
/approve


lxd/include: Don't include missing file

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

This is going to be fixed in a branch I'll be sending in a minute but ok.


More docstrings

Docstrings for:

narwhals.dataframe.DataFrame.unique
narwhals.dataframe.DataFrame.sort
narwhals.dataframe.DataFrame.join

You can create a new base docstrings branch from your main before merging since I can't do it with my user

nice one, thanks @frnmst !
I just kept join inner for now, as the others aren't (yet) supported - but I'll restore these example later when they are

Ah, OK. I though the fact that was working as expected it meant that it was implemented.
But now I just noticed:
        if how not in ["inner"]:
            msg = "Only inner join supported for now, others coming soon"
            raise ValueError(msg)

in _pandas_like/dataframe.py. But this exception wasn't triggered for those examples.


Remove optimistic query hooks

Pull Request Description

One of many PRs that should improve Dashboard performance.

useMutationState seems to be taking quite a bit of time (224ms out of 1199ms) in this trace on Firefox:
However, I haven't really noticed any real difference, although I haven't tried too hard to find a differene
That said, this also vastly simplifies the code in backendHooks.ts (by removing the vast majority of the methods)
As a downside, well, we will no longer have optimistic updates - but I guess we are preferring a stale-while-revalidate approach anyway (React Query) when it doesn't degrade UX

Important Notes
None
Testing Instructions

Theoretically none, as this should only make the logic more correct, if anything, because we are removing a layer of indirection.

Otherwise, test the features that use the components present in the diff. (assets table, category switcher, user, org, members table and user groups settings pages)

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[x] Unit tests have been written where possible.

Recreated problem with 200 local projects and this actually bumped performence quite nicely. ✅

this one i will consider as not needing CR as it is basically just removing code - all refactors in files other than backendHooks.ts are just switching away from the custom hooks back to the single function


update tidy-source anchor link

Updated tidy-source anchor link in the documentation.

Thanks for your contribution!


remove _amount in ensure_can_withdraw and clean code

contains:

remove of _amount unused parameter of ensure_account_can_withdraw
not sure but were wasm_utils macros supposed to be public at first ? if so I'll make impl_function_executor public and others private and called using $crate.
document macro
remove unused functions in substrate network

this is exposed API and _amount may be needed for third-party impls.


Artifacts should contain provenance information

We download a bunch of binaries in zip files, for example, font-subset.zip or artfacts.zip. These files don't include provenance information, so anyone who wants to figure out what source code led to these files being created has no leads.
Anyway I think it'd be nice to at least have a short txt file in each .zip file that points to the right repo. (Eventually we'd want proper SLSA provenance attestations but that's a stretch goal.)

We could merge this with https://github.com/flutter/flutter/issues/85080 and just have a README that points to the relevant license and repo in all the zips we create.


TypeError: Cannot read property 'toLowerCase' of undefined

I got this error when i try to run my discord music bot today, it worked just find just then. I dont know why.
Here is the full error:
/home/watchandytw/Cute_Lemon's BOT :D/Music BOT/node_modules/soundcloud-downloader/dist/index.js:92
        this.saveClientID = process.env.SAVE_CLIENT_ID.toLowerCase() === 'true';
                                                       ^

TypeError: Cannot read property 'toLowerCase' of undefined
    at new SCDL (/home/watchandytw/Cute_Lemon's BOT :D/Music BOT/node_modules/soundcloud-downloader/dist/index.js:92:56)
    at Object.<anonymous> (/home/watchandytw/Cute_Lemon's BOT :D/Music BOT/node_modules/soundcloud-downloader/dist/index.js:369:12)
    at Module._compile (node:internal/modules/cjs/loader:1102:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10)
    at Module.load (node:internal/modules/cjs/loader:967:32)
    at Function.Module._load (node:internal/modules/cjs/loader:807:14)
    at Module.require (node:internal/modules/cjs/loader:991:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/home/watchandytw/Cute_Lemon's BOT :D/Music BOT/node_modules/soundcloud-downloader/index.js:1:14)
    at Module._compile (node:internal/modules/cjs/loader:1102:14)

Hi @miracl-cutelemon173, this is a bug from a previous version of the module. Try updating to the latest version.

Hi @miracl-cutelemon173, this is a bug from a previous version of the module. Try updating to the latest version.


input problems

When remapping the controlls the up and right position from the navigation wheel are not detected.
(using the casio fx-cg50)
the rest works
(build ver. 0.9)

Thanks, this is fixed in my latest code commit. I will mark this as resolved on the next binary release.

This is now fixed in the v0.95 release I just put out.


Revert "Python 3.9 testing for CI"

Reverts pysal/spaghetti#555

Apologies for pulling the trigger.

Superseded by #557


CORE-20138: Add more logging to aid debugging of flaky key rotation tests

Closing this PR as we believe we have found the issue causing flakiness of key rotation tests.


Incremental yarn bazel build //src:prodapp time is not consistent.

🐞 bug report
Incremental yarn bazel build //src:prodapp time is not consistent in a new Angular Bazel project.
Is this a regression?
I don't know
🔬 Minimal Reproduction

Create a new Angular Bazel app

yarn ng new bzl-app --collection=@angular/bazel

Build the project

yarn bazel build //src:prodapp # Or just yarn ng build

Repeating the following command

echo "" >> src/main.dev.ts && yarn bazel build //src:prodapp

If enough times, you'll see two different build time:
pcloudy@pcloudy:~/workspace/angular_playground/bzl-app
$ echo "" >> src/main.dev.ts && yarn bazel build //src:prodapp
yarn run v1.12.3
warning ../package.json: No license field
$ /usr/local/google/home/pcloudy/workspace/angular_playground/bzl-app/node_modules/.bin/bazel build //src:prodapp
INFO: Analysed target //src:prodapp (1 packages loaded, 1 target configured).
INFO: Found 1 target...
Target //src:prodapp up-to-date:
  dist/bin/src/prodapp
INFO: Elapsed time: 15.826s, Critical Path: 15.01s
INFO: 5 processes: 3 linux-sandbox, 1 local, 1 worker.
INFO: Build completed successfully, 7 total actions
Done in 15.96s.

and
pcloudy@pcloudy:~/workspace/angular_playground/bzl-app
$ echo "" >> src/main.dev.ts && yarn bazel build //src:prodapp
yarn run v1.12.3
warning ../package.json: No license field
$ /usr/local/google/home/pcloudy/workspace/angular_playground/bzl-app/node_modules/.bin/bazel build //src:prodapp
INFO: Analysed target //src:prodapp (1 packages loaded, 1 target configured).
INFO: Found 1 target...
Target //src:prodapp up-to-date:
  dist/bin/src/prodapp
INFO: Elapsed time: 5.266s, Critical Path: 4.72s
INFO: 2 processes: 1 linux-sandbox, 1 worker.

Anything else relevant?
This is also reproducible on Windows
pcloudy@pcloudy0-w MSYS ~/workspace/angular_playground/bzl-app
$ echo "" >> src/main.dev.ts && yarn bazel build //src:prodapp --experimental_generate_json_trace_profile
yarn run v1.12.3
warning ..\package.json: No license field
$ C:\tools\msys64\home\pcloudy\workspace\angular_playground\bzl-app\node_modules\.bin\bazel build //src:prodapp --experimental_generate_json_trace_profile
INFO: Writing tracer profile to 'C:/src/tmp/7qwhmymr/command.profile'
INFO: Reading 'startup' options from c:\users\pcloudy\.bazelrc: --output_user_root=C:/src/tmp
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=320
INFO: Options provided by the client:
  'build' options: --python_path=C:/Python36/python.exe
INFO: Reading rc options for 'build' from c:\tools\msys64\home\pcloudy\workspace\angular_playground\bzl-app\.bazelrc:
  'build' options: --strategy=TypeScriptCompile=worker --strategy=AngularTemplateCompile=worker --symlink_prefix=dist/ --incompatible_strict_action_env --define=compile=legacy
INFO: Reading rc options for 'build' from c:\users\pcloudy\.bazelrc:
  'build' options: --curses=yes --color=yes --verbose_failures --announce_rc
INFO: Analysed target //src:prodapp (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //src:prodapp up-to-date:
  C:/src/tmp/7qwhmymr/execroot/project/bazel-out/x64_windows-fastbuild/bin/src/prodapp
INFO: Elapsed time: 22.983s, Critical Path: 21.78s
INFO: 5 processes: 4 local, 1 worker.
INFO: Build completed successfully, 7 total actions
Done in 23.29s.

pcloudy@pcloudy0-w MSYS ~/workspace/angular_playground/bzl-app
$ echo "" >> src/main.dev.ts && yarn bazel build //src:prodapp --experimental_generate_json_trace_profile
yarn run v1.12.3
warning ..\package.json: No license field
$ C:\tools\msys64\home\pcloudy\workspace\angular_playground\bzl-app\node_modules\.bin\bazel build //src:prodapp --experimental_generate_json_trace_profile
INFO: Writing tracer profile to 'C:/src/tmp/7qwhmymr/command.profile'
INFO: Reading 'startup' options from c:\users\pcloudy\.bazelrc: --output_user_root=C:/src/tmp
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=320
INFO: Options provided by the client:
  'build' options: --python_path=C:/Python36/python.exe
INFO: Reading rc options for 'build' from c:\tools\msys64\home\pcloudy\workspace\angular_playground\bzl-app\.bazelrc:
  'build' options: --strategy=TypeScriptCompile=worker --strategy=AngularTemplateCompile=worker --symlink_prefix=dist/ --incompatible_strict_action_env --define=compile=legacy
INFO: Reading rc options for 'build' from c:\users\pcloudy\.bazelrc:
  'build' options: --curses=yes --color=yes --verbose_failures --announce_rc
INFO: Analysed target //src:prodapp (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //src:prodapp up-to-date:
  C:/src/tmp/7qwhmymr/execroot/project/bazel-out/x64_windows-fastbuild/bin/src/prodapp
INFO: Elapsed time: 7.474s, Critical Path: 6.27s
INFO: 2 processes: 1 local, 1 worker.
INFO: Build completed successfully, 4 total actions
Done in 7.78s.

You can add --experimental_generate_json_trace_profile to profile the build and use chrome://tracing to load and visualize the profile data.
Here's my result:
Fast:

Slow:

Profile data is available here:
profile.zip

@alxhub done

@alxhub @manughub the CLI repository is not the correct repository for issues related to @angular/bazel. That package is developed in https://github.com/angular/angular/tree/master/packages/bazel. The angular/angular repository, where it was opened, was the correct place to open it.

Indeed, I can even reproduce with echo "" >> src/main.dev.ts && ./node_modules/.bin/bazel build //src:prodapp, so it doesn't look like a CLI problem.


Removed reference to dispatch.cgi from the .htaccess

Fixes https://github.com/ManageIQ/manageiq-appliance/issues/48

@Fryguy I know that you like merging stuff like this :)

@gtanzillo @jrafanie @abellotti @carbonin Please review

@skateman congrats, this has been untouched since the infamous "SVN history merged" commit circa svn rev 1762.  Nice find.  :eyes:

Going to merge, I think the only followup is should this file be reviewed to see if the defaults have changed in the 7-9 years since we added it.

@jrafanie https://github.com/ManageIQ/manageiq/pull/5680


Building with libjpeg-turbo error

Description
I've installed libjpeg-turbo by "sudo apt install libjpeg-turbo8-dev" on Ubuntu 16.04
Environment info (Required)
MXNet-master on Ubuntu 16.04

Error Message:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libturbojpeg.a(libturbojpeg_la-turbojpeg.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libturbojpeg.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:384: recipe for target 'lib/libmxnet.so' failed
make: *** [lib/libmxnet.so] Error 1
make: *** Waiting for unfinished jobs....

Minimum reproducible example
Just set USE_LIBJPEG_TURBO = 1 and type "make -j"

Yes, unfortunately libjpeg-turbo version available in Ubuntu package compiles turbojpeg only as a static library (turbojpeg.a) instead of dynamic library (turbojpeg.so). You need to compile libjpeg-turbo from source. For system-wide installation you can use this:
apt-get install autoconf automake libtool nasm
JPEG_TURBO_VERSION=1.5.2 && \
wget -q -O - https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${JPEG_TURBO_VERSION}.tar.gz | tar -xzf - && \
cd libjpeg-turbo-${JPEG_TURBO_VERSION} && \
autoreconf -fiv && \
./configure --enable-shared --prefix=/usr 2>&1 >/dev/null && \
make -j"$(nproc)" install 2>&1 >/dev/null && \
rm -rf libjpeg-turbo-${JPEG_TURBO_VERSION}

Then you need to set USE_LIBJPEG_TURBO_PATH in config.mk to /usr

Actually, it seems there is ubuntu package that ships libturbojpeg.so: it is called libturbojpeg. Still, compiling from source will give you newer version (1.5.2 vs 1.4.2).

OK


Tweak source to improve compile times

I've noticed that the winapi crate takes quite a long time to compile and seeing how it's at the base of many projects it would be nice to give it a nice compile time enhancement! There are a few changes which I've found which can easily get some nice compile-time wins:

Move #[derive(Debug)] behind a feature gate. This is very rarely actually used and otherwise is just lots of code bloat/generation.
Don't use #[derive(Clone)] but instead always manually implement using *self. This is easier on codegen as there are simply fewer statements to deal with.

On the more difficult side of things:

As winapi is at the base of the dependency tree, it may make sense to move out a number of impl blocks (e.g. anything requiring codegen) to external crates (e.g. opt-in). Adding layers of abstraction may be best suited for further crates rather than the bare-bones-base.

The timings I've found are below, and as you go down the table the effects are cumulative:

modification
dbg
opt

none
24.129
36.594

remove Debug
13.855
18.058

custom Clone
10.772
13.128

remove impl
7.176
8.385

e.g. with some simple changes which shouldn't affect usability much, this library can compile ~4x faster.

it may make sense to move out a number of impl blocks (e.g. anything requiring codegen) to external crates (e.g. opt-in)

How would I move impl blocks to a separate crate? Don't trait impls have to be in the same crate as either the type or the trait?

Move #[derive(Debug)] behind a feature gate.

I'd have to add an equivalent feature flag to all the -sys crates since otherwise someone could end up with the -sys crates using a different version of winapi than what upstream is using causing compile errors.

Don't use #[derive(Clone)] but instead always manually implement using *self.

I'll probably handle this with a STRUCT! macro.

Right, there are questions in making these changes, and it won't be the exact same crate as it is today (e.g. you of course can't "just move" the impls to another crate). I think the that a 70% faster compile time for not worrying about a feature that's probably not used 70% of the time is probably worth it, however.
I don't think there'd be a worry about multiple versions of winapi as if features are used then Cargo will union features and still only compile winapi once. This means if someone enables the debug feature it'll take longer to compile winapi but that's it.
FWIW I've also been exploring a macro solution for the libc rewrite as well.

ping? Any update on this?

Most structs have been switched to STRUCT! which uses the custom Clone impl already. I'll make the Debug impl an opt-out feature soon, and then for 0.3 I'll switch it to being an opt-in feature.

Any update on this? A debug compile of this library still takes upwards of 30 seconds, which seems crazy when other FFI binding crates, like libc, take less than a second to compile.

I will be gone next week and after that I will renew my focus on winapi 0.3 to clean up the -sys crate mess, abuse cargo features, and improve compile times. So starting August 8 I want anyone and everyone to periodically remind me to get to work on winapi 0.3.

Also comparing to libc is kinda silly because winapi has an order of magnitude more Rust code. (https://api.github.com/repos/rust-lang/libc/languages vs https://api.github.com/repos/retep998/winapi-rs/languages).

winapi is now fast to compile.


Updated ESP32-C6 valid targets

Removed incompatible targets of ESP32-C6 and added only IMAC ones
Updated to RC5

I installed this branch locally but I'm unable to successfully flash. I copied the target config riscv32imac-esp-espidf.json to the root and run
cargo -Z unstable-options  espflash flash --release --monitor --target riscv32imac-esp-espidf
[2023-05-16T21:54:58Z INFO ] Detected 8 serial ports
[2023-05-16T21:54:58Z INFO ] Ports which match a known common dev board are highlighted
[2023-05-16T21:54:58Z INFO ] Please select a port
[2023-05-16T21:55:00Z INFO ] Serial port: '/dev/cu.usbserial-110'
[2023-05-16T21:55:00Z INFO ] Connecting...
[2023-05-16T21:55:01Z INFO ] Using flash stub
   Compiling core v0.0.0 (/Users/seanaye/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core)
   Compiling regex-syntax v0.7.1
   Compiling quote v1.0.27
   Compiling libc v0.2.144
   Compiling memchr v2.5.0
   Compiling log v0.4.17
   Compiling syn v1.0.109
   Compiling glob v0.3.1
   Compiling io-lifetimes v1.0.10
   Compiling lazy_static v1.4.0
error: could not compile `core` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: Error loading target specification: Could not find specification for target "riscv32imac-esp-espidf". Run `rustc --print target-list` for a list of built-in targets

I installed this branch locally but I'm unable to successfully flash. I copied the target config riscv32imac-esp-espidf.json to the root and run
cargo -Z unstable-options  espflash flash --release --monitor --target riscv32imac-esp-espidf
[2023-05-16T21:54:58Z INFO ] Detected 8 serial ports
[2023-05-16T21:54:58Z INFO ] Ports which match a known common dev board are highlighted
[2023-05-16T21:54:58Z INFO ] Please select a port
[2023-05-16T21:55:00Z INFO ] Serial port: '/dev/cu.usbserial-110'
[2023-05-16T21:55:00Z INFO ] Connecting...
[2023-05-16T21:55:01Z INFO ] Using flash stub
   Compiling core v0.0.0 (/Users/seanaye/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/core)
   Compiling regex-syntax v0.7.1
   Compiling quote v1.0.27
   Compiling libc v0.2.144
   Compiling memchr v2.5.0
   Compiling log v0.4.17
   Compiling syn v1.0.109
   Compiling glob v0.3.1
   Compiling io-lifetimes v1.0.10
   Compiling lazy_static v1.4.0
error: could not compile `core` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: Error loading target specification: Could not find specification for target "riscv32imac-esp-espidf". Run `rustc --print target-list` for a list of built-in targets

Yeah this is the downside of it being an error when the target mismatches (see here: https://github.com/esp-rs/espflash/pull/402#discussion_r1191148122) I often run custom targets via json files and always run into this. The work around is to use espflash via cargo run instead of cargo espflash e.g: https://github.com/esp-rs/esp-hal/blob/ffe167e64c157199fa37eb10a1097b7c52b85839/esp32c6-hal/.cargo/config.toml#L2

Since the requested changes have not yet been made and I'm making a push to get a release out, I've opened #424 which supersedes this PR. Thanks for you contribution regardless, though!

You're welcome, but sorry to ask, what changes where requested? Formating was done and I'm not aware of any other ones.
In the end now it doesn't matter anymore but I'd like to know for the next time :)
Anyhow, sorry that I didn't make them and you have to do it again!

The ESP32-C6 was updated but the ESP32-H2 never was. Sorry, I guess I wasn't very clear about that in hindsight. No big deal, I'm just impatient 😁

Fair enough! Truth being told, I didn't understand I should add that and on the other hand, I wasn't capable to test it. I don't have an H2 in my hands (yet) so it's ok.
Thanks @jessebraham !


xr.concat consuming too much resources

Hi,
I am reading in several (~1000) small ascii files into Dataset objects and trying to concatenate them over one specific dimension but I eventually blow my memory up. The file glob is not huge (~700M, my computer has ~16G) and I can do it fine if I only read in the Datasets appending them to a list without concatenating them (my memory increases by 5% only or so by the time I had read them all).
However, when trying to concatenate each file into one single Dataset upon reading over a loop, the processing speeds drastically reduce before I have read 10% of the files or so and my memory usage keeps going up until it eventually blows up before I read and concatenate 30% of these files (the screenshot below was taken before it blew up, the memory usage was under 20% by the start of the processing).
I was wondering if this is expected, or if there something that could be improved to make that work more efficiently please. I'm changing my approach now by extracting numpy arrays from the individual Datasets, concatenating these numpy arrays and defining the final Dataset only at the end.
Thanks.

Also, reading all Datasets into a list and then trying to concatenate this list of Datasets at once also blows memory up.

I realised that some of the Datasets I was trying to concatenate had different coordinate values (for coordinates that I was assuming to be the same) so I guess xr.concat was trying to align these coordinates before concatenating and the resultant Dataset ended up being much larger than it should have been. When I ensure I only concatenate Datasets with consistent coordinates, I can do it.
However still resource consumption is quite high compared to when I so the same thing with numpy arrays. The memory went over 60% using xr.concat (against 24% using np.concatenate) and the whole processing took about 4 times longer.

Alignment and broadcasting means that xarray.concat is inherently going to be slower than np.concatenate. But little effort has gone into optimizing it, so it is quite likely that performance could be improved with some effort.
My guess is that some combination of automatic alignment and/or broadcasting in concat is causing the issue with exploding memory usage here. See https://github.com/pydata/xarray/issues/1354 for related discussion -- contributions would certainly be welcome here.


Missing Code

The code is missing

Thanks! We are working on it! I hope that we can release the code this week.


Revert "[SPARK-30056][INFRA] Skip building test artifacts in dev/make-distribution.sh

What changes were proposed in this pull request?
This reverts commit 7c0ce285.
Why are the changes needed?
Failed to make distribution:
[INFO] -----------------< org.apache.spark:spark-sketch_2.12 >-----------------
[INFO] Building Spark Project Sketch 3.0.0-preview2                      [3/33]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/spark/spark-tags_2.12/3.0.0-preview2/spark-tags_2.12-3.0.0-preview2-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Spark Project Parent POM 3.0.0-preview2:
[INFO]
[INFO] Spark Project Parent POM ........................... SUCCESS [ 26.513 s]
[INFO] Spark Project Tags ................................. SUCCESS [ 48.393 s]
[INFO] Spark Project Sketch ............................... FAILURE [  0.034 s]
[INFO] Spark Project Local DB ............................. SKIPPED
[INFO] Spark Project Networking ........................... SKIPPED
[INFO] Spark Project Shuffle Streaming Service ............ SKIPPED
[INFO] Spark Project Unsafe ............................... SKIPPED
[INFO] Spark Project Launcher ............................. SKIPPED
[INFO] Spark Project Core ................................. SKIPPED
[INFO] Spark Project ML Local Library ..................... SKIPPED
[INFO] Spark Project GraphX ............................... SKIPPED
[INFO] Spark Project Streaming ............................ SKIPPED
[INFO] Spark Project Catalyst ............................. SKIPPED
[INFO] Spark Project SQL .................................. SKIPPED
[INFO] Spark Project ML Library ........................... SKIPPED
[INFO] Spark Project Tools ................................ SKIPPED
[INFO] Spark Project Hive ................................. SKIPPED
[INFO] Spark Project Graph API ............................ SKIPPED
[INFO] Spark Project Cypher ............................... SKIPPED
[INFO] Spark Project Graph ................................ SKIPPED
[INFO] Spark Project REPL ................................. SKIPPED
[INFO] Spark Project YARN Shuffle Service ................. SKIPPED
[INFO] Spark Project YARN ................................. SKIPPED
[INFO] Spark Project Mesos ................................ SKIPPED
[INFO] Spark Project Kubernetes ........................... SKIPPED
[INFO] Spark Project Hive Thrift Server ................... SKIPPED
[INFO] Spark Project Assembly ............................. SKIPPED
[INFO] Kafka 0.10+ Token Provider for Streaming ........... SKIPPED
[INFO] Spark Integration for Kafka 0.10 ................... SKIPPED
[INFO] Kafka 0.10+ Source for Structured Streaming ........ SKIPPED
[INFO] Spark Project Examples ............................. SKIPPED
[INFO] Spark Integration for Kafka 0.10 Assembly .......... SKIPPED
[INFO] Spark Avro ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:15 min
[INFO] Finished at: 2019-12-16T05:29:43Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spark-sketch_2.12: Could not resolve dependencies for project org.apache.spark:spark-sketch_2.12:jar:3.0.0-preview2: Could not find artifact org.apache.spark:spark-tags_2.12:jar:tests:3.0.0-preview2 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]

Does this PR introduce any user-facing change?
No.
How was this patch tested?
manual test.

cc @dongjoon-hyun @HyukjinKwon

Test build #115376 has started for PR 26902 at commit a07a926.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20182/
Test PASSed.

I'm merging it and will be releasing v3.0.0-preview2 soon.

Merged to master.

Test build #115376 has finished for PR 26902 at commit a07a926.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115376/
Test FAILed.

Does this fail at the clean 'dev/make-distribution.sh'?
It seems that I missed the Maven cache directory at that time.  My bad.


issue for posting cool screenshots

26n1,2,3,4,5,/2,4,5,6 14 gens

leaves!


Fix bug in rpn.py

logger.level = loggin.INFO by default, which can harm the performance when trained using default setting.

the error is -- libdc1394 error: Failed to initialize libdc1394
I think it is not my problem


Fix webmode build

Fix webmode build.  Changed previous PR to use toString instead of stringify, as I believe this is more compatible with previous behavior.  The web container is still broke at runtime for other issue that will be investigated separate from build break.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.007%) to 48.269%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/book/bookTrustManager.ts
2
96.43%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
14746

Relevant Lines:
29008

💛  - Coveralls


Fix JavaDoc warnings in wicket-util

Starting small with contributions :)

This PR has been merged.
Thanks a lot for the changes!


feat: improve command line arguments handling

Codecov Report
Attention: Patch coverage is 95.05495% with 9 lines in your changes missing coverage. Please review.

Project coverage is 94.67%. Comparing base (0ee793f) to head (8a87288).

Files with missing lines
Patch %
Lines

src/Didot.Cli/RenderOptions.cs
94.11%
2 Missing and 3 partials :warning:

src/Didot.Cli/RenderCommand.cs
95.74%
2 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   92.46%   94.67%   +2.20%
==========================================
  Files          18       19       +1
  Lines         292      394     +102
  Branches       49       51       +2
==========================================
+ Hits          270      373     +103
+ Misses         11       10       -1
  Partials       11       11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Graphics acceleration fails with the nvidia-340 driver

Required information

Distribution: Ubuntu Server
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version: 4.15.0-91-generic
LXC version: 4.0.0
LXD version: 3.23
Storage backend in use: zfs

config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  driver: lxc
  driver_version: 4.0.0
  firewall: xtables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "false"
    seccomp_listener: "false"
    seccomp_listener_continue: "false"
    shiftfs: "false"
    uevent_injection: "false"
    unpriv_fscaps: "true"
  kernel_version: 4.15.0-91-generic
  lxc_features:
    cgroup2: "true"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    seccomp_notify: "true"
  project: default
  server: lxd
  server_clustered: false
  server_name: server
  server_pid: 2776
  server_version: "3.23"
  storage: zfs
  storage_version: 0.7.5-1ubuntu16.7

Issue description
Any container with nvidia.runtime and display capability enabled fails to start. A problem in creating a cgroup related file is reported. Removing the display capability or fully disabling the nvidia.runtime fixes that, but no graphics acceleration is available in the container (xclock works but glxinfo and glxgears fail). This is an issue only related to the nvidia-340 legacy driver. You can find more details about the issue here.
Steps to reproduce

apt install nvidia-340 display driver on the host
snap install lxd
Create an x11 profile following this blog
lxc launch ubuntu-minimal:bionic --profile default --profile x11 HelloWorld
starting the container fails immediately

Information to attach
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart HelloWorld /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/HelloWorld/lxc.conf:
Try `lxc info --show-log HelloWorld` for more info

lxc HelloWorld<PHONE_NUMBER>0021.739 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.HelloWorld"
lxc HelloWorld<PHONE_NUMBER>0021.751 ERROR    cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1143 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.HelloWorld"
lxc HelloWorld<PHONE_NUMBER>0021.764 ERROR    utils - utils.c:lxc_can_use_pidfd:1834 - Kernel does not support pidfds
lxc HelloWorld<PHONE_NUMBER>0021.861 ERROR    conf - conf.c:run_buffer:323 - Script exited with status 1
lxc HelloWorld<PHONE_NUMBER>0021.861 ERROR    conf - conf.c:lxc_setup:3373 - Failed to run mount hooks
lxc HelloWorld<PHONE_NUMBER>0021.861 ERROR    start - start.c:do_start:1232 - Failed to setup container "HelloWorld"
lxc HelloWorld<PHONE_NUMBER>0021.861 ERROR    sync - sync.c:__sync_wait:41 - An error occurred in another process (expected sequence number 5)
lxc HelloWorld<PHONE_NUMBER>0021.865 WARN     network - network.c:lxc_delete_network_priv:3213 - Failed to rename interface with index 0 from "eth0" to its initial name "veth1c66fe17"
lxc HelloWorld<PHONE_NUMBER>0021.865 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:852 - Received container state "ABORTING" instead of "RUNNING"
lxc HelloWorld<PHONE_NUMBER>0021.865 ERROR    start - start.c:__lxc_start:1953 - Failed to spawn container "HelloWorld"
lxc HelloWorld<PHONE_NUMBER>0021.865 WARN     start - start.c:lxc_abort:1030 - No such process - Failed to send SIGKILL to 13179
lxc<PHONE_NUMBER>0022.774 WARN     commands - commands.c:lxc_cmd_rsp_recv:122 - Connection reset by peer - Failed to receive response for command "get_state"

Reproduced the issue and the fix is pretty straightforward.
apt install libcuda1-340
I looked at possibly having LXD run a test command of nvidia-container-cli to detect such cases, but it's output is rather useless in such cases and not any clearer than what we already show unfortunately.

Thank you very much for the quick response. I checked your solution, however only partially and without success. I have 2 old machines:

In one of them there is a GeForce 8800 GT and the 340 driver. libcuda1-340 was already installed so no change there... still getting the same error. Can it be that other packages are missing?
The second had a GTX 480 inside which passed away two weeks ago. I replaced it temporarily with a GTX 280 - that was the point I noticed the issue as I had to downgrade the driver. I got an older Titan X as replacement a few days ago. Once I upgraded the driver everything runs perfect again. So I can't try out on that one anymore, it's clearly just an 340 issue.

You can try manually running the tool with something like this:
root@vm10:~# nsenter --mount=/run/snapd/ns/lxd.mnt
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
mesg: ttyname failed: No such device
root@vm10:/# export LD_LIBRARY_PATH=/snap/lxd/current/lib/:/snap/lxd/current/lib/x86_64-linux-gnu/
root@vm10:/# export PATH=/snap/lxd/current/bin/:${PATH}
root@vm10:/# nvidia-container-cli info
NVRM version:   340.107
CUDA version:   6.5

Device Index:   0
Device Minor:   0
Model:          GeForce GT 730
Brand:          Unknown
GPU UUID:       GPU-253db1df-f725-a174-99d4-a8933288c39e
Bus Location:   00000000:fd:07.0
Architecture:   3.5

Device Index:   1
Device Minor:   1
Model:          GeForce GT 730
Brand:          Unknown
GPU UUID:       GPU-6ddadebd-dafe-2db9-f10f-125719770fd3
Bus Location:   00000000:ff:09.0
Architecture:   3.5
root@vm10:/#

This may give you a relevant error.


Fix/7568

fix: scrollable legend pager does not work when the target index is illegal. Fix #7568

LGTM


Add new action T091 - rough diamonds

relates to: https://trello.com/c/kYuHCUKy/190-t091-rough-diamonds-trade-fco

Add: new action T091 - rough diamonds

amended


I have got error cannot find package "dnsgrep/DNSBinarySearch"

When i type command: go run experimentalServer/experimentalServer.go
I have got the error:
experimentalServer/experimentalServer.go:4:2: cannot find package "dnsgrep/DNSBinarySearch".
The same as error result to type command line: go run dnsgrep.go -f DNSBinarySearch/test_data.txt -i "amiccom.com.tw"
What should i do and how to fix it?

There is a go import path issue here.
This package is not directly go get-able. It expects to live at go/src/dnsgrep (based on the import line "dnsgrep/DNSBinarySearch").
There are 2 possible fixes --

update the import path to the correct folder (something like github.com/erbbysam/DNSGrep)
move the DNSGrep folder to go/src/dnsgrep

I will update the install directions and import paths to fix this.

Can we fix the import paths in source code to make go get work?

Hi @erbbysam , if you are OK with update the import path to the correct folder (something like github.com/erbbysam/DNSGrep), I can send a PR. Do you support it?

Dear @erbbysam:
github is terrible, just contact me by email pass about half year. but fortunately is i have resolve this issue followed your suggestion just now. Thanks a lot.
@hsluoyz, hi guy, i will show you what was resolved. first at all, following the Install section go get the following packages: and then hit cd /root/go/src/ command if your Go root path is here. And in this path hit git clone https://github.com/erbbysam/DNSGrep.git and mv DNSGrep dnsgrep. Because this program import path is go/src/dnsgrep.
Finally, run the command line: go run dnsgrep.go -f DNSBinarySearch/test_data.txt -i "amiccom.com.tw", this issue was done.


Export LoadCert helper, reuse for export-tests

This adds a new certutil.LoadCert helper function, which I created by carving the logic out of runServer.
It also adds the -rootCa flag to bettertls export-tests, mirroring the extant flag on bettertls server. I manually confirmed that using the flag both creates and restores the CA and CA key, as expected.
Closes #22.

Also, apologies in advance if I've violated any Go idioms -- my Go is relatively weak 🙂

This all looks right to me! Mostly just some copy/paste and moving stuff around, so not too much opportunity to run afoul of Go idioms (at least the ones I know about :sweat_smile: ).


Update constraints for CompanyName and Role

Currently, there are alphanumeric constraints for CompanyName and Role. However, we feel that special characters should be allowed, such as having front-end developer as the role.
Hence, we would be removing alphanumeric constraints. Instead, the new constraints would be:

Cannot be blank
Maximum 50 characters

Fix by #126.


Keyboard support on mobile navigation

Sorry if this already came across your desk, i could have sworn I opened an issue here but I don't see it, perhaps it was an email. Or I'm losing my mind.
Anyways.
If you shrink your browser window to trigger the mobile navigation mode, and then start to tab through the document, the nav items in the mobile menu as in the tab order. If you open the mobile menu, and then close it, your tab context is still trapped in the mobile menu, so you can't navigate the rest of the document. I've tested this on a clean install with the latest commit.
I was able to fix this on my end with a few changes. The first being to reassign the event listeners on the menu from anonymous functions to declared functions, and then removing those event listeners on menu close. And second by changing the menu CSS to change the visibility to hidden and pointer events to none when closed.
It obviously changes the slide down behavior of the menu, but so far the solution on my end seems to be working fine. I'm happy to send a PR with my changes, but I thought I'd mention it first in case you had your own ideas on fixing it.

Huge thanks for investigating on this issue, we have obviously missed that while working on other things. I see the issue here clearly now. Pull requests are welcome, but before merging I'd like to test the behaviour. So send us a PR and we'll look into it!

Done. I had to pull it out of a pretty customized theme, but my tests seem to work on it. CSS is opinionated as i went from a slide menu to a fade menu, but that was also to enhance removing the nav from the tab order (and I prefer reduced animation in my a11y dev).

Hey @ronilaukkarinen
Curious if you had a chance to test it out and if you were able to find a better way to fix the problem.
Cheers,

Works wonders! Been really busy, sorry for not testing earlier. Thanks for the amazing PR and have a nice christmas! :)


dev kind + new cert-manager

Adding support for local development CNDI clusters

Ready for review

Changing a dev node's memory (and presumably any other property on the node) results in node replacement with a new IP. Is this avoidable?

It’s a bit unclear, I’ll check with a standard multi pass deploy
https://multipass.run/docs/modify-an-instance#heading--set-the-cpu-ram-or-disk-of-an-instance
This multi pass doc “suggests” that it wouldn’t be a full replace but this
second link  with the terraform multi pass provider  code looks like it
only has the option to replace.
https://github.com/larstobi/terraform-provider-multipass/blob/main/internal/provider/resource_instance.go
On Tue, Jul 18, 2023 at 11:47 AM Matt Johnston @.***>
wrote:

Changing a dev node's memory (and presumably any other property on the
node) results in node replacement with a new IP. Is this avoidable?
—
Reply to this email directly, view it on GitHub
https://github.com/polyseam/cndi/pull/249#issuecomment-1640762331, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLWQBBQ5IX5MUJ3TUCCYNDXQ3K4BANCNFSM6AAAAAAWWAEKKM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Adjust visual id migration tags

@mahdibenromdhane That version is bug free?

@mahdibenromdhane That version is bug free?

Yes.


steam prefix

hello Karaulov, could you add steam prefix ?
example
[Creator] [Steam] [Marshal of the U.S.A] Karaulov : lol

@laimiukas3 yes, no steamid support :(

why?

why?

because this feature not added in .sma :( :( 😢

that's why I'm asking, could you add it steam prefix is_user_steam :) and it would be nice add cvar
unreal_prefix_chat 0 disable default color /1 all players green chat  /2 players with privilege green chat messages :)


descriptor: MUST URIs and SHOULD http(s) for descriptor's 'urls'

The in-flight #431 is using JSON Schema's uri format, which requires RFC 3986.  This commit makes that an official spec requirement by adding a MUST to the Markdown.  It also SHOULDs the http(s) schemes, because they're widely supported and are deployed in existing Docker images.  And @vbatts and @runcom both like SHOULDing them ;).
Fixes #436.

Seems fine to me

I can also add a link to RFC 7540 §3 if folks want to see HTTP/2 punting to HTTP/1.1 on this (although HTTP/2's :scheme pseudo-header is more open-ended).

LGTM

LGTM


sasjs lint fix for macro name in MEND statement

Set hasMacroNameInMend to true in .sasjslint file
Updated python lua generation (has a %mend statement also)
Ran sasjs lint fix

:tada: This PR is included in version 2.34.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature Request] Add an option for the bot to say something periodically

The way i imagine this working would be there would be another commented out option or two in the config by default. Something like ";Auto speech = " and ";Auto speech frequency = "
What this would do is every so often the bot just outputs whatever you enter in the auto speech option.
Ideally used for giving users rules or help because at present there is no real way to give people information.
Ideally it would allow formatting like \n for line breaks and so on.

that doesn't really make sense for a music bot

Yeah uh... no.


Not Generalized Suffix Trees fro multiple strings.

Hi!
I tried using the code fro multiple strings, but it fails to give the correct answer. I believe the current implementation is only meant for a single string unless I made some mistake in the function call.
Pasting my code below for your reference:
text = ["how are you doing?", "how are you?", "good morning", "good morning madam"] st = STree.STree(text) st.find("how are you?")
It will be really great if you could add the implementation for multiple strings as well.

Hi! You should be also able to find multiple occurrences using the find_all method.
text = ["how are you doing?", "how are you?", "good morning", "good morning madam"]
st = STree.STree(text)
st.find_all("how are you")
{0, 19}


ARROW-15318: [C++][Python] Regression reading partition keys of large batches.

Since only partition keys were selected we ended up reading 0 columns from the parquet file (we still need to do this so we can determine the row group sizes to accurately reflect the files, or at least we would still need to determine the total number of rows in each file).
We recently added behavior to the parquet reader to respect a batch size parameter.  So if the row group is larger than the batch size we chop the table up into smaller batches using a TableBatchReader with a max chunksize.  There was a bug in the TableBatchReader so that if there were no columns and the max chunksize was smaller than the size of the table (and not evenly divisible into the table size) then we would hit an infinite loop.

I could arguably leave out the python regression test but it seemed like a good case to consider that might catch other issues down the line.


Soarca 127 caldera authentication

Depends on #4

PR is nice and small, only one comment: might be nice to prefix the env. var. with "CALDERA_" since just "API_KEY" is a bit ambiguous.


Symmetric tree

https://leetcode.com/problems/symmetric-tree/
please verify the question
I can do it without recursion in iterative way.

In which language you want to code ?

Java
On Mon, Feb 15, 2021, 4:44 PM Nivedita Singh<EMAIL_ADDRESS>wrote:

In which language you want to code ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Nivedita967/Data-Structure-and-Algorithms/issues/177#issuecomment-779151857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANZ5XWBNF23FX7S3A724RPTS7D6Z7ANCNFSM4XUFHC7Q
.

Okay, Go for it. You can add or replace the code in the folder.

Open for C, C++, Python.
@weirdrag08


fix(tabs): vertical mode border height

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (79cdba5) 62.36% compared to head (0fe3471) 62.36%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5328   +/-   ##
=======================================
  Coverage   62.36%   62.36%
=======================================
  Files        1074     1074
  Lines       22592    22592
  Branches     5931     5931
=======================================
  Hits        14090    14090
  Misses       6959     6959
  Partials     1543     1543

Files
Coverage Δ

src/tabs/src/styles/index.cssr.ts
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[ESP32] Added Lighting-Switch-App example

Add Lighting-Switch-App example for ESP32 boards.
Problem

Add Lighting-Switch-App example for ESP32 boards.

Change overview

Added example of Light-Switch-App fo ESP32 boards
Added documentation for example

Testing

Tested manually on ESP32 DevkitC using lighting-app example as bound device.

/rebase

/rebase


[BW Clock] Added option for a dynamic screen mode to show widgets only if unlocked.

This PR adds an option for a dynamic screen mode to show widgets only if unlocked. If the bangle is locked, widgets are hidden. So BW Clock provides 3 different screen modes:

Normal: Widgets are always shown (default)
Dynamic: Widgets are only shown if unlocked
Full: Widgets are always hidden.

Note: The dynamic screen is implemented through caching the draw function first into a _draw for each widget. Afterward, I overwrite draw with an empty function if fullscreen, and I use _draw otherwise to avoid the .loadWidgets call as its relatively slow.

Nice, thanks! There was some talk of adding a library that'd handle widgets, but unfortunately I haven't got around to that yet.
2v15 does at least provide some nice functionality that allows you to 'overlay' on top of graphics though


[Event Request] Codeunit 99000774 Function CreateLoadForward

Hello Team,
we need a new publisher for accessing the StopLoop
OLD CODE
CalendarEntry := OldCalendarEntry;
StopLoop := CalendarEntry.NEXT = 0;

END;
UNTIL StopLoop;
NEW CODE
CalendarEntry := OldCalendarEntry;
StopLoop := CalendarEntry.NEXT = 0;

END;
OnBeforeStopLoopForward(Var StopLoop, TimeType, ProdOrderRoutingLine);
UNTIL StopLoop;
Thank you

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Fix Next/Previous block add/edit for version 9

This block type's edit interface doesn't look good in version 9. That's because it's using Bootstrap 3 classes and version 9 uses Bootstrap 4. Let's clean up the markup in the add/edit interface for this block type to use Bootstrap 4 classes. That means things like:

Making sure any tabs included in the page actually work (the bootstrap 4 tab required markup is new. The tab functionality should work out of the box but you'll need to make sure the IDs and tab-pane classes are applied correctly.)
Making sure we use btn-secondary instead of btn-default.
Making sure we use float-left and float-right instead of the old pull classes.
Other legacy bootstrap 3 -> 4 conversion updates.
Make sure that we use the proper form classes for all inputs so that they look good, don't overhang the left hand side, align properly, etc...
Make sure that our forms that use checkboxes use form-check, form-check-input and form-check-label as denoted in the BS4 docs.

This looks pretty close, but I think the checkbox alignment here is off? Maybe it needs to come inside a form-group class?


FLINK-13130 Refactor AbstractYarnClusterDescriptor to reduce code dup…

What is the purpose of the change
This pull request reduces code duplication.
Brief change log

Extract a private method to reduce code duplication.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@rmetzger
flinkbot can detect extra commits don't belong to PR, and CI report says these commits are pending to build.
Is this right?


Sort Groups in Alphabetical Order

What the title says.
App Version: 2.2.0

Indeed - this shouldn't be too hard to implement. I'll see what I can do

As bonus it would be great to add custom sorting. But it is not a big deal, it can be workaround by alphabetical order by prefixing groups with 1,2,3,4...


[UI] Hide Labels and Annotation in details page

Current Behavior
Currently, we are showing the unique_id and kind columns under Labels and Annotation which are not providing much value to the users.

Desired Behavior
Hide the uniquer_id and kind columns under Labels and Annotation
How to Reproduce Issue?

Go to the dashboard in Meshery UI
Under the Node tab, click on the name of any row. This will take you to the details page of the particular node
If you scroll down you will see the Labels and Annotation

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I would like to work on this issue. Is it available? @ritiksaxena124

Yup, go ahead @Aayush2111 👍.  Let's see if you can make it before tomorrow's Meshery Development Meeting at 8:30 PM IST.
more details: https://meet.layer5.io/

@Aayush2111 any updates?

@Aayush2111 any updates?

Finding it a little confusing to locate the file from where it's rendering further tables such as annotations and labels

Hii @ritiksaxena124 , I want to work on this. I have setup Meshery locally , but how do I populate the data so that I can have some dummy data to work with ?

@ANKITRAJ2403 You wanna work on this?

Yes

@sudhanshutech //


I cant find where where are saving data in production.yaml

I understand that because of:

run: supabase link --project-ref $SUPABASE_PROJECT_ID
run: supabase db push

we can add new table structure to our project but at the same time I believe that the whole data gonna be gone. I dont see there you save data to seed.sql?

https://supabase.com/docs/guides/cli/seeding-your-database


Create frames for "Congrats, you are state champion"

Create the animation frames for "Congratulations, you are state champion" phrase. Animation is 24fps, and canvas is 800x480px with pixel density being 600
wav file
13. Congrats you are state champion.zip

Won't make animation for this audio. It'll just be used at the end of the pro_football game