Unable to use Cucumber preprocessor with Code coverage (and React unit test with TypeScript)

Current behavior

Hi !
Before integrating Code coverage on our project, we didn't have any problem with our Cypress tests.
But since we integrated coverage report, all going wrong.. and especially with Cucumber test suites.
All my feature files are stored in the folder cypress/integration.
Here the plugin/index.js file:

const cucumber = require('cypress-cucumber-preprocessor').default;
const webpackPreprocessor = require('@cypress/webpack-preprocessor');

// @ts-ignore
// eslint-disable-next-line import/no-extraneous-dependencies
// eslint-disable-next-line import/no-extraneous-dependencies
const resolve = require('resolve');

/**
 * @param {Cypress.PluginEvents} on
 * @param {Cypress.PluginConfigOptions} config
 * @return {Cypress.PluginConfigOptions}
 */
module.exports = (on, config) => {
  // @ts-ignore
  // eslint-disable-next-line global-require
  require('cypress-react-unit-test/plugins/load-webpack')(on, config);

  return config;
};

/*
 * @param {Cypress.PluginEvents} on
 * @param {Cypress.PluginConfigOptions} config
 * @return {Cypress.PluginConfigOptions}
 */
module.exports = (on, config) => {
  // @ts-ignore
  on('file:preprocessor', (file) => {
    if (file.filePath.includes('.feature')) {
      browserify.defaultOptions.browserifyOptions.plugin.unshift([
        'tsify',
        { project: path.resolve(ROOT, 'tsconfig.json') },
      ]);

      const cucumberOptions = {
        typescript: resolve.sync('typescript', { basedir: config.projectRoot }),
      };
      return cucumber(cucumberOptions);
    }

    // @ts-ignore
    return webpackPreprocessor();
  });

  return config;
};

Here cypress.json config :
{
  "testFiles": "**/*.{feature,features}",
  "experimentalComponentTesting": true,
  "experimentalShadowDomSupport": true,
  "ignoreTestFiles": [
    "*.js",
    "**/snapshots.js",
    "**/__image_snapshots__/*"
  ],
  "reporter": "mocha-junit-reporter",
  "reporterOptions": {
    "mochaFile": "./target/surefire-reports/test-results.[hash].xml",
    "testsuitesTitle": "Cypress tests",
    "useFullSuiteTitle": true,
    "testCaseSwitchClassnameAndName": true
  },
  "cypress-cucumber-preprocessor": {
    "nonGlobalStepDefinitions": true,
    "stepDefinitions": "cypress/integration"
  },
  "env": {
    "webpackFilename": "webpack/webpack.unit.js"
  }
}

With this configuration, I have this error : TypeError: path argument is required to res.sendFile
I use cypress-react-unit-test plugin for loading webpack file. I want to extends preprocessoring to feature files.
I test to merge both in one function : same behavior. I encountered randomly an issue about bad description file.
When I put load-webpack preprocessor from cypress-react-unit-test, stepDefinitions are not well serialized (Cypress says step definition are missing for run Cucumber tests...)
Desired behavior

Run cucumber tests successfully with code coverage report.
Example of a feature file:
Feature: Patient Details
  Scenario Outline: reviewing a patient details
    Given "<patient_id>" patient details are being reviewed
    Then the patient name should be equal to "<name>"
    Then clicking on the patient name should open in a new tab
    Then the patient identifier should be equal to "<identifier>"
    Then the patient age at the time of the study should be equal to "<age>"

  Examples:
    | patient_id   | name                   | identifier      | gender   | height      | weight      | bmi       | birth_date     | age    |
    | 1            | ‒ No Patient Details ‒ | ‒               | O        | ‒           | ‒           | ‒         | ‒              | ‒      |
    | 2            | Cooper, James          | 980308871   | M        | 185 cm      | 95 kg       | 29.22     | 12 Feb 1993    | 20y    |
    | 3            | 512838826, ‒       | 980308872   | 女性     | 82 cm       | 15 kg       | 22.34     | 03 11月 2018    | 20ヶ月 |

Test code to reproduce

Too complex to reproduce it (i'll do it when I have time..) sorry..

Linked issues :

https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/issues/426
https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/issues/198
https://github.com/cypress-io/code-coverage/issues/265

Versions

Cypress version: 4.12.1
Preprocessor version: 2.5.4
Node version: v12.14.1 (npm : 6.13.4)

@gbahmutov

@bahmutov

I don't think "cypress-cucumber-preprocessor": {...} is supposed to be in cypress.json. Try package.json or whatever other place the documentation mentions, like cypress-cucumber-preprocessor.config.js.

Issue is resolved by the PR #443.


SUP-196: Pipeline Schedule GraphQL transition

PR checklist:

[ ] docs/ updated
[ ] tests added
[ ] an example added to examples/ (useful to demo new field/resource)
[ ] CHANGELOG.md updated with pending release information

Added deprecation warnings to necessary examples/docs as well as changelog
Resolves #143

Be awesome to see the RandomString stuff to be implemented too to save name clashes.

Be awesome to see the RandomString stuff to be implemented too to save name clashes.

I agree, since the changes here are actually quite small (I didn't realise). You could also look at parallelising the tests using the random string @james2791


[FEATURE] WINTER candidates q3c queries take forever

Is your feature request related to a problem? Please describe.
The most time consuming step (~1 hour) for winter pipeline currently is q3c queries to the database for every single candidate.  It doesn;t help that the databases don't run parallely.
Describe the solution you'd like
No obvious single solution, will require experimenting to see what (if anything) is better. Possible solution is doing a single large database query per image and then crossmatching using astropy.

Just a comment that we initially restricted multiple database connections because we were hitting "too many connections" errors. So bear that in mind.

Partially fixed, or at least outdated after #771 and #763. We no longer do q3c queries on candidates at all. Let's revisit if it becomes an issue for the source table.


Home Assistant addon fixed on version 0.3

Hi,
in the dockerfile for the home assistant addon is still fixed to version 0.3.
Can you please correct this to make the latest release available as home assistant addon as well.
Thanks

And please check the dockerfile for the nightly build addon as well. This is pointing to the fork from dominikandreas and not your GitHub repository

Hey thanks for the reminder, I'll likely have time again to work on this end of the week (a bit swamped with other responsibilities at the moment unfortunately).

Note that the nightly addon is really just meant for nightly testing before upgrading the main one. Since I was the one testing things, I left it pointing to my repo to play around with things independently and also because the corresponding GitHub action workflow didn't exist back then. I guess we can / should change this now


Makes pill canisters Tiny and puts 9 in the box chem gets.

About the PR

Makes pill canisters Tiny and puts 9 in the box chem gets.
Why / Balance

They should be better than cigarette boxes since you have to interact with chemistry. Please god interact with chemistry. Also I checked it doesn't allow for tiny-in-tiny nested storage explosion.
Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

tweak: Pill canisters are slightly better than cig packs, go talk to the chemists.

You don't have to make every pr separate, if you just tweaked the sprite dump it in the pr then just chuck a few of the balance ones in another pr depending.


Skylark does not support conditional list comprehensions

Not sure if this is WAI
This fails in a Skylark macro:
[x for x in outs if x.endswith(".h")]

Error message:
$ bazel build :all
ERROR: /home/kw/workspace/tools/reflect/build_defs.bzl:92:38: missing else clause in conditional expression or semicolon before if.
ERROR: /home/kw/workspace/tools/reflect/BUILD:1: Extension 'tools/reflect/build_defs.bzl' has errors.
ERROR: while parsing ':all': package contains errors.
INFO: Elapsed time: 0.025s

Laurent, is this something we want Skylark to support?

Sure, it's on my todo-list!

Fixed


improvement do not create pthread in tablet_sink

add bvar stat for streamload.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.62 seconds
stream load tsv:          437 seconds loaded<PHONE_NUMBER>9 Bytes, about 163 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          60 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230516144546_clickbench_pr_144793.html

run buildall


Ensure that a bot user is actually logged in

This allows the Flowdock user icon for the bot user to be present in rooms of which it is a member

Closed in: 7ac42911c04ae8d0a0b8b200b1b58a97395bb563


feat: forbid concurrent processing of replaceable events

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 93.725%

Totals

Change from base Build<PHONE_NUMBER>:
0.7%

Covered Lines:
518

Relevant Lines:
558

💛  - Coveralls


improves parsing of openapi responses

@rozzilla can you take a look at tests and see if there are some other edge cases you may spot?
Fixes: #1775

@rozzilla can you take a look at tests and see if there are some other edge cases you may spot?
Fixes: #1775

Hey @leorossi 👋🏼
Something you can add as a test is a response that directly returns a union of objects, like:
"responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                    "allOf": [
                    {
                      "properties": {
                        "bar": {
                          "type": "boolean"
                        }
                      },
                      "required": ["bar"],
                      "type": "object"
                    },
                    {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "foo": {
                              "type": "string"
                            }
                          },
                          "required": ["foo"],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "baz": {
                              "type": "number"
                            }
                          },
                          "required": ["baz"],
                          "type": "object"
                        }
                      ]
                    }
                  ]
                }
              }
            },
            "description": "Default Response"
          }
        }

ah right! I'd say tests cover also more "weird" scenarios 👍🏼

Maybe we can just add on test for an array containing only an anyOf structure, and another test for an object instead of an array, containing again an anyOf 😉

Unfortunately I need to revert this because it broke our E2E tests and more importantly the frontend client.


Remove padding & reorder install version-installation

HI Zita:)
Tackling a couple more issues here:
https://issues.redhat.com/browse/AAH-550
https://issues.redhat.com/browse/AAH-555
The tag.scss file with the margin is now restored. Also added back the className 'tag' from the tag.tsx file. I then went into the namespace-list.scss and removed the padding-Left on --pf-c-toolbar__content.  Hopefully it looks right now!
The next issue was a simple reordering of the Installation - Install Version, GridItems.

pr closed.


fix(rbac): do not create clusterrole for namespace deployment on Traefik v3

A namespace scoped deployment should not create cluster scoped rbac.

@ChandonPierre Thanks. You found an interesting way for rbac namespaced.
Would you please add test and some documentation in values.yaml ?

@ChandonPierre In its current form, this PR will be breaking for v3 users, using spec.ingressClassname with rbac.namespaced enabled. They will be forced to add annotations.
Wdyt about:

Introducing this new provider.kubernetesIngress.disableIngressClassLookup in values for v3 users
When both provider.kubernetesIngress.disableIngressClassLookup and rbac.namespaced are set, then it won't generate ClusterRole


Simplify item-counter implementation

use a from control to control the quantity
use native HTML5 number input type to avoid custom complexity
simplified DOM
allow form submit with the enter key
simplify a11y/tab flow, only the input is tab-able.

