vimPlugins.snacks-nvim: 2024-11-26 -> 2024-12-01

Things done

New profiler snack and lots of updates
https://github.com/folke/snacks.nvim/releases/tag/v2.6.0

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Folke is pretty active today, so bumped with latest changes.

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

x86_64-linux

:white_check_mark: 2 packages built:

vimPlugins.snacks-nvim
vimPluginsUpdater

aarch64-linux

:white_check_mark: 2 packages built:

vimPlugins.snacks-nvim
vimPluginsUpdater

x86_64-darwin

:white_check_mark: 2 packages built:

vimPlugins.snacks-nvim
vimPluginsUpdater

aarch64-darwin

:white_check_mark: 2 packages built:

vimPlugins.snacks-nvim
vimPluginsUpdater


Errors in the swagger definition

Description:

Open query param matrix param sample -> go to the swagger view

Issue
Swagger definition is not loaded and an error is shown to the user

Affected Versions:
ballerina-0.970.0
OS, DB, other environment details and versions:
Ubuntu 15.10
Firefox - 59.0.2 (64-bit)

I also got the same error


不知道哪里出了问题

将 flutter app 通过 pod 导入到 工程
Analyzing dependencies
[!] No podspec found for Flutter in ../my_flutter/.build_ios/debug/product/Flutter
[!] Automatically assigning platform iOS with version 11.4 on target my_native because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
down下来跑之后就出现这个问题

我使用的最新版的xcode

[  +67 ms] "flutter bundle" took 18,946ms.
./build_ios.sh: line 140: puts: command not found
./build_ios.sh: line 142: puts: command not found
cp: .flutter/bin/cache/artifacts/engine/ios/Flutter.framework: No such file or directory
cp: .flutter/bin/cache/artifacts/engine/ios/Flutter.podspec: No such file or directory
sed: .build_ios/debug/product/Flutter/Flutter.podspec: No such file or directory
Finish build flutter app
这个目录下确实没有这些文件


Replace MediaType.APPLICATION_JSON_UTF8_VALUE by APPLICATION_JSON_VALUE

