[libcap] Build error on x64-linux

Package<EMAIL_ADDRESS>Host Environment

Host: x64-linux
Compiler: GNU 7.5.0
vcpkg-tool version: 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e
vcpkg-scripts version: 6c296b954 2024-03-29 (7 hours ago)

To Reproduce
vcpkg install libcap
Failure logs
-- Downloading https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-3c7dda330bd9a154bb5b878d31fd591e4951fe17.tar.gz -> libpcap-2.69.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from /home/a/vcpkg/vcpkg-bundle.json
[DEBUG] Failed to open: /home/a/vcpkg/vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] 1000: execute_process(curl --fail -L https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-3c7dda330bd9a154bb5b878d31fd591e4951fe17.tar.gz --create-dirs --output /home/a/vcpkg/downloads/libpcap-2.69.tar.gz.35688.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 22 after   784363 us
error: Failed to download from mirror set
error: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-3c7dda330bd9a154bb5b878d31fd591e4951fe17.tar.gz: curl failed to download with exit code 22
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

curl: (22) The requested URL returned error: 404

[DEBUG] /mnt/vss/_work/1/s/src/vcpkg/base/downloads.cpp(1048):
[DEBUG] Time in subprocesses: 784363us
[DEBUG] Time in parsing JSON: 15us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 528us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 787 ms (785547us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  ports/libcap/portfile.cmake:1 (vcpkg_download_distfile)
  scripts/ports.cmake:175 (include)

When i access the url "https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-3c7dda330bd9a154bb5b878d31fd591e4951fe17.tar.gz", it says "503 Service Temporarily Unavailable".

This patch for vcpkg/ports could be a workaround:
diff --git a/ports/libcap/portfile.cmake b/ports/libcap/portfile.cmake
index c463ae169..fc9218935 100644
--- a/ports/libcap/portfile.cmake
+++ b/ports/libcap/portfile.cmake
@@ -1,11 +1,9 @@
-vcpkg_download_distfile(ARCHIVE
-    URLS https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-3c7dda330bd9a154bb5b878d31fd591e4951fe17.tar.gz
-    FILENAME libpcap-${VERSION}.tar.gz
-    SHA512 0732c9f07be38c2bb06409f1f31d7ed5ad31b38ae380650b334074856f89b885deabb9603e21a989e81b530050c068bbbf60157adbf3ca3893e4bca7d61f63d2
-)
-
-vcpkg_extract_source_archive(SOURCE_PATH
-    ARCHIVE "${ARCHIVE}"
+vcpkg_from_git(
+    OUT_SOURCE_PATH SOURCE_PATH
+    URL https://git.kernel.org/pub/scm/libs/libcap/libcap.git
+    FETCH_REF "libcap-${VERSION}"
+    REF 8bed80f9b54b7bd2a1ee1fdc2124a094733c9356
+    HEAD_REF "master"
 )

 file(COPY "${CMAKE_CURRENT_LIST_DIR}/configure" DESTINATION "${SOURCE_PATH}")


mod2gbt/mod2gbt: Permission denied

When I try to run, I get the error:
Preparing variables...
Preparing strings...
Preparing images...
Preparing ui...
Preparing sprites...
Preparing avatars...
Preparing music...
Preparing scenes...
Preparation complete
Compiling events...
Unlink _gbsbuild
Copy default engine
Looking for local engine in assets/engine
Local engine not found, using default engine
Generate header: data_ptrs.h
Generate data file: data_ptrs.c
Generate header: banks.h
Generate data file: bank_6.c
Generate data file: bank_7.c
Generate data file: bank_8.c
Generate data file: bank_9.c
Generate data file: bank_10.c
Generate object file: bank_6.o
Generate object file: bank_7.o
Generate object file: bank_8.o
Generate object file: bank_9.o
Generate object file: bank_10.o
mod2gbt "/Users/thomasfoydel/Documents/gameboy/Untitled/assets/music/Rulz_FastPaceSpeedRace.mod" music_track_101_ 8
/bin/sh: /var/folders/f7/cw9n_bcn52l4j4jk7rksc09r0000gn/T/_gbstools/mod2gbt/mod2gbt: Permission denied
126

Warnings:
- /bin/sh: /var/folders/f7/cw9n_bcn52l4j4jk7rksc09r0000gn/T/_gbstools/mod2gbt/mod2gbt: Permission denied
- 126

To Reproduce
Steps to reproduce the behavior:
I previously had gbs1 installed, I only opened it a couple times and changed the music file. I uninstalled gbs1 and installed the new gbs. The first few times I ran it the demo worked fine, now I get this error message if I try to run the demo. If I try to run a new blank project with a new blank scene it produces a similar error.
I tried uninstalling and deleting all project files, then downloading again and running gbs 2.0.0-beta4 and I get the same result
Platform (please complete the following information):

OS: macOS 10.14.
 (Said to fix up temp folder stuff on Mac sometimes)
If that doesn't work, maybe try to get to the file location and delete the _gbstools folder (it should copy it across again).
There should also be a button to clear the build cache, but I think it's gotten stuck a bit deeper than that.
Thanks for the report, I've never seen mod2gbt specifically give a permission denied error, but there was another Mac related temp/perms issue reported recently, I think that was closed.

I tried clearing the cache but that did not work, restarting the computer did, so that worked, or the combination of clearing the cache and restarting worked, so I guess it was a temp file thing. Can't believe I forgot the tried and true 'turn it off and on again.'
I'm not sure what I changed that broke it, but I think it is from when I was messing with the music in a previous version. I downloaded some mod files of the tetris theme and replaced the template.mod file with one of them in a project, though I changed it back after, and this problem was happening in any/all projects even brand new sample and blank projects.
Thank you for advising, have a great day.


Using destructuring assignment on initialize

I thought this would behave like this:
Sentence = stampit({
  init(myArg, {myArg2 = 3}) {
    // ...
  }
})

Sentence(1) // myArg = 1, myArg2 = 3
Sentence(1, {myArg2: 5}) // myArg = 1, myArg2 = 5

but the second call doesn't re-assign myArg2 (it's still 3). Should I use a different syntax?

Unfortunately, you cannot use multiple arguments for stamps like this. I guess this can be seen as a disadvantage of stamps. It's recommended to wrap all arguments in a single object that is passed in a first argument. There is a good reason for that as when you are composing from various other stamps, you shouldn't make any assumption that there are more arguments available.
However, if you insist, it's possible to access other arguments like init(myArg, { args }) { ... } where args is an array of all arguments (including first one).

Hi, @nachocab
@FredyC's answer is precise. Do you have any other questions?
Here, I rewrote your initializer to print the values as expected
Sentence = stampit({
  init(myArg, {args: [arg1, {myArg2} = {myArg2: 3}]}) {
    console.log(arg1, myArg2);
  }
})

Sentence(1) // myArg = 1, myArg2 = 3
Sentence(1, {myArg2: 5}) // myArg = 1, myArg2 = 5

Although, as @FredyC says, we do not recommend that pattern not only for stamps, but for any JavaScript in general. So, if I were you I'd write:
Sentence = stampit({
  init({myArg, myArg2 = 3}) {
    console.log(myArg, myArg2);
  }
})

Sentence({myArg: 1}) // myArg = 1, myArg2 = 3
Sentence({myArg: 1, myArg2: 5}) // myArg = 1, myArg2 = 5

Got it, thank you both!


chore(deps): update

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


BIGTOP-3919: Bump GPDB to 6.23.4

https://issues.apache.org/jira/browse/BIGTOP-3919
Upgrade GPDB to 6.23.4.

Removed the obsoleted patches;
Suppressed 'implicit-fallthrough' warning on ubuntu;
Declared python version explicitly to fix gpcheckcat issues of ambiguous python shebang.
Refactored puppet scripts.
Fix smoke tests and rpath issues on Fedora.

Tests:

Build gpdb on Fedora-36, Rockylinux-8, CentOS-7, Ubtuntu-20 and Debian-11 (Arm64/x86_64).
The related smoke tests are passed.


APO Not disabling via Cloudflare Plugin

Tried several times to disable APO via the plugin and it will not disable. Upon refresh, it is active again.

I had this issue, it turned out that the WAF settings for our domain were too strict, as the plugin uses HTTP commands (like PATCH) that aren't commonly used on most Wordpress installs, and so WAF rules like "block all requests except GET/HEAD/POST" will break the plugin in wonderfully strange ways.

Just tried disabling all the WAF settings via CloudFlare. It still didn't allow the plugin the disable APO.

I've no idea why it could happen, as the solution of last resort, you can disable APO in Cloudflare Dashboard's Speed page (under Optimization tab).

I've no idea why it could happen, as the solution of last resort, you can disable APO in Cloudflare Dashboard's Speed page (under Optimization tab).

I'm going to close the ticket, if you still have an issue feel free to raise customer support ticket and post # here.


What's the implications on package build when including the Analizers from Nuget?

Would this only impacts the project source repo and are used only during build, or do the files or assemblies contained in the nuget package are part of the output of the project in this way increasing the size of the appx (msix) package file?

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

ID: efd1e8a4-67b0-57f9-7026-dab24253f7a9
Version Independent ID: b04dd946-edef-3bbc-ebd1-b6ac43d19689
Content: EditorConfig versus analyzers - Visual Studio
Content Source: docs/code-quality/analyzers-faq.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @jillre
Microsoft Alias: jillfra

@JuanMejiaVelez Thank you for the question.
Unless this is an issue specifically with the documentation, the product team would be better apt to respond.
Please move this to the Visual Studio community to start a dialogue.


Hint for queryRaw with PostgreSQL: Postgres lowercases without double quotes + have to prefix table with schema name

Users that are not used to querying PostgreSQL directly but need to use queryRaw for some reason can easily get confused because of some Postgres behaviour, here is an example of that confusion: https://github.com/prisma/prisma/discussions/2664
It would be nice to have a section in the docs that quickly mentions these "gotchas" when querying Postgres with raw SQL.

That would be a great thing for the dataguide possibly.

Add to: https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#considerations


Feature/add google tag manager

This PR resolves #53  as it adds Google Tag manager script to the site (as per requested in Slack).
This needs a new environment variable:
export GOOGLE_TAGMANAGER_ID=

and it needs to be added to Heroku as well, when we're deployin this.
How to test
You can check, that the script is indeed inserted by changing the includeInDevelopment to true from gatsby-config's plugin's resolver. Then, check the html-source of the page, and the script should be inside the head-tag.

You're absolutely right, I completely forgot that and will add it! 😊


Incorrect Entity map when using nested Entities relations

Describe the bug
We have written clear test to reproduce the bug (together with @ruby184), I will briefly describe test cases.
Test reschedule registration from slot1 to slot2 (lazy loading assignees):
The problem is with registration entity, where after updating slot (to slot2) an then populating nested assignees entities, registration entity has incorrectly set slot1 (the old one) on itself.
Test reschedule registration from slot1 to slot2 (eager loading assignees):
The problem is with nested assignees entity, where after assigning of slot2 to registration is also incorrectly changed slotReference inside assignee entity.
Reproduction
import { MikroORM } from '@mikro-orm/sqlite';
import {
  PrimaryKey,
  ManyToOne,
  Ref,
  Collection,
  Property,
  Entity,
  t,
  OneToMany,
} from '@mikro-orm/core';

@Entity()
class Assignee {

  @PrimaryKey({ autoincrement: true, type: t.bigint })
  readonly id!: string;

  @ManyToOne(() => Slot, { ref: true })
  slot!: Ref<Slot>;

  @Property()
  email!: string;

}

@Entity()
class Slot {

  @PrimaryKey({ autoincrement: true, type: t.bigint })
  readonly id!: string;

  @OneToMany(() => Assignee, a => a.slot)
  assignees = new Collection<Assignee>(this);

  @OneToMany(() => Registration, r => r.slot)
  registrations = new Collection<Registration>(this);

  @Property()
  name!: string;

}

@Entity()
class Registration {

  @PrimaryKey({ autoincrement: true, type: t.bigint })
  readonly id!: string;

  @ManyToOne(() => Slot, { ref: true })
  slot!: Ref<Slot>;

}

describe('GH issue XXX', () => {
  let orm: MikroORM;

  beforeAll(async () => {
    orm = await MikroORM.init({
      entities: [Assignee, Slot, Registration],
      dbName: ':memory:',
    });
    await orm.schema.refreshDatabase();

    /* Create data */
    const slot1 = orm.em.create(Slot, { name: 'slot1' });
    const slot2 = orm.em.create(Slot, { name: 'slot2' });

    const assignee1 = orm.em.create(Assignee, { email<EMAIL_ADDRESS>slot: slot1 });
    const assignee2 = orm.em.create(Assignee, { email<EMAIL_ADDRESS>slot: slot2 });

    const registration = orm.em.create(Registration, { slot: slot1 });
    await orm.em.flush();
    orm.em.clear();
  });

  afterAll(() => orm.close(true));

  test('reschedule registration from slot1 to slot2 (lazy loading assignees)', async () => {
    expect.assertions(2);

    const registration = await orm.em.findOneOrFail(Registration, { slot: { name: 'slot1' } }, { populate: ['slot'] });
    const slot2 = await orm.em.findOneOrFail(Slot, { name: 'slot2' }, { populate: ['registrations'] });

    const slot1 = registration.slot.$;

    registration.slot.set(slot2);
    await orm.em.persistAndFlush(registration);

    expect(registration.slot.id).toEqual(slot2.id);

    await orm.em.populate(registration, ['slot.assignees']);
    await orm.em.populate(slot1, ['assignees']);

    expect(registration.slot.id).toEqual(slot2.id);
  });

  test('reschedule registration from slot1 to slot2 (eager loading assignees)', async () => {
    const registration = await orm.em.findOneOrFail(Registration, { slot: { name: 'slot1' } }, { populate: ['slot.assignees'] });
    const slot2 = await orm.em.findOneOrFail(Slot, { name: 'slot2' }, { populate: ['registrations', 'assignees'] });

    const slot1 = registration.slot.$;

    registration.slot.set(slot2);
    await orm.em.persistAndFlush(registration);

    expect.assertions(2);
    slot1.assignees.getItems().forEach(assignee => expect(assignee.slot.id).toEqual(slot1.id));
    slot2.assignees.getItems().forEach(assignee => expect(assignee.slot.id).toEqual(slot2.id));
  });
});

What driver are you using?
None
MikroORM version
5.9.4
Node.js version
v18.16.1
Operating system
Mac OS Sonoma 14.1.2 (23B92)
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Slack.
[X] The provided reproduction is a minimal reproducible example of the bug.

Workaround is to use ref (or in general, create the reference from the new target entity instead of using set on the old one):
-registration.slot.set(slot2);
+registration.slot = ref(slot2);

(helps with both tests)

I am actually thinking it might be a good idea to make the Reference.set method private, and enforce the usage I suggested above. This feels like a wontfix, as by using the set method, you change the wrapped entity, but the references also hold identity, so this might have side effects - which I believe is happening in your repro too. The reference to the Reference class stays somewhere and messes up things.

I understand, it makes sense to me, thanks for the solution!
I've seen usage of Reference.set() in the docs (https://github.com/mikro-orm/mikro-orm/blob/master/docs/docs/type-safe-relations.md), which probably should be also updated (search for book.author.set(new Author(...));).

I've seen usage of Reference.set() in the docs (master/docs/docs/type-safe-relations.md), which probably should be also updated (search for book.author.set(new Author(...));).

Thanks, forgot about that, addressed here:
https://github.com/mikro-orm/mikro-orm/commit/f845bfd68bc29bf46193705e6fba0ae5200c1c22?w=1


Suspected bug in Barnes-Hut-SNE implementation

I recently tried to visualize some word2vec embeddings and got pretty terrible results using the default BarnesHutTsne implementation. Performance was poor across multiple different parameter settings, so optimization there didn't really help. I'm not 100% sure where the problem is or whether this generalizes to other types of data, but I just wanted to raise a flag.
Setting theta=0.0 fixed this problem because apparently there is a special case implemented for this that results in just regular t-SNE (decomposedTsne) being used within BarnesHutTsne. This should be documented more explicitly. I also found that decomposedTsne ran an order of magnitude faster than BarnesHutTsne, which is the opposite of how it should be.
Version info

Deeplearning4j version: 0.9.1
Platform information: macOS Sierra (10.12.6)
Java version:

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

I also got incorrect results using BarnesHutTsne with sample data from dl4j-examples/src/main/resources/raw_sentences.txt. The closest words to "day" are [night, week, game, year, season, time, office, group, war, director] according to Word2Vec's wordsNearest, but BarnesHutTsne plots "day" and "week" far apart on opposite quadrants.
When I set theta=0.0, using the default TSNEStandardExample.java with only theta changed, I get the following exception:
Exception in thread "main" java.lang.IllegalStateException: Can't transpose array with rank < 2: array shape [140]
	at org.nd4j.base.Preconditions.throwStateEx(Preconditions.java:641)
	at org.nd4j.base.Preconditions.checkState(Preconditions.java:304)
	at org.nd4j.linalg.api.ndarray.BaseNDArray.transpose(BaseNDArray.java:4356)
	at org.deeplearning4j.plot.Tsne.x2p(Tsne.java:278)
	at org.deeplearning4j.plot.Tsne.calculate(Tsne.java:120)
	at org.deeplearning4j.plot.BarnesHutTsne.fit(BarnesHutTsne.java:515)
	at org.deeplearning4j.plot.BarnesHutTsne.fit(BarnesHutTsne.java:754)
	at shortlister.wordvectorizer.TSNEStandardExample.main(TSNEStandardExample.java:76)

Version info

Deeplearning4j version 1.0.0-beta4
Platform information: Ubuntu 16.04
Java version:

openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu<IP_ADDRESS>-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

Unfortunately, with theta = 0.0, there's old TSNE executed.

Also, BarnesHutTsne was overhauled recently to match reference implementation, however there was no release yet.

@anomal can you please file new issue about original (non-BarnesHutTsne) please?


fix: add commander dep that matches commander typings dep

as recommended by the typings repo docs:

The installed version of this package should match the major and minor version numbers of the installed commander package, but the patch version number is independent (following pattern used by Definitely Typed).

in my case it ended up using a commander version that didn't match and was missing command.hook()

Hey @mvayngrib
Thank you for making this contribution, I really appreciate it.
However, without approving the pipeline run I can tell that this isn't going to pass the linting stage.
The Nx Eslint rule @nx/dependency-checks validates the dependencies in the packages/license-cop/package.json file by analysing the dependencies that the code import from. Because none of the files import from "commander" directly, it's going to fail.
Would you please either grant me permissions to push to your branch or append the following to the bottom of packages/license-cop/src/index.ts:
// The following is included to insure that Nx doesn't remove "commander"
// as a dependency from packages/license-cop/package.json.
//
// This is necessary because the @nx/dependency-checks eslint rule will
// remove commander if the license-cop package never imports from it directly.
//
// This approach was chosen over using the ignoredDependencies config option
// to insure that the same eslint rule continues to catch when the commander
// version falls out of sync with the @commander-js/extra-typings version.
import type { Command as _Command } from "commander";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
type _UnusedCommand = _Command;

thanks, pushed your suggestion!
what do you think about adding a local lint script to match the one in ci.yml? It'll be easier for people to notice lint issues before they create a PR

Yeah that sounds like a goodidea. Feel free to add it in this PR if you'd like - it should follow the exact same pattern as the other two: "lint": "npx nx run-many --target lint",

Well, perhaps it should contain the --max-warnings 0 too.

Yeah, perfect - thanks

This was just released in 1.4.2: https://www.npmjs.com/package/license-cop/v/1.4.2


IntelliJ 14.1. can't comment when using oneside viewer

in idea 14.1 the diff tool now comes up with the one-side viewer by default and you can't find how to comment using this viewer.
flipping back to the default viewer allows commenting in the usual way.

Feel free to vote for the following issue which discusses an IntelliJ plugin API for review comments: https://youtrack.jetbrains.com/issue/IDEA-138302

Crucible4IDEA implementation can probably used as base:
https://github.com/AMPivovarov/Crucible4IDEA/commit/ae8364589afe39f726412517dc2c103d2852e4e0

IDEA 15 has a new extension point: DiffExtension.onViewerCreated(DiffViewer viewer, DiffContext context, DiffRequest request) and DiffViewerBase.addListener(DiffViewerListener listener).


Format Exception when registering types

Describe the bug
When registering some types, I get the following exception:
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at HotChocolate.Types.FieldInitHelper.CompleteFields[TTypeDef,TFieldType,TFieldDef](ICompletionContext context, TTypeDef definition, IReadOnlyCollection1 fields) in C:\hc\src\Core\Types\Types\Helpers\FieldInitHelper.cs:line 54    at HotChocolate.Types.TypeSystemObjectBase1.CompleteType(ICompletionContext context) in C:\hc\src\Core\Types\Types\TypeSystemObjectBase~1.cs:line 89
at HotChocolate.Configuration.TypeInitializer.b__43_0(RegisteredType registeredType) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 435
at HotChocolate.Configuration.TypeInitializer.CompleteTypes(TypeDependencyKind kind, Func2 action) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 454    at HotChocolate.Configuration.TypeInitializer.CompleteTypes() in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 438    at HotChocolate.Configuration.TypeInitializer.Initialize(Func1 schemaResolver) in C:\hc\src\Core\Types\Configuration\TypeInitializer.cs:line 109
at HotChocolate.SchemaBuilder.InitializeTypes(IServiceProvider services, IDescriptorContext descriptorContext, IBindingLookup bindingLookup, IEnumerable1 types, Func1 schemaResolver) in C:\hc\src\Core\Types\SchemaBuilder.Create.cs:line 184
at HotChocolate.SchemaBuilder.Create() in C:\hc\src\Core\Types\SchemaBuilder.Create.cs:line 36
ObjectTypeUtil.txt
To Reproduce
Steps to reproduce the behavior:

Create a entities and one query class and define them is a separate assembly that the asp .net core application assembly
Load the assembly at runtime
Register the entities and types using my ObjectTypeUtils attached:
the ObjectTypeUtils  use reflection to create ObjectType from given Type t
Then when get the error you can see in the stack trace.

Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):

OS: [e.g. iOS]
Version [9.0.0-preview.42]

Additional context
Asp.net core

Thank you for reporting this issue.
I have fixed the error message now. It basically says that you object has no valid fields.
Since you are on V9 I recommend using the schema builder:
SchemaBuilder.New()
   .AddType(YOURPOCOTYPE)
   .Create()

The bug is fixed with 9.0.0-rc.1 which should be completed in the next 30 min.

Thank you very much
COOLLL


Add an example for graphql

Like in https://github.com/zeit/next.js/tree/v3-beta/examples/with-apollo we'd love to see an graphql example with nuxt.

https://github.com/nuxt/nuxt.js/issues/504


What is the bundle size of the final version?

I couldn't find the final bundle size in the readme. Can anyone tell me how much will it add to the bundle?

Here we go
<EMAIL_ADDRESS>


Make accounts searchable by username

Closes #662

This issue is blocked by: https://github.com/Granola-Team/mina-indexer/issues/1066


Adding GCS output and fixing linting issues for few outputs

Adding support for reading files and sending them to a GCS bucket, or create the bucket if it does not already exist.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-11-23T09:19:35.216+0000

Duration: 6 min 6 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
20

Skipped
0

Total
20

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

I also fixed some imports of ioutil which is now deprecated, and the linter was complaining, this includes other outputs as well

@andrewkroh I am adding in the second environmental variable again, as it otherwise breaks the client:


Mirrors now use a singleton to reference the main camera to make changing the camera and instancing mirrors easier

It felt a little inefficient to have to manually assign the main camera to every individual mirror. I found out you can dynamically add and remove autoload/singletons in plugin startup (link) and so I gave it a shot.
Weirdly, Godot seems to fail to detect the plugin's singleton in the editor, but the mirror still appears to work perfectly in the game. This does seem to be a known issue though. I made a small one if-statement workaround, no idea if I'm missing something here.
Let me know if you have any suggestions.

Closed due to lack of interest and possibly poor etiquette on my part. You're welcome to reopen it though.

Hey! Sorry for not interacting, there was no poor etiquette or anything like it.
I had little time and every time I looked at this PR it was a bit confusing for me, because I cannot decide if it would be better or not to assign cameras in a singleton.
It seems like the simpler and better approach but I'm a bit reluctant to reduce the level of control the user has. I can't think of a use case for assigning different main cameras though.
So I'm a bit undecided.


[Bug]: Inline reversed flashcards in a list with custom separator not showing for review when due

Describe the bug
I'm using a list of inline reversed flashcards with a custom separator (=) like this (for learning foreign words):
- καφενείο, το = кафене (традиционно, мъжко)
<!--SR:!2000-01-01,1,250!2024-12-06,3,267-->
- πρακτική, η = практика
<!--SR:!2024-12-23,2,243!2000-01-01,1,250-->

Recently, probably since last couple of updates, these no longer show as due for review, despite the comment indicating that they're past their review dates. Having the review comment on the same line does not change the behavior. However removing the list does, i.e. when not in a list, they're picked correctly for review. Not sure if the custom separator makes any difference.
To Reproduce

[This step might be unnecessary, possibly the behaviour is the same with the default separator]. Define a custom separator for Inline reversed flashcards in the settings (=).
Create a list with inline reversed flashcards like this:

- καφενείο, το = кафене (традиционно, мъжко)
<!--SR:!2000-01-01,1,250!2024-12-06,3,267-->
- πρακτική, η = практика
<!--SR:!2024-12-23,2,243!2000-01-01,1,250-->

Go to review dialog and observe that no lines are due for review, despite comments indicating that both are.

Expected behavior
Inline reversed flashcards in a list should exhibit the same behaviour as the ones that are not in a list, or otherwise the list incompatibility should be documented.
Screenshots
No response
OS of your device
Linux
Obsidian version
1.7.7.
Plugin version
1.13.2
Installer version
No response
Additional context
No response
Config file
data.json

Any progress on this? I'm having a similar issue #1190

@ronzulu @st3v3nmw Any thoughts?

For what it's worth: disabling the "bury sibling cards" option and the "load balancer" option in the settings AND manually deleting the entire bury list from the data.json file appears to have fixed the issue, although I still need to verify that after yet another flashcards review the scheduling will be picked up correctly.


500: Internal Error

Bug Report
I can access to Web UI, but when I want to access at others page : (models, knowledge...setting) i have this error : "500: Internal Error"
Important Notes

Before submitting a bug report: Please check the Issues or Discussions section to see if a similar issue or feature request has already been posted. It's likely we're already tracking it! If you’re unsure, start a discussion post first. This will help us efficiently focus on improving the project.

Collaborate respectfully: We value a constructive attitude, so please be mindful of your communication. If negativity is part of your approach, our capacity to engage may be limited. We’re here to help if you’re open to learning and communicating positively.  We appreciate your time and ask that you respect ours.

Contributing: If you encounter an issue, we highly encourage you to submit a pull request or fork the project. We actively work to prevent contributor burnout to maintain the quality and continuity of Open WebUI.

Bug reproducibility: If a bug cannot be reproduced with a :main or :dev Docker setup, or a pip install with Python 3.11, it may require additional help from the community. In such cases, we will move it to the "issues" Discussions section due to our limited resources. We encourage the community to assist with these issues. Remember, it’s not that the issue doesn’t exist; we need your help!

Note: Please remove the notes above when submitting your post. Thank you for your understanding and support!

Installation Method
Installation method : windows - npm i
Environment

Open WebUI Version: :  v0.4.7 (latest)

Ollama (if applicable):: 0.4.7  (latest)

Operating System: : Windows 2022 server

Browser (if applicable): Edge

Confirmation:

[ ] I have read and followed all the instructions provided in the README.md.
[ ] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
[Describe what you expected to happen.]
Actual Behavior:
[Describe what actually happened.]
Description
Bug Summary:
[Provide a brief but clear summary of the bug]
Reproduction Details
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!


Implement GPU support for relevant tools

Description of feature
As discussed in #68. Should start with SCVI first, as it is probably most relevant. Inspiration for implementation can be taken from #proteinfold. Should try to establish common guidelines for GPU support.

I believe cellbender is another candidate for GPU support. Today, I managed to hack this in, by adding the following to a config file:
process {
    executor = 'slurm'
    withName: '.*:EMPTY_DROPLET_REMOVAL:CELLBENDER_REMOVEBACKGROUND' {
        cpus = 1
        debug = true
        container = 'docker://us.gcr.io/broad-dsde-methods/cellbender:0.3.2'
        queue = "gpu"
        clusterOptions = '--gres=gpu:1'
        ext.args = { "--epochs ${params.cellbender_epochs} --cuda" }
    }
}

singularity {
  enabled=true
  runOptions    = '--no-mount tmp --writable-tmpfs --nv'
}

Here, I am using a GPU enabled docker container that is provided by the cellbender developers.

Thanks for the input. In the meantime I had a discussion with other maintainers concerning standardization and this is my best plan for now:

Add a label gpu to all processes supporting GPU
Add a profile gpu which does the following:
For all processes withLabel: "gpu" set ext.use_gpu to equal true
Tell containerization engines to mount GPUs (e.g. apptainer.runOptions = "--nv" ). As far as I know these runOptions can only be set globally not per process/task. However, this will not have any negative effect on processes that don't utilize GPU.
Not sure about this one: Switch the environment based on ext.use_gpu as the images containing GPU drivers will be much larger than the non-GPU ones and not everyone will need them
Within the script , utilize ext.use_gpu to tell the underlying tool to use GPU or not (e.g. adding --cuda)

Which leaves the following for the user:

Set a different queue for all processes withLabel: "GPU"
Adjust the clusterOptions to run the tasks on GPU nodes

Maybe this could be of help when implementing, only relevant for slurm+singularity:
When running the hack above, I did run in some GPU memory issues. I realised that I had 8 jobs running, but they all used the same gpu. I think I tracked this down to the following: slurm set the variable CUDA_VISIBLE_DEVICES to assign GPUs to a job. But inside the singularity container this variable is not visible anymore, probably because it is started in contained mode. So, this variable has to be passed to inside the container (not sure yet how), such that jobs are properly distributed to different GPUs.

Regarding my last comment, I solved this by explicitly setting passing some variables into the container using the --env flag:
singularity {
  enabled=true
  runOptions    = '--no-mount tmp --writable-tmpfs --nv --env CUDA_VISIBLE_DEVICES=$CUDA_VISIBLE_DEVICES --env ROCR_VISIBLE_DEVICES=$ROCR_VISIBLE_DEVICES --env ZE_AFFINITY_MASK=$ZE_AFFINITY_MASK --env NVIDIA_VISIBLE_DEVICES=$CUDA_VISIBLE_DEVICES'
}


Feature/source link

@Kamilcuk
Added your changes and made it a configurable variable.  Can you review please?

This is (with settings and such) way more than I could ever wish for.
When hitting make it prints some FAIL, running ./fabio results in error panic: template: routes:86: function "RoutingTable" not defined.

That issue should be fixed, i had pushed the initial changes before finding that bug, but it builds ok now and should be good.
We are holding on merging this initially right now while we hash out which "port" and "scheme" and what those should really be and where and when they should be used.  But test it and see if its what you are looking for and want and how this works for you.
Thank you

I tested ui.routingtable.source.linkenabled = true and works fine for me.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: Kamilcuk:white_check_mark: KTruesdellENA:x: KTruesdell-ENAYou have signed the CLA already but the status is still pending? Let us recheck it.


Literal key "on" gets rendered as "true"

Simplest reproducible example:
$ ytt --version
ytt version 0.30.0
$ cat <<EOF | ytt -f -
on: what?
EOF
true: what?

dup of https://github.com/k14s/ytt/issues/146. feel free to comment on the that issue.


Rahul clean up dev on docker

This PR ended up being bigger than intended. Does 2 things:

Cleans up the Docs to remove references to the "Dev on Docker" flow
Removes unnecessary code / configs for "full docker" setup

Coverage remained the same at 94.655% when pulling 494fa7c1b7e338f9286862d2685636148b3aea56 on rahul-clean-up-dev-on-docker into a7e607de7d5008b679ef0d917501a39001bb4bb1 on main.


Ndjson parse with docs?

adds docs but not sure how this will work because too fast!

cherry picked the docs commit in master! 3.2.0


[BUG] block-no-redundant-nesting autofix

node: 20.3.1
stylelint: 15.11.0
stylelint-scss: 5.3.0
sni-brick {
   ...
  &[selected] {
    &:not(.wrong) { // <--- stylelint-scss correctly says it's unexpected.
      &[word=""] {
        opacity: .7 !important;
      }

      &:not([word=""]) {
        opacity: .7 !important;
      }
    }
  }
}

Autofixes that code to this which is wrong:
sni-brick {
   ...
   sni-brick[selected]:not(.wrong) {
      &[word=""] {
        opacity: .7 !important;
      }

      &:not([word=""]) {
        opacity: .7 !important;
      }
  }
}

Correct fix would be this:
sni-brick {
   ...
  &[selected]:not(.wrong) {
    &[word=""] {
      opacity: .7 !important;
    }

    &:not([word=""]) {
      opacity: .7 !important;
    }
  }
}

Thanks for reporting, also friendly ping to @FloEdelmann :)