oops, wrong target branch


Is it possible to ring a trigger notification at silent mode?

for Android.
I set alarm manager idle true but can't here sound at notification..
I guess at silent mode, alarm sound still rings for ios
but for android, it's not.
I'm using custom sound.
Can't i ? :(
	const channelId = await notifee.createChannel({
			id: 'sound',
			name: 'DreamIn alarm',
			vibration: true,
			visibility: AndroidVisibility.PUBLIC,
			importance: AndroidImportance.HIGH,
			sound: 'ringtone',
		});
		const trigger: TimestampTrigger = {
				type: TriggerType.TIMESTAMP,
				timestamp: d.getTime(),
				alarmManager: {
					allowWhileIdle: true,
				},
			};
	await notifee.createTriggerNotification(
				{
					id: '1234' + idx,
					title: 'DreamIn',
					body: '내꿈 찾아가야지~! 얘들아 일어나 아나나',
					ios: {
						critical: true,
						criticalVolume: 1,
						sound: 'ringtone.mp3',
					},
					android: {
						channelId: channelId,
						sound: 'ringtone',
						visibility: AndroidVisibility.PUBLIC,
						importance: AndroidImportance.HIGH,
						pressAction: {
							id: 'morning alarm',
							launchActivity: 'default',
							launchActivityFlags: [AndroidLaunchActivityFlag.SINGLE_TOP],
						},
						loopSound: true,
					},
				},
				trigger,
			);
			console.log('registered!!', idx, ': ', d);
		});

hi is this possible?

Hi. Did you resolve this?

Unfortunately no..
I just gave up on this :(


[Bug] Grid Row/Columns are not cleared

If a page has a Grid with 2 ColumnDefinitions set to Star, then after reloading, the Grid will have 4 ColumnDefinitions and the layout will shrink to those first two columns.

Cool) nice catch :)
Will check


Remove extra files from Hex bundle

I noticed that you push ~w(integration_test/cases integration_test/sql integration_test/support) to Hex, which I dont see the point of me downloading those files when I use Ecto as a dependency, unless I am missing somebody about it.

It is necessary for external adapters built on top of Ecto to test
themselves.
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D

@josevalim testing no for me when I use it as a dependency.
I totally understand why those files should be on the project but I dont need them when I download the Ecto package as a dependency

The whole set of integration tests is a little over 200KB vs 1.2MB for the whole ecto package. I really don't think this is going to cause problems and makes the life of adapter maintainers much easier.

@michalmuskala oh so some adapters actually use it for testing propose, is that right?
And I actually do not have any issues with it outside of trying to rise awareness of what gets push to hex.pm

Yup, I think all of them do in some way:
https://github.com/ankhers/mongodb_ecto/blob/master/test/ecto_test.exs
https://github.com/findmypast-oss/mssql_ecto/blob/f0fc8d3ef31c8f7c484d5092d21e4536086e273e/test/test_helper.exs
https://github.com/scouten/sqlite_ecto2/blob/master/integration/sqlite/all_test.exs
https://github.com/Nebo15/ecto_mnesia/blob/master/test/integration/integration_test.exs


tidb: fix release branch compose

replayed: https://ci.pingcap.net/blue/organizations/jenkins/tidb_ghpr_mysql_test/detail/tidb_ghpr_mysql_test/22656


Support update tke cluster

Proposed changes

Fix the issue that users cannot update tke cluster
Gray the fields which can not be updated
Change the field from goodsNum to nodeCount due to backend changes

Types of changes

Bugfix (non-breaking change which fixes an issue)

Linked Issues
https://github.com/rancher/rancher/issues/18525

Further comments
Tested. I can create, scale up, scale down and delete TKE cluster successfully.
Backend PR is https://github.com/rancher/kontainer-engine-driver-tencent/pull/6

Backend is in @westlywright


Overview of features required by DOOP basic-only analysis

The following syntax features have been manually found in the basic-only analysis of DOOP. Also, following files which are added automatically by DOOP: facts/facts.dl, basic/basic.dl, basic-only/analysis.dl, and possible more (depending on flags, see https://bitbucket.org/yanniss/doop/src/master/src/main/groovy/org/clyze/doop/core/SouffleAnalysis.groovy).
It probably does not make sense to mirror the Souffle syntax 1:1, so some things can/must be replaced with some additional preprocessing of the rules.

[x]  Disjunctions in the body (We do not need this.)
[x] Conjunctions in the head
[x] Primitive Data types, see https://souffle-lang.github.io/types

Strings
Numbers

[x] Constants in rules (in the place of variables)
[x] Facts
[x] Stratified negation, see https://souffle-lang.github.io/rules#negation-in-rulesisStaticMethodInvocation_Insn(?instruction) :-
_StaticMethodInvocation(?instruction, _, ?signature, _),
!isOpaqueMethod(?signature).

[x] #325

Equality to constants (this could maybe be replaced by allowing constants in the place of variables)

isOpaqueMethod(m) :- isMethod(m), m = "<sun.misc.ProxyGenerator: byte[] generateClassFile()>".

String ordinal number, see https://souffle-lang.github.io/arguments#intrinsic-functors-and-operations

TypeToSCCId(type, scc) :-
PartitionedType(type),
scc = min ord(x) : TypesInSameSCC(type, x).

String concatenation

Method_Descriptor(?method, ?descriptor) :-
Method_ReturnType(?method, ?returnType),
Method_ParamTypes(?method, ?params),
?descriptor = cat(?returnType, cat("(", cat(?params, ")"))).

Aggregates such as min and count, see https://souffle-lang.github.io/aggregates

_MethodLookup_ClosestInterface(?simplename, ?descriptor, ?type, ?method) :-
    _MethodLookup_MoreThanOne(?simplename, ?descriptor, ?type),
    ?minLen = min ?len : { _MethodLookup_WithLen(?simplename, ?descriptor, ?type, _, ?len) },
    _MethodLookup_WithLen(?simplename, ?descriptor, ?type, ?method, ?minLen),
    !_MethodLookup_ClassResolution(?simplename, ?descriptor, ?type, _).

Arithmetic operations, e.g. -, *, see https://souffle-lang.github.io/arguments

PossibleNativeCodeTargetMethod(?method, "<<UNKNOWN>>", ?file) :-
_NativeMethodTypeCandidate(?file, ?function, ?descriptor, _),
_NativeNameCandidate(?file, ?function, ?name, _),
_NativeXRef(?descriptor, ?file, _, ?descriptorRefAddr),
_NativeXRef(?name, ?file, _, ?nameRefAddr),
Method_SimpleName(?method, ?name),
Method_JVMDescriptor(?method, ?descriptor),
(?nameRefAddr - ?descriptorRefAddr) <= 15,
(?descriptorRefAddr - ?nameRefAddr) <= 15 .

Constrains

String matching

MethodsOfSameNonSDKType(?method1, ?method2, ?class) :-
Method_DeclaringType(?method1, ?class),
!match("java.*", ?class),

!match("sun.*", ?class),

Number comparison, e.g. >, <=, =, !=

ExceptionHandler_InRange(?handler, ?instruction) :-
    ExceptionHandler_Method(?handler, ?method),
    Instruction_Method(?instruction, ?method),
    Instruction_Index(?instruction, ?index),
    ExceptionHandler_Begin(?handler, ?beginIndex),
    ?beginIndex <= ?index,
    ExceptionHandler_End(?handler, ?endIndex),
    ?endIndex > ?index.

[ ] Components, see https://souffle-lang.github.io/components (Will be tackled in #324.)

Supporting modules requires some more fundamental (theoretical) considerations. We still need to make up our minds, what kind of module system we want to build.
Therefore #324 is still on the roadmap but the feature is not vital for implementing a basic Doop-like program analysis.


Improve doc for containerd/cri-o setup

Hi,
I have just started to deploy EFK for an internal K3S in my company.
We meet issues like:

[in_tail_container_logs] pattern not matched;
[in_tail_container_logs] *** invalid time format.

These issues are known as #434 and #571 and deserve a better documentation for developers. I spent around 2hours yesterday to read/understand/test.
That's why I propose this PR to update README.md and Elastic/OS examples.

UP


incorrect treatment of rapsearch failures

Sometimes a rapsearch machine happens to be misconfigured in such a way that the rapsearch command crashes every time.   When that happens, no output m8 file is created.  Unfortunately, the pipeline logic that checks output validity declares that to be "success" with "no hits".
At least the upload to s3 then crashes because there is no output m8 file to upload, so thankfully we don't get a pretend-valid result overall, but we do get a job failure because that crash occurs outside the retry loop, so the chunk is never retried on a good machine.
While at it, I will also make sure that hosts which fail a lot are not used as much, especially for retries.
Also, need figure out why we still have misconfigured rapsearch machines in production.  I thought I had made a change to make that impossible!
cc @cdebourcy @yunfangjuan

Btw what is rapsearch supposed to output in the event of no hits?   An empty file perhaps, but a file that exists nevertheless?

Yep there is a subtle bug in the rapsearch init.   If the index fails to get copied on 3 retries, the init script continues happily along assuming it's all good.
for i in {1..3}; do s3mi cp $S3_INDEX_FILE_1 $LOCAL_INDEX_DIR && break || sleep $$delay; let delay=$$delay*2; done

Fix for the infra init bug:  https://github.com/chanzuckerberg/idseq-infra/pull/80/files


fwupd: fix cross compilation

Valgrind is a runtime dependency, so it needs to be in buildInputs.

Things done

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.

@ofborg build fwupd fwupd.tests pkgsCross.aarch64-multiplatform.fwupd

It's annoying that the macos build from ofborg fails because of the nixos test, I think we should probably include that test in passthru for linux only.


Minor change allows matplotlib to display plots, closes #320.

Hi Ran, this PR is to enable matplotlib to display plots when the show argument is set to true, previously the functionality was set so that the script execution was not interrupted by plots however, I feel if the user is setting show=True then we should interrupt execution to display the plots? What do you think? This closes #320.
    if show:
        _plt.show(block=True)

    _plt.close()

Since this library no longer seems to be maintained, we have created a duplicate of it that we plan to maintain and improve over time. If you'd like to use our version check it out here: https://github.com/Lumiwealth/quanstats_lumi
Please feel free to fork and send your pull request to this new library, we will be actively monitoring the library and approving PRs


Add support for setting socket max num tries and reconnect timeout

Fixes #140

This would be helpful to have.  Is there a plan to merge this PR?


ReferenceOwnershipBuilder HasDiscriminator

I am trying to configure an owned type with inheritance, the domain model being similar to this:
public class TimeZone : FullAuditedAggregateRoot<Guid>
  {
    public virtual string Title { get; set; }
    public virtual string TimeZoneInfoId { get; set; }
    public virtual bool RequiresProvider { get; set; }
    public virtual int SortOrder { get; set; }

    public virtual FeedSetting Feed { get; set; }
}

public abstract class FeedSetting : Entity<Guid>
  {
    public static FeedSetting Empty { get; } = new DirectFeed(Feed.EST);

    protected FeedSetting()
    {
    }

    public abstract Feed GetFeed(TimeZone timezone, Provider provider);
  }

  public class ProviderFeedSetting : FeedSetting
  {
    public override Feed GetFeed(TimeZone timezone, Provider provider)
    {
      if (timezone.RequiresProvider && provider != null)
      {
        return provider.Feed;
      }

      return Empty.GetFeed(timezone, provider);
    }
  }

  public class DirectFeedSetting : FeedSetting
  {
    public virtual Feed Feed { get; protected set; } = Feed.EST;

    protected DirectFeedSetting() : base()
    {
    }

    public DirectFeedSetting(Feed feed)
    {
      Feed = feed;
    }

    public override Feed GetFeed(TimeZone timezone, Provider provider)
    {
      return Feed;
    }
  }

Exception message: 'ReferenceOwnershipBuilder' does not contain a definition for 'HasDiscriminator' and the best extension method overload 'RelationalEntityTypeBuilderExtensions.HasDiscriminator<string>(EntityTypeBuilder, string)' requires a receiver of type 'EntityTypeBuilder'
16>Migrations/20190228155115_UpdateDateTimeOffsetToBeNullable.Designer.cs(1265,29): Error CS1929 : 'ReferenceOwnershipBuilder' does not contain a definition for 'HasDiscriminator' and the best extension method overload 'RelationalEntityTypeBuilderExtensions.HasDiscriminator<string>(EntityTypeBuilder, string)' requires a receiver of type 'EntityTypeBuilder'
Stack trace: None

Steps to reproduce
protected override void OnModelCreating(ModelBuilder builder)
    {
      base.OnModelCreating(builder);

      builder.Entity<TimeZone>().OwnsOne(x => x.Feed)
          .OnDelete(DeleteBehavior.Cascade);

      builder.Entity<DirectFeedSetting>();
      builder.Entity<ProviderFeedSetting>();
};
    }

