Re-Training the header model

Hello guys,
I am a student and kind of new in using AI-techniques in practice - especially using Grobid and I would like to ask some basic questions.
This is my situation: I want to extract informations (title, authors, abstract paragraph and the publishing magazine) from pdf files. Grobid already works quite well with your pre-trained model, especially for titles, authors and the abstract paragraphs. The image below is a example of a paper I want to extract. The magazine is marked yellow and I would like to extract this information as well. I have quite a lot of papers from Elsevier always in the same structure.
I want to re-train the header model with these files. So I created the training files using the Grobid batch mode and was about to correct these files, but the yellow marked text isn't present in the .header.tei.xml file. So here are my questions:

Your guideline tells 'to keep the stream of text untouched' and the 'text itself shall not be modified or corrected'. So I can't just add the text with some kind of tag in order to train Grobid taking this information as well? (Probably because the .header.tei.xml and .header file won't fit together then?)

Should I rather use the fulltext model?

To speed up the process of correcting data, I was thinking about just deleting those parts of tags and texts in .header.tei.xml files I am not even interested in. However, the problem here is that I would modify the stream of text once again? Furthermore, the learning  #process is probably better when the whole text is tagged and in some kind of relation to the other parts?

Basically I am not even quite sure what to correct then in the .header.tei.xml files. I only can modify tags and have to check whether i.e. the abstract paragraph is not tagged as introduction?

Is there any (more ore less easy) way to make Grobid learn extracting (new types of) data, it was not used to extract?

I hope I could describe my problem clearly. Thank you in advance.

Hello!
Normally this yellow piece of text should be present in the .header.tei.xml and .header.tei.xml files as note - ok not good but at least present:
	<note type="other">B ENVlRONMENTAL<lb/> ELSEVIER<lb/> Applied Catalysis B: Environmental 15 (1998) 5-19<lb/></note>

So relatively to your question 1., indeed you can't add or remove text - you can only move tags in order to ensure the alignment with the .header file will work correctly.

So you would need to change the excerpt above as:
	<note type="other">B ENVlRONMENTAL<lb/> ELSEVIER<lb/></note>
	<reference>Applied Catalysis B: Environmental 15 (1998) 5-19<lb/></reference>

(modifying the end-of-line is OK, because the explicit line break markers <lb/> are used)

Full text mode is not related at all to the header model.

Yes don't do that :)

The missing piece is the segmentation model. Before the header is processed, it is identified as general area by the segmentation model. So if you observe a piece of header missing or too much text in the header files, you have first to add training data in the segmentation model to fix it. So run createTrainingSegmentation, correct the training data for the segmentation model (by moving the header tags accordingly) and retrain the segmentation model.

Yes, you can define new labels for the model you want to extend (under org/grobid/core/engines/label/). Then map these labels to XML tags (by modifying the SAX parsers). Then add these tags in the XML mark-up of the training file (the heaviest time-consuming work). Finally you have to exploit these new labels to create data structures when reading the CRF results (this is usually in a method called resultExtraction in each parser).

The best is to have a look at the different GROBID modules that extract different types of structures than those of the main grobid: grobid-quantities (extracting physical measures), grobid-ner (extractng named entities), grobid-dictionaries (extracting lexical entries in dictionaries), grobid-astro (extracting astronomical entities), ...

Hi,
I am having one more question on bibliography reference incremental training in GROBID.
Is it is possible to add extra newly named tags inside the reference beyond the already existing tag names.
Eg.
DOI: <idno type="doi">10.1016/j.artmed.2010.12.004</idno>, PMID:  <idno type="pmid">21232927</idno>
Hereby i added 'PMID' number inside reference as like of 'DOI' number.

Let me know whether we can add new tagging of elements in reference on the GROBID training data set?
Also after training those data set it will identify correctly those elements with my newly introduced tag name?
It will give the tie.xml with the same tag name as i trained the model?

Thank you in advance.


Setup Ingress-Nginx as ingress controller

We'll use this ingress controller: https://github.com/kubernetes/ingress-nginx
Relevant docu: https://cert-manager.io/docs/usage/ingress/

implemented ingress-nginx as tf module via helm-chart
set podSecurityPolicy on true, so the pods can run without any problems
created test deployment,application and ingress-object
added ingress-nginx module into staging-cluster


[5.9][CodeComplete] Offer completion suggestions for default argument values inside the macro declaration + argument label inside #externalMacro

Explanation: We were not type checking the default argument initializer because MacroDecl is not an AbstractFucntionDecl. Add MacroDecl to the list of nodes we know how to get parameters from.
Pretty much unrelated, but also a small change in the same test file: Continue checking a #externalMacro declaration in code completion mode even if the argument labels don’t match. This way we get completion results for #externalMacro argument labels and when competing after # when externalMacro is already specified.
Scope: Code completion inside macros
Risk: Low
Testing: Added regression tests
Issues: rdar://108163564&108163809&108681394
Reviewer: @bnbarham and @xedin on https://github.com/apple/swift/pull/65526

@swift-ci Please test


smarter taxon image positioning

In some cases the taxon image box is too close to the blue taxon node, and may even partly cover it. This depends on the shape of the box and its position relative to the taxon node. We need to make the positioning algorithm a little smarter, i.e., make the taxonImage arrow longer when necessary in order to keep the image box from overlapping other nodes.

I've fixed this and pushed to the Devel branch, in the file demo2d.html. The vast majority of arrows that point to the taxon image box don't cover any other nodes (some images are just ridiculously big, and I didn't want to make all of the arrows extraordinarily long, unless you think that's a good idea).

The image you posted looks good. But we still have some image placement problems. See below.

I made the arrows even longer, but this seems like an issue with calculating the angles of where taxonImage should reside. I could look into that.

Yes, just making the arrow longer is not a good solution. We need to consider the placements of the other nodes and then calculate the correct image arrow length to ensure that the image box does not overlap any of the other nodes. I'd like you to do this, but it's a lower priority item right now.


Proposal: Creating a React & React Native Library for visualizing real time crypto price data.

Description

ReactNativePythViz will be a library for integrating Pyth Network data feeds into your mobile & web applications. It'll provide real-time price updates, customizable alerts, and advanced visualization components for crypto asset prices.

Bounty track

Real-time price updates from Pyth Network
Support for multiple assets
Customizable line chart component
Easy-to-use React hooks for data fetching and management
TypeScript support for improved developer experience
Implement caching for improved performance
Add more customization options for charts
Develop comprehensive error handling
Create a demo app showcasing all features

Hmm...
Just React for this submission is enough. Preferably with nextjs since this is top pick right now.
Approved.


Package request: Intel OneVPL-intel-gpu

Project description
The OneVPL-intel-gpu library is needed as a dependency of intel-media-sdk to support QSV hardware acceleration on intel alderlake and newer GPUs. Currently libmfx in intel-media-sdk tries to dispatch to the OneVPL backend and fails.
Metadata

homepage URL: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onevpl.html
source URL: https://github.com/oneapi-src/oneVPL-intel-gpu
license: mit
platforms: linux

@midchildan as maintainer of intel-media-sdk: do you have any thoughts on this. See also Intel's deprecation notice of intel-media-sdk in favor of OneVPL (https://www.intel.com/content/www/us/en/developer/articles/tool/media-sdk.html).

Adding the ffmpeg error so that other people can find this ticket as well:
[AVHWDeviceContext @ 0x24321c0] Error initializing an MFX session: -3.
Device creation failed: -1313558101.
Failed to set value 'qsv=qs@va' for option 'init_hw_device': Unknown error occurred
Error parsing global options: Unknown error occurred

This is unfortunate, because Intel seems to have deprecated Media SDK without leaving a migration path for owners of older CPUs. Looking at the README, OneVPL isn't supported on CPUs older than 3 years.
Media SDK's repo also mentions something about a security issue...

Yeah, I would still like to make progress on my PR, but last time I tried to verify my package, I couldn't get ffmpeg rebuilt with the necessary flags.
I also am concerned about the lack of upgrade path for older CPUs because I think the configure flags for ffmpeg are in conflict. That could mean supporting two builds of ffmpeg

With regards to the migration path. I think Intel's solution is to keep intel-media-sdk around on the system, but make it dispatch to oneVPL at runtime on Alder Lake+. Quoting the intel-media-sdk readme:

Pay attention that Intel® Media SDK has forward compatibility with new VPL runtime (libmfx-gen.so.1.2) in the scope of API features supported by both 1.x and 2.x API series. As such, if application is built against Intel® Media SDK, it still can work on new platforms. For that purpose Media SDK Dispatcher loads either Media SDK Legacy Runtime (libmfxhw64.so.1) or VPL Runtime (libmfx-gen.so.1.2) depending on the underlying platform. See support matrix below.

Then existing applications can just be compiled against intel-media-sdk, but they will use oneVPL under the hood on newer systems.
That would provide us with an easy path forward for the time being as well, I think. At least, that should buy us some time for the community to come to a consensus on how to move forward.

Reading some more, I believe oneVPL can dispatch back to intel-media-sdk as well:

oneVPL dispatcher can work with the Intel® Media SDK GPU runtime to support legacy GPUs and the Intel® VPL GPU implementation for newer GPUs.
Source: https://www.intel.com/content/www/us/en/docs/onevpl/upgrade-from-msdk/2023-1/onevpl-hardware-support-details.html

So when applications are ready to switch over to oneVPL we can still support old hardware by ensuring intel-media-sdk is on the system.

@evanrichter
So I think that means you shouldn't have to change ffmpeg flags for the moment?

I ran into this problem when I tried to run Jellyfin with QuickSync hardware acceleration and noticed the error that @SemMulder posted above.
I actually managed to make it work:

Nixpkgs needs OneVPL and OneVPL-intel-gpu packages, OneVPL dispatches to a backend, which can be either intel-media-sdk or OneVPL-intel-gpu.
ffmpeg's flags do have to be changed. The ffmpeg derivation in Nixpkgs only supports libmfx (with --enable-libmfx) which calls directly into intel-media-sdk. To use hardware acceleration on Alder Lake and later, ffmpeg needs to be built with the --enable-onevpl flag. This uses the OneVPL dispatcher that chooses either OneVPL-intel-gpu or intel-media-sdk depending on the platform. The --enable-libmfx flag conflicts with --enable-onevpl.