We need to replace
MediaType.APPLICATION_JSON_UTF8_VALUE
by
APPLICATION_JSON_VALUE only.
Reason: MediaType.java from Spring Boot 2.2.0:
@deprecated Deprecated as of Spring Framework 5.2 in favor of {@link #APPLICATION_JSON_VALUE}
	 * since major browsers like Chrome
	 *
	 * now comply with the specification and interpret correctly UTF-8 special
	 * characters without requiring a {@code charset=UTF-8} parameter.

we normally have this duplicated and just need to remove APPLICATION_JSON_UTF8_VALUE

See also https://bugs.chromium.org/p/chromium/issues/detail?id=438464
for description about charset not being specified as official additon. So it was removed by spring community.


Long type names in deep directory structures cause AttachRuntimeDataSources to fail

When the combination of the test folder path and the type name exceeds the Windows 255 character limit, AttachRuntimeDataSources fails. This is because the source data gets stored in an xml file whose name is formed from type holding the data.
I've found that a partial solution is to use a hash of the data type name instead of the full type name as the name of the xml file.  This doesn't solve problems with length of the test folder path but if that's a problem you are seeing with your test project this solution at least won't make the problem worse.
If you are seeing this problem as we were due to very long fully qualified type names, this should help you.
The change I made was to replace line 97 in AttachRuntimeDataSources.cs with these lines:
var saltedDataSourceName = "saltedDataSourceName" + dataSourceName + "saltedDataSourceName"; var dataSourceFilePath = Path.Combine(DATASOURCES_PATH, saltedDataSourceName.GetHashCode().ToString("X") + ".xml");
(Salting the data source name may not be necessary here but I was concerned about data source type names that are really short possibly leading to hash collisions. I'm not really an expert in the area of hashing so this may not be necessary.)
I would make a pull request for this change but I don't know how to do this with Git so I'm hoping one of the project contributors will incorporate this change for me.

Hey @phredaustin - Thanks for locating this issue. I created a branch, updated the code, created a pull request and merged it.
Ive used a guid instead of the salt + hashCode above. I dont think it makes much difference tho.
Cheers,
Sam

That’s actually a much better solution than what I came up with.  Using guid’s completely eliminates the concern about hash collisions.
Thanks for the quick action,
Phred
Sent from Windows Mail
From: Sam Thwaites
Sent: Monday, August 24, 2015 10:21 PM
To: Thwaitesy/MSTestHacks
Cc: Phred Menyhert
Hey @phredaustin - Thanks for locating this issue. I created a branch, updated the code, created a pull request and merged it.
Ive used a guid instead of the salt + hashCode above. I dont think it makes much difference tho.
Cheers,
Sam
—
Reply to this email directly or view it on GitHub.


Consider using ImageBitmap API to load images

API: https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap
ImageBitmap provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL
Issue: I created a project in Editor with single cube, material, and attached 6 large jpg textures on the material. Textures are marked as not for preload, to start the application ASAP and load textures later. Each time a texture is loaded, profiler shows around 100ms being spent on main thread to upload the texture to WebGl, large part of which is Image Decode.

It's possible this cost could be removed by using the mentioned API.
Some other references:
https://wiki.whatwg.org/wiki/ImageBitmap_Options
https://threejs.org/docs/#api/en/loaders/ImageBitmapLoader
Note: Not supported by all browsers.

That would be great, I have the same problem, it causes quite some lags in the first seconds of a game (and whenever models are dynamically added):

We could also possibly compile a c++ png decoder to webassembly. The benefits would be:

decode on a web worker
works on safari
would fix the iOS PNG premultiplied alpha issue

I like it. Why use PNG when you can just use WebP?

We could also possibly compile a c++ png decoder to webassembly. The benefits would be:
* decode on a web worker

* works on safari

* would fix the iOS PNG premultiplied alpha issue

This is JS PNG decoder, quite fast: https://github.com/photopea/UPNG.js


DR-DOS 7.07 and WinGlue/WinBolt binaries, source?

@ecm-pushbx , first thank you and congratulations on the work you do with DOS!
I was happy to see an updated EDR-DOS 7.01.08 WIP and maintained at your site.
Did you consider creating a Github repository? I think that will make it easy for outside contributors to provide PRs/code, to open Issues, Discussions, etc.
Now that the license is opened - it would be great if the EDR-DOS branch gets reunited with DR-DOS 7.07.
Matthias Paul once wrote:

I still have not completely lost hope, that at some fine day in the future the current owner of the DR-DOS assets may decide that its commercial life is finally over and that it is due to open source the system. This would make it possible to reunificate the different code branches to create the most advanced DR-DOS ever for all its fans. Well, well... ;-)

So, if he gets contacted (e.g. via his Wikipedia talk page) in these improved license circumstances, maybe he can help with:

DR-DOS 7.07 (Kernel and drive tools?) - binary/source?
WinGlue/WinBolt (ability to run Win9x)
-- binary/source?
-- is combined BIOS+BDOS file mandatory? Or separate files IBMBIO.COM, IBMDOS.COM, MSDOS.SYS (settings text file), IO.SYS (if such kind of placeholder/redirect is needed) can exist at the same time?
-- can DR-DOS 7.07 boot from Win9x/Me boot sectors? Does DR-DOS 7.07 include all functionality from DR-DOS 7.06?
-- boot logo, etc. Win9x settings in MSDOS.SYS/WINBOOT.INI - any issues with those?
optionally loadable multi-user security extension - (World/Group/Owner) access permission system - DR DOS "Panther" BETA 1 - birnary/source for that?
DR-DOS 7.03 source (Kernel or full software package)?

Did you ask Bryan Sparks (the DRDOS owner) if he can help with any of these?
Also, what about:

DR-DOS 8.0/8.1 - are there any Kernel/IBMBIO/IBMDOS/COMMAND.COM changes in comparison with 7.01.06 and 7.03? FAT32 DELWATCH and SHARE, but those are external files?
RxDOS - are there	any changes not yet implemented in the EDR branch?
What about functionalities from lDOS not yet implemented in the EDR branch? What is lDOS, actually?
The last post by Udo Kuhnt in his forum, 2012-Feb-02 is mentioned here, but link is broken and I can't find an archive of it. Any clues on that?

PS. Regarding version number - to avoid past confusion cases - would be nice if:

6.5, 7.5, 8.5 are reserved for use in emulators - by analogy with NTVDM
7.01.08 WIP is kept as "work in progress" and version is not increased to 7.01.09
7.08 and 7.09 are reserved for IBMBIO/IBMDOS/COMMAND combination that provides all functionality of EDR-DOS 7.01.08 and DR-DOS 7.07
7.1 is reserved for IBMBIO/IBMDOS/COMMAND combination that provides all functionality of MS-DOS 7.1, PC DOS 7.1, DR-DOS 7.07, EDR-DOS 7.01.08
8.2 is reserved for IBMBIO/IBMDOS/COMMAND combination that provides all functionality of MS-DOS 8.0, PC DOS 7.1, DR-DOS 7.07, EDR-DOS 7.01.08, DR-DOS 8.0, DR-DOS 8.1, RxDOS 7.2x
8.3 and up are reserved for UEFI versions or at least used with restrained, e.g. incremental changes to get increase only in the x.xx.rr revision rather than the minor/major version number.
9.0 gets reserved for future substantial change.

PS. I couldn't find more on-topic repository for this comment. One possibility is https://github.com/the-grue/OpenDOS, but I'm not sure if it's active, @the-grue?

PS. I couldn't find more on-topic repository for this comment. One possibility is https://github.com/the-grue/OpenDOS, but I'm not sure if it's active, @the-grue?

Please re-post this to our forum, which you already seem to know considering you linked to it. It wouldn't be off-topic there as it is for this repo. (I did not set up any issue tracker related to my hg repos yet. I do not mirror hg repos to git generally because I am less proficient in git.)
If you do not have an account yet, do as the pinned post says and drop us a message to indicate what email and what username you'd like to register for the forum:

To get write access to the forum, drop us a short message. (Please include the username you'd like us to register!)

(I am one of the admins of DOS Ain't Dead so I can create an account if you ask for it.)

PS I'd suggest a new thread for this post, not to append it to the existing EDR-DOS development thread, as it covers a rather broader set of topics.

I'm still around and willing to update my repo.  I initially created it as it seemed all this good work was going to get lost to the ages, which is why it is a bit stuck in the past.  I think I mined all this stuff out of Wayback machine.
If it is being actively worked elsewhere, I'd be happy to pull in related files for folks to work with.

@Torinde Do you still want a reply to your questions? I'd be happy to answer in a place that this isn't off-topic.

Yes, I want a reply, but I don't have account at your forums yet.
Let's continue the discussion at the-grue/OpenDOS/issues/2 (or a new issue in that repository), it'll be on-topic there I think.

I've created a clone of the Mercurial repo here:
https://github.com/the-grue/edrdos
README points back to the original repo and asks that issues/changes/pull requests go to the original author and their repo.
For discussion, feel free to use the Discussions section of that repo.
I'll try to keep my clone in sync as best I can.  Please do not open issues on the OpenDOS repo.  That's really a point-in-time artifact.
Enjoy!

Do you still want a reply to your questions? I'd be happy to answer in a place that this isn't off-topic.

@ecm-pushbx, questions from above are posted at the forum.

Do you still want a reply to your questions? I'd be happy to answer in a place that this isn't off-topic.

@ecm-pushbx, questions from above are posted at the forum.

I have replied now. I wasn't at home for a few days hence only today.


Support for Sequelize v6

Versions

sequelize: 6.2.0
sequelize-typescript: 1.1.0
typescript: 3.9.5

I'm submitting a ...

[x] bug report
[ ] feature request
Details:
There is a new major Sequelize release v6 that changes Sequelize's internals quite a bit (for example removing Bluebird, yey!)
These are the types errors that I get running it against this version:

node_modules/sequelize-typescript/dist/associations/belongs-to-many/belongs-to-many-association.d.ts:12:5 - error TS2416: Property 'getSequelizeOptions' in type 'BelongsToManyAssociation' is not assignable to the same property in base type 'BaseAssociation'.
  Type '(model: typeof import(".../node_modules/sequelize/types/lib/model").Model, sequelize: import(".../node_modules/sequelize-typescript/dist/sequelize/sequelize/sequelize").Sequelize) => import(".../node_modules/sequeli...' is not assignable to type '(model: typeof import(".../node_modules/sequelize-typescript/dist/model/model/model").Model, sequelize: import(".../node_modules/sequelize-typescript/dist/sequelize/sequelize/sequelize").Sequelize) => import(".../no...'.
    Types of parameters 'model' and 'model' are incompatible.
      Type 'typeof import(".../node_modules/sequelize-typescript/dist/model/model/model").Model' is not assignable to type 'typeof import(".../node_modules/sequelize/types/lib/model").Model'.
        Types of property 'init' are incompatible.
          Type '(attributes: ModelAttributes<Model<any, any>, any>, options: InitOptions<Model<any, any>>) => void' is not assignable to type '<M extends Model<any, any>>(this: ModelStatic<M>, attributes: ModelAttributes<M, M["_creationAttributes"]>, options: InitOptions<M>) => Model<...>'.

12     getSequelizeOptions(model: typeof Model, sequelize: Sequelize): UnionAssociationOptions;
       ~~~~~~~~~~~~~~~~~~~

node_modules/sequelize-typescript/dist/associations/has/has-association.d.ts:11:5 - error TS2416: Property 'getSequelizeOptions' in type 'HasAssociation' is not assignable to the same property in base type 'BaseAssociation'.
  Type '(model: typeof Model) => UnionAssociationOptions' is not assignable to type '(model: typeof Model, sequelize: Sequelize) => UnionAssociationOptions'.
    Types of parameters 'model' and 'model' are incompatible.
      Type 'typeof import(".../node_modules/sequelize-typescript/dist/model/model/model").Model' is not assignable to type 'typeof import(".../node_modules/sequelize/types/lib/model").Model'.

11     getSequelizeOptions(model: typeof Model): UnionAssociationOptions;
       ~~~~~~~~~~~~~~~~~~~

node_modules/sequelize-typescript/dist/model/model/model.d.ts:1:89 - error TS2305: Module '"../../../../sequelize/types"' has no exported member 'Promise'.

1 import { InitOptions, Model as OriginModel, ModelAttributes, FindOptions, BuildOptions, Promise } from 'sequelize';
                                                                                ~~~~~~~

node_modules/sequelize-typescript/dist/model/model/model.d.ts:9:31 - error TS2417: Class static side 'typeof import(".../node_modules/sequelize-typescript/dist/model/model/model").Model' incorrectly extends base class static side 'typeof import(".../node_modules/sequelize/types/lib/model").Model'.
  The types returned by 'init(...)' are incompatible between these types.
    Type 'void' is not assignable to type 'Model<any, any>'.

9 export declare abstract class Model<T = any, T2 = any> extends OriginModel<T, T2> {
                                ~~~~~

node_modules/sequelize-typescript/dist/sequelize/sequelize/sequelize.d.ts:12:5 - error TS2416: Property 'model' in type 'Sequelize' is not assignable to the same property in base type 'Sequelize'.
  Type '(model: string | typeof Model) => ModelCtor<Model<any, any>>' is not assignable to type '(modelName: string) => ModelCtor<Model<any, any>>'.
    Type 'import(".../node_modules/sequelize-typescript/dist/model/model/model").ModelCtor<import(".../node_modules/sequelize-typescript/dist/model/model/model").Model<any, any>>' is not assignable to type 'import(".../node_modules/sequelize/types/lib/model").ModelCtor<import(".../node_modules/sequelize/types/lib/model").Model<any, any>>'.
      Type 'ModelCtor<Model<any, any>>' is not assignable to type 'typeof Model'.
        The types returned by 'init(...)' are incompatible between these types.
          Type 'void' is not assignable to type 'Model<any, any>'.

12     model(model: string | typeof Model): ModelCtor;
       ~~~~~

src/cli.ts:75:21 - error TS2345: Argument of type 'import(".../node_modules/sequelize-typescript/dist/sequelize/sequelize/sequelize").Sequelize' is not assignable to parameter of type 'import(".../node_modules/sequelize/types/lib/sequelize").Sequelize'.
  The types returned by 'model(...)' are incompatible between these types.
    Type 'import(".../node_modules/sequelize-typescript/dist/model/model/model").ModelCtor<import(".../node_modules/sequelize-typescript/dist/model/model/model").Model<any, any>>' is not assignable to type 'import(".../node_modules/sequelize/types/lib/model").ModelCtor<import(".../node_modules/sequelize/types/lib/model").Model<any, any>>'.
      Type 'ModelCtor<Model<any, any>>' is not assignable to type 'typeof Model'.

75     await initStore(sequelize)
                       ~~~~~~~~~

Found 6 errors.

#787 should resolve this

any idea how to fix this

@sarfarazansari I'm currently working around this by using v5 of sequelize.

Any progress on this issue?

For what its worth, I am still having issues with 2.0.0-beta.0 and sequelize 6.3.5

@Bialogs did you try recent 2.0.0-beta.1, as well?

@lukashroch I'm working with @Bialogs on this one, just tried with the latest 2.0.0-beta.1 and still received type errors.

Details
    src/evaluation-tags/evaluation-tag.model.ts:38:21 - error TS2322: Type 'typeof Evaluation' is not assignable to type 'typeof Model'.
      Types of construct signatures are incompatible.
        Type 'new (values?: Evaluation | undefined, options?: BuildOptions | undefined) => Evaluation' is not assignable to type 'new <TModelAttributes extends {} = any, TCreationAttributes extends {} = TModelAttributes>(values?: TCreationAttributes | undefined, options?: BuildOptions | undefined) => Model<TModelAttributes, TCreationAttributes>'.
          Types of parameters 'values' and 'values' are incompatible.
            Type 'TCreationAttributes | undefined' is not assignable to type 'Evaluation | undefined'.
              Type 'TCreationAttributes' is not assignable to type 'Evaluation | undefined'.
                Type '{}' is not assignable to type 'Evaluation'.
                  Type 'TCreationAttributes' is not assignable to type 'Evaluation'.
                    Type '{}' is missing the following properties from type 'Evaluation': id, filename, data, createdAt, and 38 more.

    38   @ForeignKey(() => Evaluation)
                           ~~~~~~~~~~

      ../../node_modules/sequelize-typescript/dist/model/shared/model-class-getter.d.ts:2:40
        2 export declare type ModelClassGetter = (returns?: void) => typeof Model;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        The expected type comes from the return type of this signature.
    src/evaluation-tags/evaluation-tag.model.ts:42:20 - error TS2769: No overload matches this call.
      Overload 1 of 2, '(associatedClassGetter: ModelClassGetter, foreignKey?: string | undefined): Function', gave the following error.
        Type 'typeof Evaluation' is not assignable to type 'typeof Model'.
      Overload 2 of 2, '(associatedClassGetter: ModelClassGetter, options?: BelongsToOptions | undefined): Function', gave the following error.
        Type 'typeof Evaluation' is not assignable to type 'typeof Model'.

    42   @BelongsTo(() => Evaluation)
                          ~~~~~~~~~~

      ../../node_modules/sequelize-typescript/dist/model/shared/model-class-getter.d.ts:2:40
        2 export declare type ModelClassGetter = (returns?: void) => typeof Model;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        The expected type comes from the return type of this signature.
      ../../node_modules/sequelize-typescript/dist/model/shared/model-class-getter.d.ts:2:40
        2 export declare type ModelClassGetter = (returns?: void) => typeof Model;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        The expected type comes from the return type of this signature.

 FAIL  test/evaluations.e2e-spec.ts
  ● Test suite failed to run

    src/evaluations/evaluation.model.ts:41:18 - error TS2769: No overload matches this call.
      Overload 1 of 2, '(associatedClassGetter: ModelClassGetter, foreignKey?: string | undefined): Function', gave the following error.
        Type 'typeof EvaluationTag' is not assignable to type 'typeof Model'.
          Types of construct signatures are incompatible.
            Type 'new (values?: EvaluationTag | undefined, options?: BuildOptions | undefined) => EvaluationTag' is not assignable to type 'new <TModelAttributes extends {} = any, TCreationAttributes extends {} = TModelAttributes>(values?: TCreationAttributes | undefined, options?: BuildOptions | undefined) => Model<TModelAttributes, TCreationAttributes>'.
              Types of parameters 'values' and 'values' are incompatible.
                Type 'TCreationAttributes | undefined' is not assignable to type 'EvaluationTag | undefined'.
                  Type 'TCreationAttributes' is not assignable to type 'EvaluationTag | undefined'.
                    Type '{}' is not assignable to type 'EvaluationTag'.
                      Type 'TCreationAttributes' is not assignable to type 'EvaluationTag'.
                        Type '{}' is missing the following properties from type 'EvaluationTag': id, key, value, createdAt, and 39 more.
      Overload 2 of 2, '(associatedClassGetter: ModelClassGetter, options?: HasManyOptions | undefined): Function', gave the following error.
        Type 'typeof EvaluationTag' is not assignable to type 'typeof Model'.

    41   @HasMany(() => EvaluationTag)
                        ~~~~~~~~~~~~~

      ../../node_modules/sequelize-typescript/dist/model/shared/model-class-getter.d.ts:2:40
        2 export declare type ModelClassGetter = (returns?: void) => typeof Model;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        The expected type comes from the return type of this signature.
      ../../node_modules/sequelize-typescript/dist/model/shared/model-class-getter.d.ts:2:40
        2 export declare type ModelClassGetter = (returns?: void) => typeof Model;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        The expected type comes from the return type of this signature.

 FAIL  test/authn.e2e-spec.ts
  ● Test suite failed to run

    src/evaluation-tags/evaluation-tags.service.ts:53:30 - error TS2345: Argument of type 'CreateEvaluationTagDto' is not assignable to parameter of type 'EvaluationTag'.
      Type 'CreateEvaluationTagDto' is missing the following properties from type 'EvaluationTag': id, createdAt, updatedAt, evaluationId, and 37 more.

    53     return new EvaluationTag(createEvaluationTagDto);

Hello,
The same for me i'm getting this error with the below config
"sequelize": "^6.3.5s",
"sequelize-typescript": "^1.1.0"

@rbclark, check out #865, there is a breaking change how to define models for V6. This is also described in official sequlize TS docs section.
@chorfa007, use 2.0.0-beta.1 for V6, 1.1.0 is V5 only and follow link above how to upgrade.

@lukashroch Typeerrors are still ocurring, I literally copied and pasted the model code from the docs you linked alongside 2.0.0-beta.1 & 6.3.5
No overload matches this call.
  The last overload gave the following error.
    Type 'typeof Person' is not assignable to type 'string | ModelCtor<Model<any, any>>'.
      Type 'typeof Person' is not assignable to type 'ModelCtor<Model<any, any>>'.
        Type 'typeof Person' is not assignable to type 'typeof Model'.
          Types of construct signatures are incompatible.
            Type 'new (values?: PersonCreationAttributes, options?: BuildOptions) => Person' is not assignable to type 'new <TModelAttributes extends {} = any, TCreationAttributes extends {} = TModelAttributes>(values?: TCreationAttributes, options?: BuildOptions) => Model<TModelAttributes, TCreationAttributes>'.
              Types of parameters 'values' and 'values' are incompatible.
                Type 'TCreationAttributes' is not assignable to type 'PersonCreationAttributes'.
                  Property 'name' is missing in type '{}' but required in type 'PersonCreationAttributes'.ts(2769)

@niloyc I've only thoroughly tested "less strict" typings, which are the same equivalent of what already was present in v5 or < v6.2. I've already encountered other weird issues with new v6.2+ typings, looks like they will need more tweaking, so I left it for a while... Though, just converted one of our project without minimal effort to less-strict types and so far no issues.
Looks like #835 PR is addressing some of these issues you're having. You could give it a try and review.

I am trying log custom exception in angular using TS but not catch block is not executing getting following error
i have implemented handleError() Method - where custom exception messages are available
LoadList(): Observable<ABC[]> {
return this.http.get<ABC[]>(this.apiUrl).pipe(
retry(1),
catchError(this.handleError)
//  //catchError((error: any) => {
//  //  return this.handleerror; //observable.throw(new error(error));
//  //})

}
i am getting below error  and catch block is not working

I am trying log custom exception in angular using TS but not catch block is not executing getting following error
i have implemented handleError() Method - where custom exception messages are available
LoadList(): Observable<ABC[]> {
return this.http.get<ABC[]>(this.apiUrl).pipe(
retry(1),
catchError(this.handleError)
//  //catchError((error: any) => {
//  //  return this.handleerror; //observable.throw(new error(error));
//  //})

}
i am getting below error  and catch block is not working

<EMAIL_ADDRESS>has been released! :smile:
Feel free to open new issues, if you encounter bugs! :bug:

<EMAIL_ADDRESS>has been released! :smile:
Feel free to open new issues, if you encounter bugs! :bug:

This versions are uncompatible:
"sequelize": "6.5.1",
"sequelize-typescript": "2.1.0",

I'm having issues with this too:
    "sequelize": "^6.6.2",
    "sequelize-typescript": "^2.1.0",
    "@nestjs/sequelize": "^0.2.0",

I'm having issues with this too:
    "sequelize": "^6.6.2",
    "sequelize-typescript": "^2.1.0",
    "@nestjs/sequelize": "^0.2.0",

EDIT:
For anyone trying to fix this, I was coming from sequelize v5 and sequelize-typescript 1.1.0 when I upgraded I did the following to solve the type errors I was having:
previously:
export class User extends Model<User> {

turns to just:
export class User extends Model {

thanks for this awesome library 🎉

I gonna give a try.

@deviantfero  it worked 🎉🎉🎉
I have like 100 entities, no joke, it was epic easy but tedious, but it worked!!
i have updated the library, yay!

@kuriel-trivu that's great, if someone could explain why this works that would be really helpful though :sweat_smile:, I don't want to find out I'm missing some type declaration correctness down the line

"@nestjs/sequelize": "^0.2.0",
"sequelize": "^6.6.2",
"sequelize-typescript": "^2.1.0"
worked for me


cleanup tests, fix bower publishing by generating a new bower.json

a lot of files changed permissions, but other than that should be a small change

synced from upstream ember data before this stuff got removed.


Issue with collectCoverageFrom

I'm setting up a new repo and am using lerna to do monorepo, i doubt its the cause but let me know
I am trying to have the code coverage reports generate, even for untested files, but fore whatever weird reason it doesnt see any of the non-tested files.
I've tried with and with <rootDir>, i've tried with and with 'src', i've taken the pattern away. Nothing seems to have an affect
The repo this is happening in can be found here
https://github.com/dalefrancis88/pointfree
You'll want to go to the core package and run npm run test:prod

I guess there is no help to be had here :/


Getting 502 Bad Gateway

I have deployed the API-Gateway in Azure APP service. This was done after test this gateway in local environment.
Once we try to access the swagger page or the URL of the API-Gateway, we are getting 502 bad gateway.
Is there something that we would have missed. The Ocelot version that we are using is 14.1

hi
I also triggered this problem, but eventually found that it was caused by a configuration problem. The port used for the local host test is port 80, but I did not notice that the azure application is https protocol, so I configured the port to 443 to solve the problem perfectly. Hope it helps you

Thanks vchy1997. I had the same issue, spent whole day till I found this. Ocelot documentation  should have an example config file for local and production servers.

I still have the error when using port 443

@pmjaleel
Sad to hear such bad news! )))
But pay your attention that currently we don't support Azure and Swagger!
I could assume only that you had Azure service misconfiguration issue.
I don't see anything here which can be fixed by Ocelot team.

Azure service misconfiguration issue!


Icon Button: Missing background color

Some of the icon buttons have transparent backgrounds. I noticed this in page header the other day, but it looks like Button stateful has it, too.

Anyone is free to pick this up.
http://design-system-react-components.herokuapp.com/?selectedKind=SLDSButtonStateful&selectedStory=Icon&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

This is happening because the icons are using the class slds-button_icon-border instead of slds-button_icon-border-filled which would fill the icon buttons with a white background and make it consistent.
@interactivellama thoughts?

Previous

After Change


Feature/file group

Implements file.group module
param "filename" {
  default = "test.txt"
}

file.group "render" {
  destination = "{{param `filename`}}"
  group       = "test"
}

This is pretty out of date. I'm closing in favor of @stevendborrelli's upcoming work.


EPOLL Shutdown Input Half Closed

Motivation:
EPOLL attempts to support half closed socket, but fails to call shutdown to close the read portion of the file descriptor.
Motivation:

If half closed is supported shutting down the input should call underlying Native.shutdown(...) to make sure the peer is notified of the half closed state.

Result:
EPOLL half closed is more correct.

@Scottmitch looks good!

Cherry-picked 4.0 (4e33b4b) 4.1 (b2399c2) master (5eef15d)


Improve regex  support in DPLRouteMatcher

New regex support is cool, but what i am missing is saving matched regex parameters to route parameters dictionary in DPLDeepLink. So i little bit refactored regex property in DPLRouteMatcher supports regex with parameter name in route specification.
Examples:
/table/:name([a-zA-Z]+)/:id([0-9]+)
/table/tableName/109

route parameters
{
 "name": "tableName",
 "id": "109"
}

-----

/url/:path(.*)
/url/super/long/cool/url

route parameters
{
 "path": "super/long/cool/url"
}

What you think ?

Nice! Great idea!
Let me take a look at the code in a bit -- this seems really powerful!

Hey, @VojtechBartos could you possibly sign our CLA ahead of getting this merged?
The CLA is an unfortunate necessity operating open source libraries as part of a company :) I'm just glad we can dedicate time to OS!
https://docs.google.com/forms/d/1WHFWnzz5OL8c9o49KgpgyERzQUQajX5p8_80YLCghds/viewform?usp=send_form

@chrismaddern done :+1:

@VojtechBartos Just an FYI - we're going to spend some time looking at this asap! The functionality is great, but we've begun to collect a lot of complexity in the lazy loading of -regex.
I think there may be a way to break it out to make the strategy for route-parsing more obvious and delegate it to a better named method now it's fairly complex.
cc/ @wessmith

hey @chrismaddern ;)  have you found some time looking at this ?

@wessmith I just took another look at this & really love the functionality. Let's take a look at this this week & can get this & https://github.com/usebutton/ios-deeplink-sdk/issues/38 fixed in a new release :)
Sorry for the delay @VojtechBartos


Introduce NixOPS plugin structure

pkgs.nixopsCore now contains only the None/AWS/Hetzner backends,
other backends are available through pkgs.nixopsPlugins such as
pkgs.nixopsPlugins.nixops-vbox for VirtualBox.
There is also a convenience pkgs.nixopsWithPlugins which makes it
possible to quickly package a NixOPS with additional backends e.g:
let
  nixopsGCE = nixopsPlugins.buildNixOpsPlugin rec {
    pluginName = "gce";
    src = builtins.fetchGit "https://github.com/AmineChikhaoui/nixops-gce";
    version = "pre853_aca0173";
    propagatedBuildInputs = [ python2Packages.libcloud ];
  };
in nixopsWithPlugins {
  plugins = with nixopsPlugins;
    [ nixops-aws nixops-hetzner nixops-libvirtd nixops-datadog nixops-vbox ]
    ++ [ nixopsGCE ];
}

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @disassembler @edolstra @rbvermaa

Superseded by https://github.com/NixOS/nixpkgs/pull/83548


WLED recognized as a TV

Hello
I installed WLED on several ESPs and everything works fine with HomeKit thanks to this Plugin for HomeBridge.
However, I have a problem, my WLEDs are recognized as "TVs" in HomeKit.
When I say to Siri "Turn on the TV", she asks me "In which rooms?" (because all WLEDs are represented as TVs).
If I answer "the living room", Siri turns on the TV and WLED.
It's not blocking but annoying and not very practical...
Do you have any solution to fix this problem?
Thank you in advance for your help.
PS: I also use the Harmony Plugin for Home Bridge, I don't know if that can influence or not.

Hello, for disabling the Effect Switch, which is displayed as TV Control you can pass the "showEffectControl": true parameter to the device config.
But the TV is for now the best solution to display the effects. I'm looking forward to find a other solution.


How to remove "||" in quickfix windows

or change other charactor?

@tracyone
This is an indicator for "invalid" entries, i.e. those not matching the errorformat.
Which maker are you using, and how does the output look?

provide an option to remove the selected charactor: "||",   only show the content

This is due to "invalid"/unrecognized entries in the location list.
There is an option to remove those per maker etc (remove_invalid_entries), but usually the errorformat should remove/handle them already.
It is a Vim feature itself, the character(s) cannot be changed.
But Neomake has some custom quickfix handling already (after :call neomake#quickfix#enable()), where this could be done maybe.


14 character not possible in O365

This page recommends a 14 character minimum password. But, Azure AD does not allow enforcement of this. Azure AD passwords are "A minimum of 8 characters and a maximum of 256 characters.", and this cannot be changed:
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy#password-policies-that-only-apply-to-cloud-user-accounts

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 523758d0-17ea-7061-d9ce-8f5a31a76b4c
Version Independent ID: 545fd950-8ef0-837b-8839-8aa21da0c6eb
Content: Password policy recommendations - Microsoft 365 admin
Content Source: microsoft-365/admin/misc/password-policy-recommendations.md
Service: microsoft-365-business
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@msbemba

@yogkumgit  I'm currently checking with the author and PM. Will update the document if need be.

Author confirmed that issue has been fixed. closing. Thanks


When chardet is unable to tell the encoding method

We suppose it's straightforward to detect the charset of a non-UTF text file -- but it's not. When using 3rd-party tools to guess the original encoding method of a file, we don't have the author to ask, we don't have the context of the text file -- the entire process feels like reverse-engineering... In short, we rely on probability models to detect the charset, without any guarantee
As a result , we have to set a minimum threshold. Only those  encoding results returned by chartdet that are above that threshold level would be accepted. Otherwise, if chartdet can't tell the encoding of a file with confidence, we would simple throw a warning message.
Thanks @runhwguo for your valuable proposal.

For example,
`// created in 2015 年
#include <stdio.h>
int main() {
pirntf("Hello World.");
}
`
If a text file contains mostly ASCII alpha-numerical characters, but contains just a couple of non-ascii characters, chardet may get confused. Though chardet may still provide an encoding with its best effort, we can't trust that result given  the low confidence level.

Another example would be the notorious "联通" case,


⚠ Jenkins Plugins Artifactory has degraded performance

In 7676873, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1118 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 0455bc7 after 12 minutes.


[Cleanup] Remove more StringRef::equals

StringRef::equals has been removed upstream.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test Linux platform


Remote Records Write

Added the ability to write records to remote DWN's via the to property (this is in contrast to the from property we use in other methods... open to sticking with from but that feels a bit awkward)

Hey @KendallWeihe -- thanks for putting the PR.
Happy to chat more about this on Discord or live but there was a LOT of discussion, many iterations, and tradeoffs considered both in terms of the happy path and failure scenarios for the web5.dwn.records.* and web5.dwn.protocols.* methods.
The to: option was part of that debate for web5.dwn.records.write(), but in the end, consensus formed around the records.send(<did>) approach to create/write records on a DWN accessible over a network boundary.  This was admittedly subjective, but create()/write() have some unique considerations that don't apply to query() and delete(), which is part of the motivation for having a different interface.
There were 15 different permutations considered for your own local/agent / your own remote DWNs / remote DWNs of others plus the associated failure scenarios.  The (likely) most common are listed here: https://github.com/TBD54566975/web5-js/releases/tag/v0.7.0#dwn-ops-cheat-sheet
Given the long list of other high priorities we need to add to the Web5 SDK, this isn't an API we want to introduce changes to just yet until we've got more developer feedback based on building web apps, but we can and should given a running list so that when we've some data to evaluate.
Created Iissue #119 to track so that we can revisit and consider introducing API changes in the future.


Allow setting nav labels

I need to translate the nav labels to Spanish, so I made this patch to set the nav labels although attributes.
I guess it may be useful to others, like the attributes which Asciidoctor  supports to set captions, labels and ref signatures.

@aplatanado, thanks! This is merged and will be included in a release soon.


Next Reflease

Codecov Report

Merging #169 (f5ad71d) into main (7805e89) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   54.32%   54.32%
=======================================
  Files           3        3
  Lines          81       81
  Branches       20       20
=======================================
  Hits           44       44
  Misses         18       18
  Partials       19       19

Impacted Files
Coverage Δ

packages/seo/src/lib/seo.component.ts
75.00% <ø> (ø)

packages/seo/src/lib/seo.service.ts
43.63% <ø> (ø)

packages/seo/src/lib/shared/models.ts
100.00% <ø> (ø)

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 ea43706...f5ad71d. Read the comment docs.


Cannot edit hidden object when export to Omniverse

Steps to Reproduce
I just want to export the blender scene into omniverse USD file. And get the error saying
RuntimeError: Operator bpy.ops.object.mode_set.poll() Cannot edit hidden object In call to configurable 'export_curr_scene'  when calling bpy.ops.object.mode_set(mode="EDIT").
What version of the code were you using?
4a4411e92611d059f2476f4384141de3529d1f9f
What command did you run?
python -m infinigen.tools.export --input_folder outputs/indoors/coarse_p --output_folder outputs/my_export_omni -f usdc -r 1024 --omniverse
What are your FULL output logs?
log.txt
If this is your first time running Infinigen, what are the full install logs?**
logs.txt
Platform

OS & OS Version:  Ubuntu 22.04
GPU (?) :    NVIDIA Corporation Device 2684 (rev a1)
GPU Driver Version (?) :  545.29.06
RAM (GB):

               total        used        free      shared  buff/cache   available
Mem:            62Gi        13Gi        20Gi       253Mi        28Gi        48Gi
Swap:          2.0Gi       1.5Gi       558Mi

Additional context
Add any other context about the problem here.

Hi,
If possible, could you provide either the blend file or the commands to generate the blend file (found in run_pipeline.sh)?

Hi, I follow the readme and run this command :
python -m infinigen_examples.generate_indoors --seed 0 --task coarse --output_folder outputs/indoors/coarse -g fast_solve.gin overhead.gin singleroom.gin -p compose_indoors.terrain_enabled=False compose_indoors.overhead_cam_enabled=True compose_indoors.solve_max_rooms=1 compose_indoors.invisible_room_ceilings_enabled=True compose_indoors.restrict_single_supported_roomtype=True
Since the blend file is too large to upload, I provide the screenshot of the scene loaded in blender.

This is likely caused by compose_indoors.invisible_room_ceilings_enabled=True. In export.py, you can add a conditional  in split_glass_mats(), which should fix the problem.
 for obj in bpy.data.objects:
        if obj.hide_render or obj.hide_viewport:
            continue
        if any(
            exclude in obj.name
            for exclude in ["BowlFactory", "CupFactory", "OvenFactory", "BottleFactory"]
        ):
            continue

Thanks for your reply. It works.
I converted it into usd for omniverse successfully.
However, when I try to load the usd with isaac_sim.py,  something is wrong with the texture.
It seems that most of the texture does not reflect light and becomes dark.
This is the usd loaded in blender (I modify some light power):

And this is usd loaded in isaac sim (nothing changes when I modify the light):

And this is the shader of floor mesh:

When I change the shader of floor into the same shader of wall, the floor can reflect light, but with no color:

I upload the file here.
coarse_p.zip is the file before converting to usd.
export_scene.zip is the converted omniverse usd.


Add SIEM/SOAR to the "Role Capabilities" article

On July 10, 2023, Rick Jury wrote in the Slack #doc-hub channel:

hi do we have plans to improve the detail in the Cloud SIEM/SOAR role capability pages? A customer complained that we have a list on this page but only for CIP now. https://help.sumologic.com/docs/manage/users-roles/roles/role-capabilities/ There is another page but it doesn't list roles in detail https://help.sumologic.com/docs/cse/administration/cse-user-accounts-and-roles/#assign-cloud-siem-capabilities-to-a-role. Say for example a customer admin wondered what entity capability does it's not clear in our docs what the role is for:

I removed the Cloud SIEM capabilities from the Role Capabilities article with PR #2553. I'll put them back.


Allow user to control amount of GPU memory consumed

Environment:
~tensorflow 0.10
~NVIDIA K80 GPU server.
~ubuntu 14.04
I do not change the code which is download from this repository.
When I run ptb_word_lm.py, it takes up all my GPU memory (from device gpu:0 to device gpu:15). Is it a bug? How could I fix it?
Thanks a lot in advance!
Swind

Do you have 16 GPUs in your machine? Once a GPU is used by TF, it will grab all its memory.

Actually I have 8 K80 physical GPUs which can be used as 16 GPUs.  GPU:0 is used by TF, but it will grab all GPUs' memory.(from gpu:0 to gpu:15)

check out http://stackoverflow.com/questions/34199233/how-to-prevent-tensorflow-from-allocating-the-totality-of-a-gpu-memory and CUDA_VISIBLE_DEVICES

Thank you for your response, CUDA_VISIBLE_DEVICES works.
But I think it is still a question (or a bug in a way) about TF 0.10, I hope it will be solved in the following versions of TF. For example, I hope that TF can provide an interface to set CUDA_VISIBLE_DEVICES and recovers the original value of CUDA_VISIBLE_DEVICES after running. Or the code
with tf.device('/gpu:13'):
can control the usage of gpu memory. It seems that this code just controls the usage of gpu calculation now. When I use this code, ptb_word_lm.py just use gpu:13 for calculation but takes up all my GPU memory from gpu:0 to gpu:15.
Thanks again

@jmchen-g, I've made this into a feature request, retitled and assigned to you based on the previous comment by  @DC-Swind.

@zheng-xq

What's wrong with using CUDA_VISIBLE_DEVICES? There may be performance implications if you wait to initialize GPU memory pool until device is declared

To control which GPU you want to use, use CUDA_VISIBLE_DEVICES
To control how much GPU memory you want to use: per_process_gpu_memory_fraction
https://github.com/tensorflow/tensorflow/blob/d24e64227653ab3cab7405c79ca166063a42f0ff/tensorflow/python/kernel_tests/sparse_xent_op_test.py#L262

We should probably add this to the documentation... maybe here? https://www.tensorflow.org/versions/r0.11/how_tos/using_gpu/index.html
Or is it already in it, and I just can't find it.

Can you require a specific amount of bytes instead of a fraction? I don't know what GPU will be used, and would like to reserve 100 MB when starting a session.

I'll second Carlthome's request here. Working with multiple machines with (very) differing amount of GPU memory is hard, since it seems I can only set it to a fraction of the available memory, causing it to fail on our GPU monster that also run other tasks.
Alternatively, is there a way to grab the total GPU memory? CUDA calls get blocked by StreamExecutor, and I cannot seem to find a way to achieve this using the latter.


Couple suggestions

First off, this is amazing! I've used this project a bit for WinForms and while it's fully functional, it's exclusively WinForms and not super modern-looking. Every once in a while I hope that someone has put in the effort to build something for Avalonia and now, when I searched again, I find your repo created only 10 days ago! Thank you so much!
Couple things that you might consider adding (while these are arguably up to the user of the control to implement - not necessarily as built-in features - it might be nice for the SampleApp to showcase how they might be implemented):

Pressing the "Delete" key while an appointment is selected removes the appointment
Ability to drag & drop appointments to a different time to reschedule
Ability to "resize" an appointment (drag to resize the top/bottom of the block) to change start/end time

Feel free to "won't fix" or let me know if they're already implemented!

Good improvements!


Saving Training model and then running it on test dataset

Hello,
As I understand, there has to be(very often), training set,validation set, test set. Machine learning model trains on training set and the parameters are tuned at validation set. This model is then saved and test set is then applied at that model. However going through, hatt.py, I saw the model being saved as checkpoint. But I did not find any implementation of using that model for test set. Am I right or have i missed something in the code? The model should be saved and then applied to test set. In your case, did you not use the testing set?

You haven't missed something. It looks like I have not uploaded the eval code (probably I forgot to). Although, it should be straightforward to run on a test set.

Could you please upload it? I am not proficient in keras and python. I am looking at your code and trying to understand it. I would be very grateful. Thank you

Another thing...Have you implemented multi layer perceptron with a single layer? The original paper says it uses MLP to get hidden representation of hit i.e. uit (annotation of words)

Another thing...Have you implemented multi layer perceptron with a single layer? The original paper says it uses MLP to get hidden representation of hit i.e. uit (annotation of words)

This is implemented in the attention layer for word and sentence attentions.

Ok.....I think I missed the detail in attention context ....will definitely look into it.


overloaded functions have several signatures in the docs

See

(http://xarray.pydata.org/en/latest/generated/xarray.concat.html)
Can this be fixed? Or do we actually want to show both?

Good catch, @mathause.
I don't think we should show type hints at all (they're not visible in the API pages without @overload), that's what the parameter documentation is for. To solve this, I'd look for a configuration setting for autosummary / autodoc (I think the latter generates the signature) or try to figure out if that's a bug / missing feature in autodoc.

maybe: https://www.sphinx-doc.org/en/2.0/usage/extensions/autodoc.html#confval-autodoc_typehints can check tomorrow

that's already set: https://github.com/pydata/xarray/blob/45aab423b61c99278dd9b4d8a21915647afae623/doc/conf.py#L112 so I guess this is a missing feature for autodoc. sphinx-doc/sphinx#7785, maybe?

Yes, does sound like the issue. I guess we'll have to wait for upstream...

this is fixed in sphinx=3.3.0, so updating the pinned version in doc.yml should suffice


check for updates

plss add a check for updates button in settings

Added updater in ee6782e401188f4fd2ceac6b3f08f9e67db70b61  2.2.3. Will check for updates on the app start.

thank you 😊

Added in bd3b6806d6a98ac39626a630c09be1fb9f1ce065


effective area from simu parameters

adding function to compute effective area based on simulation parameters for a power-law

Solves issue #12


when importing a iCS file gcalcli says 'Python vobject module not installed!' even though it is installed

I can successfully add events using 'add' or 'quick', but when using:

gcal1=$(mktemp)

gcalcli import "$gcal1" --calendar<EMAIL_ADDRESS>

where gcal1 is a temporary file that I create using a GTP-3.5 cli app so I can use better natural language.
however I get:
Python vobject module not installed!

Ok so I'm on manjaro linux, and they just changed it so that you have to use

sudo pacman -S python-vobject

To install system-wide packages, otherwise you'll get:

python3 -m pip install vobject

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

So i installed with pacman and now I can import vobject from within python.
However, gcalcli still gives me the error. It does not matter if it is a csv file or a ics file.
gcalcli installed with yay (e.g. AUR package), manjaro fully updated.

gcalcli v4.3.0 (Eric Davis, Brian Hartvigsen, Joshua Crowgey)

Ok my workround is to use xargs to send the output as an argument to 'quick' instead. But it's only a workaround, not a solution - posting here for others to see:

cat $gcal1 |  xargs -I {} gcalcli quick "{}" --calendar<EMAIL_ADDRESS>

I don't see any obvious reason it wouldn't work from the info you provided. You might comment in AUR to ask the package maintainer if there's any gotcha with the optional dep. I glanced at the current PKGBUILD and didn't see anything strange about the setup...
It sounds like there'd be some disconnect between the python env used by the gcalcli executable you're running and the env python-vobject is installing into. Could you double check the gcalcli executable is indeed coming from the installed package and see if there's any obvious reason it wouldn't be hooked up to the system python env / sys.path?

BTW I think it could also be improved with more self-contained hints about how to add vobject support if it's missing, and maybe some logs to help troubleshoot these cases where it's expected to be there but somehow isn't.

It was  because I was using Manjaro linux at the time (my first step into arch linux waters) - I  started having  other issues with python packages too, so I  switched to endeavour linux , also arch based, which should be - and is, in my experience - less prone to issues with outdated packages. so I think you can be pretty confident that was the issue and nothing on your end :)

Glad you got that resolved!
Just in case, I mentioned on AUR to verify the vobject part works as part of commenting there was a new release: https://aur.archlinux.org/packages/gcalcli. Anyway I'm probably going to make the vobject part an unconditional dep soon.


Improve CSAT OKR: /aspnet/aspnet/overview/owin-and-katana/owin-oauth-20-authorization-server

Internal bug must be closed when this issue closes.
OWIN OAuth 2.0 Authorization Server

Fixed in PR https://github.com/dotnet/AspNetDocs/pull/365


more tests

Codecov Report

Merging #40 (bfc28f0) into develop (38b821b) will increase coverage by 2.72%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #40      +/-   ##
===========================================
+ Coverage    67.81%   70.53%   +2.72%
===========================================
  Files            4        4
  Lines          233      224       -9
===========================================
  Hits           158      158
+ Misses          55       49       -6
+ Partials        20       17       -3

Impacted Files
Coverage Δ

app/blizz/client.go
54.79% <100.00%> (+3.18%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #40 (bfc28f0) into develop (38b821b) will increase coverage by 2.72%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop      #40      +/-   ##
===========================================
+ Coverage    67.81%   70.53%   +2.72%
===========================================
  Files            4        4
  Lines          233      224       -9
===========================================
  Hits           158      158
+ Misses          55       49       -6
+ Partials        20       17       -3

Impacted Files
Coverage Δ

app/blizz/client.go
54.79% <100.00%> (+3.18%)
:arrow_up:

Continue to review full report at Codecov.

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


What are the real meaning of entities?

Dear authors, thank you for your work and your kind reply very much!
In the WebQSP dataset you provided, the file entites.txt store entities like "m.04hxgbs". I want to know the real meanings of the entities and understand the reasoning process better. Is there a file storing the real meanings of each entity one by one?
A lot of thanks for your reply!

Great question, we used the preprocessed files from NSM directly.
I think you might be able to find the mapping from entity IDs to entity names based on these scripts: https://github.com/haitian-sun/GraftNet/tree/master/preprocessing.


New Twitter logo

Can we have the new twitter logo?? (X)

Is this issue solved?I would like to work on it

@sonic182 @ParthMakode We can now use twitter new icon from fontawesome 6 upgrade : 33e37f75c0dfbbe93170c337d322578249cfd2b4


ConvertTo-PSExpression: serialise objects as valid expressions (superset of Export-PowerShellDataFile / Export-Psd1)

Summary of the new feature / enhancement
Valuable discussion on #11300 and #2875
There is appetite for a cmdlet that accepts a hashtable and outputs a PowerShell expression that recreates that hashtable. The linked issues discuss this specifically for writing .psd1 files - which is 99% of the problem.
I see no reason to stop there. If you generate .psd1 data, writing it to a file is the trivial part. And why limit to hashtable input? You should be able to pass any object that's legal for a hashtable value in a .psd1 and "cut out the middleman".
Not all types can be serialised safely like this. I would be delighted with a constrained solution that throws on types outside a basic set of "primitive" types, bans scriptblocks, etc.
Use case:
$Employer has a long tail of legacy boxes to support, and we must still use PSEXEC. We have to convert objects to strings that we can put in a command expression. (I know about XML, but the legibility is poor and it imposes extra steps.)
$Hashtable = @{
    'restore-healthsnapshot' = @{
        maintenanceticket = '000000-10117'
        mainttype         = 'HardwareSwapStandalone'
        hardware = @(
            @{
                Component   = 'Memory'
                SwapType    = 'Downgrade'
                TargetValue = 8
            },
            @{
                Component   = 'Cpu'
                SwapType    = 'Reseat'
            }
        )
    }
}
$Hashtable | ConvertTo-PSExpression

@{'restore-healthsnapshot' = @{mainttype = 'HardwareSwapStandalone'; maintenanceticket = '000000-10117'; hardware = @(@{TargetValue = 8; Component = 'Memory'; SwapType = 'Downgrade'}, @{SwapType = 'Reseat'; Component = 'Cpu'})}}

We are agnostic about brace alignment, use of newlines, etc. I can use PSScriptAnalyzer\Invoke-Formatter for the brace alignment.
Proposed technical implementation details (optional)
No response

An interesting idea. But I am not too sure of how much of an appetite there actually is for such a cmdlet. I have never seen someone ask for this before.
This might be a great candidate for a separate PowerShell module and posted to the PS Gallery. If there really is a sufficient appetite, then we could consider folding it into PowerShell itself.,

Agree with @doctordns  - "No-one has asked for it" isn't the same as "No-one would want it" , an initial version shared via the gallery is the way to see what appetite there is.


feat(BTC): CW-17554 update btc script

Checklist:

README.md includes:

[ ] The details of signing data and transaction data, this includes parameters.
[ ] Official docs or white paper.
[ ] Website or api can query assets and broadcast transaction.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Task linked: CW-17554 [SDK] 配合修改後的script，重新調整SDK呼叫SE的參數


Codecov

Just testing.

Current coverage is 83.01%

Branch #1 has no coverage reports uploaded yet.

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

Powered by Codecov. Updated on successful CI builds.


Camera plugin causes crash in rviz2

Originally mentioned here: https://github.com/ros2/rviz/issues/1025#issuecomment-1697467045
ROS2 distro: Iron
Issue: rviz2 crashes whenever I try to add a camera plugin/display
To reproduce:

Source Iron
Start an rviz2 instance
Add a camera plugin
Set the topic to one with camera data (in my case from a Gazebo simulation)
Rviz2 crashes (for me at least)

I have tested the exact same setup but rviz2 started from a terminal with Humble sourced instead of Iron, and the camera visualisation works as normal.

For some reason this PR was not backported https://github.com/ros2/rviz/pull/1054


ci: Improve handling of complex revendoring cases

We have run into an issue yesterday with #494, and there was no way to make the CI pass because of the vendoring complexity. This PR was about adding some code to virtcontainers, but at the same time it was revendoring several packages. The way our CI work in order to test our virtcontainers PRs with the Clear Containers runtime is pretty basic. It copies all the new files to the vendoring inside runtime/vendor/..../virtcontainers, but this is not enough in this case. Indeed, the runtime vendoring for the other packages that have been revendored from virtcontainers needs to be updated too.
Because I think that we don't want to handle such complexity with nested layers of vendoring, we should rely mostly on dep to do the job.
Therefore, here is the proposal:

We should have our CI script creating a new branch and pushing to a temporary branch on virtcontainers repo.
Go to the runtime repository and checkout the right branch/PR(in case we have Depends-on: flag)
Modify the Gopkg.toml file to update the constraint revision of virtcontainers as the one corresponding to the virtcontainers branch we've just pushed/created from the CI.
Run dep ensure && dep ensure -update github.com/containers/virtcontainers && dep prune
Build the runtime from this point, and start our testing as it's usually done.

cc @sameo @mcastelino

I am wondering if we created the wrong vendoring strategy to begin with with version locking both repos.
I played around with dep yesterday and noticed an annoying thing
Let us say

A imports B
B vendors C version V
A vendors C version V+1 but A does not actually use C

When revendoring in A, dep will vendor in V not V+1

I would have thought it will lock to the higher rev not the lower rev.
I do not know the behavior if A was actually using C.
So one option would be in our CI would be to merge the PR to a branch in virtcontainer and then to revendor from the virtcontainers branch to runtime as @sboeuf was suggesting. However that needs the vendor file in the runtime to be updated, unless we mark the dependencies in A for dependencies of B be not version locked, but just point to master.
That leaves our dependencies like netlink which are used in both A and B. In this case also I think we should set A to point to master and rely on the vendoring lock from B.
cc @sameo @mcastelino @jodh-intel @grahamwhaley

@mcastelino I think a dependency should not be constrained from the runtime is it is not actually using it. And about a dependency used by runtime and virtcontainers, we should make sure we are not relying on different constraint version, this is our responsibility as maintainers/developers. And in case you are modifying this dependency version from virtcontainers, you have to push a corresponding PR on the runtime so that you can specify Depends-on: from virtcontainers. This way we can make sure both repo rely on the same constraints for the test of a specific virtcontainers PR.


Support IntelliJ Idea 2022.1

Not supported currently and because of that, users can't install the plugin from the:
IntelliJ Idea 2022.1 → Preferences → Plugins

.

Can you create a PR for this change I'm happy to merge it? I think you have to change pluginUntilBuild from gradle.properties file, that is my guess.

Can you create a PR for this change I'm happy to merge it? I think you have to change pluginUntilBuild from gradle.properties file, that is my guess.

@KaustubhPatange I tried but there are a couple of errors that apparently are because the code is using APIs that are no longer supported.
I'm not 💯 sure though, will investigate a bit more!


Laravel 10

Tested this upgrade out.

$dates is deprecated and now gone. Had no idea.

I'll redo this when 10 comes out.


'Created a Keras Based Iterator, correct a previous bug from master'

I have observed that keras_generator was randomly sampling in range(0, len (self.augmentor_images) -1) which doesn't actually a full iteration over the data. I modified the code to add Keras Iterator support.
I also added a with_indexes with can be useful, if you want to track the images coming out of the generator.

Hi @tchaton, thanks a lot, I will take a close look at that as soon as I get the chance, most likely on Monday.
Thanks again!

I am not sure if relying on ImgAug makes that much sense... well, do you mean that Augmentor should provide an API so that it could interact with ImgAug easily, or do you mean that it would use ImgAug as a dependency?

Hello, I have seen some errors in my code due to the notebook I was dev in.
I will change that. I am meaning that it would be nice to wrap the
https://github.com/aleju/imgaug transformations into Augmentor. This
library is awesome for providing imediate pipeline, we should focus on
improving that and not re-code already existing augmentation.
2018-04-13 16:53 GMT+00:00 Marcus D. Bloice<EMAIL_ADDRESS>
I am not sure if relying on ImgAug makes that much sense... well, do you
mean that Augmentor should provide an API so that it could interact with
ImgAug easily, or do you mean that it would use ImgAug as a dependency?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mdbloice/Augmentor/pull/105#issuecomment-381196520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMRCHRUtfmgvu6--1KacnYtD51GpLvUgks5toNgdgaJpZM4TTg1E
.

I have corrected it. It should work fine.


use edlib distance to guide our wflign wavefront

Before aligning each segment pair, we were checking if the distance was acceptable using mash distance. This added some overhead to compute. It is also problematically approximate, and added a new free parameter (the kmer length used) to the algorithm.
Instead, we can use edlib to get the edit distance. If this is acceptable, we attempt a bounded WFA alignment of the segment pair. Due to being simpler, this is significantly faster. It also appears to improve the sensitivity of the alignment.
The inception of edlib in wflign lets us work with larger wflambda segments. On my test system, I find that setting -W to 500 provides excellent runtime, so this has been set as the default for wfmash.

This appears to only work well on high-identity alignments. Hmm.


{ValidatorExpression}

For use in the .WithMessage() of RegexMatchValidator EmailValidator etc.

Implemented in latest commit. I called it {RegularExpression} rather than {ValidatorExpression}.

Wow.
We say in Hebrew "Kivanti Ledaat Gedolim" - I had aimed at the thoughts of
great people.
2015-05-22 17:06 GMT+03:00 Jeremy Skinner<EMAIL_ADDRESS>
Implemented in latest commit. I called it {RegularExpression} rather than
{ValidatorExpression}.
—
Reply to this email directly or view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/69#issuecomment-104668656
.


drive.google.com refused to connect.

Bug description
When I start a new PlantUML Gizmo in google docs, it shows the error message 'drive.google.com refused to connect.'
To Reproduce
Steps to reproduce the behavior:

Create new Doc
Click on Addons --> PlantUml Gizmo --> Start
See error

Screenshots

Which add-on

PlantUML Gizmo for Google Docs

How you installed the add-on

G Suite Marketplace

Desktop (please complete the following information):

OS: Windows 10.0.18363
Browser: Chrome 85.0.4183.121
Version 15 (2019-11-22)

Thanks for the detailed bug report. I am not able to reproduce this on two different accounts.
Can you try disabling your extensions in Chrome (or connect in an incognito tab?) to see if maybe it's a problem with cookies and/or extensions?
Has it worked before for you?

@nde-agridea if you can provide more info so I can help, I will be happy to re-open


Add carto.basemaps constants for easier use of CARTO styles

Related to https://github.com/CartoDB/carto-vl/issues/905
New available constants (public API):

carto.basemaps.voyager
carto.basemaps.darkmatter
carto.basemaps.positron

So now you can create a map like this:
const map = new mapboxgl.Map({
      container: 'map',
      style: carto.basemaps.voyager,
      center: [0, 0],
      zoom: 1,
      scrollZoom: false,
      dragRotate: false,
      touchZoomRotate: false,
    });

I have updated the examples, so no urls are spread all over the project

@elena I have also fixed some relative paths on examples/advanced/landin-page/*.html files

@davidmanzanares There are 3 failing render tests. I tried to generate those in my Mac, but then those failed at CI.

Thx 👍


ccloud.get_kafka_topic_output seems to always raise error 'Invalid address to set: []string{"http_endpoint"}'

What happened?
Trying to fetch a topic using the following python:
ccloud.get_kafka_topic_output(
    credentials=GetKafkaTopicCredentialsArgs(
        key="<My key>",
        secret="<My secret>",
    ),
    kafka_cluster=GetKafkaTopicKafkaClusterArgs(
        id="<My cluster ID>",
    ),
    rest_endpoint="<My REST endpoint>",
    topic_name="<My topic>",
)

I get the following exception:
error: Program failed with an unhandled exception:
    Traceback (most recent call last):
      File "/usr/local/bin/pulumi-language-python-exec", line 197, in <module>
        loop.run_until_complete(coro)
      File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
        return future.result()
      File "/tests/topic_bug/.venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 137, in run_in_stack
        await run_pulumi_func(lambda: Stack(func))
      File "/topic_bug/.venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
        await wait_for_rpcs()
      File "/topic_bug/.venv/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 121, in wait_for_rpcs
        raise exception
      File "/topic_bug/.venv/lib/python3.9/site-packages/pulumi/output.py", line 199, in run
        transformed: Input[U] = func(value)
      File "/topic_bug/.venv/lib/python3.9/site-packages/pulumi_confluentcloud/_utilities.py", line 243, in <lambda>
        }).apply(lambda resolved_args: func(*resolved_args['args'],
      File "/topic_bug/.venv/lib/python3.9/site-packages/pulumi_confluentcloud/get_kafka_topic.py", line 126, in get_kafka_topic
        __ret__ = pulumi.runtime.invoke('confluentcloud:index/getKafkaTopic:getKafkaTopic', __args__, opts=opts, typ=GetKafkaTopicResult).value
      File "/topic_bug/.venv/lib/python3.9/site-packages/pulumi/runtime/invoke.py", line 147, in invoke
        raise invoke_error
    Exception: invoke of confluentcloud:index/getKafkaTopic:getKafkaTopic failed: invocation of confluentcloud:index/getKafkaTopic:getKafkaTopic returned an error: invoking confluentcloud:index/getKafkaTopic:getKafkaTopic: 1 error occurred:
        * error reading Kafka Topic "<My topic name>": Invalid address to set: []string{"http_endpoint"}

Expected Behavior
Successfully return information about the topic without throwing an exception
Steps to reproduce

Create a python file called __main__.py with the following contents:

import pulumi_confluentcloud as ccloud
from pulumi_confluentcloud import GetKafkaTopicCredentialsArgs, \
    GetKafkaTopicKafkaClusterArgs

res = ccloud.get_kafka_topic_output(
    credentials=GetKafkaTopicCredentialsArgs(
        key="<My key>",
        secret="<My secret>",
    ),
    kafka_cluster=GetKafkaTopicKafkaClusterArgs(
        id="<My cluster ID>",
    ),
    rest_endpoint="<My REST endpoint>",
    topic_name="<My topic>",
)

Fill in the above fields (as strings) with your cluster and topic details

Create another file called Pulumi.yaml with this contents:

name: test
runtime:
  name: python
  options:
    virtualenv: .venv
description: A test

Run these commands:

# Install dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install pulumi
pip install pulumi-confluentcloud

# Run pulumi script
pulumi up

Output of pulumi about
CLI
Version      3.74.0
Go Version   go1.20.5
Go Compiler  gc
Plugins
NAME            VERSION
confluentcloud  1.24.0
python          unknown
Host
OS       darwin
Version  13.4.1
Arch     x86_64
This project is written in python: executable='/topic_bug/.venv/bin/python3' version='3.9.0
'
Backend
Name           pulumi.com
URL            https://app.pulumi.com/nicholas-ebert
User           nicholas-ebert
Organizations  nicholas-ebert, daimler-mic
Dependencies:
NAME                   VERSION
pip                    23.2.1
pulumi-confluentcloud  1.24.0
setuptools             68.0.0
wheel                  0.41.1
Pulumi locates its logs in /var/folders/zc/xwj0l22j6q13ddpft5dmbsm9xlqk42/T/ by default
Additional context
This seems to happen regardless of if I use strings or Outputs for the fields. Also this doesn't happen if I use await get_kafka_topic(), but this isn't a great pattern for my use case.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hello @ebertn,
We appreciate you bringing this issue to our attention, and we apologize for any inconvenience you're experiencing. After a thorough investigation, we have identified the root cause of the problem you're facing.
The issue appears to be related to a patch applied to the upstream provider. This patch is designed to handle the deprecated http_endpoint field, which has now been renamed to rest_endpoint. However, there seems to be an issue with how this patch interacts with the schema for the datasource. Specifically, the datasource schema doesn't include the rest_endpoint field, only the resource schema does.
To address this, we will work on updating our patch to account for this discrepancy and ensure that the necessary fields are correctly handled. This should help resolve the issue you've encountered.
We appreciate your understanding and patience as we work on resolving this matter. If you have any further questions or concerns, please don't hesitate to reach out. Your feedback is valuable to us as we strive to improve our services.

Hey @rquitales, thanks for the quick response! No problem, we're patiently awaiting this feature :D


Create home page

you  don't have to create all the component, you have to only create home page in next js pages directory

Done 🎉


There should be a default tax selected

Describe the bug
When create a auto billing then there should be a some default tax should be selected
Screenshots
If applicable, add screenshots to help explain your problem.

https://www.berrycast.com/conversations/e5207bc6-0dc0-515d-bd46-5575fc610c2f


Code working with blueprint mesh should verify bit widths of data

We have codes with blueprint meshes in their API.  Examples are DistributedClosestPoint and MarchingCubes in quest.  Blueprint doesn't require numerical data to have certain widths.  So reals can be floats or doubles and integers can be int32_t or int64_t.  Axom should be flexible enough to deal with various bit widths or check if there's data that it doesn't support and error out nicely.
Possible approaches:

For index type, require 64-bit when axom::IndexType is configured to be 64-bits.
Don't support floats, unless there's a specific reason.  Check at run time for those specific cases.
Have a policy of determining bit width for data in the interfaces at run time and support both.  This requires more code, testing and effort.

Hi Brian,
I’ve had to deal with this when writing algorithms for Conduit and vis. I typically end up templating my algorithms and supporting common cases with the native types. For less-common types, I use Conduit accessors like index_t_accessor or double_accessor, which are like a view that presents the data in a certain type. This way, the algorithm can have a fast path for the common native types (float and double) and then a do-all case using accessors. When I am a Conduit user, I expect things to just work regardless of which types I want to use.
Brad
From: Brian Gunney @.>
Sent: Thursday, December 7, 2023 8:19 PM
To: LLNL/axom @.>
Cc: Subscribed @.***>
Subject: [LLNL/axom] Code working with blueprint mesh should verify bit widths of data (Issue #1236)
We have codes with blueprint meshes in their API. Examples are DistributedClosestPoint and MarchingCubes in quest. Blueprint doesn't require numerical data to have certain widths. So reals can be floats or doubles and integers can be int32_t or int64_t. Axom should be flexible enough to deal with various bit widths or check if there's data that it doesn't support and error out nicely.
Possible approaches:

For index type, require 64-bit when axom::IndexType is configured to be 64-bits.
Don't support floats, unless there's a specific reason. Check at run time for those specific cases.
Have a policy of determining bit width for data in the interfaces at run time and support both. This requires more code, testing and effort.

—
Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https:/github.com/LLNL/axom/issues/1236__;!!G2kpM7uM-TzIFchu!x-uOb7x8Lm2u63loNuoo1FRsOOceZgeqb3TG2Vb0W-uIv6prpkEJ0vbWzaAioIDmXy5oGNECe6A8OlJSLQfhoLdUcQI$, or unsubscribehttps://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/AAP2DBCYS5DTOAYVVPEFBRTYIKIK7AVCNFSM6AAAAABAMCXVTKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTCOJQGEYTIOI__;!!G2kpM7uM-TzIFchu!x-uOb7x8Lm2u63loNuoo1FRsOOceZgeqb3TG2Vb0W-uIv6prpkEJ0vbWzaAioIDmXy5oGNECe6A8OlJSLQfh0xoIAxU$.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>


Added a QR generator app

I've created the random QR generator App and added the project tot the website.
issue no. : #1485
https://github.com/user-attachments/assets/1484f78b-05ea-4fc6-9cdc-2009059cb706

@iamrahulmahato can you please add a level 2 tag for this task, as it  has involved creating a new project.
regards,
Shriya


[FR]: Run buildifier lint as a formatter

What is the current behavior?
buildifier runs as a formatter currently, but bulidfier lint doesn't run. Because rules_lint uses aspects to run lint mode, it wouldn't make sense to try to run buildifier as a linter.
Describe the feature
Suggestion: add an optional buildifer_lint to the multi formatter. Even though it is technically a linter vs a formatter, this seems reasonable sense it is opt in. Happy to submit a PR for this.

The developer experience of running our multi_formatter_binary doesn't provide any affordance for it to print things. We always throw away the stdout/stderr and there's no way to present findings to the user. I don't think jamming a linter into the formatter binary will work well.
There's a gazelle extension in skylib to produce bzl_library rules for all .bzl files, and we could lint those targets. I wonder if that's good enough - it misses linting BUILD.bazel files though.

That would be problematic. I've never had buildifier lint mode come across something that it can't auto fix though - not sure if that is possible? We run it on pre-commit and I've never fixed anything by hand.

That's not been my experience. Every time I enable buildifier lint for a repo, there is a bunch of manual fixing required, like missing docstring args, missing module doc, etc.
https://github.com/p0deje/rules_ruby/commit/b13ded4fbeae1301444a7c9c5da7f8b3dfecea70
https://github.com/bazelbuild/rules_pkg/pull/776/files

Ah, it appears our pre-commit scripts runs in lint fix mode so it is only catching what can be fixed automatically

Yeah that makes sense, I always found these modes confusing

My sense is that we just can't lint BUILD files because there are no *_library targets that gather their srcs.

Agree


BUG: 'simps' not found from 'scipy.integrate'

Describe your issue.
I'm trying to install caiman manager into my environment and something seems to be wrong with scipy and doesn't allow me to do it. 'simps' seems to be missing or relocated.
Reproducing Code Example
caimanmanager install

Error message
Traceback (most recent call last):
  File "/opt/miniconda3/envs/mescore/bin/caimanmanager", line 7, in <module>
    from caiman.caimanmanager import main
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/caiman/__init__.py", line 4, in <module>
    from caiman.base.movies import movie, load, load_movie_chain, _load_behavior, play_movie
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/caiman/base/movies.py", line 36, in <module>
    import caiman.summary_images
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/caiman/summary_images.py", line 18, in <module>
    from caiman.source_extraction.cnmf.pre_processing import get_noise_fft
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/caiman/source_extraction/cnmf/__init__.py", line 4, in <module>
    from . import cnmf
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/caiman/source_extraction/cnmf/cnmf.py", line 30, in <module>
    from caiman.components_evaluation import estimate_components_quality
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/caiman/components_evaluation.py", line 8, in <module>
    import peakutils
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/peakutils/__init__.py", line 2, in <module>
    from .peak import *
  File "/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/peakutils/peak.py", line 7, in <module>
    from scipy.integrate import simps
ImportError: cannot import name 'simps' from 'scipy.integrate' (/opt/miniconda3/envs/mescore/lib/python3.11/site-packages/scipy/integrate/__init__.py)

SciPy/NumPy/Python version and system information
1.12.0 1.26.4 sys.version_info(major=3, minor=12, micro=2, releaselevel='final', serial=0)
/opt/miniconda3/lib/python3.12/site-packages/scipy/__config__.py:154: UserWarning: Install `pyyaml` for better output
  warnings.warn("Install `pyyaml` for better output", stacklevel=1)
{
  "Compilers": {
    "c": {
      "name": "clang",
      "linker": "ld64",
      "version": "12.0.0",
      "commands": "arm64-apple-darwin20.0.0-clang",
      "args": "-ftree-vectorize, -fPIC, -fPIE, -fstack-protector-strong, -O2, -pipe, -isystem, /opt/miniconda3/include, -fdebug-prefix-map=/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/work=/usr/local/src/conda/scipy-1.12.0, -fdebug-prefix-map=/opt/miniconda3=/usr/local/src/conda-prefix, -D_FORTIFY_SOURCE=2, -isystem, /opt/miniconda3/include, -mmacosx-version-min=11.1",
      "linker args": "-Wl,-pie, -Wl,-headerpad_max_install_names, -Wl,-dead_strip_dylibs, -Wl,-rpath,/opt/miniconda3/lib, -L/opt/miniconda3/lib, -ftree-vectorize, -fPIC, -fPIE, -fstack-protector-strong, -O2, -pipe, -isystem, /opt/miniconda3/include, -fdebug-prefix-map=/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/work=/usr/local/src/conda/scipy-1.12.0, -fdebug-prefix-map=/opt/miniconda3=/usr/local/src/conda-prefix, -D_FORTIFY_SOURCE=2, -isystem, /opt/miniconda3/include, -mmacosx-version-min=11.1"
    },
    "cython": {
      "name": "cython",
      "linker": "cython",
      "version": "3.0.8",
      "commands": "cython"
    },
    "c++": {
      "name": "clang",
      "linker": "ld64",
      "version": "12.0.0",
      "commands": "arm64-apple-darwin20.0.0-clang++",
      "args": "-ftree-vectorize, -fPIC, -fPIE, -fstack-protector-strong, -O2, -pipe, -stdlib=libc++, -fvisibility-inlines-hidden, -fmessage-length=0, -isystem, /opt/miniconda3/include, -fdebug-prefix-map=/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/work=/usr/local/src/conda/scipy-1.12.0, -fdebug-prefix-map=/opt/miniconda3=/usr/local/src/conda-prefix, -D_FORTIFY_SOURCE=2, -isystem, /opt/miniconda3/include, -mmacosx-version-min=11.1",
      "linker args": "-Wl,-pie, -Wl,-headerpad_max_install_names, -Wl,-dead_strip_dylibs, -Wl,-rpath,/opt/miniconda3/lib, -L/opt/miniconda3/lib, -ftree-vectorize, -fPIC, -fPIE, -fstack-protector-strong, -O2, -pipe, -stdlib=libc++, -fvisibility-inlines-hidden, -fmessage-length=0, -isystem, /opt/miniconda3/include, -fdebug-prefix-map=/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/work=/usr/local/src/conda/scipy-1.12.0, -fdebug-prefix-map=/opt/miniconda3=/usr/local/src/conda-prefix, -D_FORTIFY_SOURCE=2, -isystem, /opt/miniconda3/include, -mmacosx-version-min=11.1"
    },
    "fortran": {
      "name": "gcc",
      "linker": "ld64",
      "version": "11.2.0",
      "commands": "/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/_build_env/bin/arm64-apple-darwin20.0.0-gfortran",
      "args": "-march=armv8-a, -ftree-vectorize, -fPIC, -fno-stack-protector, -O2, -pipe, -isystem, /opt/miniconda3/include, -fdebug-prefix-map=/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/work=/usr/local/src/conda/scipy-1.12.0, -fdebug-prefix-map=/opt/miniconda3=/usr/local/src/conda-prefix",
      "linker args": "-Wl,-pie, -Wl,-headerpad_max_install_names, -Wl,-dead_strip_dylibs, -Wl,-rpath,/opt/miniconda3/lib, -L/opt/miniconda3/lib, -march=armv8-a, -ftree-vectorize, -fPIC, -fno-stack-protector, -O2, -pipe, -isystem, /opt/miniconda3/include, -fdebug-prefix-map=/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_41w43uybvr/croot/scipy_1710947318888/work=/usr/local/src/conda/scipy-1.12.0, -fdebug-prefix-map=/opt/miniconda3=/usr/local/src/conda-prefix"
    },
    "pythran": {
      "version": "0.15.0",
      "include directory": "../../../../../../../../../../../opt/miniconda3/lib/python3.12/site-packages/pythran"
    }
  },
  "Machine Information": {
    "host": {
      "cpu": "aarch64",
      "family": "aarch64",
      "endian": "little",
      "system": "darwin"
    },
    "build": {
      "cpu": "aarch64",
      "family": "aarch64",
      "endian": "little",
      "system": "darwin"
    },
    "cross-compiled": false
  },
  "Build Dependencies": {
    "blas": {
      "name": "openblas",
      "found": true,
      "version": "0.3.21",
      "detection method": "pkgconfig",
      "include directory": "/opt/miniconda3/include",
      "lib directory": "/opt/miniconda3/lib",
      "openblas configuration": "USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=0 VORTEX MAX_THREADS=128",
      "pc file directory": "/opt/miniconda3/lib/pkgconfig"
    },
    "lapack": {
      "name": "openblas",
      "found": true,
      "version": "0.3.21",
      "detection method": "pkgconfig",
      "include directory": "/opt/miniconda3/include",
      "lib directory": "/opt/miniconda3/lib",
      "openblas configuration": "USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK=0 NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP=0 VORTEX MAX_THREADS=128",
      "pc file directory": "/opt/miniconda3/lib/pkgconfig"
    },
    "pybind11": {
      "name": "pybind11",
      "version": "2.10.4",
      "detection method": "pkgconfig",
      "include directory": "/opt/miniconda3/include"
    }
  },
  "Python Information": {
    "path": "/opt/miniconda3/bin/python",
    "version": "3.12"
  }
}

Thanks @gusmihaian, integrate.simps was deprecated in favour of integrate.simpson as per the release notes https://docs.scipy.org/doc/scipy/release/1.14.0-notes.html#expired-deprecations . Please raise this with the upstream package as this will need to be fixed at their end. In the meantime you can install a version of SciPy older than 1.14

Thanks a lot!


Fixing CI tests.

Signed-off-by: Cervenka Dusan<EMAIL_ADDRESS>Pull request
Choose Correct

[X] bug
[ ] feature

Describe the pull request

Currently the shell scripts may failed but CI will not show errors.
To Reproduce

Add error to any shell step and run CI.
Expected behavior

CI will show failures
Screenshots

Desktop (please complete the following information):

OS:
eRPC Version:

Steps you didn't forgot to do

[X] I checked if other PR isn't solving this issue.
[X] I read Contribution details and did appropriate actions.
[X] PR code is tested.
[X] PR code is formatted.

Additional context

Hi @MichalPrincNXP,
we had serious issues with testing erpc using CI. Some of them appeared with using scripts. Now it should work as intended but i don't like much solution in conftest.py file. I will try to update it asap.
But until then i would merge this PR if you agree and provide other solution if i will find. What do you think?

Hi @MichalPrincNXP, we had serious issues with testing erpc using CI. Some of them appeared with using scripts. Now it should work as intended but i don't like much solution in conftest.py file. I will try to update it asap. But until then i would merge this PR if you agree and provide other solution if i will find. What do you think?

I agree, thanks.


Make configurable example WASM compatible

This pull request makes changes

Cargo toml to make the example wasm-pack buildable. (wasm-pack build --target web)
adds start web function as entrypoint in wasm
Adds index.html to run example in browser (python3 -m http.server)

TODO:
I get this error in browser:
"caught TypeError: Failed to resolve module specifier "env". Relative references must start with either "/", "./", or "../"."
I don't know where it comes from.
It's maybe related to this issue: https://github.com/rustwasm/wasm-bindgen/issues/2215

Thanks for the report. I ll dig in soon when I start demo project inside this repo.

Closing as outdated. If you have any updates on it feel free to comment, I will reopen it.


Fix typo in with-send

Doesn't look like that line in the example was being used.

Codecov Report

Merging #288 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #288   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          22     22
  Lines         794    794
=====================================
  Hits          794    794

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 0131cf3...ba67733. Read the comment docs.


etcdserver: enable "CheckQuorum" when starting with "ForceNewCluster"

We enable "raft.Config.CheckQuorum" by default in other
Raft initial starts. So should start with "ForceNewCluster".
If new members are added to standalone node with CheckQuorum == false and the standalone node is the leader, this may reduce cluster availabilities, since the leader won't check quorum activities.
For current etcd, it won't help a lot, but once we enable Pre-Vote, this will be useful. For instance, pb.MsgAppResp from isolated candidate may be dropped or not even be triggered with Pre-Vote, and then pb.Msg[Pre]Vote arrives with higher term. And if the check quorum is false, the vote request would force current leader to step down even if the leader lease is still valid. If check quorum is true, the vote request will be ignored when its leader lease is still valid, thus less disruptive.
Reproducible (will write a better test case after pre-vote feature):
func TestForceNewClusterCheckQuorum(t *testing.T) {
	defer testutil.AfterTest(t)

	clus := NewClusterV3(t, &ClusterConfig{Size: 3})
	defer clus.Terminate(t)

	clus.WaitLeader(t)

	_, err := clus.Client(0).Put(context.TODO(), "foo", "bar")
	if err != nil {
		t.Fatal(err)
	}

	clus.Members[0].Stop(t)
	clus.Members[1].Terminate(t)
	clus.Members[2].Terminate(t)
	clus.Members = clus.Members[:1]
	clus.Members[0].ForceNewCluster = true
	clus.Members[0].ElectionTicks *= 2 // greater leader lease

	if err = clus.Members[0].Restart(t); err != nil {
		t.Fatalf("unexpected ForceRestart error: %v", err)
	}

	resp, err := clus.Client(0).MemberList(context.Background())
	if err != nil {
		t.Fatal(err)
	}
	if len(resp.Members) != 1 {
		t.Fatalf("expected len(resp.Members) == 1, got %d", len(resp.Members))
	}

	clus.AddMember(t)
	clus.WaitLeader(t)

	clus.AddMember(t)
	lead := clus.WaitLeader(t)
	if lead != 0 {
		t.Skip()
	}

	// m[0] is leader, started with raft.Config.CheckQuorum == false
	// m[1] started with raft.Config.CheckQuorum == true
	// m[2] started with raft.Config.CheckQuorum == true

	// drop incoming messages to m[2]
	// m[2] will vote request to m[0]
	clus.Members[0].s.PauseSending()

	// prevent m[1] from voting for m[0]
	// and prevent m[2] from becoming leader
	clus.Members[1].s.PauseSending()

	// make m[2] candidate
	time.Sleep(clus.Members[2].ElectionTimeout() + 100*time.Millisecond)

	clus.Members[0].s.ResumeSending()

	// force leader m[0] to step down by sending
	//   1. MsgAppResp with higher term
	//   2. MsgVote with higher term
	time.Sleep(clus.Members[2].ElectionTimeout())

	// m[0] CheckQuorum == true, m[0] leader lease is still valid,
	// and MsgVote arrives firt, then m[0] would ignore MsgVote from m[2]
	// and m[0] may win the next election over m[2]
	//
	// m[0] CheckQuorum == false, whether m[0] leader lease is still
	// valid or not, MsgVote from m[2] would force m[0] to step down
	// right away
}

@xiang90 Think we forgot to set this from https://github.com/coreos/etcd/pull/4779?


Missing opcodes SIP-39

Add missing api codes included in SIP-39.

Solved by commit https://github.com/deleterium/smartc-signum-decompiler/commit/c3e0bb93c6dfa5ea37cfdf150d0e21dbc04e3f93


Support TsigProvider for zone transfers

This adds TsigProvider support to Transfer.
I've not added any tests as the existing XFR TSIG code doesn't have any tests and I can't say I understand this code well enough to write any tests myself.
Fixes #1300
/cc @dmavrommatis

@dmavrommatis can you check if this fixes your problem?

I remember when I was looking at this that there were some issues with this approach.
Without the provider when you create a secret you also pass the t.Hdr.Name field to get the algorithm while with the tsigProvider you don't. I can't recall exactly what was the issue though.

It's slightly cumbersome, but you can get access to t.Hdr.Name from within TsigProvider. The first argument msg is the exact byte-slice we parsed initially. You could safely do something like this:
m := new(dns.Msg)
m.Unpack(msg)
name := m.IsTsig().Hdr.Name

Considering the only way you can get there is to have Unpack succeed and IsTsig() return non-nil, you don't even need to check the error or return values.

Should be good then. Are you going to do the same for the DNS server to support the TsigProvider? https://github.com/miekg/dns/blob/master/server.go#L715

@dmavrommatis That would make sense. I'll do that in another PR.

What is the status of this being merged? I didn't realize that it already existed and I ended up making my own PR to solve this problem. https://github.com/miekg/dns/pull/1323.

I'm withdrawing this in favour of a much nicer implementation.


Need article or example to add new control such as icon picker for gutenberg?

Hello,
I want article or examples about how to add new custom control for the Gutenberg. I didn't get any relevant link regarding this.
Can you please help me?
I want to create a control like this to select icon - https://goo.gl/SYwBA5
How can I achieve this?
Any suggestion and guidance will be highly appreciable.
Thanks.

Closed for not being an issue. Feel free to ask people to join in the discussions here.


Integration with Cube Dev

Describe the solution you'd like
Integration with Cube Dev, to enable lineage tracking between the DBT Models and Cubes, and the Cubes and Views, and then between the View or Cube Entity (possibly as a DashboardDataModel) with the Tools (other DashboardDataModel entities, because Cube has a semantic layer sync) or other entities like MLModels.

Thank you @ndrluis for opening this issue. Would you be interested in contributing this connector?

@TeddyCr Yes! Is there any documentation about how to implement a connector?

@ndrluis yes we have more info here. We also have #contributor channel in the Slack community.