I created a PR to fix this:

#883


Fix button SecondFunc trigger

I had this change laying around for some time, but with the gathered reports in https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1666 it may be worth to bring it in.

Introduce changes to the button function calling behavior, to not trigger both function if the button is held. Though this behavior is documented, it is still counter intuitive and likely the uncommon case.
For the "SecondFunc" hold_mode the new behavior is:

SecondFunc

only main function is executed if button is NOT held past hold_time
only secondary function is executed if button is held past hold_time

SecondFuncRepeat

only main function is executed if button is NOT held past hold_time
only secondary function is executed if button is held past hold_time and repeatedly if button is futher held past hold_time

Other hold_modes have not been affected and behave the same:

None (no changes)

main function is executed instantly

Repeat (no changes)

main function is executed instantly and repeatedly if button is held past hold_time

Postpone (no changes)

main function is executed if button is held past hold_time

closes https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1666

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 78.547%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
454

Relevant Lines:
578

💛  - Coveralls

@s-martin not sure if we should change the behavior and explain the changes in the release notes (and needed updates for existing configurations).
Or make this new behavior activatable via a new parameter for the button.
I personally dont see a usecase where its usefull to trigger both functions, but they maybe exist.

For me the new behavior you implemented is more intuitive and consistent.
I don't have a comprehensive upgrade path for that behavior change. My suggestion would be to clearly state this as a breaking change in the release notes. Additionally we should make sure that we update all documentation (also in the wiki and maybe even make a quick search in the (closed) issues to add a comment, if necessary).