I'll post my derivations when I get home. I hadn't seen the https://github.com/NixOS/nixpkgs/pull/242359 PR I'll leave some notes there (onevpl would probably be a better name for that PR/package).

With regards to the migration path. I think Intel's solution is to keep intel-media-sdk around on the system, but make it dispatch to oneVPL at runtime on Alder Lake+. Quoting the intel-media-sdk readme:

Pay attention that Intel® Media SDK has forward compatibility with new VPL runtime (libmfx-gen.so.1.2) in the scope of API features supported by both 1.x and 2.x API series. As such, if application is built against Intel® Media SDK, it still can work on new platforms. For that purpose Media SDK Dispatcher loads either Media SDK Legacy Runtime (libmfxhw64.so.1) or VPL Runtime (libmfx-gen.so.1.2) depending on the underlying platform. See support matrix below.

Then existing applications can just be compiled against intel-media-sdk, but they will use oneVPL under the hood on newer systems.
That would provide us with an easy path forward for the time being as well, I think. At least, that should buy us some time for the community to come to a consensus on how to move forward.

I checked the intel-media-sdk code. The MSDK uses the -DMFX_MODULES_DIR CMake option to determine the directory in which the libmfxhw64.so and libmfx-gen.so are searched for. This directory is both the search and install directory for the libmfxhw64.so. This means we have to create a build time dependency on oneVPL-intel-gpu to intel-media-sdk and add a postInstall hook that copies or links the the libmfx-gen.so from oneVPL-intel-gpu into the MFX_MODULES_DIR. MFX_MODULES_DIR defaults to the CMake library path.

I'll post my derivations when I get home.

@PJungkamp I'm trying to replicate your setup, is there any chance you could share your derivations?

I posted them in the related PRs comments.
#242359 (comment)

Thanks @PJungkamp! I ended up doing this to get it working for me https://github.com/RyanGibb/nixos/commit/55aca5b360f734f8db8d426c2a6b803e164cf531

#264621 has been merged 🎉

Nice job @evanrichter, thanks for sticking with it

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/trouble-getting-quicksync-to-work-with-jellyfin/42275/1


Pseudoterminal.open says events can start firing only after it is called

There is a queue mechanism internally before open is called., I think it's more correct to say you cannot access the initial dimensions before it's called.

I was wrong, there is a time between when you create it and when you create it and when open called when the events can be fired, but there's no way for an extension to know when that is. I think the queue mechanism can safely be removed now and just install listeners just before open is triggered.


X22 Evnex additional phases

Just wondering if additional phases could be added.
running a x22 unit currently.
Otherwise a perfect integration.

Sure, step one is to make sure you can access the data using the underlying library https://github.com/hardbyte/python-evnex
Then we can look at what would need to change in this home assistant integration.

Cheers I will try and teach myself what I am reading.
The integration works really well.
Next step for me is to add a display just above it so we can see status
without using app.
Regards Robert
On Sun, 21 Apr 2024 at 11:20 AM, Brian Thorne @.***>
wrote:

Sure, step one is to make sure you can access the data using the
underlying library https://github.com/hardbyte/python-evnex
Then we can look at what would need to change in this home assistant
integration.
—
Reply to this email directly, view it on GitHub
https://github.com/hardbyte/ha-evnex/issues/32#issuecomment-2067812113,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWP5HXYNFAQO3JEM6YTI6LY6LZ23AVCNFSM6AAAAABGQZGDO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXHAYTEMJRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Increasing free space after installation

As noted in https://github.com/futurice/chilipie-kiosk/issues/61#issuecomment-557002181, there should probably be a bit more headroom on the root partition after a fresh installation.
cc @pyryk

Closing as dupe in favor of #90


Fix cancellation of rule edit cancellation

BEFORE:

Start editing a rule, make some changes
Click Cancel
A confirmation pops up
Click Cancel in the dialog
The rule edit is not cancelled (good), but the modified fields are reset (bad)

NOW:
5. The fields are not reset, the changes are kept, the cancellation is cancelled cancellably.

I'm cancelling the cancellation of this cancellably cancelled cancellations PR, i.e. merging.


use go:embed for prisma engines

https://golang.org/pkg/embed/

@steebchen does go:embed work for detecting migration files already or does that need a new issue?

@bshihr Can you maybe create a new issue or discussion and elaborate on your use case? Right now the only thing packed into the final go binary is the prisma query engine, because it is needed at runtime. The migrations are usually run on generate time, which requires the go module to be installed anyway, so packing migration files would not solve anything at this point.


.Net: When creating a KernelFunction, you should be able to get the execution settings in the method signature.

This is not a v1.0.0 blocker because you can already get the execution settings from KernelArguments, but it's weird to get KernelArguments just to get execution settings. Especially when the other properties are marshalled for you.
public class TestPlugin
{
    [KernelFunction]
    public async Task<string> TestFunction(Kernel kernel, string input, PromptExecutionSettings executionSettings)
    {
        var chat = kernel.CreateFunctionFromPrompt(
            new PromptTemplateConfig()
            {
                Name = "Chat",
                Description = "Chat with the assistant.",
                Template = input,
                TemplateFormat = "semantic-kernel",
            }
        );

        return (await kernel.InvokeAsync<string>(chat))!;
    }
}

KernelArgument now contains a dictionary of prompt execution settings rather than a single instance. What is the intended behavior here?

The dictionary is used by the AI Selector service to pick the "right" settings. This change was made because at the time of invocation, it might not be clear which model/settings will be available or should be used.

The dictionary is used by the AI Selector service to pick the "right" settings. This change was made because at the time of invocation, it might not be clear which model/settings will be available or should be used.

Right. But the AI selector today is not normally used for the invocation of one of these methods. Does this mean that if someone includes PromptExecutionSettings in their method's signature, the intent then is to invoke the AI selector and pass its result as the argument?

cc: @alliscode, who opened https://github.com/microsoft/semantic-kernel/issues/4456

Ah! I see what you're saying. This should theoretically be handled beforehand by the AI Service Selector. The AI Selector Service should be triggered during function invocation and return back the chosen model and a single PromptExecutionSettings object. This PromptExecutionSettings object should be the one that's passed into the function.

The AI Selector Service should be triggered during function invocation and return back the chosen model and a single PromptExecutionSettings object.

The AI selector service requires you to specify the type of service you need. There is no such required service here.  What exactly would that call look like and where would it be?  I don't see how this works.

Closing as not necessary


Special characters in route parameters and child router

An application I work on has as route parameters IDs that do not have symbols restriction, hence can contain '/' or '//', etc. When such parameter is part of a child router the matching breaks because the fragment is reconstructed by joining the parameters as is. But they are already url decoded and when the parameter contains '/' or '//' the matching fails. As a work around I provide in the route config my own RegEx. But it turned out this was not enough in the case when there are sequences of '//' in the parameter because of this line of code. Re-encoding the the parameters when reconstructing the fragment should fix this.
Also would it be appropriate to add a method to the router similar to makeRoutesCaseSensitive that instructs the router not to decode the parameters in the first place - turnOffParameterDecoding or something?

Closing since Durandal has been superseded by Aurelia just shy of four years ago.


383 actor path

Closes #383

Summary:
Fixes how we compute grouping of actors and add new operation to configuration

@worekleszczy please merge if you think the same


Have an option to not show the single databases when a composite containing them exists.

Is your feature request related to a problem? Please describe.
When you create a composite with databases, the databases list show both the composite and the single databases.This can make the databases unnecessarily long if the user wants always to work with the databases via the composite.
Describe the solution you'd like
There should be an option in the composite editor to prevent displaying the databases contained in the composite in the database list.
In this way it the databases list is more compact.
Describe alternatives you've considered
Putting the option in the global configuration, but it is better to have it for each composite.

Added the following checkbox in the composite editor:


Batch importing character and stash data

I recently made a thing for fetching the character data via a bookmarklet (bookmarked JavaScript link) and was wondering if there's interest in using a similar approach to have a one-step import of all data for PoESkillTree. The process would look  like this:

Add a bookmarklet in the browser
Go to pathofexile.com
Click bookmarklet, get a prompt with the combined data for the charater and stash tabs, copy it
Paste it into PoESkillTree

The improvement would be that it's much simpler than the current process of downloading separate files. I'd make the JS part if there's interest.

This is cool, but it is really up to the user how they would want to get their stash tab data.

Sorry, I don't understand what you mean

I mean that there isn't a handy way to implement this into the planner itself. It is sweet and as long as it out puts proper JSON the planner should load it.


GEOMESA-863 Docs: add geomesa-process installation instructions

Signed-off-by: Matthew Zimmerman<EMAIL_ADDRESS>

looks good.


Attributes with spaces are not quoted if the attribute was loaded without quotes

1. Description
Attributes with spaces are not quoted if the attribute was loaded without quotes
3. Fiddle or Project
Fiddle: https://dotnetfiddle.net/qj0Iav
The output from HAP includes
Text
. This should be
Text
. The browser will interpret the current output as
Text
 - i.e. the class is only "test", then there's a new cls attribute with no value.
This is an issue with minified input. The quotes around attributes are stripped if it is valid to do so. When HAP loads a minified attribute, it attempts to preserve the quotation style. However, if the value is then changed, it does not check to make sure that the quotation style is still legal.
The example uses addClass but it should apply to anything that modifies attribute values. I believe other characters besides just space will require quotations. I don't know the exact list but probably any non-word character.
4. Any further technical details

HAP version:
Occurs in HAP 1.11.63 and 1.11.64

Hello @dylanstreb ,
The v1.11.65 has been released, fixing this issue.
Let me know if everything is now working correctly.
Best Regards,
Jon

1.11.65 fixes the issue. Thank you!


Unable to remove active skills

Unable to remove active skills (Lightening strike etc). Able to add them fine but cannot remove them once added.

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Added docs for smart keptn auth

Hi @ankitjain28may,
thanks for the PR and for providing the documentation of your feature. Can you please address the above-mentioned comment?
Other than that, it already looks good and can be merged when https://github.com/keptn/keptn/pull/2733 is merged into master.

@johannes-b Have updated as suggested in the review.