Further technical details
Calling .Owned instead of .Entity for the 2 sub-classes causes the base type to not be picked up, and throws an error when generating migrations.  Mapping FeedSetting to its own table will also throw the same compilation problem
EF Core version: 2.2.0-rtm-35687
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system:  Ubuntu 16.10
IDE: Visual Studio Code 1.31.1/Rider 2018.3
May be similar to https://github.com/aspnet/EntityFrameworkCore/issues/13945 and https://github.com/aspnet/EntityFrameworkCore/issues/9148, however, would like to be able to do this.  We have currently added in a custom extension method to allow it compile, code works as expected when running.

Actually, this might be covered by https://github.com/aspnet/EntityFrameworkCore/issues/9630, didn't spot this before I raised this

Duplicate of #9630


Cascading lookup editors with multiple enabled.

Hello serenity community,
Could anyone suggest the decent solution to do this:
I have two lookup editors with [Multiple=true].
How can I cascade the second lookup editor from first lookup?
Thank you.

If first one is multiple, lookup editor doesn't support this. You may try overriding cascadeItems method and filter for multiple though.


Feature request: visualization of current tree layout

I'm coming from the Rectangle app and have found it hard to adapt my workflow to a tiling window system. I think the main challenge is that it's often difficult for me to map what I see on the screen to what Aerospace's internal tree representation is, which I believe is a prerequisite to being able to manipulate the windows efficiently (please let me know if I'm mistaken!)
If Aerospace had a way to visually communicate the internal tree structure at any given time, then it might be easier for people to get the hang of things. I'm not sure how to do this in realtime without affecting the tree structure (kind of a Schrödinger's cat situation 😅). A half-step might be a command + hot key that takes a screen grab and overlays a representation of the tree structure so you can at least review after the fact.
I know this is a little out there :) Feel free to close, and maybe I will take a crack at this when I find some time.

Maybe #16 will provide a first way to do it

I mark this issue as duplicate of #16 & #236
tree command run in "interactive" mode should cover the use case


FeatureGroup

Thanks a lot for a great plugin!
Do you maybe have an idea when the FeatureGroup component will be done?

Hi @ljcremer,
I do not work on this yet and I don't think I will have time in the next few weeks.
Feel free to create a pull request if you have some implementation for this.
Cheers,
Mickaël

Thanks a lot Michael. If I knew how to do it I would help for sure.
Can you perhaps tell me if flyToBounds should be working as I cannot seem
to get this working?
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Sep 26, 2017 at 7:40 PM, Mickaël<EMAIL_ADDRESS>wrote:

Hi @ljcremer https://github.com/ljcremer,
I do not work on this yet and I don't think I will have time in the next
few weeks.
Feel free to create a pull request if you have some implementation for
this.
Cheers,
Mickaël
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KoRiGaN/Vue2Leaflet/issues/84#issuecomment-332277481,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdsJMcmkFMhLx6WmmUc8CppE4Vq3JyBIks5smTcXgaJpZM4PkmSU
.

--
Leonard Cremer
Co-Founder
E leonard<EMAIL_ADDRESS><EMAIL_ADDRESS>M +27 83 454 2522
Skype: ljcremer
W www.trooptravel.com

Don't worry about this. I managed to fix the problem. map variable was not
defined in the method correctly.
On Tue, Sep 26, 2017 at 8:04 PM, Leonard Cremer<EMAIL_ADDRESS>wrote:

Thanks a lot Michael. If I knew how to do it I would help for sure.
Can you perhaps tell me if flyToBounds should be working as I cannot seem
to get this working?
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#m_7921373780190070580_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Sep 26, 2017 at 7:40 PM, Mickaël<EMAIL_ADDRESS>wrote:

Hi @ljcremer https://github.com/ljcremer,
I do not work on this yet and I don't think I will have time in the next
few weeks.
Feel free to create a pull request if you have some implementation for
this.
Cheers,
Mickaël
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KoRiGaN/Vue2Leaflet/issues/84#issuecomment-332277481,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdsJMcmkFMhLx6WmmUc8CppE4Vq3JyBIks5smTcXgaJpZM4PkmSU
.

--
Leonard Cremer
Co-Founder
E leonard<EMAIL_ADDRESS><EMAIL_ADDRESS>M +27 83 454 2522 <+27%2083%20454%202522>
Skype: ljcremer
W www.trooptravel.com

--
Leonard Cremer
Co-Founder
E leonard<EMAIL_ADDRESS><EMAIL_ADDRESS>M +27 83 454 2522
Skype: ljcremer
W www.trooptravel.com

It seems to me that the only thing to do is to copy the LayerGroup component and change the mapObject to L.featureGroup. Is that the case? If so I can try to provide a pull-request.

Hi @ljcremer,  @omrihar,
LFeatureGroup is now implemented in v1.0.1.
Let me know if it solves your issue.
Micka

Hi @KoRiGaN ,
I haven't checked it but if it's implemented you can close the issue. I already have a component that implements featureGroup in my own project (together with some specific modifications) so I don't need it atm but it's great that it's already there :)
Thanks!
Omri

Ok Great.


All asserts should have a message populated

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


fix deprecation warnings in 3.7

/usr/local/lib/python3.7/site-packages/expects/matchers/built_in/contain.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  collections.Iterator,

/usr/local/lib/python3.7/site-packages/expects/matchers/built_in/contain.py:14: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  collections.MappingView,

/usr/local/lib/python3.7/site-packages/expects/matchers/built_in/contain.py:15: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  collections.Set

https://github.com/jaimegildesagredo/expects/issues/57


Invalidating compiled template function

Hi,
As I see it, it looks like invalidating (and freeing the memory used by) a compiled template function is as straight forward as stopping referencing the function. For instance, if I were to compile a template then store it using:
handlebars.RegisterTemplate(name, template);
I could then just remove the entry "name" from:
configuration.RegisteredTemplates
to invalidate it and free the memory used by it?
I want to validate that it does not create on-the-fly assemblies that are loaded into the app domain like the RazorEngine does.
Thanks!

It does create on-the-fly assemblies, and those are loaded into the AppDomain. I would redirect the question to what specific kind of memory pressure problem are you trying to solve?

If our process is long-lived and templates are regularly updated, are we right to be concerned by the loaded symbols that will no longer be used (because they represent old versions of templates)?
I saw you are getting a delegate from an expression tree, is it a lot slower to use the delegate without adding it to a dynamic assembly (if possible at all)?

All things being equal, I would say it is not justified to be concerned about gradually increasing the process size. That's very normal, and Microsoft hasn't seen fit to spend the time and money to support unloading assemblies - so clearly the vast majority of use cases don't require it.
That's not to say your case isn't a corner case where that is painful - maybe you are doing something very unusual and loading hundreds of thousands or millions of assemblies (though on modern hardware even this shouldn't necessarily be a serious problem). If your specific situation is very unusual where this makes it a big problem, I'd look at other ways to mitigate, since process growth is a fundamental property of how .NET works. Don't fight your chosen platform :)

You are right, we know it's by design, but it still itches to leave something behind that isn't used anymore, but we'll probably just accept it as I don't think our case it so unusual either.
Thanks for your input!


grep::test_muptiple_pattern_files_multiple_input_files_line_number inconsistent, fails sometimes

Test output during failure:
---- grep::test_muptiple_pattern_files_multiple_input_files_line_number stdout ----
thread 'grep::test_muptiple_pattern_files_multiple_input_files_line_number' panicked at plib/src/testing.rs:55:10:
failed to write to stdin: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    grep::test_muptiple_pattern_files_multiple_input_files_line_number

Re-running failed CI job usually resolves issue.

Similar failures:

---- grep::test_duplicate_input_files_count stdout ----
thread 'grep::test_duplicate_input_files_count' panicked at plib/src/testing.rs:55:10:
failed to write to stdin: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- grep::test_multiple_input_files_line_number stdout ----
thread 'grep::test_multiple_input_files_line_number' panicked at plib/src/testing.rs:55:10:
failed to write to stdin: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }

Believed fixed by #233


Exception User-Unhandled

When I run the 1st example code in debug mode, it breaks at
var task1 = Task.Run(() => { throw new CustomException("This exception is expected!"); });
And a window pops up with a title of "Exception User-Unhandled"

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

ID: 25bdb110-7ada-3817-bc40-9c11cab6513c
Version Independent ID: 9476dc46-d4f0-e7f4-c21e-faaafe0433ea
Content: Exception handling (Task Parallel Library)
Content Source: docs/standard/parallel-programming/exception-handling-task-parallel-library.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

I am using .net Framework 4.7.2 for the project