I don't have a comprehensive upgrade path for that behavior change. My suggestion would be to clearly state this as a breaking change in the release notes. Additionally we should make sure that we update all documentation (also in the wiki and maybe even make a quick search in the (closed) issues to add a comment, if necessary).

I don't see an update path aswell.
I added an alert to the component docs.
The wiki didn't have any references that were this specific.
All relevant tickets i found are already linked in the referenced issue. I will add a note to them if this is merged.


iOS Notifications not working correct

Specify the sample to which the issue belongs (use [x]):
[x ] Chat sample
[ ] P2P Call sample
[ ] Conference Call sample
Platform (use [x])
[ ] Android
[ x] iOS
Device info
Manufacture: Apple
Model: every
OS version: every
Describe the bug:
We implemented firebase_messaging and flutter_local_notification into our app. We also registered the certificates in the ConnectyCube Admin Panel as well as in Firebase Console. We didn't get any notifications on iOS. So we implemented flutter_apns into our app. Now we are getting the notification in our iOS App but we can't customize it. The Notification get's displayed in a default way (title: our app name, body: title of message send). Especially for group chat messages we want to display the notification like so: <user_name>: . How can I customize the flutter_apns notification? There are callbacks when initializing flutter_apns, but the notification gets displayed before going into these callbacks. So I think these APNS notifications get handled by the system some sort. Is there a way to catch the incoming notification like in firebase_messaging and show a custom notification with flutter_local_notification?