Great, thanks!
As said, please let`s wait until https://github.com/keptn/keptn/pull/2733 is merged.


[DO NOT MERGE] OLH-1199: Enable phone support in production

🚨 🚨 Do not merge this PR until we've had confirmation that the contact centre is open 🚨 🚨
Proposed changes

What changed
Turn on the feature flag for phone support in production only.
Putting this PR up now so we can get it approved and ready to go for tomorrow morning.
Checklists

Environment variables or secrets

[x] Application configuration is up-to-date

We've had confirmation that we're ok to put this live


feat: hover effect added to menu

Please check I added hover effect to menu. If you like please merge my PR.

@nishtha53, let me take a look on it!


Automatic publishing of Docker Image

Output of restic version

n/a
What should restic do differently? Which functionality do you think we should add?

I suggest to add a GitHub Action workflow that automatically builds and publishes a Docker image of restic when a new release of restic is published.
This is a follow-up of https://github.com/restic/restic/pull/3520#issuecomment-939367267.
What are you trying to do? What problem would this solve?

It does not solve a problem per se, it just makes the release process easier. IMO it also makes the Docker image more trustworthy, since if it's built & published by an individual upon release it could contain arbitrary information.
(This can not be completely prevented though, since all individuals with push access to the relevant Docker registries can push and overwrite tags anyway. But that push access could be revoked for most/all human maintainers.)
This would also make it trivial to publish restic to other container registries, such as GitHub's own GitHub Container Registry or quay.io. The benefits would be redundancy when one goes down temporarily (or permanently) or should the terms and conditions of the Docker Hub change for the worse once more.
Did restic help you today? Did it make you happy in any way?

:-)

Release builds and beta releases are available https://github.com/restic/restic/pkgs/container/restic .

The restic release binaries are fully reproducible, there's even a script to automatically verify them: https://restic.readthedocs.io/en/latest/developer_information.html#verifying-the-official-binaries


Ng2 bootstrap

Please review and merge it to master if it works fine. Thanks.

I don't know it that well, but it looks odd that you need to include it twice.  Are you sure both are required.  I would have thought the one in the project config would have been all that is required.  Could you confirm?

Yeah, it is odd. I was asked to do a merge before doing rebase. So there are duplicate comments. There are only 4 lines added to 3 files.

"ng2-bootstrap" and "moment" were added to package.json for installing dependencies into node_modules; "ng2-bootstrap/ng2-bootstrap" added to tools/config/seed.config.ts
is used for importing modules from ng2-bootstrap in JS. So I can confirm that all 4 lines added are needed.

So with things how they are (after rebase / merge), can you confirm you do need to modify the seed.config.ts - as I understood it, to customise you only modify the project.config.ts.  That is what the angular2-seed doco says.  In https://github.com/mgechev/angular2-seed/wiki/Architecture-and-usage-of-angular2-seed is
Config
The project defines a base configuration inside: tools/config/seed.config.ts. The config can be easily overridden in: tools/config/project.config.ts.
So could you double-check you need that modification.  And if you do can you make it to the project config?

Ok. I may remove the new line "'ng2-bootstrap/ng2-bootstrap':  ..." from seed.config.ts. It seems the UI still works fine after having removed it. I'll double check it
But we should be aware that "'ng2-bootstrap/ng2-bootstrap': 'node_modules/ng2-bootstrap/bundles/ng2-bootstrap.js'," in seed.config.ts is defining a path that is to be used for "import {DROPDOWN_DIRECTIVES} from 'ng2-bootstrap/ng2-bootstrap';" This idea comes from the Angular2 seed project which defined "'@angular/forms': node_modules/@angular/forms/bundles/forms.umd.js," for "import { REACTIVE_FORM_DIRECTIVES } from '@angular/forms';" in home.component.ts.

If needed, can it go in the project.config.ts instead?

It seems that it cannot be defined in project.config.ts without significant changes. Because ProjectConfig extends from SeedConfig, we may merge both files if it is necessary.
The project.config.ts defines .css and .js files to be injected into index.html, while seed.config.ts defines global variables and SYSTEM_CONFIG variables.
I had another check and found out that the new line "'ng2-bootstrap/ng2-bootstrap': ..." added to seed.config.ts is actually injected into index.html as part of the System.config.
We may discuss this issue on Monday.


building issue

when i try to run "cmake -G Ninja -B build" on the sexy-vk branch, this happens
"-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:8 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:8 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!"

Sorry it took so long to get to you!
It looks like your build system is not sane. This isn't an issue with this project but rather the environment you set up to try compiling it. C/C++ projects are a pain and take a little set up to get going. I don't know anything about what system you're using so I can only guess but I imagine you don't have a C/C++ compiler installed. Try installing Clang or GCC on your computer and try again.
The configure step may fail again once you fix that error. In that case you should first try googling the errors as many of them are quite common horrors when first setting up a working build environment.
Thanks for your interest!


[Qt5|qmake] pass toolchain setup

one todo in #9881

@JavierMatosD Please review again, thank you!


Add documentation on concepts: Roles and Role Groups

We don't currently have documentation on the terms role and roleGroup.
We should add a glossary or concepts section that explains these.

This is an explanation topic, we have those in the Concepts section. I used ADRs as a base for page like this, but I don't think we have one for role and roleGroup. I haven't used this feature much, it'd be good to gather some infos on it, what should go into a concept page explaining this (why was this added and why in this way)


Refactor dynamic ip tests

Rename the test module.
Start all tests that depend on the client interface with IP stack disabled.

Coverage remained the same at ?% when pulling ea4655136a62e19eb76a89fafa75db402c271c03 on EdDev:refactor-dynamic-ip-tests into a4d80860a71214c6afefda312efc532ac60b8fc1 on nmstate:master.

Coverage remained the same at ?% when pulling ea4655136a62e19eb76a89fafa75db402c271c03 on EdDev:refactor-dynamic-ip-tests into a4d80860a71214c6afefda312efc532ac60b8fc1 on nmstate:master.


How to resume training

How do i resume training, what changes shiuld i make to continue training from where it left

You can just start from the new checkpoint you generated from before.
If you take a look on "train.py" you see that every epoch is generating a check point on /checkpoints folder. You can use it as a new weight to start your new train from.

Hmmm, got the same question.
Already tried using the ModelCheckpoint weights, but I receive the following error when doing that:

ValueError: Shapes (255,) and (75,) are incompatible

Trained the network with the original weights (yolov3.tf) for 10 epochs [colab_gpu.ipynb step 5]
On epoch 10 'yolov3_train_10.tf' is created
Restart the training, but instead of passing 'yolov3.tf', I gave it 'yolov3_train_10.tf'
Throws above error..

Am I missing something?

Hmmm, got the same question.
Already tried using the ModelCheckpoint weights, but I receive the following error when doing that:

ValueError: Shapes (255,) and (75,) are incompatible

Trained the network with the original weights (yolov3.tf) for 10 epochs [colab_gpu.ipynb step 5]
On epoch 10 'yolov3_train_10.tf' is created
Restart the training, but instead of passing 'yolov3.tf', I gave it 'yolov3_train_10.tf'
Throws above error..

Am I missing something?

@Tomiha  Did you solve it?
Regards

Hi @amh28,
Yes, I got it working.
If I remember correctly, there was an issue with the number of classes I passed through when training from previous weights.


Azure blob services api

In the codeunit 9044 "ABS Format Helper" we have a Label used for URI generation

AppendType1Lbl: Label '%1%2=%3', Comment = '%1 = Concatenation character, %2 = Parameter Identifer, %3 = Parameter Value';

This URI generation will result in an unusable URI when the code is run by a user with language

target-language="da-DK

because of a danish translation of the label with blanks in it.

%1%2 = %3

Did a random check of some other translations which did not appear to have this issue.
B.R. Allan

Nice catch, @ohlfsen
In this particular case, the string should just be locked (Locked = true) as the translation team should bother "translating" it.
We'd gladly have it fixed. However, I bet it'll be faster if you provide a fix yourself as a PR to this repo. It's a half-liner ;)

We've fixed the issue. And we'll be backporting the fix to be released with 19.4. Thanks for reporting.

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for release 19.


Dynamic Date for Filters

Hello, can you please add in dynamic dates for the filters in the future so that they can work like in Notion?
EG, Filtering the table by 'Today', 'Tomorrow', 'In the next 7 days' etc.
If the filter is set to 'Today', whenever the date of the particular note reaches today, it will be reflected in the current filtered table.
Thank you.

Hello @zxedacus ,
You can use the dataview query to achieve this feature. We will work on a dynamic filter in the future but not in short terms
DV example:
FROM "my/folder/path" where dateProperty >= date(today) - dur(7 days)

+1 for this feature request.
I'd like to propose another workaround:
You could add another formula-column. Within that column, you can dynamically check whether date is in a specified range (e.g. after today, or in the next 7 days). And afterwards you can filter on that new column.
Example: You want to filter whether the value of column "date" is later than "today":

add a new column with type "formula"
in this now column, use formula "${row.date.diffNow > 0}"
add a dynamic filter which checks "Does not contain" "true"

Hello @zxedacus , You can use the dataview query to achieve this feature. We will work on a dynamic filter in the future but not in short terms
DV example:
FROM "my/folder/path" where dateProperty >= date(today) - dur(7 days)

I have just tested the Dataview query, and it works smoothly. I think there is no need to implement dynamic Dates in the "filter." I would recommend adding some notes on the documentation and/or the app's filter per se.  This would save much time for users trying to filter date fields using dynamic dates (and not working)

You can use the dataview query to achieve this...

But doesn't Dataview query create a new table? if I need to multiple tables like future notes, past notes, todays notes, upcoming weeks notes etc... I would have to create multiple Dataview query tables. Instead, if we could use the date filter, all this could be addressed in one table

Hello @zxedacus , You can use the dataview query to achieve this feature. We will work on a dynamic filter in the future but not in short terms
DV example:
FROM "my/folder/path" where dateProperty >= date(today) - dur(7 days)

I have just tested the Dataview query, and it works smoothly. I think there is no need to implement dynamic Dates in the "filter." I would recommend adding some notes on the documentation and/or the app's filter per se. This would save much time for users trying to filter date fields using dynamic dates (and not working)

I want to make this kind of filter more user-friendly instead with a formula, so you can have both ways.
About the documentation its a good idea =). I will tag this issue as docu too

You can use the dataview query to achieve this...

But doesn't Dataview query create a new table? if I need to multiple tables like future notes, past notes, todays notes, upcoming weeks notes etc... I would have to create multiple Dataview query tables. Instead, if we could use the date filter, all this could be addressed in one table

Hi @AnweshGangula,
If you try to apply the Dataview filter on "Projects Plugin", yes, it will rebuild the table, and you have to restart from zero. What I mentioned above is regarding "DB Folder plugin". If you are on this view, DB Folder, click on the gear symbol, choose "Dataview query" on the first option, and then type the query. In my case, "from "FullCalendar.Feriados" where date >= date(today)".... no need to add "TABLE" at the beginning of the query (if your query requests "TABLE", you are in "Projects", not "DB Folder")

Hello @AnweshGangula,
My DB Folder was created based on a folder - When I clicked on the gear icon, the first option was "current folder".  When I implemented the Dataview filter, I changed "current folder" to "Dataview query" and typed "from* "Calendar.Feriados" where date > date(today)"*. All the columns remained untouched, and only past data was hidden.

@mrkuramoto, thank you for the inputs.
This approach you provided helps as a workaround, but doesn't actually function as a filter. For Example, I have below filter in one of my db-folder where I can filter "Today" & "Today and Later", additionally I can add "Past" as another filter as well.
This helps me to be quickly toggle filters or have multiple filters applied without having to edit the source query of the table. I hope adds more details to the request.

+1 for this feature request.
I'd like to propose another workaround: You could add another formula-column. Within that column, you can dynamically check whether date is in a specified range (e.g. after today, or in the next 7 days). And afterwards you can filter on that new column.
Example: You want to filter whether the value of column "date" is later than "today":
1. add a new column with type "formula"

2. in this now column, use formula "${row.date.diffNow > 0}"

3. add a dynamic filter which checks "Does not contain" "true"

@JonHap can I ask you about this? I tried to replicate what you suggested, but my newly-created formula column doesn't show up as a filter field. What am I doing wrong?


doh: fix segfault - do not pass host as NULL pointer to initprobe()

This path fixes a segfault triggered out as following:
openbsd-dev$ doh -t
Segmentation fault (core dumped)

Thanks a bunch, but this was already independently fixed in #13 that was just merged!


Can't build after upgrade to Xcode 8.3

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Can't build after upgrade to Xcode 8.3
Complete output when running fastlane, including the stack trace and command used
2017-03-29 01:44:50.671 xcodebuild[48767:2742807]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-12169/IDEFoundation/Playgrounds/IDEPlaygroundAuxiliarySourceCompilerOperation.m:394
Details:  Unable to read diagnostics from file "/Users/mliberato/Library/Developer/Xcode/DerivedData/App_Name-gtrtqtcffulrlebitlpvailvkkec/Build/Intermediates/ArchiveIntermediates/App_Name/IntermediateBuildFilesPath/App_Name.build/Release-iphoneos/App_Name.build/Objects-normal/arm64/BaseViewController.dia" (Invalid File): Invalid diagnostics signature
Function: void XCGenerateDiagnosticsFromFile(NSString *__strong, NSString *__strong, NSDictionary *__strong, NSDictionary *__strong, IDEActivityLogSectionRecorder *__strong, BOOL (^__strong)(IDEActivityLogMessage *__strong))
Thread:   <NSThread: 0x7fc83ec06c00>{number = 90, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** ARCHIVE FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
ERROR [2017-03-29 01:44:50.91]: Exit status: 65
Log file
PHI node operands are not the same type as the result!
%359 = phi %CSo8NSNumber* [ %3093, %3091 ], [ %348, %350 ], !dbg !1091
PHI node operands are not the same type as the result!
%387 = phi %CSo8NSNumber* [ %3090, %3088 ], [ %375, %378 ], !dbg !1127
LLVM ERROR: Broken function found, compilation aborted!
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.3

Ruby
2.3.0

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.rvm/gems/ruby-2.3.0/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.3.0/lib

OpenSSL Version
OpenSSL 1.0.2f  28 Jan 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
update_fastlane

fastlane_version "1.81.0"

default_platform :ios

# Configurations
application_name = "App Name"

platform :ios do
  before_all do |lane, options|
    if (lane.to_s.eql? "distributeWithFabric")
      cocoapods
    end
  end

  desc "Build release with specific scheme and upload to Fabric"
  lane :distributeWithFabric do |options|
    if "#{options[:scheme]}".empty?
      raise Exception.new("Which scheme will build?")
    end

    configuration = options[:configuration]

    if "#{configuration}".empty?
      # raise Exception.new("Need a configuration set: Debug or Release")
      configuration = "Release"
    end

    scheme = options[:scheme].split(",")

    baseBuildWithFabric(
          workspace: "#{application_name}.xcworkspace",
          scheme: scheme,
          configuration: options[:configuration],
          app_name:"#{application_name}",
        )
  end

  desc "Base build release with specific configurations and upload to Fabric"
  private_lane :baseBuildWithFabric do |options|
    options[:scheme].each { |scheme|

      match(force_for_new_devices: true)

      gym(
        workspace: options[:workspace],
        configuration: options[:configuration],
        scheme: scheme.strip,
        silent: false,
        clean: true
      )

    }

  end

end

fastlane gems

Gem
Version
Update-Status

fastlane
2.23.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.6.3

terminal-table
1.4.5

plist
3.1.0

addressable
2.4.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.45.4

faraday
0.9.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20160615

http-cookie
1.0.2

faraday-cookie_jar
0.0.6

fastimage
1.6.8

gh_inspector
1.0.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.4

memoist
0.14.0

os
0.9.6

signet
0.7.2

googleauth
0.5.1

thor
0.19.1

httpclient
2.8.0

google-api-client
0.9.9

mini_magick
4.5.1

multi_xml
0.5.5

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.12.5

faraday_middleware
0.10.0

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.9.0

activesupport
4.2.6

json
1.8.3

CFPropertyList
2.3.5

claide
1.0.1

nanaimo
0.2.3

xcodeproj
1.4.2

generated on: 2017-03-29

I'm seeing this as well in a different project.  So I don't think it's a Fastlane issue, but perhaps a Swift compiler bug.

@czgarrett I don't think so. I can build this project with Xcode 8.3, but not with fastlane + Xcode 8.3. It was fine also with fastlane + Xcode 8.1

@mliberato I think you build debug configuration. And you are have no optimization enabled for this.
Try to archive your project from Xcode. I think you will get the same issue.

Yes, on my other project it only happens when archiving. Definitely a Swift compiler bug.

@DmitryArbuzov didn't work on Xcode as well. BTW we are building a Release configuration. Any clue?

I just made it work!
Find all "LLVM ERROR" in log and fix it.
In my case problem was in code
UserDefaults(suiteName: Bundle.main.infoDictionary?["group"] as? String)!
And I fix it this way:
let suiteName = Bundle.main.infoDictionary?["group"] as?

@DmitryArbuzov How did you isolate which line # was causing the issue? All I'm seeing on my end is the following:
PHI node operands are not the same type as the result!
  %397 = phi %CSo15NSDecimalNumber* [ %368, %365 ], [ %386, %388 ], !dbg !603
PHI node operands are not the same type as the result!
  %754 = phi %CSo15NSDecimalNumber* [ %717, %714 ], [ %735, %737 ], !dbg !663
LLVM ERROR: Broken function found, compilation aborted!

It worked by changing the optimization level from "Fast, Whole Module Optimization [-O -whole-module-optimization]" to "Fast, Single-File Optimization [-O]".

@mliberato Hah! Funny, I solved this independently within the last hour. This is indeed the solution I ended up finding. A+.

My first solution works only for "single file optimization".
For "whole module optimization" works this:
let suiteName = Bundle.main.infoDictionary?["group"] as! String
let userDefaults = UserDefaults(suiteName: suiteName)!
This init accepts optional string. And works ok for "none" or "single file optimization". For "whole module optimization" works only unwrapped String.

I see this too, but it's a problem with Xcode/Swift not fastlane.

David--can you clarify what the problem is?
On Fri, Mar 31, 2017 at 5:08 AM David Caunt<EMAIL_ADDRESS>wrote:

I see this too, but it's a problem with Xcode/Swift not fastlane.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/8698#issuecomment-290673532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACWL-jLlF6BuKKZMLHwjpoKb_OpufPGks5rrNCegaJpZM4Msgip
.

--
Send from my iPhone

This comment worked for me. There seems to be a problem with Whole Module Optimization and I saw it both when building with fastlane and when running xcodebuild manually. FWIW my PHI error is

PHI node operands are not the same type as the result!
%43 = phi %CSo22SFSafariViewController* [ %56, %54 ], [ %34, %36 ], !dbg !739
PHI node operands are not the same type as the result!
%56 = phi %CSo22SFSafariViewController* [ %34, %35 ], [ %16, %13 ], !dbg !739
LLVM ERROR: Broken function found, compilation aborted!

I encountered the same problem, and searching for a solution brought me here (I can build for debug, but I cannot build for release / archive). I am not using Fastlane. Rather, this seems to be a Swift 3.1 issue. Possibly the same root cause as https://bugs.swift.org/browse/SR-4220
I first tried the workaround or changing the optimization level but that didn't fix my issue. I did eventually find a line of code to change to fix the problem. I'm sharing here to perhaps help someone else that comes here trying to solve the same problem, à la https://xkcd.com/979/ .
My issue dealt with NSDecimalNumber:
PHI node operands are not the same type as the result!
  %3622 = phi %CSo15NSDecimalNumber* [ %3636, %3635 ], [ %3615, %3617 ], !dbg !951
PHI node operands are not the same type as the result!
  %3636 = phi %CSo15NSDecimalNumber* [ %3588, %3585 ], [ %3615, %3616 ], !dbg !951
LLVM ERROR: Broken function found, compilation aborted!

I searched my project for all NSDecimalNumber references, and concentrated my search on constructors, inspired by this comment: https://github.com/fastlane/fastlane/issues/8698#issuecomment-290231313
The problem, I think, was that I was constructing an NSDecimalNumber from a dictionary value that was being cast to an optional string, e.g.: NSDecimalNumber( string: dict["key"] as? String ).
Replacing this code with a check to see if the key exists first, and then constructing the NSDecimalNumber with a force cast to String via as!, solved my build for release / archive issue.
Further, by making that change, I was able to keep whole-module-optimization turned on.

Hey folks, great job sorting this issue out! I'm going to close it out since it seems like you were able to resolve the Swift issue you were running into. 💯

I wanted to just add a comment to thank @darronschall as well as others that led me to a workaround. I had the exact same problem and the optimization level did not help me either. My error message seemed to be with NSDecimalNumber and finding the one constructor that was using an optional even though the API indicates this should be valid. Once corrected, I was also able to keep whole-module-optimization. So, someone did come here trying to solve the same problem...and even thought this is not a fastlane issue, it seems to be the only place that has provided some constructive workarounds. Cheers!

Thanks @darronschall for putting me on the right track. In my case, the problem was caused by a conditional initializer on SFSafariViewController. After removing the initializer, Whole Module Optimization works again.

@dcaunt How did you find it was the conditional initializer of SFSafariViewController ?
I can't build with Whole Module Optimization and can't find the wrong code...

See this comment – xcodebuild's output will give you an indication of the failure. The preceding lines referenced a .dia for one of my classes which called my SFSafariViewController initializer.

 In my case I fixed this error
PHI node operands are not the same type as the result!
  %125 = phi %GCSo26NSFetchedResultsControllerPSo20NSFetchRequestResult__* [ %137, %136 ], [ %193, %120 ], !dbg !1419
PHI node operands are not the same type as the result!
  %137 = phi %GCSo26NSFetchedResultsControllerPSo20NSFetchRequestResult__* [ %193, %119 ], [ %171, %168 ], !dbg !1419
LLVM ERROR: Broken function found, compilation aborted!

by changing this
let performersFRC = NSFetchedResultsController(
   fetchRequest: fetchRequest,
   managedObjectContext: NSManagedObjectContext.mr_default(),
   sectionNameKeyPath: sectionTitle(),
   cacheName: nil
)

to this
let sectionTitle = self.sectionTitle()
let performersFRC = NSFetchedResultsController(
   fetchRequest: fetchRequest,
   managedObjectContext: NSManagedObjectContext.mr_default(),
   sectionNameKeyPath: sectionTitle,
   cacheName: nil
)

Function sectionTitle() returns String? just for the record..


Fix get_matches typo

Coverage increased (+0.02%) to 82.288% when pulling b3cdc3b5c2c6f5745bb548b9845dac45741cdbde on iliekturtles:patch-1 into 3680ce85e3d17c4d35d1b2cf882242bfcce3e450 on kbknapp:master.

@homu r+
Thanks!

:pushpin: Commit b3cdc3b has been approved by kbknapp

:hourglass: Testing commit b3cdc3b with merge 6398ca4...

:sunny: Test successful - status


[FEATURE] Create a @Constants annotation, which marks all fields as public static final.

Many applications need at least one file of constants. These classes often contain exclusively public static final fields, and possibly protected or private members.
This feature request is for an annotation called @Constants, which is like a combination of @UtilityClass and @FieldDefaults(level = AccessLevel.PUBLIC, makeStatic = true, makeFinal = true), the latter of which does not yet exist with a makeStatic argument.
This will save a large vertical column of field access modifiers from these lists of constant values.

The trouble with that type of class is that this is actually not a
engineering practice I would recommend.
See
https://softwareengineering.stackexchange.com/questions/290006/good-practice-to-hold-constants-in-their-own-file
for example.
So encouraging that with it's own annotation seems counterproductive.
On Sun, Oct 4, 2020, 03:59 david-g-williams<EMAIL_ADDRESS>wrote:

Many applications need at least on file of constants. These classes often
contain exclusively public static final fields, and possibly protected or
private members.
This feature request is for an annotation called @Constants
https://github.com/Constants, which is like a combination of @UtilityClass
https://github.com/UtilityClass and @FieldDefaults(level =
AccessLevel.PUBLIC, makeStatic = true, makeFinal = true).
This will save a large vertical column of field access modifiers from
these lists of constant values.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/2593, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABIERNDCBSQF5MAH3UGJITSI7JGNANCNFSM4SDMKGYQ
.

Beware that it will have the same problem as @UtilityClass with static imports crashing on javac.
Instead of making another annotation, it would be better to invest time into meta annotations: https://github.com/rzwitserloot/lombok/issues/557.
I can see that the combination of:
@UtilityClass
@FieldDefaults(level = AccessLevel.PUBLIC, makeFinal = true)

does not work as expected. That could be considered a bug (or missing feature?). I guess that FieldDefaults runs after UtilityClass and ignore static fields. Maybe changing the order of the handler could be enough?


Update response format for aks mesh get upgrades and revisions commands

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Please add changlog in HISTORY.rst. If you want to release a new version for this change, please update VERSION in setup.py as well.

Let me check with you whether it is a breaking change or not. If so, please specify "breaking change" words in HISTORY.rst, so that users can easily aware of it.

Let me check with you whether it is a breaking change or not. If so, please specify "breaking change" words in HISTORY.rst, so that users can easily aware of it.

this is not a breaking change, also we are still not public preview with the feature.


Error: Error building site: render of "sitemap" failed: execute of template failed

Yesterday I did a fresh install of the theme,
git submodule add https://github.com/McShelby/hugo-theme-relearn.git themes/hugo-theme-relearn
then used the commands I have previously used
:~/Hugo$ cd mysite/themes/hugo-theme-relearn :~/Hugo/mysite/themes/hugo-theme-relearn$ hugo server --source=exampleSite --themesDir=../..

Start building sites …
hugo v0.88.1-5BC54738 linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
Error: Error building site: render of "sitemap" failed: execute of template failed: template: _default/sitemap.xml:2:4: executing "_default/sitemap.xml" at <partial "page-meta.go" .>: error calling partial: "/home/********/Hugo/mysite/themes/hugo-theme-relearn/layouts/partials/page-meta.go:8:50": execute of template failed: template: partials/page-meta.go:8:50: executing "relearn-structure" at <.node.RelPermalink>: error calling RelPermalink: runtime error: invalid memory address or nil pointer dereference
Built in 628 ms

renamed page-meta.go to page-meta.html
$ hugo server --source=exampleSite --themesDir=../..

Start building sites …
hugo v0.88.1-5BC54738 linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
Error: Error building site: render of "sitemap" failed: "/home/********/Hugo/mysite/themes/hugo-theme-relearn/layouts/_default/sitemap.xml:2:4": execute of template failed: template: _default/sitemap.xml:2:4: executing "_default/sitemap.xml" at <partial "page-meta.go" .>: error calling partial: partial "page-meta.go" not found
Built in 34 ms

Then modified sitemap.xml
from {{- partial "page-meta.go" . }} to {{- partial "page-meta.html" . }}
$ hugo server --source=exampleSite --themesDir=../..

Start building sites …
hugo v0.88.1-5BC54738 linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
Error: Error building site: render of "sitemap" failed: execute of template failed: template: _default/sitemap.xml:2:4: executing "_default/sitemap.xml" at <partial "page-meta.html" .>: error calling partial: "/home/********/Hugo/mysite/themes/hugo-theme-relearn/layouts/partials/page-meta.html:8:50": execute of template failed: template: partials/page-meta.html:8:50: executing "relearn-structure" at <.node.RelPermalink>: error calling RelPermalink: runtime error: invalid memory address or nil pointer dereference
Built in 33 ms

I also modified meta.html to {{- partial "page-meta.html" . }} , tried again, same error. I noticed there were a number of modifications in config.toml , but they all seemed multi-language focused and I don't use that. There was one new setting
disableSeoHiddenPages = true
and I added that in.

As the config.toml from the theme was different, I commented out where I use my config.toml
# Copy configuration #cp ~/Hugo/Backup/config/config.toml ~/Hugo/mysite/themes/hugo-theme-relearn/exampleSite/config.toml
and then re-installed everything from a bash file, then
hugo server --source=exampleSite --themesDir=../..
and NO errors, and it works fine from the localhost, and looks fine. So, I just need to use the config.toml as supplied by the theme, make changes, then copy it to the 'backup' side of things.
I'd assume this issue is now closed.  :+1:

Closed now, thanks

I found the error returned when I removed the other language settings from config.toml
`[Languages.en-pir]
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
weight = 1
languageName = "Arrr! Pirrrates"
landingPageURL = "/en-pir"
landingPageName = " Arrr! Home"
[[Languages.en-pir.menu.shortcuts]]
name = " GitHub repo"
identifier = "ds"
url = "https://github.com/McShelby/hugo-theme-relearn"
weight = 10
[[Languages.en-pir.menu.shortcuts]]
name = " Showcases"
url = "showcase"
weight = 11
[[Languages.en-pir.menu.shortcuts]]
name = " Cap'n Hugo Documentat'n"
identifier = "hugodoc"
url = "https://gohugo.io/"
weight = 20
[[Languages.en-pir.menu.shortcuts]]
name = " Crrredits"
url = "/credits"
weight = 30`
Why I wanted to do that was because I don't want a multi-language site. I have disableLanguageSwitchingButton = true so that the button is disabled. Yet when I deployed there is a /en path and a /en-pir path , plus the sitemap.xml is no longer in the root path but in /en/sitemap.xml   :(

I rolled back to 2.2 - https://github.com/McShelby/hugo-theme-relearn/archive/refs/tags/2.2.0.zip

I'll take a look into that. I seems something is wrong when combining different config options.
Could you post your config.toml that resulted in an error?

I am still not sure if this is a hugo or theme issue. Still investigating.
You may have success with the latest version of the theme if you disable the en-pir language in your config.toml like
disableLanguages = [ "en-pir" ]

The Hugo documentation explicitly mentions to disable unused languages with the disableLanguages. So it seems, this is the only defined method to remove languages partly and otherwise you are in "undefined behavior" land.
The other way that works is to remove the language from config.toml and the filesystem.
If you think this should work, you could file an issue in the Hugo project and link here.

You may have success with the latest version of the theme if you disable the en-pir language in your config.toml like
disableLanguages = [ "en-pir" ]

I added that and no error with the latest theme. However on a deploy, it still has the other problems, namely ..

Yet when I deployed there is a /en path and a /en-pir path , plus the sitemap.xml is no longer in the root path but in /en/sitemap.xml :(

Even when I changed landingPageURL = "/en" to landingPageURL = "/", the deploy still created the (multi-language) path structure. I may have come across this with another theme that was multi-language, and may search on Hugo discourse to see if it was resolved. So, it seems it may be a Hugo issue rather than a theme issue. I tried uploading the config.toml here, but GitHub won't allow it, so it is at https://pastebin.com/f5vxL8E2

Multilang-Configuration ist mostly a Hugo thing. The documentation about this feature is quite good and exhaustive.

Multilang-Configuration ist mostly a Hugo thing. The documentation about this feature is quite good and exhaustive.

I'll assume you meant "is" . I tested another theme yesterday, a multi-language theme, and it only took 2 configuration settings to make it single language. So it is obvious it can be controlled by the theme, via the config settings. Of course not all themes are alike.  :)

Although this is a Hugo issue (or I haven't understood the algorithm here) caused by weird sublanguage handling (of en-pir), we can avoid this by just setting an completly madeup language of pir


Use UA_Variant_setScalarCopy() when doing a PUT on Bool values (#3).

Helps prevent a double free on exit from PUT handler.
Signed-off-by: Alex McMinn<EMAIL_ADDRESS>

OK


Errors on pull for remotely deleted objects

This is after executing a pull to update abapGit. Not sure what happended here. I guess deletions aren't done on pull but only on reset local (right?) but then the error message doesn't make much sense. The objects are all still there.
Executing pull again resulted in the same behavior.
Reset local then was able to clean everything up. Which I expected it to and planned on doing anyways but the error messages in the log on pull don't seem right. If remotely deleted object are to be ignored on pull then no import should be attempted for them.

I was able to reproduce this with a different scenario. on pull, you should get a popup asking if objects should be deleted that do not exist anymore remotely.


Background sync demo is not working

I think demo in https://workbox-demos.firebaseapp.com/demo/workbox-background-sync/  is not working.
Browser & Platform:
Google Chrome  63.0.3239.132 on Windows 10

@rajagopalx could you provide:

Reproduction steps - what did you do
What did you expect to happen
What actually happened

Reproduction Steps:

Disable the internet connection
Click Make request button. The request will fail.
Enable the internet connection
Nothing happens in the network tab.

What I expect to happen
While turning on the internet, background sync will initiate fetch event again. But nothing happens.

@rajagopalx just confirming are you physically disconnecting internet or dev tools or some other tool?

On windows 10, I just disable the ethernet connection.

can u try, just unplugging may be?
because I cross checked it right now and it seems to work

It's working (checked with both unplug and disable).  It's not get synced immediately when turn on the internet. It takes time to sync (No exact time, Sometimes trigger only 5 minutes after resuming the internet).  Is it normal?

for a failed background sync replay it is, not for the first time I guess.

@rajagopalx the delay in the 'sync' event is expected and controlled by the browser.
Since the demo works and the demo and module page have improved instructions I'm going to close this issue.


Styling regression: ButtonBundle background color

Bevy version
v0.14.0-rc.3
What you did
I have styled ButtonBundle background colors.
What went wrong
The BackgroundColor component has been removed from the ButtonBundle. However, even if one were to add it back in,
the color is overriden by the UiImage's color, unless explicitly set to transparent.

I also found this super awkward. The official "migration" is to use UiImage::color(BG_COLOR) instead of BackgroundColor if you want a button with a solid color.
But why can't we... use BackgroundColor? We can, but we need to change the image to UiImage::color(Color::NONE). But UiImage::color is supposed to be a tint for an image, and there's not even an image to tint!
It's a very confusing setup.

There is also the issue that Text still uses BackgroundColor, so managing an icon setup that could be either an image or a font-codepoint is difficult.

UiImage::color is tinting the "default image" which is just a plain white rectangle. The change was made because BackgroundColor was originally in the bundle to be the tint for UiImage, and now it no longer does that but UiImage::color does that instead. So technically it's not a styling regression, just a UX regression.
Ideally bevy wouldn't be opinionated about how your button is rendered. Some buttons might want to use UiImage + color tint, some might want a solid background color, etc., so neither component should be in the bundle. The same argument can be made for BackgroundColor and BorderColor being present in other UI bundles, so any change should keep the other UI bundles in mind for consistency.

turns out to be a UX regression

Agreed

so neither component should be in the bundle

I suppose, though maybe an alternative is UiImage having Option<Handle<Image>> instead. I'm sure this has been discussed extensively in the past, and is a ux / perf tradeoff. Probably important to think about how this would play out in a world without bundles, which I believe is "the plan."

seeing the discussion unfold, I believe it is best to just properly highlight the gotchas in the migration guide and get back to this later.
It is something that must be revisited if or when bevy UI would want to support things like masks (stencils) on Nodes along with GUI picking to support world space UI. At that stage the UI rendering would need some face-lifting and would be an ideal time to sort this out.


pip3.13 install  autogen-agentchat==0.4.0.dev8 failed on MAC M3

What happened?
OS:  mac Sonoma 14.2 (23C64)
python version: 3.13
error lib: grpcio==1.62.3
install grpcio by manual:
(autogen_env) banma-3808@U-XFFQ16M0-2331 autogen_env % pip install grpcio
Collecting grpcio
  Downloading grpcio-1.68.1-cp313-cp313-macosx_10_13_universal2.whl.metadata (3.9 kB)
Downloading grpcio-1.68.1-cp313-cp313-macosx_10_13_universal2.whl (11.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.1/11.1 MB 20.0 MB/s eta 0:00:00
Installing collected packages: grpcio
Successfully installed grpcio-1.68.1

error.log
reinstall again. The error is the same. It's still depended with 1.62.3.
What did you expect to happen?
pip can install successfully on mac M3
How can we reproduce it (as minimally and precisely as possible)?
upgrade the grpcio dependency version.
AutoGen version
0.4.0.dev8
Which package was this bug in
Core
Model used
No response
Python version
3.13
Operating system
macos 14.2 (23C64)
Any additional info you think would be helpful for fixing this bug
No response

CPU:  Apple M3 Pro

@zyliu1985 thanks for the issue. It's known, this will be addressed in the next dev build by making the grpcio dependency optional.
Meanwhile you need to downgrade to 3.12...

@zyliu1985 thanks for the issue. It's known, this will be addressed in the next dev build by making the grpcio dependency optional.
Meanwhile you need to downgrade to 3.12...

Thank you . I downgraded python to 3.12 and installed successfully.

This should be resolved now in dev9 build. The grpcio dependency has been moved to autogen_ext as an optional extra.


Move locale to activemodel

The application form referenced the local file in the ActiveRecord
namespace.  Once the form objects were created, the labels
needed moving into the ActiveModel namespace.  This left
duplication and some form labels/errors that had not transitioned
properly.
This PR moves all entries into their proper namespaces and
updates the savings_investment model to add the correct error
messages.

When all the tests go green, merge at will


Module does not work from nodejs when loaded through yarn

When installing plot through yarn, for some reason you end up with<EMAIL_ADDRESS>installed under d3-geo:
 $ npm ls d3-array
site2@ /home/seph/src/xxx
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    ├──<EMAIL_ADDRESS>    ├─┬<EMAIL_ADDRESS>    │ └──<EMAIL_ADDRESS>deduped
    ├─┬<EMAIL_ADDRESS>    │ └──<EMAIL_ADDRESS><---- !!!!
    ├─┬<EMAIL_ADDRESS>    │ └──<EMAIL_ADDRESS>deduped
    └─┬<EMAIL_ADDRESS>      └──<EMAIL_ADDRESS>deduped

This errors when trying to run the library, because<EMAIL_ADDRESS>is misconfigured for esm:
import * as Plot from '@observablehq/plot'

$ node test.mjs
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/seph/src/blog/site2/node_modules/d3-geo/node_modules/d3-array/src/index.js
require() of ES modules is not supported.
require() of /home/seph/src/blog/site2/node_modules/d3-geo/node_modules/d3-array/src/index.js from /home/seph/src/blog/site2/node_modules/d3-geo/dist/d3-geo.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/seph/src/blog/site2/node_modules/d3-geo/node_modules/d3-array/package.json.

You get the same error when loading it via commonjs (using require).
You can work around the issue by manually deleting the duplicate d3-array in d3-geo:
$ rm -rf node_modules/d3-geo/node_modules/d3-array

But it'd be great to sort this out.

The bug was introduced by me in  https://github.com/d3/d3-geo/commit/4b0dc76311781e6ea392a407da9214d7e179ae24
d3-array node_modules/d3-geo/package.json
    "d3-array": ">=2.5"

it's been fixed in
https://github.com/d3/d3-geo/commit/54f8890a44826828bd29a81d0bc6dfba9e6786b4
but we didn't publish a new 2.x release.
however, since we're moving to type=module it now says "d3-array": "2.5.0 - 3" (https://github.com/d3/d3-geo/commit/1b961c8c9fb663c512e603024a7ba6fed651fc5f)
… it will all stabilize when d3@7 is published.

We should definitely publish a patch fix to d3-geo. I hadn’t realized we hadn’t published the fix in d3/d3-geo@54f8890.

I’ve published d3-geo 2.0.2 to fix the dependency declaration.


Endpoint from env

Add default endpoint
https://github.com/dongri/openai-api-rs/issues/21

Wow that was fast - fyi there is a convention, naming this "OPENAI_API_BASE"

@michaelfeil
https://github.com/dongri/openai-api-rs/pull/23
OK?


Script to serialize antenna shape

#132 For now, I created a script to get the model names. I looked into the beamwidth (azimuth) of each model. We can generalize the shape of a sector lobe and use the beamwidth (from the datasheet) to render the sector lobe in the app instead of having a script that takes the image of the sector lobe and transforms it into points. Besides, just a couple (2) of the datasheets I found had an image of the sector lobe.
You can find the models and their corresponding beamwidth in unique_model_names_with_beamwidth.txt

@miguel-merlin could I defer this to your better judgement, I am slightly oversubscribed at this moment but I don't want to hold this back from getting approved.

@miguel-merlin could I defer this to your better judgement, I am slightly oversubscribed at this moment but I don't want to hold this back from getting approved.

No worries. I want to message Andrew about this, I just haven't had the time. I'll do it on Tuesday because I need the answer to some technical questions to proceed further with the script. I'll keep the pr open for now, and I'll more stuff once I message Andrew.


Sample: bump jaeger version

Please provide a description of this PR:
bump jaeger version  1.58 --> 1.63.0
https://github.com/jaegertracing/jaeger/releases/tag/v1.63.0

@my-git9: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
8e2b295f34bfadc6789cfbbe7e130ad423af092b
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@my-git9: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
8e2b295f34bfadc6789cfbbe7e130ad423af092b
link
true
/test release-notes

unit-tests-arm64_istio
8e2b295f34bfadc6789cfbbe7e130ad423af092b
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


Fix scss compilation

insights-chrome (the parent app) adds a class name to the main, based on the "app ID" which in this case, because we are added on top of subscription watch, is 'subscriptions'.  So it creates a <main class="subscriptions">...</main>.
Our app, when compiling scss down to css, is adding a root class of manifests to "namespace" the app's css. So all scss will get rendered as, e.g., .manifests h2 { color: #000 }.    We currently do not have a div with a class of manifests anywhere.  So when this is getting pushed to CI etc., our custom CSS is not being applied.
This fix uses the sassPrefix option provided in frontend-components-config to set the sassPrefix  to be .subscriptions so that the CSS applies correctly (e.g., now the above will compile to .subscriptions h2 { color: #000 }).
This also adds a start-beta:proxy script to run the app in beta mode with the proxy server.

Codecov Report

Merging #9 (292d5cf) into main (aac0ec8) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 292d5cf differs from pull request most recent head e304f4a. Consider uploading reports for the commit e304f4a to get more accurate results

@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   47.94%   47.94%
=======================================
  Files          18       18
  Lines         146      146
  Branches       25       25
=======================================
  Hits           70       70
  Misses         69       69
  Partials        7        7

Continue to review full report at Codecov.

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


Request hostboot dump when Host State is 'Running'

When CurrentHostStatus is not in 'Running' state, either host is 'Off'
or current state is changed by HW dump to a state other than 'Running'
and may have initiated/created the dump. In these cases, there is
no need to initiate hostboot dump. This commit allows initiating
hostboot dump collection when the current host state is 'Running'
and the watchdog times out.
Testing:
Run watchdog_timeout and check the following entries in the journal log:
'Running' state:
Mar 03 12:22:34 rain127bmc watchdog_timeout[3626]: Host did not respond
within watchdog timeout interval
Mar 03 12:22:34 rain127bmc watchdog_timeout[3626]: Handle Hostboot boot
failure
Mar 03 12:22:34 rain127bmc watchdog_timeout[3626]: hostboot dump
requested
Mar 03 12:23:26 rain127bmc watchdog_timeout[3626]:
/xyz/openbmc_project/dump/hostboot/entry/20000028
Mar 03 12:23:26 rain127bmc watchdog_timeout[3626]:
xyz.openbmc_project.Common.Progress.OperationStatus.Completed
Mar 03 12:23:26 rain127bmc watchdog_timeout[3626]: dump collection
completed
'Quiesced' state:
Mar 03 12:26:04 rain127bmc watchdog_timeout[3917]: Host did not respond
within watchdog timeout interval
Mar 03 12:26:04 rain127bmc watchdog_timeout[3917]: Host is not in
'Running' state. Dump maybe already occurring, skipping this dump
request...
Signed-off-by: Shantappa Teekappanavar<EMAIL_ADDRESS>Change-Id: I7245fef1639299bf501667eef48e275a93307c00

Can one of the admins verify this patch?

add to approvelist

Pushed to upstream gerrit Teeks?

Pushed to upstream gerrit Teeks?

https://gerrit.openbmc-project.xyz/c/openbmc/openpower-debug-collector/+/51719


How can i scroll to bottom programmatically?

i creating a chat component with this library, so i want to scroll to bottom when new messages is received. how can i do it this library?

Hi @mehthabt,
Sorry for the delay. I'm a bit unresponsive during this period since I'm studying other disciplines in my free time besides programming and software development. I do plan to resume my open-source activities at some point in the future, though.
Anyway, in case you haven't figured it out yet, here's how you can do it:
https://codesandbox.io/s/react-really-simple-infinite-scroll-scroll-to-end-bottom-or-top-when-new-item-is-added-to-the-list-nm223t?file=/src/App.js
The snippets you would be interested in would be the following:
...

  useEffect(() => {
    if (items.length - previousLength === 1 && reallySimpleInfiniteScrollRef) {
      reallySimpleInfiniteScrollRef.current.scrollToStart();
    }
  }, [previousLength, items.length]);

  useEffect(() => {
    const intervalId = setInterval(() => {
      const [item] = generateMoreItems(1, true);
      setItems((items) => [item].concat(items));
    }, 3000);

    return () => {
      clearInterval(intervalId);
    };
  }, []);

...

      <ReallySimpleInfiniteScroll
        ref={reallySimpleInfiniteScrollRef}

...

reallySimpleInfiniteScrollRef  exposes a scrollToStart() method which you can call to programmatically scroll to the start of the list (to the bottom in the case of displayInverse = true).
You just need to determine the condition that would make you call scrollToStart. In this case I just compare the previous length of items with the current one to see if only one single item has been added by the 3 seconds interval.
Hope this helps! 👋

@mehthabt Let me know, so I can close this issue.


Add Args

Hi,
Please make it possible to add some args (by adding another field) that could be used for Chrome Flags and other command-line switches that are necessary in many cases for Devs.
Example of what I use for MS Edge
Example 1 :
--profile-directory=Default --max-old-space-size=61440 --disable-extension-activity-logging  --enable-features=msEdgeAVIF,RawDraw,DrDc,UseSurfaceLayerWithDirectComposition,CanvasOopRasterization,msEdgeAVIF,WebUITabStrip,AsyncDns,BlocklistGpuModes,ChromeLabs,CustomizeChromeSidePanel,DeferredShaping,DesktopDetailedLanguageSettings,HistoryClustersOnDeviceClustering,Journeys,JourneysKeywordFiltering,JourneysLabel,JourneysOmniboxAction,JourneysOmniboxHistoryClusterProvider,JourneysOnDeviceClusteringContentClustering,OmniboxPedalSuggestions,OptimizedReadabilityDetection,PageContentAnnotations,ParallelDownloading,Portals,PortalsCrossOrigin,PostQuantumCECPQ2,Prerender2,PrivacyGuide2,QuickCommands,SanitizerAPI,SearchWebInSidePanel,SidePanelImprovedClobbering,SidePanelJourneys,SideSearch,SplitLargeText,TabGroupsSave,TabSearchFuzzySearch,UnifiedSidePanel,UseFlutterBalloons,UseSuggestEndingsApi,VariableCOLRV1,Vp9kSVCHWDecoding,WebBluetoothNewPermissionsBackend,WebBundles,WebShare,WebUsbDeviceDetection,sdch3
Example 2 :
--profile-directory=Default --no-experiments
Example 3 :
--profile-directory=Default --disable-extensions-except
But what would be amazing and maybe too much to ask is to have it fetch the flags from a curated online list or maybe added as a file that contains the various flags for chromium and also the derivative browsers, it could be a checkbox based with some basic (grouping, search, naming, etc) to allow testing, debugging and setting preferences who are optimal for specific hardware, user liking and scenarios (url, nat, www, etc)
I hope both make sense to you and inspire you,
Thank you.

I think this is a great idea, thank you. I'll get to this soon.
By the way you can do this in the meantime manually editing confiig.ini (find it from File menu) but arguments will be overwritten on rediscovery. You can also add a custom browser from UI from File menu, but it's not quite as pretty as you want.

Amazing, yeah I figured out that I can use the config.ini to do just than but it is not as practical as doing via GUI and yeah the rediscovery re-add some entries that I deleted from the config.ini (other browser selector that I was testing who are identified as Broswer by BT) maybe adding a way to exclude some directories or "Browsers" would be a good addition too.

let me know if I can help brainstorming how the UI should look like or maybe doing some wireframe suggestions


Permission to Transfer nodeos-linux

Can I have permissions to transfer my nodeos-linux repo over the NodeOS organization?

Take a look, probably you'll have now permissions.


Output has been changed with RSpec 2.99.0.beta1

Hi folks,
I always spork in one terminal (say terminal A), and after that, rspec in another terminal. (say terminal B)
With RSpec 2.14.x, the test results are displayed on terminal B.
But when I try RSpec 2.99.0.beta1, the test results are on terminal A.
I haven't found any clues so far.
I like the results to show up on terminal B where I input like 'rspec some_spec.rb'.
Am I missing something? (Or this is the matter of RSpec itself?)
Using spork 1.0.0rc4.
Thanks!

We also ran into this while upgrading to 2.99.0, ended up forking spork and applying @untidy-hair's patch. I'm curious, is this issue present in rspec 3?

@agis-
I'm sorry for the late reply. Probably not. I ended up stopping to use spork actually.


[SPARK-50692] Add RPAD pushdown support

What changes were proposed in this pull request?
This PR makes RPAD function translatable across connectors. Individual connectors can now support this via their dialects.
Why are the changes needed?
When trying to compare CHAR(...) and a literal, Spark injects a RPAD function to make the CHAR parameter the same length. This behaviour is per ANSI standard.
The problem is that RPAD is not only an unsupported, but an untranslatable function. This prevents CHAR + literal comparison pushdown.
Solution is to support RPAD pushdowns and implement it when needed
Does this PR introduce any user-facing change?
No.
How was this patch tested?
This PR only introduces the ability to support the RPAD pushdown. Individual connectors will have their own tests.
Was this patch authored or co-authored using generative AI tooling?
No

cc @beliefer

thanks, merging to master!


trouble replacing zero-width chars

i want to remove zero-width characters, however this is not working
Title             Format
test              {{text}}

Variable          Format
text              {{text.s("[^[:print:]*","")}}

this string contains zero-width chars: thisthat
when i copy it, this is the result: titt

.s("[^[:print:]*","") deletes any character except [, :, p, r, i , n, t since Regexp in JavaScript does not support POSIX character class like :print:
{{text.s("[\\u200B]","")}} can be used instead to remove zero-width characters.


Is there anyway to create a camera path from a given XYZ trajectory?

Is your feature request related to a problem? Please describe.
I wish to know if it is possible to create a camera path knowing a XYZ trajectory. I mean, I have a numpy array for a 3 dimensional matrix (X, Y, Z) of lenght N, where N are the points of the trajectory. Last point will join the first one.
Describe the solution you'd like
Given a constant set of camera properties (FOV, aspect), the XYZ trajectory steps, and knowing that I want camera always to focus to the center of the trajectory, a tool, or the math formulas, to create the json file.
Describe alternatives you've considered
I created my code to obtain the XYZ trajectory, and I know the FOV and aspect of the camera, but I'm getting lost with the json parameters. I understand I should put several cameras over the path, but I'm losing with the 4x4 matrix per camera. Also, I'm not sure about the camera_to_world points. Are these the "camera steps" (red line) you can see in the viewer?
I know you created a wonderful viewer, but I would like to generate this trajectory for each video I process automatically. I created my tool to obtain the kind of trajectories XYZ I want, but now I'm lacking the transformation towards the json automatically.
Additional context
Add any other context or screenshots about the feature request here.

I would take a look at https://github.com/nerfstudio-project/nerfstudio/blob/main/scripts/blender/nerfstudio_blender.py
This script create a camera path json given a camera path in a blender scene. This may be a useful reference for the code you want to write.


Optionally deparse using bracket delimiters instead of quotes.

When I use a deparsed query for MS SQL Server, the server chokes on the quotes around identifiers as it expects square bracket identifiers. i.e. [columnname] instead of "colmnname".
This pull request proposes that the deparse method be changed to allow delimiting identifiers using quotes ("), brackets ([ and ]) or no delimiters at all.
The current behaviour remains the default, so this change is backwards-compatible.

@jcsjcs FYI, I'll close this old PR, since the deparser has moved into the C library (context: https://pganalyze.com/blog/pg-query-2-0-postgres-query-parser#turning-parse-trees-back-into-sql-using-a-deparser) and I think this is unfortunately a too specialized feature to be a good fit for the library.


Remove not now button and only enable logging if app logging is enabled

Fixes #391
Uses ui.showWarningMessage so that cancels will be handled appropriately.

Link in PR editted.


Support of fp16 of LCM dreamshaper

Hi!
i just downloaded this fp16 model from here:
https://huggingface.co/aislamov/lcm-dreamshaper-v7-onnx/tree/main
it loads very fast and good but when i push on generate it stops immediately, i mean the model stays loaded but it wont generate anything, could u take a look at it @saddam213 @dakenf please? i am using cpu, so i don't know if its a gpu optimizd model or not

Looks like it doesn't like the unet's timestep. The fp16's is a float, the original is a long.

Yeah that was it: LatentConsistencyDiffuser.cs:198. I can't believe it's even faster now!

That should be easy enough to support, let me see if I can squeeze it into tomorrows release

@saddam213 I've been trying to get a PR going, but I don't have access to the IOnnxModel in DiffuseAsync for GetInputMetadata.

Sorry I missed your PR and already commited a fix
GetInputMetadata is accessible and worked perfect, out implementations were pretty much the same
Thanks for the PR

Latest commit will fix the issue for both pipelines, added the functionality to both diffuser base classes but I think implementation should be moved to a shared place as new pipelines will also need this I would assume.
Perhaps we need a static helper class for methods like these, as DecodeLatents is the same across both as well

uh nice, thanks guys! cant wait for the update to test it out

Hello everyone! If you don't mind, i'll give you some tips on model conversion based on this doc
Long story short, if you run fusion optimizer on the model, it will combine many ops into one. So from 3k+ ops it will get to 1k+. That will lead to VRAM/RAM decrease (less GPU buffers allocated for each node input/output) and performance optimizations, since CUDA and DML have fused attention kernels
I've been using this script, it already has optimized settings for DML https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16/blob/main/conv_sd_to_onnx.py but with some changes.

Last 4 lines (disable BiasAdd, BiasSplitGelu, packed KV and QKV) are required if you want the model to work on CPU. Bias* kernels are not implemented for CPU in ONNX and packed KV/QKV for MultiHeadAttention are not supported on CPU too
With these optimizations and fp16 you should be able to run unet with less than 5gb VRAM. You can check results with this model i've converted for WebGPU https://huggingface.co/aislamov/stable-diffusion-2-1-base-onnx/tree/main
Feel free to ask me any questions if you have!

Hello everyone! If you don't mind, i'll give you some tips on model conversion based on this doc
Long story short, if you run fusion optimizer on the model, it will combine many ops into one. So from 3k+ ops it will get to 1k+. That will lead to VRAM/RAM decrease (less GPU buffers allocated for each node input/output) and performance optimizations, since CUDA and DML have fused attention kernels
I've been using this script, it already has optimized settings for DML https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16/blob/main/conv_sd_to_onnx.py but with some changes.  Last 4 lines (disable BiasAdd, BiasSplitGelu, packed KV and QKV) are required if you want the model to work on CPU. Bias* kernels are not implemented for CPU in ONNX and packed KV/QKV for MultiHeadAttention are not supported on CPU too
With these optimizations and fp16 you should be able to run unet with less than 5gb VRAM. You can check results with this model i've converted for WebGPU https://huggingface.co/aislamov/stable-diffusion-2-1-base-onnx/tree/main
Feel free to ask me any questions if you have!

hi! thank u so much for sharing this, sadly i have no idea how to code to do it myself, could u please make some fp16 models for cpu too? lyriel v16, deliberate v2 or v3, epiCRealism are a few good ones, i would like to use and test them out in onnxstack if possible, thanks

LCM fp16 now works very good and it is so fast! but i have no idea what is going on as i used 0 device for unet and the rest on 1 so i think it uses my AMD and Intel gpus [in task manager my intel graphic goes 99% usage so it is mostly this gpu] not the cpu this time,
i close it this topic if it is ok now


Add exec, eachSystem, mkApp functions

Description of changes
Added several helper functions.
eachSystem function is copied from flake-utils, this allows hundreds if not thousands of flakes to remove flake-utils as a dependency
This should help to test out this PR https://github.com/gytis-ivaskevicius/nix2vim/commit/33cd8547ff077e34381f3049fce255cfbb1c74a5
exec function is used as part of mkApp, but mainly inteadead for cases as such:
  ocrScript = pkgs.writeShellScript "ocr.sh" ''
    ${exec pkgs.grim} -g "$(${exec slurp})" -t ppm - | ${exec tesseract} - - | ${wl-clipboard}/bin/wl-copy
    ${exec libnotify} "$(${wl-clipboard}/bin/wl-paste)"
  '';

Worth considering renaming exec to something like I or _ so it would look more like an operator. I personally would love such change but did not commit it in such a way to avoid people protesting outside my window

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

lib.getExe was added in https://github.com/NixOS/nixpkgs/pull/167247 so exec can be dropped from this pr

Also see https://github.com/NixOS/nixpkgs/pull/123117, https://github.com/NixOS/nixpkgs/pull/124866, https://github.com/NixOS/nixpkgs/pull/155709, https://github.com/NixOS/nixpkgs/pull/171235.

@Artturin Now that's useful :+1:
@jtojnar I knew about a couple of them, thought it's about time to give it another shot due to following reasons:

At this point its actually difficult to find someone not using flakes
We literally started merging in flakes specific code to nixpkgs like /lib/flakes.nix
Flake specific RFC's are being created

So at this point, I vote for us to merge it since:

Helps the users by reducing amount of dependencies they need to manage
In time it alleviates flakes inputs addressing (no longer need to overwrite flake-utils input for basically every single flake)
I can clearly see the community wanting this

Fortunately, this is not about the merits of flake.
But about dropping one needless dependency for a lot of users that pollutes the dependency tree in the lockfile (roughly doubling its size).

I'm very :-1:  on merging anything related to Flakes in the lib namespace.
Flakes are still an experimental feature. Merging anything related to them in lib only serves to ossify the current interface which still isn't standardised.

eachSystem function is copied from flake-utils, this allows hundreds if not thousands of flakes to remove flake-utils as a dependency

And here's me thinking flakes was about allowing to depend on Nix expressions outside of nixpkgs…

With the same motivation as https://github.com/NixOS/nixpkgs/pull/173093#issue-1236188725 I'm closing this.
The lib namespace is not a place for experimental features.

Flakes are still an experimental feature. Merging anything related to them in lib only serves to ossify the current interface which still isn't standardised.

Please join https://github.com/NixOS/rfcs/pull/82

But about dropping one needless dependency for a lot of users that pollutes the dependency tree in the lockfile

This really shouldn't matter. If the size of the lockfile already matters around this small number of dependencies, that would be indicative of a significant problem in the design of Flakes.

mkApp

This reads like you're constructing a deferred, inspectable function application or something. Might be my personal professional deformation though.

lib.getExe was added

I think we've considered exec, but it has a very specific meaning in POSIX that doesn't apply, and there's also some ambiguity with nix-exec.


doc: translate zh/userguide/clustermanager/cluster-registration

What type of PR is this?
/kind documentation

What this PR does / why we need it:
translate zh/userguide/clustermanager/cluster-registration
Which issue(s) this PR fixes:
Special notes for your reviewer:

/cc @zhzhuang-zju

/lgtm
cc @RainbowMango


Could not find com.github.agorabuilder:native-full-sdk:3.4.2.

I'm using agora_rtc_engine: ^4.0.1 with Flutter 2.2.1 and getting the below error.
Could not find com.github.agorabuilder:native-full-sdk:3.4.2.
Required by:
project :app > project :agora_rtc_engine

pls refer to readme

pls refer to readme

Please avoid this kind of answer, I check the README and it doesn't help at all about this issue. README content is also ever-changing.


Support for labels

As Webaim.org suggests all text inputs should be properly labeled.
Something like this might be good:
<Geosuggest label="Label text" />

which results in:

    Label text</>
    <input type="text" id="geosuggest-id" class="geosuggest__input" value="">

That sounds good! Can you create a PR? I would suggest that the label is only created when there is a label text passed in. Else it is without a label just like it is now.


Bug: Can't move folder to a new empty folder in columns view

Description
Can't move folder or multiple folders to a new empty folder if that folder it's not opened with the collumn visualization it's active. I can do this if I have at least one file/folder in the new folder.
Steps To Reproduce

With the column view, create a new folder.
Select the folder you want to put in the new folder.
Drag the folder above the new folder. You can't complete the action.
Select the new folder
Drag the folder above the new folder, and now works.

Expected behavior
When a drag a folder to a new folder, it's just to move the folder to a new folder
Files Version
Versão: <IP_ADDRESS> OS Version: 10.0.22000.434
Windows Version
Windows 11 Pro 21H2 22000.434
Relevant Assets/Logs

I was able to reproduce this in v2.4.70

@emanuelbg a potential fix was added in #12898.


Enhancement: Normalize composer.json

This PR

[x] normalizes composer.json

💁♂ I ran
$ composer global require ergebnis/composer-normalize

followed by
$ composer normalize

For reference, see https://github.com/ergebnis/composer-normalize.
❗ If you like this, I can also add this to the GitHub Actions workflow.

Thanks! Not sure if that’s needed in the workflow, as the composer file is and will probably stay pretty short.

Thank you, @hanspagel!