This can be solved by changing the Visual debugging setting, found the solution here:https://devblogs.microsoft.com/pfxteam/faq-the-debugger-does-not-correctly-handle-task-exceptions/

Isn't this related to the note on the article that says: "When "Just My Code" is enabled, Visual Studio in some cases will break on the line that throws the exception and display an error message that says "exception not handled by user code." This error is benign. You can press F5 to continue and see the exception-handling behavior that is demonstrated in these examples. To prevent Visual Studio from breaking on the first error, just uncheck the Enable Just My Code checkbox under Tools, Options, Debugging, General."

Closing due to the lack of response.


Plugin use problems

Hello fellows,
Is the ability to use the onlyoffice_redmine plugin on a Redmine that is accessed via subdomain (eg: redmine.mysite.org) or via subdirectory (eg: mysite.org/redmine) working correctly?
I'm asking this because I get error when I try to create or edit a file in Redmine (subdomain) using OnlyOffice:

The error is:

If Redmine is accessed via subdirectory (eg: mysite.org/redmine), the problem is even worse and the message, after trying to create or edit the file, indicates that the page was not found:

The error is:

If there aren't subdomains and Redmine is the only site provided by Apache (root directory), it works fine.
Redmine Environment:
Ubuntu server 22.04
Apache 2.4.52
Redmine  5.0.0. stable
Ruby  3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
Rails  <IP_ADDRESS>
Mysql 8.0.28-0ubuntu4
Redmine plugins:
onlyoffice_redmine 1.1.0
Only Office Environment:
Ubuntu server 22.04
Nginx 1.18.0 (Ubuntu)
Apache .conf files - Redmine accessed via subdomain:
# Sub domain www.mysite.org
<VirtualHost *:80>
        ServerName www.mysite.org
        DocumentRoot /var/www/html/
        <Directory /var/www/html/>
                AllowOverride All
                Order Allow,Deny
                Allow from All
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/www-error.log
        CustomLog ${APACHE_LOG_DIR}/www-access.log combined
</VirtualHost>

# Sub domain redmine.mysite.org
<VirtualHost *:80>
        ServerName redmine.mysite.org
        RailsEnv production
        DocumentRoot /opt/redmine/public
        <Directory "/opt/redmine/public">
                Allow from All
                Require all granted
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/redmine-error.log
        CustomLog ${APACHE_LOG_DIR}/redmine-access.log combined
</VirtualHost>

Apache .conf files - Redmine accessed via subdirectory:
# domain www.mysite.org
<VirtualHost *:80>
        ServerName www.mysite.org
        RailsEnv production
        DocumentRoot /var/www/html

        <Directory /var/www/html/>
            AllowOverride All
            Order Allow,Deny
            Allow from All
        </Directory>

        <Directory /var/www/html/redmine>
            RailsBaseURI /redmine
            PassengerAppRoot /opt/redmine
            AllowOverride All
            Order Allow,Deny
            Allow from All
        </Directory>

        <Directory /opt/redmine/public>
                Allow from all
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

I found a way to use the plugin when redmine is installed in a subdirectory. It is a bit hacky, but It seems it is working.
What I did is to use mod_rewrite in Apache, and to add the folowing rules to my redmine.conf file
RewriteEngine on
RewriteRule "^/onlyoffice/(.*)$" "/redmine/onlyoffice/$1" [PT]
RewriteRule "^/documents/(.*)$" "/redmine/documents/$1" [PT]
RewriteRule "^/plugin_assets/(.*)$" "/redmine/plugin_assets/$1" [PT]
RewriteRule "^/issues/(.*)$" "/redmine/issues/$1" [PT]

I'm not sure if these are all the rules needed, but it seems to be working fine.

Please check if the issue persists with the recently released version 3.0 of the plugin.


Update articles.md

Add a description for Eric Bishar'd React Hooks article.

@httpJunkie thank you!


Enhance comparing tags and fields in the where clause

Now it is possible to compare tags and fields and it is also now
possible to compare tags and tags. Previously, it was only possible to
compare fields with fields and tags with a string or a regex.
Fixes #3371.

@benbjohnson

:+1:

If the interface conversion causes a problem, I think we can rewrite the condition with the tag values. Doing it required more code than I was willing to rewrite at the moment, but it's definitely possible.


feat: top-level world convention

This makes progress towards https://github.com/wasi-gfx/webidl2wit/issues/7 for a Jco shared top-level convention.
The way this works is that:

Whenever one of the global singletons by name is found as an interface being defined, it adds a new function with the same name as that global - get-[globalname].
It defines a new world that imports this interface.

In addition, the default package name is changed from my-package to my-package-idl so that Jco can use the -idl suffix combined with the --experimental-idl flag to automatically handle IDL interfaces as attaching from the global object through the imported interface name.
I will document this exact convention further in the corresponding Jco PR, including how the global lookup replaces - with . from the interface name, but for now this PR should suffice to get a simple prototype together.

@MendyBerger as discussed today, I've updated this PR to use a simpler top-level convention now. Feedback welcome!


Node.js Courses/Helping material in Urdu/Hindi (Hacktoberfest-22)

I found a helpful Node.js course in Urdu/Hindi and I think we can add it to the existing list.

Opening an issue is not needed for contributions. Please feel free to directly raise a PR with the resources you think are free and useful

@cchow33's PR tried to merge hindi resourses into english file. Don't hesitate to check if the resources found their way to the hindi list, make a PR if not or ask to close this if so.


Update Approver file content for deleting generated *.yml files      …

…                                                                                before pushing new ones on Dev branch

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5563
This is an experimental preview for @microsoft users.


Add custom query logger

For issue #58
Added a custom logger based on the TypeOrm sql logger. It currently only logs when a user takes or returns an item (more can be added easily in the future).
If we wanted we can enable all the queries to be logged when typeorm build and executes them, however, this could cause the files to become quite large during a hackathon.

Added the two separate logs and enabled query logging for the hub

Added logger tests, now at 100% test coverage

Looks good!


BUG: The code in the WeChat public account article only captured the first line.

Version (please complete the following information):

OS:  Windows
Browser Chrome,
Web Clipper version: [0.10.5]
Obsidian version: [e.g. 1.7.7]

The code in the WeChat public account article only captured the first line.
https://mp.weixin.qq.com/s/kMBPokU8BadA4Qi7FVbaoA

I have encountered the same issue as well.


"dist/vicuna-v1-7b/float16/vicuna-v1-7b_vulkan_float16.so" not found

I installed mlc chat according to the documentation, but encountered an error
Cannot find vicuna-v1-7b lib in preferred path "dist/vicuna-v1-7b/float16/vicuna-v1-7b_vulkan_float16.so" or other candidate paths

My environment is Ubuntu 22.04，windows WSL
nvidia-smi output:
Mon May 15 21:34:53 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.46                 Driver Version: 531.61       CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060         On | 00000000:01:00.0  On |                  N/A |
|  0%   38C    P8               19W / 170W|   3702MiB / 12288MiB |      1%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A        22      G   /Xwayland                                 N/A      |
|    0   N/A  N/A        23      G   /Xwayland                                 N/A      |
|    0   N/A  N/A        25      G   /Xwayland                                 N/A      |
+---------------------------------------------------------------------------------------+

Hi @NeoWang9999 , thanks for trying out the MLC LLM project. It is possible that you are attempting to run the model using cuda, but it has been compiled using vulkan. Could you try running the following, and see if that works?
$ mlc_chat_cli --device-name=vulkan

Hi @NeoWang9999 , thanks for trying out the MLC LLM project. It is possible that you are attempting to run the model using cuda, but it has been compiled using vulkan. Could you try running the following, and see if that works?
$ mlc_chat_cli --device-name=vulkan

Hi @sudeepag  , thanks for reply, I just tried that, it give me the same error

Interesting, can you try these two things and post the results here?
$ cd /mnt/c/Ubuntu/mlc
$ ls -R

$ mlc_chat_cli -h

I don't know why the path error happened. But I have a similar problem on mac1: https://github.com/mlc-ai/mlc-llm/issues/138. It seems that following the instruction (here: https://mlc.ai/mlc-llm/#windows-linux-mac) leads to a dist/vicuna-v1-7b folder that does not contain a float16 folder (https://huggingface.co/mlc-ai/demo-vicuna-v1-7b-int3/tree/main)
I don't know, I'm just a beginner that has a similar problem with the M1 machine.

yes, and I have tried download the other link: "https://huggingface.co/mlc-ai/demo-vicuna-v1-7b-int4" which include  float16 folder, but it still doesn't work .

I don't know why the path error happened. But I have a similar problem on mac1: #138. It seems that following the instruction (here: https://mlc.ai/mlc-llm/#windows-linux-mac) leads to a dist/vicuna-v1-7b folder that does not contain a float16 folder (https://huggingface.co/mlc-ai/demo-vicuna-v1-7b-int3/tree/main)
I don't know, I'm just a beginner that has a similar problem with the M1 machine.

yes, and I have tried download the other link: "https://huggingface.co/mlc-ai/demo-vicuna-v1-7b-int4" which include float16 folder, but it still doesn't work .

@NeoWang9999 Thanks for sharing the output. It looks like you may have an older version of the mlc-chat-nightly library. Could you try the following?
$ conda uninstall mlc-chat-nightly
$ conda install -c mlc-ai -c conda-forge mlc-chat-nightly

And verify that your environment has a newer version of mlc-chat-nightly.
(sudeep-mlc-llm) conda list mlc-chat-nightly
# packages in environment at /home/sudeepag/.conda/envs/sudeep-mlc-llm:
#
# Name                    Version                   Build  Channel
mlc-chat-nightly          0.1.dev40       40_g1a4ee89_h1234567_0    mlc-ai

@ScorpionOO8 Try specifying the version number, e.g.
$ conda install -c mlc-ai mlc-chat-nightly=0.1.dev40

@ScorpionOO8 Try specifying the version number, e.g.
$ conda install -c mlc-ai mlc-chat-nightly=0.1.dev40

that works for me， thanks！

@ScorpionOO8 Try specifying the version number, e.g.
$ conda install -c mlc-ai mlc-chat-nightly=0.1.dev40

I get this error trying to do that:
Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:

mlc-chat-nightly=0.1.dev40

Current channels:

https://conda.anaconda.org/mlc-ai/osx-arm64
https://conda.anaconda.org/mlc-ai/noarch
https://repo.anaconda.com/pkgs/main/osx-arm64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-arm64
https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.

I have the same issue, because the newest version for Mac M1 is 0.1.dev34.
I checked this website.  https://anaconda.org/mlc-ai/mlc-chat-nightly/files

Thanks for reporting, this is likely due to the lagging of the M1 build, we are upgrading the build and will report back here