You can make some customizations from the Connectycube admin panel, just go to Chat -> Offline notifications, there you can change the template of a message and some other default parameters.

Thank you for the info. I already tried changing some of these values but they don't seem to do anything.

Have you saved your changes before the exit? Could you please share the screenshot with your changes?

I made similar changes for my app and result looks like:

Please, check one more time, have you save your settings by clicking on the 'Save' button at the bottom of the Settings page.

yeah it is saved ... but thank you i will try it again


How to empty an S3 Bucket and ECR Registry

Hi,
I am wondering how to empty an S3Bucket or a ECR Registry to be able to delete the Bucket or the ECR Registry?
Thanks in advance

For now, you can not directly do that with awless. However, this can be done with bash one-liners:
To empty a s3bucket, replace your-bucket (2 times) with the name of the bucket you want to empty and run:
awless list s3objects --filter bucket=your-bucket --format tsv | tail -n +2 | cut -f 1 | xargs -n1 awless delete s3object bucket=your-bucket name=

When you have checked that the output is correct (it attempts to delete the correct objects), add the -f flag to awless delete s3object, in order to disable the confirmation prompt.
To empty a registry, i.e. delete all the repositories of an account registry, replace your-account with the ID of the account of the ECR registry. Note that you can know your account with awless whoami --account-only and if you want to empty the registry of your current account, you can omit this parameter:
awless list repositories --filter account=your-account --format tsv | tail -n +2 | cut -f 1 | xargs -n1 awless delete repository force=true account=your-account name=

When you have checked that the output is correct (it attempts to delete the correct objects), add the -f flag to awless delete repository, in order to disable the confirmation prompt.

Thanks for your response. I am going to try this out. Regards


Allowing the token to be an array

As was asked in the slack team, allowing for token to be an array would allow for easily rotating it automatically. The rotating key is easily provided for you when using heroku and its Secure Key add-on. This keeps parity with expressjs/session's secret option allowing for an array. There's security implications (and convenience) implications for a rotating key, so this would be fantastic. 👍

Thanks for creating an issue for this @saiichihashimoto! I haven't actually used the heroku add-on myself but it shouldn't be too bad to support. People will just need to be aware that when a key rotates it will invalidate all JWT's signed with that key.
Another consideration will be how does this play with a cluster of services, especially if their keys need to stay in sync.

Well, in the case of that Secure Key add-on, it gives you an env var that is CURRENT_KEY,OLD_KEY. Whenver it rotates, you still have the old key, which keeps it valid. If you have all of your services play off of those values, they should be able to stay in sync? Unless I'm misunderstanding you.


Bump root python image version to 3.9.16

What are the relevant tickets?
n/a
What's this PR do?
Bumps the version of the python image referenced in the Dockerfile to 3.9.16. I was having some issues with the prior 3.9.6 image not working (across a couple x86 Linux machines); bumping it to 3.9.16 fixed it and probably wouldn't hurt to have this use the current 3.9 release anyway. This only affects local development.
How should this be manually tested?
Rebuild your image and run the standard test suites. Tests should all pass and everything should work as expected.

Codecov Report

Merging #1450 (24bb300) into main (acd0936) will increase coverage by 1.84%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1450      +/-   ##
==========================================
+ Coverage   81.31%   83.15%   +1.84%
==========================================
  Files         164      310     +146
  Lines        8971    13306    +4335
  Branches      946      946
==========================================
+ Hits         7295    11065    +3770
- Misses       1404     1971     +567
+ Partials      272      270       -2

Impacted Files
Coverage Δ

ecommerce/models.py
85.31% <0.00%> (ø)

...ublic/src/containers/pages/login/LoginEmailPage.js
96.29% <0.00%> (ø)

frontend/public/src/lib/courseApi.js
94.44% <0.00%> (ø)

...src/containers/pages/records/LearnerRecordsPage.js
18.18% <0.00%> (ø)

.../src/containers/pages/login/LoginEmailPage_test.js
100.00% <0.00%> (ø)

...ublic/src/components/forms/EditProfileForm_test.js
100.00% <0.00%> (ø)

frontend/public/src/factories/user.js
100.00% <0.00%> (ø)

frontend/public/src/factories/course.js
98.97% <0.00%> (ø)

frontend/public/src/lib/queries/users_test.js
100.00% <0.00%> (ø)

...end/public/src/components/forms/ChangeEmailForm.js
100.00% <0.00%> (ø)

... and 138 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


kernel/common-config: enable INET_{TCP,UDP,RAW}_DIAG and INET_DIAG_DESTROY

Motivation for this change
These are required for some ss functionality. ss -K is particularly useful for killing connections and requires INET_DIAG_DESTROY. As far as I know, this is the only reliable way to kill stuck connections on Linux.
Things done

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

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

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

Notify maintainers
cc @thoughtpolice
I tested on 4.19.75-hardened and confirmed that ss -K dst SOME_IP_ADDRESS dport = 80 did not work before this change, and did work after this change.