Great project! Much much appreciated!   --Kun

Looks like osx-64 is getting very regular (almost nightly) uploads from mlc-ai uploader..
but osx-arm64 is only uploaded by junrushao1994 (last two were dev.34 8 days ago, and dev.9 18 days ago) so I guess maybe the builds for osx-arm64 aren't automated like the others?
Thanks for all your work and for looking into this.

hello, on macbook air M1 8 GB  i get this error:
Cannot find library "vicuna-v1-7b-q3f16_0-metal.so" in dist/prebuilt/lib or other search paths
after executing:
conda create -n mlc-chat
conda activate mlc-chat
conda install git git-lfs
conda install -c mlc-ai -c conda-forge mlc-chat-nightly
mkdir -p dist/prebuilt
cd dist/prebuilt
git lfs install
git clone https://huggingface.co/mlc-ai/mlc-chat-vicuna-v1-7b-q3f16_0
git clone https://github.com/mlc-ai/binary-mlc-llm-libs.git lib
cd ../..
mlc_chat_cli --local-id vicuna-v1-7b-q3f16_0
what is wrong?
-- sidenote: why the great MLC Chat Ios App cannot run via testflight on M1 mac (it is listed as "ios only") ?

The M1 build should now be fixed, please try to do
conda install -c mlc-ai -c conda-forge mlc-chat-nightly --force-reinstall

And try run the instructions here again https://mlc.ai/mlc-llm/#windows-linux-mac
osx-arm64 nightly shuold be fixed

Worked for me. Deleted the files I used to have in Dist as the new files loaded into Dist/prebuilt. This runs faster than any other LLM I've run on my Macbook Air M1 (8gb ram). And it doesn't max out my memory and freeze my computer, wild (happened with other, M1 CPU-only programs). Thanks all!

Thank you @ScorpionOO8 for confirming, closing his for now, and feel free to post followups

@tqchen worked great! thanks

Hello,
I'm running Linux Mint 21.1
When I run this command from the instructions on https://mlc.ai/mlc-llm/#windows-linux-mac, I get an error locating a so file:
mlc-chat) eddie@eddie-XPS-15-9560:~/workspace/mlc$ mlc_chat_cli --local-id vicuna-v1-7b-q3f16_0
Use MLC config: "dist/prebuilt/mlc-chat-vicuna-v1-7b-q3f16_0/mlc-chat-config.json"
Use model weights: "dist/prebuilt/mlc-chat-vicuna-v1-7b-q3f16_0/ndarray-cache.json"
Cannot find library "vicuna-v1-7b-q3f16_0-vulkan.so" in "dist"/prebuilt/lib or other search paths
However, The file does exist in the ./lib directory:
(mlc-chat) eddie@eddie-XPS-15-9560:~/workspace/mlc$ tree -f | grep vicuna-v1-7b-q3f16_0-vulkan.so
├── ./lib/vicuna-v1-7b-q3f16_0-vulkan.so
(mlc-chat) eddie@eddie-XPS-15-9560:~/workspace/mlc$
Should I just move the file or change the search path? Any help appreciated.
Thanks,
Eddie

the lib needs to sit in workspace/mlc/dist/prebuilt/lib

Thank you @tqchen - that got me past that hurdle!

glad it works


Fixed Booking Order

Coverage decreased (-0.008%) to 77.184% when pulling dc6ddd6c084ff8d4700131997c7427e23566183c on kharissuryandaru:dev into 3bd9f88037002d431a5a07e766c15a5ea3567cbf on danliris:dev.


Discord rich presence

Discord's rich presence should only be activated when you start watching and not when the app is being used.

Add an option to choose whether to display or hide the remaining time left.

Add a "View Anime" button to display the anime page on MyAnimeList or Anilist.

would you like to help with 2 and 3 ?

would you like to help with 2 and 3 ?

I'd like to help, but I don't have much knowledge about coding.
Also, Taiga already has these options, so this should help right?

I know how to implement it.
This is a small change, so new contributors could easily add it. that's why I asked.
But since you're new to coding, then it might not be trivial.


validationSchema nested object using type:number unexpected behavior

🐛 Bug report
Hello all,
I am using validationSchema and I want to validate a nested object that has a property with type number. When I try to submit the form leaving this field empty, I get an error saying that this field must be a number.
I forked the codesandbox example from #1091 and I changed the social.facebook to number, so you can see the unexpected behavior. This is the updated version https://codesandbox.io/s/w7r17nnxzk

All HTML inputs are strings. Formik does not convert or transform these for you, you have to do that on your own prior to storing them in Formik state. This is a design decision.

The same thisn
Is it possible to combine

Closing due to long inactivity


Trying to convert cmd that I had in fzf.vim with proximity to lua

function! s:list_cmd()
  let base = fnamemodify(expand('%'), ':h:.:S')
  return base == '.' ? $FZF_DEFAULT_COMMAND : printf($FZF_DEFAULT_COMMAND . ' | proximity-sort %s', expand('%'))
endfunction

command! -bang -nargs=? -complete=dir Files
  \ call fzf#vim#files(<q-args>, fzf#vim#with_preview({'source': s:list_cmd(),'options': ['--prompt=> ','--tiebreak=index', '--info=inline', '--layout=reverse']}) , <bang>0)

I'm kind of stuck with this. Above is how I have it setup with vim.fzf and it works perfectly. I searches the project and then sorts the results based on the current directory with proximity-sort
could someone assist me in writing this to this plugin?
thanks

How about this:

the below can be easily mapped to a command, it doesn’t take into account your '.' dir test but I’m sure you can take it from here

:lua require'fzf-lua'files({ cmd = ('%s | proximity-sort %s'):format(vim.env.FZF_DEFAULT_COMMAND, vim.fn.expand('%')) })

I wrote it for you, also improved the logic as it had some flaws and didn't really require fnamemodify(), put the below in your init.vim (or any other sourced .vim file):

Note: I'm not sure how proximity-sort works so you might need to change vim.fn.expand('%') to full path when the search is outside of your cwd (i.e. using vim.fn.expand('%:p') or other help filename-modifiers).

lua << EOF
_G.files_proximity = function(opts)
  opts = opts or {}
  opts.cmd = vim.env.FZF_DEFAULT_COMMAND
  if vim.fn.expand('%:p:h') ~= vim.loop.cwd() then
    opts.cmd = opts.cmd .. (" | proximity-sort %s"):format(vim.fn.expand('%'))
  end
  opts.prompt = "> "
  opts.fzf_opts = {
    ['--info']      = 'inline',
    ['--layout']    = 'reverse',
    ['--tiebreak']  = 'index',
  }
  require'fzf-lua'.files(opts)
end
EOF

command! -bang -nargs=? -complete=dir Files lua _G.files_proximity()

@ibhagwan there is only one error, when it is in the project root. it wont search. it will just stay empty. after I've opened a file it works like a charm though. any thoughts?

@afewyards add opts.debug = true somewhere in the function and it will add the underlying command as first result with the prefix [DEBUG], my guess is that it’s adding the proximity-sort when it’s not needed.
Can you run :lua print(vim.fn.expand('%:p:h'), vim.loop.cwd()) and paste the result here?
We probably have to make an exception for the project root, the output for the above will help me is find out what the condition we need to avoid is.

this is from the debug when I trigger it '/snap/nvim/2181/usr/bin/nvim' -n --headless --clean --cmd 'lua loadfile([[/home/k/.local/share/nvim/site/pack/packer/start/fzf-lua/lua/fzf-lua/libuv.lua]])().spawn_stdio({debug=true,cmd=[[ rg --files --hidden --smart-case --glob "!.git/*"]],git_icons=true,file_icons=true,color_icons=true},[[_G._devicons_path='\''/home/k/.local/share/nvim/site/pack/packer/start/nvim-web-devico ns/lua/nvim-web-devicons.lua'\''; _G._fzf_lua_server='\''/tmp/nvimS5piwC/1'\''; return require("make_entry").file]],[[return require("make_entry").preprocess]])'
and this is from the output from that command, just my home dir /home/k/Sites/a-dam-nextjs /home/k/Sites/a-dam-nextjs

Hmm… strange, the command seems perfectly ok and the condition also worked and proximity wasn’t added, which is confirmed by the internal cmd argument:
rg --files --hidden --smart-case --glob "!.git/*"

Does the line above also match [DEBUG] the debug line within the fzf UI window?
If you can help me with the exact steps to reproduce this I can look into it, do I just open neovim inside a project without opening any buffer and run the command?

Exactly I open the command up right after I opened vim up in a project lib.

Exactly I open the command up right after I opened vim up in a project lib.

I did try that before I posted it and it works well, I'm not sure why this happens as the command seems valid in what you posted, can you try changing the line:
opts.cmd = vim.env.FZF_DEFAULT_COMMAND

to:
opts.cmd = 'rg --files --hidden --smart-case'

And let's see if this works without the --glob flag? I have no idea why would that be the issue but it's worth a shot.

I replciated your $FZF_DEFAULT_COMMAND and opened files with no buffer opened, my neovim wrapper command is identical to yours (using my paths) and I do get results at project root, very strange:
'nvim' -n --headless --clean --cmd 'lua loadfile([[/home/bhagwan/.local/share/nvim/site/pack/packer/opt/f
zf-lua/lua/fzf-lua/libuv.lua]])().spawn_stdio({debug=true,cmd=[[ rg --files --hidden --smart-case --glob
"!.git/*"]],git_icons=false,file_icons=true,color_icons=true},[[_G._devicons_path='\''/home/bhagwan/.loca
l/share/nvim/site/pack/packer/opt/nvim-web-devicons/lua/nvim-web-devicons.lua'\''; _G._devicons_setup='\'
'~/.config/nvim/lua/plugins/devicons.lua'\''; _G._fzf_lua_server='\''/tmp/nvimXJ9Alb/1'\''; return requir
e("make_entry").file]],[[return require("make_entry").preprocess]])'

Do you get results if you run :FzfLua files at the projec root? what does FzfLua files debug=true print?

I’m thinking there is also a small chance startify or another autocmd changes your working directory until you open a buffer? It’s a small chance but it’s worth a try to pass cwd to FzfLua, can you add the below to the function?
  opts.cwd = vim.loop.cwd()

You can then view cwd as a header by either adding opts.show_cwd_header = true or by running:
:lua _G.files_proximity({ show_cwd_header = true })

You can also avoid modifying the function and run:
:lua _G.files_proximity({ cwd = vim.loop.cwd(), show_cwd_header = true })

So it looks like the cwd is correctly set to the right directory and the :FzfLua files also does not output anything. On the other hand :FzfLua git_files does output files. which is not ideal as that prevents me from jumping to newly added files.
I'm a bit lost for words..

even when I change the cmd to just 'rg --files' it outputs nothing. but if I open up my float term it just displays all my files from the directory. so it isn't the RG

What’s even more confusing is that it works when adding the proximity-sort…
Let’s start eliminating things:

Do you have fd installed by any chance so we can test it?
What happens if you run :lua require'fzf-lua'.files({ cmd 'find -L . -type f' })?
What happens if you run :FzfLua files multiprocess=false?
What happens if you run :FzfLua files git_icons=false file_icons=false?
What is the version of your rg, fzf and neovim?
Does :FzfLua grep (or live_grep) work properly?

Also can you run this in the shell inside different folders and see if you get any results (the result should be I list of files with icons)?

'/snap/nvim/2181/usr/bin/nvim' -n --headless --clean --cmd 'lua loadfile([[/home/k/.local/share/nvim/site/pack/packer/start/fzf-lua/lua/fzf-lua/libuv.lua]])().spawn_stdio({debug=true,cmd=[[ rg --files --hidden --smart-case --glob "!.git/*"]],git_icons=true,file_icons=true,color_icons=true},[[_G._devicons_path='\''/home/k/.local/share/nvim/site/pack/packer/start/nvim-web-devico ns/lua/nvim-web-devicons.lua'\''; return require("make_entry").file]],[[return require("make_entry").preprocess]])'

Do you have fd installed by any chance so we can test it?
I do now
What happens if you run :lua require'fzf-lua'.files({ cmd = 'find -L . -type f' })?
This output the directory
What happens if you run :FzfLua files multiprocess=false?
Empty
What happens if you run :FzfLua files git_icons=false file_icons=false?
This outputs the directory
What is the version of your rg, fzf and neovim?
ripgrep v12.1
fzf 0.29
nvim 0.7
Does :FzfLua grep (or live_grep) work properly?
Both do not work
Can you try running it in a folder that isn’t a git repo (it could be .gitignore?)
No change
Also can you run this in the shell inside different folders and see if you get any results (the result should be I list of files with icons)?
This just outputs normally in different kind of folders

Ok, I’m starting to lean into an issue displaying the git or file icons, can you try both files and grep separately with git/file icons set to false?
Also, what happens if you pipe the nvim headless command into | fzf  --ansi

Yeah both work if I disable icon sets. also it's A LOT faster then.
Do not really know what command you are talking about when you say nvim headless command.

Yeah both work if I disable icon sets. also it's A LOT faster then.

It should be faster as it doesn’t require any processing, but still it shouldn’t be that much faster unless running git status is very costly on your repo.
The headless command is the one from this comment https://github.com/ibhagwan/fzf-lua/issues/423#issuecomment-1133386682
You mentioned it had proper output, did it also output icons? What happens if we pipe it into fzf (which is what fzf lua does).
What terminal/font are you using?

The headless command is the one from this comment https://github.com/ibhagwan/fzf-lua/issues/423#issuecomment-1133386682
You mentioned it had proper output, did it also output icons? What happens if we pipe it into fzf (which is what fzf lua does).

This seems to work with file icons on the left side for the filenames

What terminal/font are you using?

Running Kitty with Operator Mono

Also which icon set is the problem? Git or files?

Both. if I only disable one or the other it won't work

BTW I'm happy the way it is now without the icons TBPH. But if you do want to get to the bottom of this I'm all yours.

BTW I'm happy the way it is now without the icons TBPH. But if you do want to get to the bottom of this I'm all yours.

Ty, I would like to understand why this happens, especially since this is the first time ever this comes up after so many uses installed this plugin.
The fact this works perfectly in the shell including icons confuses me, I’ll try to think what can cause this and maybe ask you to try some things.

and also a very big thank you for assisting me in this matter!

My pleasure.

@afewyards, unresolved vodoo issues like this one drives me crazy :-)
I've given it more thought and can't think of anything that would cause such strange behavior where everything works fine in the shell but not inside neovim, if you're ok with it I'd like to try a few different settings, can you try the below commands and confirm which one works and which one doesn't?
-- using `find`
-- with multiprocesss
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=true, git_icons=true, file_icons=true})
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=true, git_icons=false, file_icons=true})
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=true, git_icons=true, file_icons=false})
-- assuming this one should work since our "solution" was to disable the icon sets
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=true, git_icons=false, file_icons=false})
-- without multiprocess
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=false, git_icons=true, file_icons=true})
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=false, git_icons=false, file_icons=true})
:lua require'fzf-lua'.files({cmd="find -type f", multiprocess=false, git_icons=true, file_icons=false})

If you can repeat the above with cmd = "rg --color=never --files --no-ignore" and cmd = "fd --color=never --type f --no-ignore" would be great:
-- using `rg`
:lua require'fzf-lua'.files({cmd="rg --color=never --files --no-ignore", multiprocess=true, git_icons=true, file_icons=
true})
...
:lua require'fzf-lua'.files({cmd="rg --color=never --files --no-ignore", multiprocess=false, git_icons=true, file_icons=
true})
-- using `fd`
:lua require'fzf-lua'.files({cmd="fd --color=never --type f --no-ignore", multiprocess=true, git_icons=true, file_icons
=true})
...
:lua require'fzf-lua'.files({cmd="fd --color=never --type f --no-ignore", multiprocess=false, git_icons=true, file_icons
=true})

Anything else you can think of that can isolate our issue and understand what is the exact scenario where it fails or better yet help me reproduce the issue would be of great help.

Another thing that might give us good info, since you mentioned that _G.files_proximity() doesn’t work at the root of the project but if a sub folder buffer is opened it does work (when proximity-sort is piped), is the same true for files? Does it also start working as soon as file in a sub folder is open?


[mesheryctl] UX Enhancement: system config aks should offer user-friendly message on failed attempt to connect to Meshery Server

See mesheryctl Command Tracker for current status of commands.
Current Behavior
Currently, the mesheryctl system config [aks|eks|gke] command response with the following message when Meshery Server is unavailable:
$ mesheryctl system config aks
{
  "azure-cli": "2.42.0",
  "azure-cli-core": "2.42.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {}
}
Configuring Meshery to access AKS...
Please enter the Azure resource group name:
Meshery
Please enter the AKS cluster name:
playground
/Users/lee/.meshery/kubeconfig.yaml has permissions "644".
It should be readable and writable only by its owner.
Merged "playground" as current context in /Users/lee/.meshery/kubeconfig.yaml
Error getting context: Post "http://localhost:9081/api/system/kubernetes/contexts": dial tcp [::1]:9081: connect: connection refused

Desired Behavior
Ideally, we're using a central util function to control the interactions between mesheryctl and when Meshery Server, so that a common, user-friendly response is shown.
Environment

Host OS: Mac
Meshery Server Version: stable-v
Meshery Client Version: stable-v0.6.26
Platform: Kubernetes

Contributor Guides and Handbook

📚 mesheryctl Contributing Guide
📺 Beginner's guide to contributing to Meshery and mesheryctl
⌨ mesheryctl Command Tracker
⌨ Meshery CLI Commands and Documentation
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I'm checking this out too on my end.

Before running the meshery server, I did receive the same error. But once I have the server running, I now got this error.
./mesheryctl system config aks
{
  "azure-cli": "2.42.0",
  "azure-cli-core": "2.42.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {}
}
Configuring Meshery to access AKS...
Please enter the Azure resource group name:
meshery-example
Please enter the AKS cluster name:
playground-example
/Users/acald/.meshery/kubeconfig.yaml has permissions "644".
It should be readable and writable only by its owner.
Merged "playground-example" as current context in /Users/acald/.meshery/kubeconfig.yaml
Error getting context: invalid character '<' looking for beginning of value

@leecalcote Are you getting the original error even while the server is running?

@acald-creator thanks for digging in here. After opening this I discovered that my issue is that I wasn't running Meshery Server. So, on one hand this is user-error, while on the other hand there is a need for a UX improvement in the error response given in this command.
Ideally, we're using a central util function to control the interactions between mesheryctl and when Meshery Server, so that a common, user-friendly response is shown.

Hi @leecalcote, could you assign it to me?

Thanks for picking this up, @luigidematteis

This issue has been open for some time with no recent activity, unassigning to open it up for new contributors to give it a go.


bug fix

Short description outlining key changes/additions
JIRA Ticket Number
Type of change

[x] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[ ] I have added unit tests for new code that I have added
[ ] I have added/updated functional tests where appropriate
[ ] The code follows our coding standards

An exhaustive list of peer review checks can be read here

CI: Security warnings found!


API Error feedback

API returned "Quota exceeded" error message. Would be nice to show these in red as the response message.

Are you using latest version, it should be red.

https://github.com/wieslawsoltes/ChatGPT/blob/37184ec129b0c177af3aa67bb16c03a8f3d1495d/ChatGPT.UI/Themes/Themes.axaml#L7

Ah It was added already :) Nice!


User only sees groups that they are members of.

it's still possible to manually browse to groups you aren't a member of. we can track this in #67.


minitouch did not work

Caused by:

port already in use
minitouch already in use
unexpected stop

At the most of time, this issue can be solved by restarting adb server:
adb kill-server
adb start-server