what about other distribs (please link the configs so I can add them to https://nixos.wiki/wiki/Linux_kernel)

what about other distribs (please link the configs so I can add them to nixos.wiki/wiki/Linux_kernel)

Both debian and archlinux also seems to include these modules.

@GrahamcOfBorg eval

@GrahamcOfBorg eval

I still wonder why the evaluation error persists.

@Mic92 Because the fix was not merged into staging and staging-next
@GrahamcOfBorg eval


Wording in the article

Issue in ./help/components/dimensions/prop.md
The customer is complaining that the warning in the section "Case Sensitivity" is insufficient to understand the consequences of toggling the case sensitivity option.
Could you please consider changing it so it gives more information and warning to customers of what potential results are of toggling this feature?

I would prefer to keep the succinct wording of that message as-is, because the intricacies of toggling this setting aren't really relevant to a wide audience. The important thing to know is that you're not going to see consistent results when looking at data that spans the date that you toggle this setting.
However since you asked here I'm happy to spill all the beans. Consider the following example:

A visitor arrives at your site at the beginning of the month, and uses internal search.
They search for the following three terms consecutively: Dog, DOG, and dog. Search terms are collected in a prop as separate page views.
You pull a mid-month report to see internal search keywords to date.
Following this report, you contact Customer Care and have them toggle 'Ignore Case'.
Later on in the month, the visitor comes back and performs the same three internal searches: Dog, DOG, and dog.
You pull another report at the end of the month that contains both of the above visits.

If going from 'ignore case' to 'case sensitive', the mid-month report would look like this:

prop1
page views

Dog
3

Analytics uses the first case collected in the calendar month. Then you make it case sensitive and pull the end of month report:

prop1
page views

Dog
4

Dog
1

DOG
1

On the Adobe Analytics back end, the values that ignore case are treated as if they are all lowercase. However, the displayed case is still the value originally used when 'Ignore Case' was enabled. The resulting report is two 'Dog' line items that appear identical.
Now, if going from 'case sensitive' to 'ignore case', it's a bit more straightforward:
Mid-month report:

prop1
page views

Dog
1

DOG
1

dog
1

End of month report:

prop1
page views

dog
4

DOG
1

Dog
1

Values set to ignore case are treated as if they are all lowercase. The all-lowercase value previously collected is combined with the 'Ignore Case' values.
It's also worth noting that if you have existing filters or segments that rely on prop values, you'll want to double check that they still work because they might be using a value with a different case.
Hopefully this gives you everything you need around this topic. If you have any suggestions around how to make that warning communicate this word dump while still being succinct, I'm open to updating it as well.


Extra data error logged on LG range

HA is logging "extra data" errors attempting to get data on my LG range, model LSE4617ST.  HA reports the existence of 5 entities, but they never update status.  The error appears about every 30 seconds.
Unexpected error fetching smartthinq_sensors-Oven data: Extra data: line 1 column 2 (char 1)
4:39:46 PM – (ERROR) SmartThinQ LGE Sensors (custom integration) - message first occurred at January 13, 2022, 5:03:15 PM and shows up 2828 times
This error originated from a custom integration.
Logger: custom_components.smartthinq_sensors
Source: custom_components/smartthinq_sensors/wideq/device.py:737
Integration: SmartThinQ LGE Sensors (documentation, issues)
First occurred: January 13, 2022, 5:03:15 PM (2828 occurrences)
Last logged: 4:39:46 PM
Unexpected error fetching smartthinq_sensors-Oven data: Extra data: line 1 column 2 (char 1)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/config/custom_components/smartthinq_sensors/init.py", line 361, in async_device_update
await self._hass.async_add_executor_job(self._device_update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/smartthinq_sensors/init.py", line 373, in _device_update
state = self._device.poll()
File "/config/custom_components/smartthinq_sensors/wideq/range.py", line 54, in poll
res = self.device_poll("ovenState")
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 1374, in device_poll
res = self._model_info.decode_monitor(data)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 745, in decode_monitor
return self.decode_monitor_json(data)
File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 737, in decode_monitor_json
return json.loads(data.decode("utf8"))
File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)

You should enable debug log and provide me new log file to investigate this issue.
To enable debug add this lines in configuration.yaml log section:
logger:
  default: info
  logs:
    custom_components.smartthinq_sensors: debug

Can you provide me the JSON definition file for your oven (or attach full log from HA startup so that I can get the link and download by myself)?

I attempted to attach the full log in my previous response, called HA_Thinq_log.txt, but I might have messed it up.  Here it is again:
HA_Thinq_log.txt
If there's another log I can provide to help troubleshoot, I'll need a bit more guidance on where to find it.  The (hopefully) relevant part of the attached log is below.
I'm happy to dig up the JSON definition file, but I'd need to be pointed in the right direction.
-------------------------------------------------------------------
smartthinq_sensors
Version: 0.12.2
This is a custom component
If you have any issues with this you need to open an issue here:
https://github.com/ollo69/ha-smartthinq-sensors/issues
-------------------------------------------------------------------
2022-01-18 08:40:51 INFO (MainThread) [custom_components.smartthinq_sensors] Initializing ThinQ platform with region: US - language: en-US
2022-01-18 08:40:51 DEBUG (SyncWorker_1) [custom_components.smartthinq_sensors.wideq.core_v2] thinq2_get before: https://route.lgthinq.com:46030/v1/service/application/gateway-uri
2022-01-18 08:40:51 INFO (MainThread) [custom_components.ble_monitor] Attention! Option report_unknown is enabled for Govee sensors, be ready for a huge output
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setting up camera
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setting up usb
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain usb took 0.0 seconds
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setting up hacs
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain hacs took 0.0 seconds
2022-01-18 08:40:51 DEBUG (SyncWorker_1) [custom_components.smartthinq_sensors.wideq.core_v2] thinq2_get after: {'resultCode': '0000', 'result': {'countryCode': 'US', 'languageCode': 'en-US', 'thinq1Uri': 'https://aic.lgthinq.com:46030/api', 'thinq2Uri': 'https://aic-service.lgthinq.com:46030/v1', 'empUri': 'https://us.m.lgaccount.com', 'empSpxUri': 'https://us.m.lgaccount.com/spx', 'rtiUri': 'aic.lgthinq.com:47878', 'mediaUri': 'aic-media.lgthinq.com:47800', 'appLatestVer': '4.0.12230', 'appUpdateYn': 'Y', 'appLink': 'market://details?id=com.lgeha.nuts', 'nestSupportAppVer': '9.0.0', 'uuidLoginYn': 'Y', 'lineLoginYn': 'N', 'lineChannelId': '', 'cicTel': '800-243-0000', 'cicUri': '', 'isSupportVideoYn': 'N', 'countryLangDescription': 'USA/English', 'empTermsUri': 'https://us.emp.lgsmartplatform.com', 'googleAssistantUri': 'https://assistant.google.com/services/invoke/uid/000000d26892b8a3', 'smartWorldUri': 'http://us.lgworld.com/mall/mobile.main.dev?referUrl=ThinQ', 'racUri': 'us.rac.lgeapi.com', 'cssUri': 'https://aic-common.lgthinq.com', 'cssWebUri': 'http://s3-an2-op-t20-css-web-resource.s3-website.ap-northeast-2.amazonaws.com', 'iotssUri': 'https://aic-iotservice.lgthinq.com', 'chatBotUri': 'https://chatbot-us.lgthinq.com', 'autoOrderSetUri': 'http://us.lgworld.com/mall/mobile.product.RetrieveProdCategoryList.dev?referUrl=ThinQ&initCategoryType=AUTO', 'autoOrderManageUri': 'http://us.lgworld.com/mall/mobile.mypage.RetrieveAutoRequestList.dev?referUrl=ThinQ', 'aiShoppingUri': '', 'onestopCall': '1-833-560-1236', 'onestopEngineerUri': 'https://svcthinq.com/global/repairRequest.html', 'hdssUri': '', 'amazonDrsYn': 'Y', 'features': {'supportTvIoTServerYn': 'Y', 'amazonDrs': 'Y', 'bleConfirmYn': 'Y', 'csEngineerReserveProdCode': 'LA01,LA02,LA05,LA03,LA06,LA07,LA04,LI01,LI06,LI04,LI05,TV,LI03,KI01,KI0101,KI0102,KI0103,KI0104,KI02,KI0201,KI0202,KI10,KI03,KI04,KI08,KI07,KI05,KI12,KI06,AI01,RAC,PAC,POT,WIN,AI04,CST,DUCT,SPAC,SRAC,CVT,CSL,AI05,AWHP,LI02,AI02,AI03,AI07,SB01,SB07,SB02,SB04,SB03,SB05', 'androidAutoYn': 'Y', 'searchYn': 'Y', 'thinqMall': 'Y', 'thinqFaq': 'Y', 'careCardFeature': 'Y', 'smsAuthVerifyYn': 'Y', 'groupControlYn': 'Y', 'autoOrderYn': 'Y', 'supportBleYn': 'Y', 'pccWarrantyProd': '101,102,103,104,105,106,201,202,203,204,222,301,302,303,304,401,402,403,405,406,407,408,409,501,504,601,603', 'salesforceYn': 'Y', 'onestopCallbyProductId': '{"Common":"1-833-560-1236","301":"1-833-560-1236","401":"1-833-560-1236","402":"1-833-560-1236","201":"1-833-560-1236","202":"1-833-560-1236","203":"1-833-560-1236","221":"1-833-560-1236","222":"1-833-560-1236","501":"1-833-560-1236","204":"1-833-560-1236","101":"1-833-560-1236","102":"1-833-560-1236","103":"1-833-560-1236"}', 'disableWeatherCard': 'N', 'pccPushProd': '101,102,103,201,202,203,204,222,301,302,401,402', 'pccRegisterProd': '101,102,103,104,105,106,201,202,203,204,222,301,302,303,304,401,402,403,405,406,407,408,409,501,504,601,603', 'tvRcmdContentYn': 'Y', 'pccModelCategory': 'N', 'supportProductManualYn': 'N', 'smartlifeProductExtension': 'Y', 'amazonAlexaYn': 'Y', 'pccPush': 'Y', 'clientDbYn': 'Y', 'careContentCard': 'Y', 'pccMyPageYn': 'Y', 'smsAuthYn': 'Y', 'thinqNotice': 'Y', 'inAppReviewYn': 'Y', 'pccNoticeAgreement': 'N', 'cicSupport': 'Y', 'pccWarrantyPeriodType': 'M', 'pccReceiptRegister': 'Y', 'qrRegisterYn': 'Y'}, 'serviceCards': [{'id': 1000, 'order': 4, 'title': None, 'message': None, 'bgImage': 'https://objectcontent.lgthinq.com/16eda39d-9179-45e9-9339-55dcceeaf1bf?hdnts=exp=1654220528~hmac=395a8b43cc778b42a1e671477c7ccff5baa6f1c49a73a4e9f6f48e3472cdc7e4', 'bgImageDescription': None, 'smallImage': None, 'bgColor': None, 'link': 'thinqapp://webapp?state="GCM_DRS01_productList"', 'trackingKeyword': 'FUN_DRS_DEF_US', 'priority': 'normal', 'startDate': '1569902400', 'endDate': '1890773999', 'models': []}], 'uris': {'amazonAlexaLearnMoreUri': 'https://www.amazon.com/b?node=21227173011', 'takeATourUri': 'https://s3-us2-op-t20-css-contents.s3.us-west-2.amazonaws.com/workexperience-new/ios/no-version/index.html', 'csReserveListManualUri': 'https://svcthinq.com/support/global/track-repair.html', 'offerMicroSiteUri': 'https://thinq.us.lg.com/extend/mobile/login', 'hdssUri': 'https://aic-hdss.lgthinq.com:47040', 'quickguideUri': 'https://s3-us2-op-t20-css-contents.s3-us-west-2.amazonaws.com/quickguide/index.html', 'recipeUri': 'https://www.sidechef.com/account/signup/?next=/lg/&redirect=1', 'csFindServiceCenterUri': 'https://www.lg.com/us/support/find-service-center', 'gscsUri': 'https://gscs-america.lge.com', 'storeOrderUri': 'https://us.lgworld.com', 'storeOrderHistoryUri': 'http://us.lgworld.com/mall/mobile.mypage.RetrieveOrderSearchList.dev?referUrl=ThinQ', 'amazonDartUri': 'https://shs.lgthinq.com', 'csEngineerReserveUri': 'https://svcthinq.com/support/global/repair-service-schedule.html'}}}
2022-01-18 08:40:51 DEBUG (SyncWorker_1) [custom_components.smartthinq_sensors.wideq.core_v2] Request new access token
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setting up home_connect
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain home_connect took 0.0 seconds
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setting up roomba
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain roomba took 0.0 seconds
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 1.6 seconds
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.srp_energy
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain media_source took 1.6 seconds
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setting up squeezebox
2022-01-18 08:40:51 INFO (MainThread) [homeassistant.setup] Setup of domain squeezebox took 0.0 seconds
2022-01-18 08:40:51 DEBUG (SyncWorker_1) [custom_components.smartthinq_sensors.wideq.core_v2] Authorization request completed successfully
2022-01-18 08:40:52 DEBUG (SyncWorker_1) [custom_components.smartthinq_sensors.wideq.core_v2] thinq2_get before: https://aic-service.lgthinq.com:46030/v1/service/application/dashboard
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setting up ifttt
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain ifttt took 0.0 seconds
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain group took 1.8 seconds
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 1.8 seconds
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setting up network
2022-01-18 08:40:52 INFO (SyncWorker_2) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain network took 0.0 seconds
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setting up energy
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain energy took 0.0 seconds
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain tag took 2.6 seconds
2022-01-18 08:40:52 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 1.9 seconds
2022-01-18 08:40:52 INFO (MainThread) [custom_components.hacs]

Yes sorry, I see attached file in previous post just now.
What I can see from your file is that your oven is using a different protocol, that I never see before (BINARY(HEX))
I need some time to implement this, I will come back when I will be ready.

I appreciate the work you've put into this integration.  If there's any information I can provide to support your development, please let me know!

Can you try to installing the master version and let me know if this fix the issue. I would like to be sure that issue is fixed before releasing an official new version.
If still not work, please attach again logs with errors.

HA_Thinq_log2.txt
Logs attached ^^^
I pulled master using HACS, but the logs are still reporting version 0.12.3.  I don't know if that's expected.  The error is different, though, so that's progress!
Unexpected error fetching smartthinq_sensors-Oven data: a bytes-like object is required, not 'str'

logs are still reporting version 0.12.3

Yes, is expected.
Please update and try again, just committed a little fix.

Updated from master and restarted.  No errors reported.
Here's the full log from restart:  HA_Thinq_log3.txt
Checking now to see if cooktop and oven status update properly in HA...

A very quick test indicates that HA is receiving state updates from my cooktop and oven.
This issue can be closed.  Thanks for the quick work!

Fine!!!
Remember to disable debug and update to official new release when available, or HACS will not notify you about new version.


Updated: far 3.0.5450.1113

Newer version of far (3.0.5503.1263) is now available in master. e6b9eae4db64098a404e77c61e3124d8eedcb89e


Feature Request: PQL support for "label"

Hi! I'd like to be able to filter by label. E.g. by entering "label ~ "distro"" in the Console. Also, it would be very nice to have a "console history", for example a down-pointing arrow ("v") on the very right part of the console bar, that enables me to repeat the pql queries I did earlier. Maybe the last 10 ones?
Thanks!

Yeah, label filtering in PQL should be added. Until it has been, I think you can combine a PQL filter with the regular label filter from View -> Labels.


~RVM_PROJECT_PATH is shown in the path

I have the latest & greatest (commit 7227c4f0bef5f8ae787c65150d7a7403394fff48) and after installing and configuring zprezto to use 'minimal' for prompt, my command line reports ~RVM_PROJECT_PATH - [branch-name●] instead of the current working directory. It doesn't matter which prompt I change to, I see the same result.
I'm running Mac OS 10.11.3

I have the same effect when using test-kitchen. After some time the prompt changes to:
~_kitchen_instances_cache_dir (branch-name).
I am also running Mac OS 10.11.3

Add unsetopt AUTO_NAME_DIRS to zshrc.


Shear operation

A combination of scale, resize and shear can be used to convert an image to isometric perspective.

Indeed, the shear operation would be useful in some cases. Contributions are welcome!


1-bit Adam documentation fix

Fix 1-bit Adam documentation based on issues raised in https://github.com/microsoft/DeepSpeed/pull/742. Also add arxiv paper link.

Can we also add the paper to this page?
https://github.com/microsoft/DeepSpeed/blob/master/docs/index.md


Update copyright headers

Issue #, if available:
Description of changes:
Test PR to see how headers are looking like.
@apaleyes I can change the text as needed. This is just to see if things work. All files before "2020-10-26" should have two copyright notices in the header and the ones created after only one.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

There may be a compatibility problem with pytest and pytest-lazy-fixtures https://github.com/TvoroG/pytest-lazy-fixture/issues/65 which fails some tests.

I changed the years to year ranges in the copyright statements @apaleyes .


Change Log type-o

The change log 3.8.0 has the change:
Preserve new lines in cells with option preserveNewLinesInCells (#91) (#171) (187b701)
This did not work for me and after looking at the source code.. the option is actually:
preserveNewLinesInValues

Thanks, will update change log


[REQUEST] Player/enemy projectile differentiation

The projectiles fired from the player's ship and enemy ships should have a difference in colour to be easily identifiable during playtime.
An example could be having the enemy projectiles be less saturated or darker (the autocannon on the player's side could be a bright lemon yellow, and the enemy's autocannon could be a dulled darker yellow).
Regardless, the main objective is for the projectiles to be differentiated from each other, but not too different so that the player cannot tell:
-what kind of weapons the enemy ships are equipped with
-what effects those enemy weapons have

Spent a lot of my time on this issue this week, turns out a programming implementation is impractical and I just wasted a whole bunch of my time. We're going to need to circle back to this and fix with either an art solution or a some in-unity trickery.

Assigning Lachlan to this issue as he believes he can manage an art-based solution.


[SUPPORT] Hudi compaction caused OOM problem

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
To Reproduce
We are using 2 executors with 1G memory and 1G overheard memory to upsert data.
But we always got error on compaction, like below
00:18  WARN: [kryo] Unable to load class org.apache.hudi.common.model.OverwriteWithLatestAvroPayload$$Lambda$640/542767016 with kryo's ClassLoader. Retrying with current..
#
# java.lang.OutOfMemoryError: GC overhead limit exceeded
# -XX:OnOutOfMemoryError="kill %p"
#   Executing /bin/sh -c "kill 25264"...

Our hudi settings:
TABLE_NAME -> tableName,
TABLE_TYPE_OPT_KEY -> MOR_TABLE_TYPE_OPT_VAL,
OPERATION_OPT_KEY -> UPSERT_OPERATION_OPT_VAL,
RECORDKEY_FIELD_OPT_KEY -> primaryKey,
PRECOMBINE_FIELD_OPT_KEY -> TS_FIELD,
PARTITIONPATH_FIELD_OPT_KEY -> PARTITION_FIELD,

PAYLOAD_CLASS_OPT_KEY ->  DEFAULT_PAYLOAD_CLASS, // used during insert/upserts
PAYLOAD_CLASS_PROP -> DEFAULT_PAYLOAD_CLASS, // used during compaction

CLEANER_INCREMENTAL_MODE -> "true",
CLEANER_POLICY_PROP -> HoodieCleaningPolicy.KEEP_LATEST_FILE_VERSIONS.name(),
CLEANER_FILE_VERSIONS_RETAINED_PROP -> 10,

Our spark settings:
"spark.dynamicAllocation.maxExecutors":"2",
"spark.dynamicAllocation.initialExecutors":"1",
"spark.scheduler.mode":"FAIR",
"spark.executor.heartbeatInterval":"120s",
"spark.network.timeout":"600s",
"spark.sql.shuffle.partitions":"50",
"spark.shuffle.service.enabled":"true",
"spark.memory.fraction":"0.4",
"spark.memory.storageFraction":"0.4"
"spark.rdd.compress": "true"

GC settings:
-XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+G1SummarizeConcMark -XX:InitiatingHeapOccupancyPercent=35

Expected behavior
Reduce OOM problem when compact MOR table
Environment Description

Hudi version : 0.5.3

Spark version : 2.4.4

Hive version : 3.1.2

Hadoop version : 3.1.2

Storage (HDFS/S3/GCS..) : S3

Running on Docker? (yes/no) : NO

@zherenyu831 : You would need to set HoodieMemoryConfig.MAX_MEMORY_FOR_COMPACTION_PROP The default is already 1GB which is your executor size.

@bvaradar
Although we use 4GB for executor, the OOM problem still happens


Remove ambassador addon

Summary
This PR removes the ambassador addon.
The ambassador addon installs an older version of the ambassador-operator, which is no longer functional in Kubernetes 1.22 and newer versions.

@inercia we would be pulling the ambassador from the addons list. It does not seem to work right now.

@ktsakalozos  https://microk8s.io/docs/addon-ambassador
Please modify the document

Hi @huang12zheng, the documentation page has been updated accordingly. Thank you!


refactor(hub-genesis): refactoring x/hub-genesis state

PR Standards
Opening a pull request should be able to meet the following requirements

Closes #XXX
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
For Author:

[ ]  Targeted PR against correct branch
[ ]  included the correct type prefix in the PR title
[ ]  Linked to Github issue with discussion and accepted design
[ ]  Targets only one github issue
[ ]  Wrote unit and integration tests
[ ]  All CI checks have passed
[ ]  Added relevant godoc comments

For Reviewer:

[ ]  confirmed the correct type prefix in the PR title
[ ]  Reviewers assigned
[ ]  confirmed all author checklist items have been addressed

After reviewer approval:

[ ]  In case targets main branch, PR should be squashed and merged.
[ ]  In case PR targets a release branch, PR should be rebased.

@mtsitrin I see that still we check is_locked as an indicator. why not is_genesis_event to be more generic and conform to the hub?
 // is_locked is a boolean that indicates if the genesis event has occured
    bool is_locked = 1;

@mtsitrin I see that still we check is_locked as an indicator. why not is_genesis_event to be more generic and conform to the hub?
 // is_locked is a boolean that indicates if the genesis event has occured
    bool is_locked = 1;

I don't like hub's is_genesis_event (:
it's bit different than the hub:

It's not mandatory on the rollapp, only if need to lock tokens
it has no other use than lock tokens

I'm fine with is_locked

@omritoptix @mtsitrin So if we trigger the genesis event on the hub, we mint the tokens for the rollapp genesis accounts, shouldn't we make sure that we lock the equal amount on the rollapp side?


VSCode - GitHub authentication - Failed to open uri

Hi!
The authentication through GitHub does not work (the authentication with Microsoft works).

VSCode Version:

Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:24.808Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.10.0-13-amd64 snap

OS: Debian 11 Bullseye Xfce

Steps to Reproduce:

Install VSCode with snap.
Launch VSCode.
Click on Accounts - Sign in to Sync Settings.
Click on Sign in with GitHub.
Authentication on GitHub.
Click on Open open-xdg in the Open open-xdg window.
An error window appears: Failed to open URI. The specified location is not supported.

Below is a screenshot of the error:

@TylerLeonhardt I know you've made some GitHub auth changes recently. Does this look like anything you've seen before?

Ah yes.. the problem with the tar is that it doesn't setup our vscode:// handler. This is a duplicate of https://github.com/microsoft/vscode/issues/146408#issuecomment-1095273737 (that comment also has context)
To combat this on auth side, we have fallback logic when you have trouble logging in... it will suggest using a different way to log in that doesn't use vscode://. That's in VS Code Insiders and will be in the next stable version.

So here's what I did. I created the association myself, it took a little doing since I wasn't familiar with how xdg-open gets its list of associations of mimetypes so I spent a little time working through the documentation. I'm on Manjaro so your results may vary! In any case, I put it all together in the following BASH script:
`#!/bin/sh
For more information see:
https://wiki.archlinux.org/title/User:Larivact/xdg-open#Set_the_default_browser
https://wiki.archlinux.org/title/Default_applications#MIME_types_and_desktop_entries
For creating .desktop files see:
https://wiki.archlinux.org/title/Desktop_entries
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys
xdg-mime default code-oss-url-handler.desktop x-scheme-handler/vscode
MIME_contents="x-scheme-handler/vscode=code-oss.desktop;";
DESKTOP_filecontents="[Desktop Entry]
Type=Application
Name=code-oss
GenericName=Developer Utility
Icon=com.visualstudio.code
TryExec=/home/stakfallt/Downloads/VSCode-linux-x64/bin/code
Exec=/home/stakfallt/Downloads/VSCode-linux-x64/bin/code --uri=%U
Terminal=false
MimeType=x-scheme-handler/vscode;
Categories=Development;
NoDisplay=true
Hidden=true
StartupWMClass=spotify"
echo ${DESKTOP_filecontents} >~/.Desktop/code-oss.desktop
echo ${MIME_contents} >>~/.config/mimeapps.list`

I know this issue is closed but I thought I'd still contribute something.
Had the same problem -> GitHub authentication - Failed to open uri.
Using MacOS and VSCODE (version: Version: 1.78.2)
All I did was generate a new personal access token for VSCODE
and push went straight to git repo from local repo.
😎

I am still encountering this error. For the most recent VS Code, the .desktop file needs to be slightly different
[Desktop Entry]
Name=Visual Studio Code - URL Handler
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/bin/code --open-url %U
Icon=/usr/share/icons/hicolor/1024x1024/apps/code.png
Type=Application
NoDisplay=true
StartupNotify=true
Categories=Utility;TextEditor;Development;IDE;
MimeType=x-scheme-handler/vscode;
Keywords=vscode;

The important part is the Exec entry (speficially --open-url argument; note you might need to change the path to your VS Code) as well as the MimeType entry. Make sure you use a separate .desktop file for this and not the default one installed by VS code. You need to install the file so it is recognized by the system:
desktop-file-install --dir=$HOME/.local/share/applications ~/code-url-handler.desktop
update-desktop-database ~/.local/share/applications
xdg-mime query default x-scheme-handler/vscode  # Check it worked. This should print code-url-handler.desktop

Is there a work-around for this? IS there a way to auth github without the vscode:// link?


Physical flow create fails if logical flow doesn't already exist

Attestation logic needs to be moved after the logicalFlow == null check
java.lang.NullPointerException: null
at com.khartec.waltz.service.physical_flow.PhysicalFlowService.ensureLogicalDataFlow(PhysicalFlowService.java:265)
at com.khartec.waltz.service.physical_flow.PhysicalFlowService.create(PhysicalFlowService.java:191)
at com.khartec.waltz.web.endpoints.api.PhysicalFlowEndpoint.createFlow(PhysicalFlowEndpoint.java:146)

@kamransaleem

fixed as part of #1482


feat: Enable update in place for node groups with cluster placement group strategy

Description
When using a node group without EFA enabled and a placement group with cluster strategy, sometimes updates of the node group fail because the auto scaling group does not restrict the list of availability zones.
The following changes fixes this behaviour so that:

placement groups automatically restrict the subnets to a single A/Z
the A/Z is specifically defined by the user.

Motivation and Context
This fixes the issue mentioned in https://github.com/terraform-aws-modules/terraform-aws-eks/issues/3044
Deployment for nodegroups with placement groups are working, but they are subsequently difficult to update.
This is because the placement group restricts the available A/Z to a single one, and a full multiple A/Z group of subnets is still passed to the autoscaling group, leading to a conflict and messages like
│ Error: updating EKS Node Group version: operation error EKS: UpdateNodegroupVersion, https response error StatusCode: 400, RequestID: 58562857----********, InvalidRequestException: Instances in the  Placement Group must be launched in the eu-west-1a Availability Zone. Specify the eu-west-1a Availability Zone and try again.
│
Once implemented, there’s no need to put a specific overridden subnet references in our config like this:
    create_placement_group: true
    subnet_ids:
     - subnet-0fa7d************

Config changes can now be filtered like this:
    create_placement_group: true
    placement_group_az_filter: "eu-west-1a"

Breaking Changes
None
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

Not stale - fixes a ASG + Cluster Placement Group interaction problem.

Superseded by #3090

This PR is included in version 20.22.0 :tada:

@bryantbiggs thank you!


Azure Data Studio

There are times that I use the Filter feature in SQL Server Management Studio (SSMS) to find / show tables or stored procedures (what ever) that I need to work with.
Since Azure Data Studio doesn't have this feature, I have to use both apps. I do most of my work in Azure Data Studio (ADS) but have to find the tables / sprocs I need to edit in SSMS.
I'm requesting please, to have the SSMS filter feature added to ADS.
Thank you,
~ Dave

Closing as duplicate of https://github.com/microsoft/azuredatastudio/issues/15296


Cannot open readOnly and readWrite connection on the same database directory

Adding question from Discord for context:

Is there a way to share the same Kuzu database among multiple processes. At the moment this seems to be impossible: if I connect to a Kuzu DB from the CLI and then run a Python script that connects to the same DB I get an error RuntimeError: Could not set lock on file : kuzu/.lock

I currently have the Kuzu CLI open on the database (so I guess that will have write permission), and I just changed my python code to kuzu_db = kuzu.Database(database_path=kuzu_db_path, buffer_pool_size=1024 ** 3, read_only=True) I still get the error RuntimeError: Could not set lock on file : kuzu/.lock

We usefcntl to ensure the access mode to databases.
fcntl can not add any other locks while already holding an exclusive write lock.

An exclusive or write lock gives a process exclusive access for writing to the specified part of the file. While a write lock is in place, no other process can lock that part of the file.

This should be expected. The way to share the same Kuzu database among multiple processes is to open the database under READ ONLY mode.
We should prevent concurrent read and write access to the same kuzu database from different processes, as there is no guarantee we can provide to make sure that read and write transactions from different processes are consistent. So I would suggest we don't change this behaviour. but we should document this more clearly in our docs for sure.

hi @sapalli2989 , yes. you're right. and we should error on this too. also related to https://github.com/kuzudb/kuzu/issues/3292.


[CONTEXT-503] Allow for multiple models to be assigned to root asset

[pr-server]
View this change on PR Server

[pr-server]
View this change on PR Server

[pr-server]
View this change on PR Server


Move our image preview into a built-in extension

This tracks work that was completed as part of #77131
Overview
VS Code currently has code in core for showing images. The image view has gotten more complex over time, including adding support for zooming and showing the image size in the status bar.
Custom editors (#77131) allow us to move this logic out of core into a built-in extension. This has a few benefits:

Smaller core :)
Lower barrier to add new features to image preview
Eventually let extensions replace our built-in image-preview
Better isolation of image preview from rest of VS Code (security, resources, ...)

As noted, this work was completed as part of #77131


[Splittermond] Small fix for Turn Tracker support

Changes / Comments

I fixed a small visibility problem

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[X] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Color Array Query

The following is a color array extracted from a layer in a PSD file.
      "colors": [             [               102,               0,               255,               0,               255             ],             [               102,               0,               255,               0,               255             ]           ],
Please can somebody help me understand why the color is represented as 5 values (RGB is 3 and CMYK is 4) ?
I am pretty sure this is not an issue but an implementation detail.
Thanks In Advance (Yes i am heading to StackOverFlow to post this issue.)

Hey @devnidhinraj
I am not sure how you got that 5th value to be present as there is no image mode for png's that supports more than 4 bits.
Could you provide me the following info please:

what kind of layer is the layer in photoshop ?
if its an image, what kind of image ? (png/jpeg/jpg/bmp/etc)
are you in browser or nodejs ?

Thanks for posting this as i honestly have no clue as to how this could happen. The lib doesnt even parse beyond 4 values as can be seen here
Regards, Duck.

Hey again.
After some digging in the source code i discovered that this image channel parsing follows the js canvas convention of pixel channeling as discribed here.
as the doc states:
Parse the image data.
The resulting image data will be formatted to match the Javascript Canvas color format.
 e.g. [R, G, B, A, R, G, B, A].

So this has nothing to do with the psd file format or the image in question, it is simply because we parse it this way so you can conveniently apply the buffer to a canvas.
Regards Duck.

Thank you very much for the quick response. But you see, i still cannot figure out how i can convert these values into RGB. My knowledge on image processing is NULL. So would you please be kind enough to explain this in a layman fashion ?
I am totally lost here as i dont understand Coffee script either. My intend is simple, how can this
[ 102, 0, 255, 0, 255 ] become [153, 235,15] (RGB).
Thanks in Advance.

Hey @devnidhinraj.
to transform the array you could do something like this.
const colorArray = [ [ 102, 0, 255, 0, 255 ], [ 102, 0, 255, 0, 255 ]]
const RGB = colorArray.map(([r,g,b]) => [r,g,b]) //[[102,0,255],[102,0,255]]


Event: Add "Logging Started" and "Logging Ended" events

in the Event CSV, we currently dont log events when logging starts and stops. I think these events can be useful for us, to have an exact timestamp for when the logging started and stopped, so we can estimate duration of logging using these events in a consistent manner.

@bastianilso  This is the new event.csv with the 'logging started' and 'logging ended' event.
Give me your feedback:
log2022-12-6 14-7-59.536Event.csv


Add Gorilla Gorilla Gorilla (subspecies gorilla) to transform.yaml

See https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?id=9595
@kevinschaper is it ok to simply keep adding new species? When will you start hitting performance issues in the Monarch KG side of things?
cc @twhetzel

That's great to hear @kevinschaper - thank you both!!!


Do not allow usernames that contain nothing but spaces.

This issue is based on the beta testing that was done by group 04.
"Empty usernames: The application should not allow empty usernames to be registered."

https://github.com/sopra-fs23-group-05/Server/commit/b67485045b8d8b8967a26811e74c518effaae1da


Include does not work in cardinality rule

Hello,
I have a problem with cardinality rule. My include list field does not work.
rule :

name: Controle de la remontée d informations des serveurs
type: cardinality
index: metricbeat-*
cardinality_field: beat.hostname

timestamp_field: "@timestamp"

min_cardinality: 1
query_key: "beat.hostname"

filter:
- terms:
    metricset.name: ["memory"]

timeframe:
  minutes: 10

realert:
  minutes: 120

include:
  - fields.domain

alert:
  - command

new_style_string_format: true
command: ["/product/ELASTALERT/script/test_bvk.sh", "SERVER_INFO",  "%(beat.hostname)s", "%(fields.domain)s" ,"{@timestamp}"]

the elastic  query run :
GET /metricbeat-*/_search?pretty&_source_include=fields.domain,beat.hostname,timestamp&ignore_unavailable=true&scroll=30s&size=10000
{
  "query": {
    "bool": {
      "filter": {
        "bool": {
          "must": [
            {
              "range": {
                "@timestamp": {
                  "gt": "2019-04-16T14:00:00+02:00",
                  "lte": "2019-04-16T14:15:00+02:00"
                }
              }
            },
            {
              "terms": {
                "metricset.name": [
                  "memory"
                ]
              }
            }
          ]
        }
      }
    }
  },
  "sort": [
    {
      "@timestamp": {
        "order": "asc"
      }
    }
  ]
}

here an extract of the data returned :
  "took" : 58,
  "timed_out" : false,
  "_shards" : {
    "total" : 18,
    "successful" : 18,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : 2924,
    "max_score" : null,
    "hits" : [
      {
        "_index" : "metricbeat-2019.s16",
        "_type" : "doc",
        "_id" : "bD0EJmoBUrRG94mArk29",
        "_score" : null,
        "_source" : {
          "beat" : {
            "hostname" : "lnvfr99720542"
          },
          "fields" : {
            "domain" : "DOM2"
          }
        },
        "sort" : [
<PHONE_NUMBER>220
        ]
      },
      {
        "_index" : "metricbeat-2019.s16",
        "_type" : "doc",
        "_id" : "Fx8EJmoBtP-AeIIgr3ma",
        "_score" : null,
        "_source" : {
          "beat" : {
            "hostname" : "lnvfr99720444"
          },
          "fields" : {
            "domain" : "TRANSVERSE"
          }
        },
        "sort" : [
<PHONE_NUMBER>429
        ]
      },

as you see, the fields.domain is in the response.
But in the alert, the beat.hostname is returned, but not the fields.domain field :
[elastalert@lnxfrp099700489 ~]$ elastalert --config conf/config.yaml --rule rules/server_info.yaml.bvk --start  "2019-04-16 14:00 CEST" --end "2019-04-16 14:15 CEST" --verbose --es_debug_trace ES_DEBUG_TRACE
INFO:elastalert:Starting up
INFO:elastalert:Queried rule Controle de la remontée d informations des serveurs from 2019-04-16 14:00 CEST to 2019-04-16 14:15 CEST: 2924 / 2924 hits
SERVER_INFO lnvfr99720533 <MISSING VALUE> 2019-04-16T14:15:00+02:00
SERVER_INFO lnvfr99720534 <MISSING VALUE> 2019-04-16T14:15:00+02:00
SERVER_INFO lnvfr99720537 <MISSING VALUE> 2019-04-16T14:15:00+02:00
SERVER_INFO lnvfr99720034 <MISSING VALUE> 2019-04-16T14:15:00+02:00
SERVER_INFO lnvfr99720549 <MISSING VALUE> 2019-04-16T14:15:00+02:00
SERVER_INFO lnvfr99720578 <MISSING VALUE> 2019-04-16T14:15:00+02:00
SERVER_INFO lnvfr99720573 <MISSING VALUE> 2019-04-16T14:15:00+02:00
INFO:elastalert:Ran Controle de la remontée d informations des serveurs from 2019-04-16 14:00 CEST to 2019-04-16 14:15 CEST: 2924 query hits (0 already seen), 7 matches, 7 alerts sent

my alerter is a simple echo $@ for test purpose.
Is it normal that the include list is not returned ?

Thanks for the excellent bug report. I'll investigate this, it doesn't seem normal.

Thanks for your reply.
I by passed the problem by specifying a compound query key :
name: Controle de la remontée d informations des serveurs
type: cardinality
index: metricbeat-*
cardinality_field: beat.hostname

timestamp_field: "@timestamp"

min_cardinality: 1
query_key: [beat.hostname,fields.domain]

filter:
- terms:
    metricset.name: ["memory"]

timeframe:
  minutes: 10

realert:
  minutes: 120

alert:
  - command

new_style_string_format: true
command: ["/product/ELASTALERT/script/send_alert.sh", "SERVER_INFO",  "%(beat.hostname,fields.domain)s", "{@timestamp}"]

But i think it is a bit dirty to use the field beat.hostname,fields.domain ...
Plus, I have to use the formatting old style , because with the fields with dot it's not working :
ex : {beat.hostname,fields.domain} dont work
{beat[hostname],fields[domain] don't work too...
So, why with compound query key is working, but not with include ?
For me, elastalert use a larger time frame (in the past) to check  if the actual timeframe does not contain the specify domain.
Waiting for your reply.

Because when you are using flatline or cardinality with min 1, you are basically alerting when some given value of query_key disappears. When domain is part of the query key, you know what value disappeared. When you had query_key set to JUST hostname, elastalert doesn't know what any values were other than the query_key, because it's alerting on a lack of events.
Look at https://github.com/Yelp/elastalert/blob/master/elastalert/ruletypes.py#L949, when we generate a "min" alert, all it knows about it the value of query_key and the timestamp, because there is no associated event.
As for why you have to use % formatting, that's a Python limitation. You might be able to use {0[beat.hostname,fields.domain]}.

Hello,
Ok, thank you for theses informations :)
I will try the new formatting style with {0[beat.hostname,fields.domain]}


Cycle Detected. NU1108

Hello Avalonia,
I'm using VS2019 and there seems to be something wrong with my .csproj or my .sln? I started tooling around by using dotnet new avalonia.app and then dotnet sln add avalonia.csproj. I've made a cyclical dependency somehow.
Severity	Code	Description	Project	File	Line	Suppression State
Error		NU1108	Cycle detected.
avalonia -> Avalonia (>= 0.8.0).	avalonia	C:\Users\evanr\Desktop\avalonia\avalonia.csproj	1
Both dotnet restore and clean solution do not fix what is now broken...including my myget packages.

In any event, thanks!

I guess the problem is that the project name is the same as the Avalonia package. You can try creating the project using dotnet new avalonia.app -n MyApp.

Oh, strange...I should have thought to try that. Thanks!

Yes....you are right. I made a dummy project to test the new Avalonia features called "Avalonia", but as it seems it was masking the namespace of the Framework, and thus it created a ton of errors, including this one.

You should fix the documentation here!!!!
https://docs.avaloniaui.net/docs/guides/platforms/how-to-use-web-assembly

@giuliohome PRs to the docs are welcome.


Unannounced changes to billing statements?

All of a sudden, without  a notification in the message centre, we are receive billing notifications from<EMAIL_ADDRESS>instead of<EMAIL_ADDRESS>for our UK tenant. The email is formatted differently, and most importantly, it does no longer include the attached invoice. This even though our "Receive billing statement as email attachment?" toggle is activated.
This is not acceptable as we need the email attachments to manage invoices effectively. For example, they are made available to people without access to the M365 portal (reducing the risk associated with multiple privileged accounts). We will not go to the portal to download every invoice separately to get them to the right stakeholders. It would be a complete waste of time. Please update the documentation with instructions on how to get the attachment included in the email.
Thanks for your support.

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

ID: 33f73374-3b86-fb8c-c80c-1cb60dc39c3c
Version Independent ID: fe2c8b2f-2653-1b42-73dd-ebe22e085fe6
Content: Pay for your subscription
Content Source: microsoft-365/commerce/billing-and-payments/pay-for-your-subscription.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@testad Would you please send the email to me as an attachment so we can troubleshoot? Please send it directly to me at<EMAIL_ADDRESS>Thanks!

@testad Thanks for reporting this issue. The product team is investing this issue, so I'm going to close this. Thanks again!


Set security headers

Hi Guys!
I'm trying to add some http security headers in the portainer.
I edited the handler, but I do not know how to do a build and transforms into a container.
Can someone help me?
func (handler *FileHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	if !isHTML(r.Header["Accept"]) {
		w.Header().Set("Cache-Control", "max-age=31536000")
		w.Header().Set("X-XSS-Protection", "\"1; mode=block\"")
		w.Header().Set("X-Frame-Options", "SAMEORIGIN")
		w.Header().Set("X-Content-Type-Options", "nosniff")
	} else {
		w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
	}
	handler.Handler.ServeHTTP(w, r)
}

File :  portainer/api/http/handler/file.go

Heya, issues are used to create feature requests or bug reports. If you need any help with the codebase, I suggest to ping us on Slack via https://portainer.io/slack/

Hi @deviantony !
I can not generate an invitation on slack.

To be practical, could you help me here and close the issue?


Update handlebars to 4.1.0 to mitigate snyk vulnerability warning

See https://github.com/glennjones/hapi-swagger/issues/564#issuecomment-465305214

Coverage remained the same at 100.0% when pulling 23b99df29f7963dbd1e17ea43e407e1e3709c9ab on rossanthony:9.3.2 into e4cff5d154426a0d494908fe9161b7a79bef915c on glennjones:master.

closing since this is being handled here https://github.com/glennjones/hapi-swagger/commit/2bebc7abf149391e691ce41b814fc93439f0b606


Npm Audit Issue

Please run "npm audit" and fix the issue. Thanks.

Done.
https://github.com/marmelab/json-graphql-server/releases/tag/v2.1.3