Hello, I'm having a problem running the example code,
I'm using device product:a30czh model:SM_A3050 device:a30c transport_id:1
Here's the code:
`from pyminitouch import MNTDevice
_DEVICE_ID = 'R28M616KB2E'
device = MNTDevice(_DEVICE_ID)
single-tap
device.tap([(400, 600)])
multi-tap
device.tap([(400, 400), (600, 600)])
set the pressure, default == 100
device.tap([(400, 600)], pressure=50)
可以直接用简洁的API调用minitouch提供的强大功能！
在使用完成后，需要显式调用stop方法将服务停止
device.stop()Here's the full error log:2021-06-19 18:17:24.360 | INFO     | pyminitouch.utils:is_device_connected:56 - device SM-A3050 online
2021-06-19 18:17:24.371 | INFO     | pyminitouch.connection:init:87 - searching a usable port ...
2021-06-19 18:17:26.390 | INFO     | pyminitouch.connection:init:89 - device R28M616KB2E bind to port 20878
2021-06-19 18:17:26.720 | INFO     | pyminitouch.connection:get_abi:35 - device R28M616KB2E is arm64-v8a
2021-06-19 18:17:26.987 | INFO     | pyminitouch.connection:init:27 - minitouch already existed in R28M616KB2E
2021-06-19 18:17:27.002 | DEBUG    | pyminitouch.connection:_forward_port:128 - forward command: adb -s R28M616KB2E forward tcp:20878 localabstract:minitouch
2021-06-19 18:17:27.247 | DEBUG    | pyminitouch.connection:_forward_port:130 - output: b'20878\r\n'
2021-06-19 18:17:27.270 | INFO     | pyminitouch.connection:_start_mnt:141 - start minitouch: adb -s R28M616KB2E shell /data/local/tmp/minitouch
open: Permission denied
Unable to open device /dev/input/event1 for inspectionopen: Permission denied
Unable to open device /dev/input/mouse0 for inspectionopen: Permission denied
Unable to open device /dev/input/event12 for inspectionopen: Permission denied
Unable to open device /dev/input/event11 for inspectionopen: Permission denied
Unable to open device /dev/input/event7 for inspectionopen: Permission denied
Unable to open device /dev/input/event3 for inspectionopen: Permission denied
Unable to open device /dev/input/event10 for inspectionopen: Permission denied
Unable to open device /dev/input/event2 for inspectionopen: Permission denied
Unable to open device /dev/input/event6 for inspectionopen: Permission denied
Unable to open device /dev/input/event9 for inspectionopen: Permission denied
Unable to open device /dev/input/event0 for inspectionopen: Permission denied
Unable to open device /dev/input/event5 for inspectionopen: Permission denied
Unable to open device /dev/input/mice for inspectionopen: Permission denied
Unable to open device /dev/input/event8 for inspectionopen: Permission denied
Unable to open device /dev/input/event4 for inspectionUnable to find a suitable touch device
Traceback (most recent call last):
File "c:\coding\test.py", line 5, in
device = MNTDevice(_DEVICE_ID)
File "C:\Users\kaph\AppData\Local\Programs\Python\Python39\lib\site-packages\pyminitouch\actions.py", line 117, in init
self.start()
File "C:\Users\kaph\AppData\Local\Programs\Python\Python39\lib\site-packages\pyminitouch\actions.py", line 125, in start
self.server = MNTServer(self.device_id)
File "C:\Users\kaph\AppData\Local\Programs\Python\Python39\lib\site-packages\pyminitouch\connection.py", line 101, in init
assert (
AssertionError: minitouch did not work. see https://github.com/williamfzc/pyminitouch/issues/11`
any idea why is it not working? Thanks.

Hi I'm having trouble running the example code.
I'm plugging in SAMSUNG A3050
from pyminitouch import MNTDevice

_DEVICE_ID = 'R28M616KB2E'
device = MNTDevice(_DEVICE_ID)

# single-tap
device.tap([(400, 600)])
# multi-tap
device.tap([(400, 400), (600, 600)])
# set the pressure, default == 100
device.tap([(400, 600)], pressure=50)

# 可以直接用简洁的API调用minitouch提供的强大功能！

# 在使用完成后，需要显式调用stop方法将服务停止
device.stop()

The error log is:
2021-06-19 18:17:24.360 | INFO     | pyminitouch.utils:is_device_connected:56 - device SM-A3050 online
2021-06-19 18:17:24.371 | INFO     | pyminitouch.connection:__init__:87 - searching a usable port ...
2021-06-19 18:17:26.390 | INFO     | pyminitouch.connection:__init__:89 - device R28M616KB2E bind to port 20878
2021-06-19 18:17:26.720 | INFO     | pyminitouch.connection:get_abi:35 - device R28M616KB2E is arm64-v8a
2021-06-19 18:17:26.987 | INFO     | pyminitouch.connection:__init__:27 - minitouch already existed in R28M616KB2E
2021-06-19 18:17:27.002 | DEBUG    | pyminitouch.connection:_forward_port:128 - forward command: adb -s R28M616KB2E forward tcp:20878 localabstract:minitouch
2021-06-19 18:17:27.247 | DEBUG    | pyminitouch.connection:_forward_port:130 - output: b'20878\r\n'
2021-06-19 18:17:27.270 | INFO     | pyminitouch.connection:_start_mnt:141 - start minitouch: adb -s R28M616KB2E shell /data/local/tmp/minitouch
open: Permission denied
Unable to open device /dev/input/event1 for inspectionopen: Permission denied
Unable to open device /dev/input/mouse0 for inspectionopen: Permission denied
Unable to open device /dev/input/event12 for inspectionopen: Permission denied
Unable to open device /dev/input/event11 for inspectionopen: Permission denied
Unable to open device /dev/input/event7 for inspectionopen: Permission denied
Unable to open device /dev/input/event3 for inspectionopen: Permission denied
Unable to open device /dev/input/event10 for inspectionopen: Permission denied
Unable to open device /dev/input/event2 for inspectionopen: Permission denied
Unable to open device /dev/input/event6 for inspectionopen: Permission denied
Unable to open device /dev/input/event9 for inspectionopen: Permission denied
Unable to open device /dev/input/event0 for inspectionopen: Permission denied
Unable to open device /dev/input/event5 for inspectionopen: Permission denied
Unable to open device /dev/input/mice for inspectionopen: Permission denied
Unable to open device /dev/input/event8 for inspectionopen: Permission denied
Unable to open device /dev/input/event4 for inspectionUnable to find a suitable touch device
Traceback (most recent call last):
  File "c:\Users\kylec\OneDrive\Documents\cool\fuckallgames\fuckbrawlstars\test2.py", line 5, in <module>
    device = MNTDevice(_DEVICE_ID)
  File "C:\Users\kylec\AppData\Local\Programs\Python\Python39\lib\site-packages\pyminitouch\actions.py", line 117, in __init__
    self.start()
  File "C:\Users\kylec\AppData\Local\Programs\Python\Python39\lib\site-packages\pyminitouch\actions.py", line 125, in start
    self.server = MNTServer(self.device_id)
  File "C:\Users\kylec\AppData\Local\Programs\Python\Python39\lib\site-packages\pyminitouch\connection.py", line 101, in __init__
    assert (
AssertionError: minitouch did not work. see https://github.com/williamfzc/pyminitouch/issues/11

Any idea how to fix it?


Add remaining dbaas charts

As part of https://github.com/amazeeio/dbaas-operator/issues/34 there are additional charts that need to be moved
https://github.com/amazeeio/dbaas-operator/tree/main/charts

mariadbprovider
mongodbprovider
postgresqlprovider

nvm, can see


i18n(es): Updated customization.mdx & translated css-and-tailwind.mdx

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description

What does this PR change? Give us a brief description.
Updated customization.mdx & translated css-and-tailwind.mdx based on this commit 555826d39edec9b0535edf734656dd9bf7cc31ea

Thanks for the review @delucis 😄

thanks again @delucis 😄


Conflict with DAE

When having both DAE (https://gitlab.com/tposney/dae/-/issues/393) and this module activated, Actor effects that give bonuses to attributes or skills double their intended values. E.g. a +2 Dex effect , gives +4 instead.

you are lucky being able to configure DAE at all, on the latest version of Foundry: 11.305, latest version of dnd5e: 2.2.2 and latest version of DAE: 11.0.2 I'm not even able to configure a new effect with only dae, socketlib and libwrapper active.
Can you specify your setup so I can reproduce you issue?

you are lucky being able to configure DAE at all, on the latest version of Foundry: 11.305, latest version of dnd5e: 2.2.2 and latest version of DAE: 11.0.2 I'm not even able to configure a new effect with only dae, socketlib and libwrapper active.
custom-skills is NOT enabled in my test. So I would say that DAE is not working with the latest foundry + dnd5e system
Can you specify your setup so I can reproduce you issue?

Browser:
Opera, Firefox, Chrome
Foundry Version:
v10 303
Game System:
dnd5e 2.2.2

Does that mean that this won't make to v11? I'm using few skills and 1 extra attribute and was thinking of updating to v11 in 2 weeks, as all other modules caught up recently.

can't speak of DAE but custom skills is already working in v11
so you are on Foundry v10, what DAE version and what dnd5e-custom-skills version gives you the problem?

Does that mean that this won't make to v11? I'm using few skills and 1 extra attribute and was thinking of updating to v11 in 2 weeks, as all other modules caught up recently.

can't speak of DAE but custom skills is already working in v11
so you are on Foundry v10, what DAE version and what dnd5e-custom-skills version gives you the problem?

I meant "won't make it as compatible with DAE" ... Mid-QoL relies on DAE and many things are expressed as active effects, including feats, spells, buffs.... :/

ok, I replicated the issue, it is caused by something I don't understand on DAE module, the problem is in file:
\Data\modules\dae\module\Systems\DAEdnd5e.js on line 273
removing the following code removes the double calculation, this code is only launched when custom-skills is active and it should be there to make dae compatible with 5e-custom-skills
if (game.modules.get("dnd5e-custom-skills")?.active) {
   wildcardEffects.push(/system\.skills\..*\.value/);
   wildcardEffects.push(/system\.skills\..*\.ability/);
   wildcardEffects.push(/system\.skills\..*\.bonuses/);
   wildcardEffects.push(/system\.abilities\..*\.value/);
}

you should give this information to DAE developer to help him find the issue here: https://gitlab.com/tposney/dae/-/issues/393
the 5e-custom-skills module doesn't do any calculation on the ability values. Just add or remove the skills and the abilities. than it is a regular skill or ability.
Anyway if Tim Posney need me to change something on this module I will, no problem.

I have relayed the information over there. Is this also the problem for v11? Or there is a different issue?

I think that v11 is something different, I cannot get DAE to work there even if it is the only module enabled.

The last update on DAE for v11 seems to be working and I do not see any doubling effects anymore.


WHERE INSTALL??

hello sorry but where I install this ... I have install the resources and all work but not save map!?
For .cs file etc I have put in root of Fivem.
Can you help me?
Thanks

https://github.com/mraes/fivem-mapeditor/releases/tag/0.5

ok so this good but the save dont work? I see in map folder and all my server but not .xml file...

I have this error?
https://media.discordapp.net/attachments/343471925731000320/378531642169622528/Capture.PNG?width=745&height=597

No idea. I haven't touched this code or FiveM in a while. When I get back to it I'll fix it.
Bear in mind I haven't released this resource exactly for the reason that it isn't finished yet.

ok no problem I wait, thank you...

hello
you have news?


How to make it work with OBS Flatpak?

It's working fine with the OBS RPM, but I need to use OBS Flatpak.
pywinctl is installed, but it's not detected by OBS Flatpak!
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py]   File "/home/mbesar/Apps/obs/scripts/zoom_and_follow_mouse.py", line 2, in <module>
[zoom_and_follow_mouse.py]     import pywinctl as pwc # version >=0.0.30
[zoom_and_follow_mouse.py] ModuleNotFoundError: No module named 'pywinctl'

OS: Fedora 36.
OBS: 27.2.4 Official Flatpak.

I would double check the version of Python that the Flatpak uses. If possible, I would try to install pywinctl on the Flatpak Python.


Fix UV editor not using texture transform

If you set Polygon2D's texture transform (offset, scale or rotation), texture would still draw with default transform in UV editor.
Properties:

Bug in UV editor:

Fixed:

MRP: TextureTransformMRP.zip
I didn't find any existing issues about this. As a side effect of this fix, if you rotate the texture 90-270 degrees (and no offset), the texture isn't going to be in the initial view (it's rotated around the top-left corner). Well, it's better than texture appearing in the wrong place altogether, but might be a bit confusing. See #83731 for a fix for that problem (altough it should be updated for transformed textures after this pr).

Thanks!

Cherry-picked for 4.2.1.

Cherry-picked for 4.1.4.


docs: Fix simple typo, unncessary -> unnecessary

There is a small typo in dist/chartist.js, src/scripts/charts/pie.js.
Should read unnecessary rather than unncessary.

Will resolved in https://github.com/chartist-js/chartist/pull/1339


fix missing variable assignment

Fixes #46
The problem was that, in case of a multi-header loop with a single exit, the control-variable wasn't being setup correctly.
A further problem is that, even though this was tested, only the overall block structure of the SCFG was being compared. However the instructions of the blocks themselves were not, so this went unnoticed.
The fix for the test is to add the instructions contained within blocks to the YAML and then we can test this properly.

Might be worth adding the original failure as a test for this.

I think this will need an enhancement of the test-suite such that it can be properly tested.

Might be worth adding the original failure as a test for this.

I think this will need an enhancement of the test-suite such that it can be properly tested.

Maybe something like: https://github.com/numba/numba-rvsdg/pull/57 could help to test this, but YAML testing would be better.


Initial support for lat-lon RRM

Initial support for lat-lon plot of Regional Refined Model data.
-Lat-lon plot script is adjusted to be able to to zoom in on a region, with horizontal grids resolution on the difference map
-CONUS_RRM domain is added as a default region ( other RRM regions can be added accordingly.)
An example to run with a configuration file specific for data required by RRM testing:run_lat_lon.py -d lat_lon_rrm.cfg
https://portal.nersc.gov/cfs/e3sm/zhang40/lat_lon_rrm_test_Qi_ERA5/
(reference diags and datasets: https://gmd.copernicus.org/articles/12/2679/2019/#&gid=1&pid=1).

Hi @forsyth2, Thank you for the review. I just upated the PR. And the system tests passed. Let me know if it looks okay..Thanks.

@chengzhuzhang Looks good to me. I reran the tests and they look ok on my end too.


cmd/compile: reflect.Type does not implement comparable

What version of Go are you using (go version)?

$ go version
go version go1.18.2 windows/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
et GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOENV=C:\Users\Administrator\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=D:\gomod\pkg\mod
set GONOPROXY=***
set GONOSUMDB=***
set GOOS=windows
set GOPATH=D:\gomod;C:\Users\Administrator\go
set GOPRIVATE=git.idianhun.com,git.dianhun.cn
set GOPROXY=https://goproxy.io,direct
set GOROOT=D:\Go
set GOSUMDB=off
set GOTMPDIR=
set GOTOOLDIR=D:\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.18.2
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=*********\example\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\go-build1029863356=/tmp/go-build -gno-record-gcc-switches

What did you do?

https://go.dev/play/p/wSisCGgWwUg
// You can edit this code!
// Click here and start typing.
package main

import (
	"fmt"
	"reflect"

	"golang.org/x/exp/maps"
)

func main() {
	var types = make(map[reflect.Type]int)
	fmt.Println(maps.Keys(types))
}

What did you expect to see?
compiled successfully
What did you see instead?
./prog.go:14:23: reflect.Type does not implement comparable
Go build failed.

Duplicate of #52509 and others


Switch to use "ensure_packages" to avoid duplicate declarations

Some modules declare dependencies which this module is using as well. Using the puppetlabs stdlib function 'ensure_packages' reduces the chance of duplicate declarations.
Ex:
      package { $real_package:
       	ensure   => $ensure,
       	provider => $provider,
       	source   => $real_source,
       	require  => [
          Class['::php::pear'],
          Class['::php::dev'],
       	],
      }

and instead
ensure_packages($real_package, {ensure=> $ensure, provider => $provider ...})

Something like that.

That makes sense. Thanks for the suggestion!

On second thought and looking at all occurrences, all of the uses of explicit package resources are for packages that should only be managed by the puppet module itself. For dependencies of modules we're already using ensure_resources('package', $header_packages).
Your example above is from manifests/extension.pp which is specifically for pecl extensions that are even prefixed with 'pecl-', so there shouldn't really be any clashes in my opinion. What do you think?

But there are instances where another module may also declare that dependency. Whether it should be managed by this or not. Other modules may say "I need this and I'm going to ensure it's there". Which will cause the duplicate declaration.
This doesn't change the php module from managing the library, it just makes sure that if another module is present that doesn't strictly depend on mayflower/php and wants to ensure the same package is present that you don't get a conflict.

Yeah but we already do that for all normal packages?
Can you point us to the exact location or paste your error message?

@minorOffense what's the status here?

It's the "duplicate declaration" error. Have a look at the https://github.com/tPl0ch/puppet-composer or any other PHP module. Having php composer enabled in this module shouldn't break another module's capacity to declare it needs that package as well.

to quote @globin: " Can you point us to the exact location or paste your error message?"

as an interesting side note, there's a difference between present and installed: https://github.com/theforeman/puppet-dns/pull/61#issuecomment-225166980
Anyway, closing, as there was no reaction.


ceph_apt_pin_packages default value is incorrect

Do NOT include any confidential information, this issue will be created on a public repo
This section is completed by the issue reporter
On which version(s) do you encounter this issue?
Master on newton
What type of issue is this? Please tick the appropriate box.

[x] bug - existing functionality that does not work for you as documented
[ ] feature - new functionality that you would like to see added

Upstream Bug:
https://bugs.launchpad.net/openstack-ansible/+bug/1646855
What is your evaluation on the importance of this issue, and why?
Prio-3. The incorrect behavior is being overridden in the rpco repo here: https://github.com/rcbops/rpc-openstack/blob/master/rpcd/etc/openstack_deploy/user_osa_variables_defaults.yml#L144
Once the upstream bug has been fixed we should be able to remove the override.
This section is completed during the issue resolution process. If you are reporting an issue, please do not modify the section below.
Which branches are impacted by this issue?
Remove branches that are not impacted.
For each pull request, update the branch line to reference it.

[ ] master
[ ] mitaka-13.1
[ ] liberty-12.2
[ ] kilo

Upgrade impact. Consider the impact on moving between major, minor and patch releases.

[ ] This change does not impact upgrades
[ ] This change addresses a potential upgrade impact
[ ] The upgrade impact is being tracked by another issue.

The issue tracking the upgrade impact is:
Testing impact

[ ] An issue/pull-request has been create or exists to track the testing gap, and is referenced below
[ ] This change includes additional testing
[ ] This change is tested by the existing setup

Additional testing links:
Release note

[ ] This change includes a release note.
[ ] This change does not require a release note.

Doc Impact
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[ ] No documentation required for this change

Additional documentation links (please add links if you have ticked yes):

Upstream OSA patch proposed to master branch: https://review.openstack.org/#/c/416602/

Let's not forget to remove our pin here once this change is backported to stable/newton.
https://github.com/rcbops/rpc-openstack/blob/master/rpcd/etc/openstack_deploy/user_osa_variables_defaults.yml#L144

[ ] OSA master: https://review.openstack.org/#/c/416602/
[ ] OSA stable/newton: https://review.openstack.org/#/c/416984/

@major Before we remove the pin, the role SHAs for newton will need to be updated upstream in the integrated repo. Then the OSA SHA here will need to be updated.

@alextricity25 Good stuff. Updated my checklist. ;)


 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6163/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
4m 15s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ branch-3 Compile Tests _

+1 :green_heart:
spotless
0m 46s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
spotless
0m 42s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 11s

The patch does not generate ASF License warnings.

7m  4s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6163/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6163

Optional Tests
dupname asflicense codespell detsecrets shellcheck shelldocs spotless

uname
Linux 6e92dfd58b4b 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-3 / 3de2607e1b1dddaaa2c8354f2bd5d5060b816ea1

Max. process+thread count
48 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6163/1/console

versions
git=2.34.1 maven=3.9.8 shellcheck=0.8.0

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


Can't select specific columns on parent relation using "with"

Laravel Version: 5.6.0
PHP Version: 7.2
Database Driver & Version: Mysql

Description:
There is no way to select specific columns from parent relation when loading a child relation using "with" method.
This won't work, venta return as null:
$facturas = Factura::select(['id', 'estado'])->with('venta:id,tipo')->get();
This will work, but will return all columns in parent relation (factura):
$facturas = Factura::with('venta:id,tipo')->get();
This is annoying and consume unnecessary resources when the parent relation has a lot of columns.

Please post the venta relationship.

You need to include the foreign key in the selected columns, otherwise laravel won't be able to query for the related models. You also need to include the related model's id column for similar reasons:
>>> Document::select(['id', 'status', 'id'])->with('owner')->first();
=> App\TenantModels\Document {#3246
     id: 1,
     status: "new",
     owner: null,
   }
>>> Document::select(['id', 'status', 'owner_id'])->with('owner')->first();
=> App\TenantModels\Document {#3253
     id: 1,
     status: "new",
     owner_id: "8",
     owner: App\TenantModels\User {#3250
       id: 8,
       name: "eyJpdiI6InUxQ0l0a1pjS1VcL0VBS1BPMWlnbkZRPT0iLCJ2YWx1ZSI6ImdsbXhKcWQzYlN0XC9DTWdaVGsyUjhIalYrXC9xYnpvNitabm1rRzl6Y0JBND0iLCJtYWMiOiI3ZTZhZTdhNDcwY2E4ZDNhMmNjMTAwMTdlMWVmMTU0MGJlOGI0NDAzZjg2ZDhkMmVlZGFkZDI2NmE5ZDU3MWUxIn0=",
       email<EMAIL_ADDRESS>       active: 1,
       created_at: "2018-08-16 09:47:46",
       updated_at: "2018-08-16 09:47:46",
     },
   }
>>> Document::select(['id', 'status', 'owner_id'])->with('owner:email')->first();
=> App\TenantModels\Document {#3244
     id: 1,
     status: "new",
     owner_id: "8",
     owner: null,
   }
>>> Document::select(['id', 'status', 'owner_id'])->with('owner:id,email')->first();
=> App\TenantModels\Document {#3260
     id: 1,
     status: "new",
     owner_id: "8",
     owner: App\TenantModels\User {#3262
       id: 8,
       email<EMAIL_ADDRESS>     },
   }

@36864 thanks, it works. I never thought laravel won't be able to retrieve the foreign key from the parent model, event though the parent and child models has the correct relationship.