Editing

Hello, would it be feasible also to edit/import new image data into the CAR?

I'm not sure. There are APIs for that, but I don't know if it would work well enough to be worth the effort.

Hello,
I’ll look into the sources and try it myself to see where it goes. Can you give some guidance as of to what APIs, where to start?
I would use it as it’s not possible to re-create the assets file without having source Xcode project, what typically does not happen when re-branding blackboxed apps with automation. We’re
Your tool just saved me lots of troubles today, because it showed there are un-overridden assets in the application.
Thanks,
Matej

On 09 Jan 2017, at 16:58, Guilherme Rambo<EMAIL_ADDRESS>wrote:
I'm not sure. There are APIs for that, but I don't know if it would work well enough to be worth the effort.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/insidegui/AssetCatalogTinkerer/issues/13#issuecomment-271323202, or mute the thread https://github.com/notifications/unsubscribe-auth/AANix8o5LZ4e4qXU-1nyrbiUpuuql-eyks5rQlkjgaJpZM4LeVfb.

You'll need to class-dump /System/Library/PrivateFrameworks/CoreUI. You're probably looking for CUIMutableCatalog or CUIMutableCommonAssetStorage.

Important: Be careful when using these mutable classes, make backups of the car files before loading them ;)

Thanks. It seems that - (void)insertCGImage:(struct CGImage *)arg1 withName:(id)arg2 andDescription:(id)arg3; should no it.

On 09 Jan 2017, at 17:38, Guilherme Rambo<EMAIL_ADDRESS>wrote:
Important: Be careful when using these mutable classes, make backups of the car files before loading them ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/insidegui/AssetCatalogTinkerer/issues/13#issuecomment-271334689, or mute the thread https://github.com/notifications/unsubscribe-auth/AANix6qs0h1rcE3k9odhM4mn0gXpHt51ks5rQmKFgaJpZM4LeVfb.

Well, it does "not respond" even though I’ve copied respective part of header. It seems I need to look into ThemeStore now.
self.catalog is initialized as CUIMutableCatalog now
- (void)insertImage:(NSImage *)image withName:(NSString *)arg2 andDescription:(NSString *)arg3 {
    NSRect imageRect = NSMakeRect(0, 0, image.size.width, image.size.height);
    CGImageRef cgImage = [image CGImageForProposedRect:&imageRect context:NULL hints:nil];
    [self.catalog insertCGImage:cgImage withName:arg2 andDescription:arg3];
    // TODO: add saving
}

2017-01-09 23:00:45.788 Asset Catalog Tinkerer[29186:9492677] -[CUIMutableCatalog insertCGImage:withName:andDescription:] themeStore doesn't respond to insertCGImage:withName:andDescription:

CoreUI.h additions:
@interface CUIMutableCatalog : CUICatalog
- (void)insertCGImage:(struct CGImage *)arg1 withName:(id)arg2 andDescription:(id)arg3;
- (void)insertCGImage:(struct CGImage *)arg1 name:(id)arg2 scale:(double)arg3 idiom:(long long)arg4 subtype:(long long)arg5;
- (id)initWithName:(id)arg1 fromBundle:(id)arg2 error:(id *)arg3;
- (id)init;
- (id)initWithName:(id)arg1;

@end

@interface CUIMutableStructuredThemeStore : CUIStructuredThemeStore
{
    NSString *_identifier;
    NSMutableDictionary *_memoryStore;
    NSMutableDictionary *_nameIdentifierStore;
    int _maxNameIdentifier;
}

- (void)clearRenditionCache;
- (void)removeImageNamed:(id)arg1 withDescription:(id)arg2;
- (void)insertCGImage:(struct CGImage *)arg1 withName:(id)arg2 andDescription:(id)arg3;
- (id)renditionWithKey:(const struct _renditionkeytoken *)arg1 usingKeySignature:(id)arg2;
- (id)renditionWithKey:(const struct _renditionkeytoken *)arg1;
- (BOOL)canGetRenditionWithKey:(const struct _renditionkeytoken *)arg1 isFPO:(char *)arg2;
- (BOOL)canGetRenditionWithKey:(const struct _renditionkeytoken *)arg1;
- (id)imagesWithName:(id)arg1;
- (const struct _renditionkeytoken *)renditionKeyForName:(id)arg1;
- (const struct _renditionkeytoken *)renditionKeyForName:(id)arg1 cursorHotSpot:(struct CGPoint *)arg2;
- (id)allImageNames;
- (const struct _renditionkeyfmt *)keyFormat;
- (BOOL)usesCUISystemThemeRenditionKey;
- (long long)maximumRenditionKeyTokenCount;
- (void)dealloc;
- (id)initWithIdentifier:(id)arg1;

@end

On 09 Jan 2017, at 17:38, Guilherme Rambo<EMAIL_ADDRESS>wrote:
Important: Be careful when using these mutable classes, make backups of the car files before loading them ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/insidegui/AssetCatalogTinkerer/issues/13#issuecomment-271334689, or mute the thread https://github.com/notifications/unsubscribe-auth/AANix6qs0h1rcE3k9odhM4mn0gXpHt51ks5rQmKFgaJpZM4LeVfb.

It was actually much safer and easier to use actool instead, and it works headless, no need to click.
/usr/bin/find -L $appDir -type d -name "*.xcassets" -print0 |
xargs -0 $XCRUN -sdk iphoneos
actool --compile $appDir
--minimum-deployment-target ${minOSVersion}
--platform iphoneos --target-device ${targetDeviceParam}
--output-format human-readable-text
--compress-pngs
--notices
--warnings
--errors

On 9 Jan 2017, at 17:38, Guilherme Rambo<EMAIL_ADDRESS>wrote:
Important: Be careful when using these mutable classes, make backups of the car files before loading them ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/insidegui/AssetCatalogTinkerer/issues/13#issuecomment-271334689, or mute the thread https://github.com/notifications/unsubscribe-auth/AANix6qs0h1rcE3k9odhM4mn0gXpHt51ks5rQmKFgaJpZM4LeVfb.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/328 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 21767aa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


JDBC connector only supports Teradata

When trying to use the JDBC connector with Presto, I hit numerous query errors generated by the SQL assistant.  It turns out that the JDBC connector relies on proprietary Teradata schema tables to function.
Code:
https://github.com/cloudera/hue/blob/master/desktop/libs/notebook/src/notebook/connectors/jdbc.py#L191
The regression was made in this commit:
https://github.com/cloudera/hue/commit/f30e9f75011f777458873fbc4c807bd2d100a4cb#diff-97bedc523ae0da5a98d16c29a0153ae3L186
Note that the JDBC connector now references DBC.Databases, dbc.tables, and DBC.Columns, which are all Teradata-proprietary.
It seems that there would be 2 obvious ways to approach this in a more compatible way:

Query using SHOW DATABASES, SHOW TABLES, and SHOW COLUMNS, which are widely supported.  This was the previous approach.
Query using SELECT fieldName from INFORMATION_SCHEMA.SCHEMATA, INFORMATION_SCHEMA.TABLES, and INFORMATION_SCHEMA.COLUMNS which are part of ANSI/ISO 9075.  (This approach has the benefit of consistent result columns).

For something as generic as a JDBC connector, I don't understand why relying on Teradata-proprietary schemas is good design or necessary.

@modest @jdesjean +1 for #2 in preference, if not #1.
I don't remember why it was changed, but in any case it should not be tied to Teradata indeed. Maybe #1 was not compatible, but not sure.

https://issues.cloudera.org/browse/HUE-8580


branch to rename

if the branch is required, I would strongly recommend to rename it. Otherwise delete it at all.

It was temporary, not required anymore, deleted.


Font text multiple textures

A rebase of #1333 and updated the single line documentation format to use \\! as per the rest of the codebase.
Not sure exactly what i need to do to trigger multiple texture usage, but I have done a cursory test on the examples which use text and they all seem fine

For testing it should be enough to use a large font combined with many different glyphs, so you fill up the available texture.

Can be tested by overriding Texture::getMaximumSize() to return a small power of two - that's how I used to do it, at least.

SFMLBuildMaster: Build this please.

My only worry with this is that we are affecting the performance of the hot path through Text::draw by introducing 2 loops over associative containers that weren't necessary before. I don't think we can justify this potential performance hit for the majority of the users just to be able to support a new edge case most people don't care about. The more text-heavy the application is the bigger the hit will be.

Do we want this or not?

I think we definitely want this. But @binary1248's comment had me pause a bit. We'd either need some close-to-real-world example to check the performance impact or alternatively merge stuff and think about potential performance improvements, once people report them (and thus provide a "real world" example).
So it would be great if you could rebase it. 👍

Github's not updating the PR for some reason despite having rebased the original branch - will do a new PR unless someone has a novel idea to solve.
RE performance I'm not sure there's a huge amount to compare - In the typical case where this solution isn't needed it's negligible, especially in the context of everything else going on in a draw call. In the case where this fix is needed it wouldn't have worked at all previously so there's nothing to compare.
Personally, I feel the cases where the performance would matter (apps using a huge amount of sf::Text instances on limited hardware) are going to be very rare, so I would go ahead with this fix

Superseded by #2282


Backwars ops for Pow

binary power operation of two tensors pow(input, exponent) is not currently not supported, exponent is expected to be either int or float only. But it is required for the grad calculation.
grad_input = grad * exponent * input**(exponent - 1)
grad_exponent = (grad * input**exponent) * torch.log(input)

Closing based on discussion decided to use pow module with tensor input and float/int exponent


Nested anonymous structs in every position

With the release of version 0.1.9 nested anonymous structs are now initially supported. But there are still problems with nested anonymous structs in every position. E.g. when you wrap a nested anonymous struct in a Vec type then you still run into problems with a "cannot find type error":
Structx!{
    items: Vec<T>,
    test: usize,
    products: Vec<Structx!{ name: T1 }> // Using nested anonymous struct as generic parameter to a Vec-type
};

I will do this one and create a merge request.

Emmm... I didn't notice these complex cases. Need a solid solution. It would be nice if you can send pr, since I got busy these days.

Sure i'm already implemented a solution, I'm currently writing tests

Here it is!: https://github.com/oooutlk/structx/pull/5
I did 2 things:

Added support for scanning through syn::Type and syn::Pat for field members to collect all anonymous structs
Bumped up version of syn to 2.0

I would recommend that you check and review all the changes before merging it


[QUESTION] Why we need duplicate read_terragrunt_config block in childs?

In example in root terragrunt.hcl we have block
locals {
  # Automatically load account-level variables
  account_vars = read_terragrunt_config(find_in_parent_folders("account.hcl"))

  # Automatically load region-level variables
  region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))

  # Automatically load environment-level variables
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))

  # Extract the variables we need for easy access
  account_name = local.account_vars.locals.account_name
  account_id   = local.account_vars.locals.aws_account_id
  aws_region   = local.region_vars.locals.aws_region
}
....
inputs = merge(
  local.account_vars.locals,
  local.region_vars.locals,
  local.environment_vars.locals,
)

and in child non-prod/us-east-1/qa/mysql/terragrunt.hcl we have also
locals {
  # Automatically load environment-level variables
  environment_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))

  # Extract out common variables for reuse
  env = local.environment_vars.locals.environment
}

Why we need duplicate read_terragrunt_config block for env.hcl? I think that inputs = merge configure root level variables that all resources can inherit?

@luvs I guess we still need to use local to fetch values that are needed to pass inputs:
inputs = {
  name           = "mysql_${local.env}"
....
....
....
}

Yup, exactly what @ahmad-hamade wrote ^

Per the Terragrunt documentation,

Currently you can only reference locals defined in the same config file.

Variable environment_vars is referenced in both locals blocks, so it must be defined in both.

would generate locals.tf  in root terragrunt.hcl could mitigate this?


[Bug]: public_hoist_packages does not fail repository setup if requested hash does not exist

What happened?
Bad setup

Good Setup

We had a scenario where we were pinning a dep with public_hoist_packages and the packages ended up deduping in the lockfile. This meant that we no longer needed the hash. However, rules_js failed to catch that the hash'ed dep no longer existed and continued to build.  This led to us having a binary go out that was missing a dependency and broke for some internal sites for end users.
The expected behavior should be if a requested dep from public_hoist_packages does not exist, it should fail the build and notify the user
Version
Development (host) and target OS/architectures:
Output of bazel --version: 6.3.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
Language(s) and/or frameworks involved:
rules_js: 61616ef5e932c2ad5f76aefa2badcc700bca7e13
How to reproduce
See description above

Any other information?
No response

Looks like https://github.com/aspect-build/rules_js/blob/main/npm/private/npm_translate_lock_helpers.bzl#L10-L48 fails to check the case if there is an input on a hosted package, but there is no found result in the array


Explain license requirements to users before uploading to pubsite

pub.dartlang.org should only host code that the uploader states is open source and can be freely downloaded. The upload page should have some text explaining what licenses we expect/encourage/require/suggest. We should talk to the OSPO and see what they think. We can likely do something similar to what code.google.com does.

This issue has been moved to dart-lang/pub#103.


Multiple call of cropImage in loop when we can pick more then one image from gallery

When we call cropImage more then one time then onactivityresult calls only the last time in android api 30 but in api 33 it is calling n number of times so because of this when we want crop path then we get only last path not all the paths.

Just roll your own Activity with the CropImageView and then you can do whatever you want to do.


Not working with ngrx/store v2

After updating from v1 to v2 ngrx/store. I got a blank page.
Refer to the original question on Stack Overflow.

In the Stack Overflow conversation, you've said:

Thanks @DzmitryShylovich for pointing out the issue on Gitter!
It is because ngrx/router-store does not work well with v2 ngrx/store.

Do you have any more information regarding how the router-store does not "work well" with the store? I note that the router-store is used the the example-app - which uses version 2.0.0 of the store - hence my curiosity. If I use it, what should I be looking out for?

@cartant I was using ngrx/router before. It gives me a blank page. No error, no warning.
Now I migrated to v3 router. It won't show a blank page, but just do not work.
So I will close this because dup with https://github.com/ngrx/router-store/issues/3


Use dart-sass instead of node-sass

Node sass is now deprecated, dart-sass is now the main implementation.
There is no change to the built assets.
For more information see
https://sass-lang.com/blog/libsass-is-deprecated

We should wait until we drop bourbon for this, I will make this change in my V2 branch.


Calico CNI in EKS - manifest changes

Description
Calico CNI in EKS - manifest changes
Release Note
Set aws-src-dst-check to disable for Calico CNI in EKS.

Deploy preview for calico ready!
Built with commit e5a621f735224da08f01e87680e3c168918b04aa
https://deploy-preview-3812--calico.netlify.app


Include Cuda path in TorchCPUOpBuilder ldflags

CPUAdamBuilder was crashing because of linker not finding cuda libraries
Emitting ninja build file 	py39_cu121/cpu_adam/build.ninja...
Building extension module cpu_adam...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] c++ cpu_adam.o cpu_adam_impl.o -shared -lcurand -L/home/.../lib/python3.9/site-packages/torch/lib -lc10 -ltorch_cpu -ltorch -ltorch_python -o cpu_adam.so
FAILED: cpu_adam.so
c++ cpu_adam.o cpu_adam_impl.o -shared -lcurand -L/home/.../python3.9/site-packages/torch/lib -lc10 -ltorch_cpu -ltorch -ltorch_python -o cpu_adam.so
/usr/bin/ld: cannot find -lcurand
collect2: error: ld returned 1 exit status

@microsoft-github-policy-service agree

@pbudzyns - this looks to have the same effect as this one?
https://github.com/microsoft/DeepSpeed/pull/5780
Do you have any preferences there?  Or do you mind if we merge that one?
cc: @lekurile

Ah right, it looks like the same change. I haven't noticed the other PR before, I'm fine with either 👌

Thanks, we will focus on merging the other one, I will follow up with @lekurile


Fix mkdir for fetchgx to not throw an exception

Motivation for this change
The problem appears when vendor directory already exists mkdir, it throw an exception and build fails. By having -p flag, it tries to create a directory and if its there, no exception will be thrown.
Things done

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

[ ] NixOS
[x] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Can I somehow retrigger travis job without doing force push to force rebuild of this commit?

Not without being member, but looks good to me.


Example with progress bar for big files

Add a example where big files are downloaded and a progress bar is useful

I just edited readme.md, thus I have nothing to do with the failed travis check, since it was already failing


Make rascal-core typechecker return summary to avoid race

Currently, summaries are cleared when a file is saved.
But you can read summaries while the typechecker is still running, to avoid this race, the check function of rascal core should also return the summary of the module it just checked. In that way we can combine that future as a dependency on the check future.
@PaulKlint indicated it would be relatively easy to add.

Let's consider this for a moment.

The incremental build feature will produce several .class files in the future as a side-effect, with the list of error messages as main result.
We can also let it produce a summary as main result (with error messages included), and still the .class files as side-effect. This makes total sense.
Would a simular setup also be "right" for incremental DSL compilers? I.e. should the signature of an incremental builder be: Summary (PathConfig pcfg, list[loc] sources) instead of list[Message] (PathConfig pcfg, list[sources])
the issue I have with this is that summaries are supposed to be provided much faster then an entire incremental build would take. So in the ideal case there is a summary provider function which produces summaries while a file is being edited, and the incremenal builder only runs when the file is saved.
is it possible to envision a future where providing a summary for Rascal is indeed a lot faster than incremental compilation?
is it an easily reversible design decision to let the current checker produce a summary instead of a list of messages?

I understand where you are coming from. The current bug is a race between the type checker running and generating the .tpl files, and the moment we request a summary.
The Rascal LSP server only clears the summary when a file is saved. But yes, if we can make that relatively fast, we should clearing the summary every time the contents change.
For now, I'm only proposing this change on the rascal side of things (aka rascal-core) so to avoid the race that we have now. But when we make a proper split between summary & incremental build, I don't forsee problems reworking it.

ok let's do it!


add cherish 12 support

also add new user for permissive build

also add new user for permissive build

means?!

also add new user for permissive build

means?!

u can edit commit


Recommend functional child method instead of renderProps

What:
Remove the use of renderProps and use functional child; Toward #433
Why:
Because of #433
Checklist:

[x] Documentation
[ ] Tests
[x] Ready to be merged

[ ] Added myself to contributors table

@kentcdodds yaay! thanks!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Pin down feast dependency

Current last version may not resolve feast dep due to feast>=0.23 upgrading their numpy version which does not resolve on py 3.7.
This is an attempt to fix it before we drop py 3.7.
Updated minimal version supported which grants a new release but it was needed as I couldn't find a way to make it work with the existing versions without having to pin the entirety of Google repos.
Also had to upgrade isort in pre-commit due to an issue in the dependency as seen in https://github.com/home-assistant/core/issues/86892

/merge

/lgtm


Service Invocation demo can not invoke http request  as expected

Expected Behavior

checkout service and order-processor service can get request and response output
Actual Behavior

ℹ  Updating metadata for app command: go run app.go
✅  You're up and running! Both Dapr and your app logs will appear here.
== APP == exit status 1
== APP == Post "http://localhost:3500/orders": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
❌  The App process exited with error code: exit status 1
Steps to Reproduce the Problem

Just follow this guide: https://docs.dapr.io/getting-started/quickstarts/serviceinvocation-quickstart/
My environment have http proxy setting, and I have no_proxy=<IP_ADDRESS>,localhost set.

Since the original code have no timeout set, I set timeout to make sure it fail quickly(not wait too long for error)
                client := &http.Client{
                        Timeout: 60 * time.Second,
                }
                req, err := http.NewRequest("POST", DAPR_HOST+":"+DAPR_HTTP_PORT+"/orders", strings.NewReader(order))
                if err != nil {
                        fmt.Print(err.Error())
                        os.Exit(1)
                }

Hi @HackToday
It looks like this was fixed back in https://github.com/dapr/go-sdk/pull/310
Any chance you could try a later/current release with the fix?

Closing issue. Can not repo.


Add setting to show/hide NSFW content

For use with https://github.com/lbryio/lbry-web-ui/pull/36.

We implemented this on the front end, but ended up deciding to go with local storage, so it doesn't need a daemon component. Thanks!


Non-reactive chat memory crashes response streaming

When using response streaming in a REST resource, I always receive the following exception when using quarkus-langchain4j-memory-store-redis:
java.lang.IllegalStateException: The current thread cannot be blocked: vert.x-eventloop-thread-9
        at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:30)
        at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)
        at io.quarkus.redis.runtime.datasource.BlockingStringCommandsImpl.get(BlockingStringCommandsImpl.java:41)
        at io.quarkiverse.langchain4j.memorystore.RedisChatMemoryStore.getMessages(RedisChatMemoryStore.java:33)
        at io.quarkiverse.langchain4j.memorystore.RedisChatMemoryStore_xTEUBJ9I9t7XqF0naKuYsMHw80A_Synthetic_ClientProxy.getMessages(Unknown Source)
        at dev.langchain4j.memory.chat.MessageWindowChatMemory.messages(MessageWindowChatMemory.java:84)
        at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.doImplement(AiServiceMethodImplementationSupport.java:150)
        at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.implement(AiServiceMethodImplementationSupport.java:131)
        ...

Full reproducal project can be found at https://github.com/florian-h05/quarkus-langchain4j-1120.
How can I fix that? Is there a way to have a reactive chat memory store?
I am using Quarkus 3.17.0 with Quarkus LangChain4j 0.22.0.

IIRC Quarkus has a reactive Redis client, but I have no idea how to use that and keep it compatible with LangChain4j‘s ChatMemorxStore interface at the same time.
BTW the same issue as with the chat memory store also occurs when using a RetrievalAugmentor because the embedding store is queried blocking.

Ah, yes, that's a good one. I encountered the same issue last week and, to work around it, did not use reactive in the RegisterAiService.
Switching to a worker thread for handling memory operations seems a good approach.

@florian-h05 can you attach a small sample I can use to test various ideas against?

I have updated my first message with a ChatMemoryProvider bean.
Reading https://docs.quarkiverse.io/quarkus-langchain4j/dev/ai-services.html#memory, the registered AI service should automatically make use of this. You need to add the quarkus-langchain4j-memory-store-redis plugin installed.
Is that enough or should I spinup a small sample project repo?
BTW, I am in fact not using @RegisterAiService in production (but have verified the issue exists with this as well), instead I create my AiServices through the AiService.builder() as I need to have different implementations of my AiService with different chat language models configurable during runtime.

Is that enough or should I spinup a small sample project repo?

Please, do.
Thanks

@geoand I have a minimal sample project to reproduce the issue: https://github.com/florian-h05/quarkus-langchain4j-1120

🙏🏽

I'll have a closer look tomorrow but for the time being any solution we come with won't be pretty

The simplest way around it for the time being is to add @Blocking on RestResource

It works just fine in this simpliefied scenario:
diff --git a/src/main/java/com/florianhotze/quarkus/langchain4j/Assistant.java b/src/main/java/com/florianhotze/quarkus/langchain4j/Assistant.java
index c2b81ef..93dd8c9 100644
--- a/src/main/java/com/florianhotze/quarkus/langchain4j/Assistant.java
+++ b/src/main/java/com/florianhotze/quarkus/langchain4j/Assistant.java
@@ -1,13 +1,10 @@
 package com.florianhotze.quarkus.langchain4j;

-import dev.langchain4j.service.MemoryId;
-import dev.langchain4j.service.TokenStream;
 import dev.langchain4j.service.UserMessage;
 import io.quarkiverse.langchain4j.RegisterAiService;
+import io.smallrye.mutiny.Multi;

 @RegisterAiService
 public interface Assistant {
-    TokenStream chat(@UserMessage String prompt);
-
-    TokenStream chat(@MemoryId Object memoryId, @UserMessage String prompt);
+    Multi<String> chat(@UserMessage String prompt);
 }
diff --git a/src/main/java/com/florianhotze/quarkus/langchain4j/RestResource.java b/src/main/java/com/florianhotze/quarkus/langchain4j/RestResource.java
index 2dc030e..e9a355b 100644
--- a/src/main/java/com/florianhotze/quarkus/langchain4j/RestResource.java
+++ b/src/main/java/com/florianhotze/quarkus/langchain4j/RestResource.java
@@ -1,5 +1,6 @@
 package com.florianhotze.quarkus.langchain4j;

+import io.smallrye.common.annotation.Blocking;
 import io.smallrye.mutiny.Multi;
 import jakarta.inject.Inject;
 import jakarta.ws.rs.Consumes;
@@ -37,18 +38,8 @@ class RestResource {
             @Content(
                     mediaType = MediaType.SERVER_SENT_EVENTS,
                     schema = @Schema(implementation = String.class)))
+    @Blocking
     public Multi<String> streamingPrompt(String prompt) {
-        Multi<String> sourceMulti =
-                Multi.createFrom()
-                        .emitter(
-                                emitter ->
-                                        assistant
-                                                .chat(prompt)
-                                                .onNext(emitter::emit)
-                                                .onError(emitter::fail)
-                                                .onComplete(response -> emitter.complete())
-                                                .start());
-
-        return RestMulti.fromMultiData(sourceMulti).withDemand(1).status(200).build();
+        return RestMulti.fromMultiData(assistant.chat(prompt)).withDemand(1).status(200).build();
     }
 }
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 85ce614..633366c 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,2 +1,2 @@
-quarkus.langchain4j.memorystore.redis.client-name=chat-memory
-quarkus.redis.chat-memory.hosts=redis://localhost:6379/0
+#quarkus.langchain4j.memorystore.redis.client-name=chat-memory
+#quarkus.redis.chat-memory.hosts=redis://localhost:6379/0

I think it's because you added the @Blocking.

It works just fine in this simpliefied scenario:

I have applied your diff in the reproduce repo, for me it did not fix the issue. I don't understand why not.
I jave just invited you to the reproduce repo, can you please push your changes to a new branch there?

Thanks for pushing your changes.
Just tried this on a different machine, still doesn't work for me.

The simplest way around it for the time being is to add @Blocking on RestResource

Just another confirmation like @florian-h05  I also did it and it failed... For m,e it fails when I get an answer from the model and quarkus-langchain4j tries to update the memory.

Ah okay, tried it again and I do indeed see an the thread being blocked.
@cescoffier this seems to have to do with the TokenStreamMulti handling.
I added some breakpoints to the reproducer and I see:
Breakpoint reached at com.florianhotze.quarkus.langchain4j.RestResource.streamingPrompt(RestResource.java:43)
executor-thread-1
Breakpoint reached at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.doImplement(AiServiceMethodImplementationSupport.java:269)
executor-thread-1
Breakpoint reached at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport$TokenStreamMulti.createTokenStream(AiServiceMethodImplementationSupport.java:814)
vert.x-eventloop-thread-2

I will have a look when I'm back. I'm wondering why the multi starts emitting on the event loop. I may have missed a 'capture and switch context'

Please look at my PR - it fixes the issue (when the method still need to be marked as blocking)

@cescoffier I built a version of quarkus-langchain4j from your branch and integrated it into my project. However, I am still encountering the same exception:
java.lang.IllegalStateException: The current thread cannot be blocked: vert.x-eventloop-thread-3
        at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:30)
        at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)
        at io.quarkus.redis.runtime.datasource.BlockingStringCommandsImpl.get(BlockingStringCommandsImpl.java:41)
        at br.com.fredericci.memory.CustomChatInMemoryStore.getMessages(CustomChatInMemoryStore.java:32)
        at br.com.fredericci.memory.CustomChatInMemoryStore_ClientProxy.getMessages(Unknown Source)
        at dev.langchain4j.memory.chat.MessageWindowChatMemory.messages(MessageWindowChatMemory.java:84)
        at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.doImplement(AiServiceMethodImplementationSupport.java:151)
        at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.implement(AiServiceMethodImplementationSupport.java:131)
        at br.com.fredericci.ChatBotAssistant$$QuarkusImpl.getAnswer(Unknown Source)
        at br.com.fredericci.ChatBotAssistant$$QuarkusImpl_ClientProxy.getAnswer(Unknown Source)

The issue seems to be linked with context.chatMemory(memoryId).messages() which relies on blocking operation as you can see in the stacktrace.

Does your method still have the @Blocking annotations?
On Wed 11 Dec 2024 at 21:52, Dennys @.***> wrote:

@cescoffier https://github.com/cescoffier I built a version of
quarkus-langchain4j from your branch and integrated it into my project.
However, I am still encountering the same exception:
java.lang.IllegalStateException: The current thread cannot be blocked: vert.x-eventloop-thread-3
at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:30)
at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)
at io.quarkus.redis.runtime.datasource.BlockingStringCommandsImpl.get(BlockingStringCommandsImpl.java:41)
at br.com.fredericci.memory.CustomChatInMemoryStore.getMessages(CustomChatInMemoryStore.java:32)
at br.com.fredericci.memory.CustomChatInMemoryStore_ClientProxy.getMessages(Unknown Source)
at dev.langchain4j.memory.chat.MessageWindowChatMemory.messages(MessageWindowChatMemory.java:84)
at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.doImplement(AiServiceMethodImplementationSupport.java:151)
at io.quarkiverse.langchain4j.runtime.aiservice.AiServiceMethodImplementationSupport.implement(AiServiceMethodImplementationSupport.java:131)
at br.com.fredericci.ChatBotAssistant$$QuarkusImpl.getAnswer(Unknown Source)
at br.com.fredericci.ChatBotAssistant$$QuarkusImpl_ClientProxy.getAnswer(Unknown Source)
The issue seems to be linked with context.chatMemory(memoryId).messages()
which relies on blocking operation as you can see in the stacktrace.
—
Reply to this email directly, view it on GitHub
https://github.com/quarkiverse/quarkus-langchain4j/issues/1120#issuecomment-2537138016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADCG7NKWFFGLZWRUY2LKQ32FCQZHAVCNFSM6AAAAABSXKMFEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZXGEZTQMBRGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Do you mean the web socket method? It doesn't have it. Should I add @Blocking it?

Ah, ok I see it now... I included the @Blocking annotation and it is working fine now.

Thanks for your feedback.

@cescoffier Many thanks for fixing this annoying issue!


Detect wrongly-set caption language (LLM?)

Many Commons contributors contribute in various languages, for instance in Urdu when posting a picture of a local dish then in English when posting a picture showing a technology. That's great, but they often forget to select the right language for the caption:

The app should try to detect when there seems to be a language mismatch, and show a popup such as:

Your caption seems to be in Japanese, but English is declared as the caption language. Do you want to declare the caption language as being Japanese?

Implementation: Per our privacy policy we can not call third-party APIs. This task is probably not important enough to justify specific ML/LLM model training, but it is a great use case for device-embedded LLM on devices where that feature is available.

The idea is great, but I dont know about any device embedded LLMs @nicolas-raoul can you point me to some LLMs that you may know about?

@shankarpriyank I think Pixel 8+ and recent Samsung devices are planned to get that soon. Hopefully the emulator will get it soon too.
https://developer.android.com/ai/aicore
https://blog.google/products/pixel/pixel-feature-drop-december-2023/
https://www.samsung.com/us/galaxy-ai/

We consider working on it with @vtalos. Maybe tools like Apache Tika can be suitable for language recognition. Αlternatively, there are Github repositories that offer similar functionality, like https://github.com/shuyo/language-detection or https://github.com/optimaize/language-detector. What do you think? @nicolas-raoul

@karyotakisg These projects would add weight to the APK, and as I said it is low-priority. Also, embedded LLM sounds like a fun thing to try. :-)
If anyone has a device with AiCore (I think that currently means Samsung S23 Ultra or Pixel 8 Pro) please let us know.

We are a team of 5 students working on a University project to contribute to OSS projects. We would love to take on this issue and solve it.

@ChristoJobyAntony To check whether every needed component is available, would you mind running this sample app?
https://github.com/android/ai-samples
Please describe below your experience/process while doing it, thanks a lot! 🙂

I built https://github.com/android/ai-samples and am currently running it on my Pixel 9 Pro.
Somehow I am still getting this message after 10 minutes:
model is unavailable yet and downloading in background

Any luck on your side @ChristoJobyAntony?

@nicolas-raoul, thank you for the assignment. Unfortunately, I don't have a physical Pixel 9 to run the ai-samples application, the closest alternative I have is a Pixel 7. I was hoping I would be able to emulate the Gemini Nano through AVD, turns it out that is not possible.
Is it possible that we look at a more general solution that is compatible with a wider range of devices ?

@ChristoJobyAntony
No worries!
Feel free to unassign yourself and choose a different issue if you want.

Is it possible that we look at a more general solution that is compatible with a wider range of devices ?

If you get any idea feel free to share, but I am afraid no solution exists yet that would not increase the APK size. :'-(

If you get any idea feel free to share, but I am afraid no solution exists yet that would not increase the APK size. :'-(
This might be a bit of rudimentary approach, but would it be sufficient to scan the caption for characters from a different script   ? I do understand that several languages shares the same alphabets sets (especially Latin) however we could still provide them with a warning or UI feedback when the language selected has little to no characters in the caption provided. This potentially would at least prompt the user to correct their selection and could filter out a majority of the errors potentially.

scan the caption for characters from a different script

There are hundreds of languages and dozens of scripts, so even the mapping of this would take some APK size as well as a lot of effort... I think it is worth waiting for embedded LLMs to become more widespread, as this is not an urgent issue.

I understand, thank you for your prompt feedback. I understand that the focus is to use an LLM based solution. I will try asking my team if we can access any device that has access to the new AI-Core SDK. If not, I will unassign myself from this issue.

Since none of our team members have access to a device with AI-Core solution. I will be unassigning myself from this issue.


Add make uppercase/lowercase

This adds functionality to make text uppercase and lowercase.
This relies on https://github.com/google/xi-editor/pull/523

Thanks! I updated it. Before I could only make the text uppercase/lowercase by clicking on the menu entries. Now it also works using custom key bindings.

Ah interesting, I didn't even know those menu items were there, and didn't know that they worked as implemented; hence my baroque workaround. Cool.

@scholtzan something weird happened to this PR, you've dragged in some stale changes, not totally sure what's up.

Ooh, right! I was syncing my fork a couple of days ago to get the newest updates.
I will try to fix it now.

Fixed. And lesson learned to do my changes on a separate branch. ;)

Thanks!


Updating LHC to include recent fixes

Moved back to a previously tested commit that still has the needed fixes

any reason to not jump to HEAD?

In reply to:<PHONE_NUMBER>

I wasn't actually sure if there was in-progress stuff in HEAD after trying it. Once the current LHC PR gets merged though, I can move it there


feat: pre-filled create index from attributes page

What does this PR do?
Pre-fills the create an index modal when called from the attribute page
https://user-images.githubusercontent.com/26071571/203637348-8688bd84-b4c2-4f42-bced-39e2a695a18a.mp4
Test Plan
Manual
Related PRs and Issues
N/A
Have you read the Contributing Guidelines on issues?
Yes

We should probably hide the menu (dropdown from clicking the 3 dots) when we open the modal :+1:


sample may fail with null reference on HttpContext.Current

When deploying the sample to an azure web role (osfamily 4) it seems to (infrequently/randomly) fail with  a null pointer exception on trying to access HttpContext.Current in the AuthorizationCodeReceived callback.
reloading the page eventually results in successful completion.
Could there be a race condition where it's not guaranteed that HttpContext.Current gets initialized before we try to access it?
currently working around this by using context.Request variables instead of HttpContext - looking good so far.

@brentschmaltz what do you think of this issue? Does Martin's fix sound reasonable?

@dstrockis @m-bene I have experienced the same problem recently and is able to resolve it based on your suggestion.
Thanks!


raspiraw not working after use of raspistill/raspivid

Hi,
I have run into an issue that if I am using raspivid/raspistill and try to use raspiraw afterwards, raspiraw is not able to detect a camera anymore. If I only use raspiraw as described, it works fine. The specific symptoms are, that the i²c bus is timing out. Only a reboot fixes the issue.
System Specs:

RasPi 4B 4GB, RasPi CamV2
Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
Firmware:Aug 31 2021 14:53:42
Copyright (c) 2012 Broadcom
version 67615e950e1e28b92dfae6303cf7a8b879a8908f (clean) (release) (start_x)

/boot/config.txtdtparam=i2c_arm=on
dtparam=i2c_vc=on
dtparam=audio=on
[pi4]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
start_x=1
gpu_mem=256

dmesg.txt

Maybe it is related to:

Re: STICKY: libcamera - open source camera stack
the loading of the bcm2835 V4L modules at boot time
i2c configuration issues on my side

Kind regards

Did you rerun camera_i2c? If not then the sensor will have been powered down by the firmware once it was finished with it.
If you have then this is probably an issue with the firmware and Linux having no way of co-operating over the use of BSC0 (the hardware block behind i2c-0 and i2c-10). They both think they are the only thing controlling it.
The kernel last set the pinmuxing to i2c-10 (GPIOS 44&45 on a Pi4), so as it believes nothing else will have changed that, the next access to i2c-10 won't set it again. Confirm by checking the output from raspi-gpio get for GPIOs 44&45.
You can try forcing Linux to reselect the pinmuxing by using sudo i2cdetect -y 0 to switch to GPIOs 0&1, and then it will reset it on the next access to i2c-10.

I have issued camera_i2c after using raspivid/-still to no avail.
Thank you for your diagnosis of the underlying problem and the insight into the workings of the I²C bus usage patterns.
Indeed, what happens is as follows:

Clean start of the RPI, issuing camera_i2c followed by raspi-gpio get leads to the following output for GPIO 44&45:GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP

Running raspiraw and checking with raspi-gpio get  leads to the following output for GPIO 44&45:GPIO 44: level=1 fsel=5 alt=1 func=SDA0 pull=UP
GPIO 45: level=1 fsel=5 alt=1 func=SCL0 pull=UP

Running raspistill and checking with raspi-gpio get  leads to the following output for GPIO 44&45, again:GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP

Running raspiraw again (failing to find a camera) and checking with raspi-gpio get  leads to the following output for GPIO 44&45, again:GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP

Testing if your fix succeeds:

Issuing sudo i2cdetect -y 0 , camera_i2c  and checking with raspi-gpio get  leads to the following output for GPIO 44&45, again:
GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP

Running raspiraw (succeeding) and checking with raspi-gpio get  leads to the following output for GPIO 44&45:
GPIO 44: level=1 fsel=5 alt=1 func=SDA0 pull=UP
GPIO 45: level=1 fsel=5 alt=1 func=SCL0 pull=UP

Sometimes the timing between 4./5./6. is critical. If running the commands too quickly:

sudo i2cdetect will not succeed (retrying helped) or
the subsequent raspiraw command is not able to find a camera. For me it was necessary to run camera_i2c a second time and retrying raspiraw.

Hi,
for me the issue is resolved. As it boils down to a firmware issue, where would be the right place to address it? I guess I could open an issue here.
Any thoughts?

Sorry, not viewed as a bug.
BSC0 should be assigned to either the firmware for use in the camera stack (or DSI display touchscreen), or Linux. Using from both is going to cause issues, and not a supported mode of operation.
Potentially we could fix the pinmuxing, but that still only solves the problem if firmware and kernel are used sequentially. Issue a command from both simultaneously and the fight gets worse.


Add "true" tile tagging to the NPC highlight plugin

Indicates the true tiles that tagged NPCs are currently on. Useful for anywhere animations are staggered or generally vague.
In action

Re-opening since it's been over a year since the last discussion. I remember people talking about how the plugin was too powerful at verzik specifically, but her animations have been fixed for a long time now, so maybe this plugin is acceptable now.

I've pushed a cleanup commit. Can you confirm this still works as you intended? @jesse1412

I've pushed a cleanup commit. Can you confirm this still works as you intended? @jesse1412

Seems to work correctly, tested on multiple different sized NPCs.

We've removed this in the past, see 79dda8b7d0bc773039e780708908aa2673d1b250 and https://twitter.com/JagexRoq/status/1189634926234230794. So I'd probably vote no.


SASRec performance is inferior than BPR-MF!

I find the performance of SASRec is inferior than BPR-MF on some sparse dataset like Amazon beauty, game, and steam dataset. Is it normal? I use the BPR-MF baseline form https://github.com/duxy-me/ConvNCF.

It's not normal, SASRec should significantly outperform BPR-MF on the datasets you mentioned. This is also observerd in many many other follow-up works like BERT4Rec (https://arxiv.org/pdf/1904.06690.pdf).

Hi, I calculated the "real hit rate", which is to predict the probability of all items appearing in the next-item position. The training hit rate@10 of the movielen-1m dataset is only 0.15. Is it normal? (epochs 800)
If I split it into a training set and a test set, the top 10 hit rate is only 0.03. It seems to be extremely low.

It's not normal, SASRec should significantly outperform BPR-MF on the datasets you mentioned. This is also observerd in many many other follow-up works like BERT4Rec (https://arxiv.org/pdf/1904.06690.pdf).

I have the same question.Can you provide me with the baseline model code?

Hi, I calculated the "real hit rate", which is to predict the probability of all items appearing in the next-item position. The training hit rate@10 of the movielen-1m dataset is only 0.15. Is it normal? (epochs 800)
If I split it into a training set and a test set, the top 10 hit rate is only 0.03. It seems to be extremely low.

I got the similar result with ranking all items.


Do not truncate SQL queries in Span description

Problem Statement
Python SDK truncates SQL queries and appends an ellipsis at the end. Depending on the length of the parameter list, the query might be truncated in different places, which affects issue grouping in performance issues.
Solution Brainstorm
Why not just always put the whole (parameterized) SQL query in there?

Related #1953

Done


aiken export

What is your idea? Provide a use case.
New subcommand to export arbitrary functions from aiken
Why is it a good idea?
It's interesting and useful for people particularly in testing situations.
What is the current alternative and why is it not good enough?
nothing, duplicate logic

TODOs:

[ ] Make it a hidden command
[ ] Possibly polish errors
[ ] Write up a follow-up ticket detailing the next steps (labeled -> "help welcomed" for anyone to pick up.)


simplify services-to-main.sh

remove -B from checkout, didn't work as expected
all submodules are now using main, fallback to master no longer needed

@emanuelschuetze @GabrielInTheWorld @jsangmeister
What do you think about this?
Will revert to the old fetch && checkout behavior by default.
Adds the --pull | -p flag to instead do checkout && pull

@emanuelschuetze @GabrielInTheWorld @jsangmeister What do you think about this? Will revert to the old fetch && checkout behavior by default. Adds the --pull | -p flag to instead do checkout && pull

That will be nice!


Upgrade Helm to v2.15.1

2.15.1 fixes a regression (https://github.com/helm/helm/issues/6708)  that broke various charts, e.g. stable/redis (https://github.com/helm/charts/issues/18141)

Thank you @fabrichter LGTM


With VPN and chinese user still can't bypass region lock

Have both chinese account and activate VPN still no luck

At first, it started for domestic use, but now we are only using the global version. The actual test was conducted in the global version. Therefore, it is difficult to give you information because there is no test for domestic use. If possible, would you like to port forward the printer address? 3000 ports

Why forward port anyway? even though I can forward port but my ISP doesn't give out public ip anymore so can't access it.
Also I just dig deep into your kr community with this post and get VPN set up and running
https://cafe.naver.com/bambulab/2821
Now I can bind it!


Homepage partner section

Description
Adding a responsive homepage partner area with photographs of the firm brands for the partners
Issue #3
Fixes #3.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Screenshot (optional)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] The file is executed in the browser
[x] The section is responsive

Test Configuration: (optional)

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Description
Updates on the homepage partner section and resolution of conflicts
Issue #3
Fixes #3.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Screenshot (optional)

![Mobile View](https://github.com/italanta/elewa-website-html/assets/45742522/bc858e7b-c418-4038-8661-0ce174d3baaf
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] The file is executed in the browser
[x] The section is responsive

Test Configuration: (optional)

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules


Write menu route tests

Including pic tests.

PR #54 is incremental to allow Michael to test his code

PR #59 is supposed to have POST tests built in

tests work


docs: fix storybook link

Storybook has an official SvelteKit page now, so linking to it.
 Amazing work!

[x] Lint the project with pnpm lint
[x] Write your commits using Convential Commits.

 Amazing work!

Thank you! That means a lot coming from you as I really admire the work that Storybook has done to make component driven design easier.
My next thing to learn from Storybook is how to scale down the contents of an iframe such that the entire contents stay visible. It's a bit of a CSS backflip and my first attempt was terrible, lol. And I hope some of the stuff that Kitbook does and will do in regards to module graph usage and custom tools offerings is helpful inspiration for you guys in some manner.
Just noticed Taipei, are you based there? I'm in Kaohsiung.


[Public comment] Add Monolith/"Everything Operator" Use case

https://github.com/cncf/tag-app-delivery/pull/114#pullrequestreview-674419644
"Furthermore I wonder if there is any stance on merging those functionalities/characteristics together (aka "Monolith Operator"). I am really a fan of making sure things have a single purpose instead of "EverythingOperator". It's common to see multi-micro service application (e.g Thanos or Cortex) and operator deploying all of the components (despite all but one are stateless)."

@AlexsJones (While I can't assign you directly)

@AlexsJones: I think this issue is already solved, isn't it?


Add Jupyter notebook examples

Description
Jupyter with Spark ML or PySpark is a common use case for our users. We should look into best practices on sharing Jupyter notebook as part of the examples on the repo. This should include instruction on how to connect a Jupyter environment to a Spark-Vertica environment.
Should try to pull in connector dependencies from maven
Reason: Helps with adoption and reduces time to get started with Spark connector.

Also looking at existing Vertica examples to keep the demo experience consistent across offerings.  For example, see the Vertica Linear Regression example here.


Add filter so checks will only run on corresponding plugin changes

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Add filter so checks will only run on corresponding plugin changes
Issues Resolved
#211
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This is creative and simplifies the PR check!
cc @seraphjiang @kavilla @CCongWang

Test adding a test123.txt to security and reports folder in any subfolder that contains such two plugins, and both triggered the test accurately.
When no plugins related files are changed, then Bundle Snapshots 2x workflow will still run to ensure the integrity of the repo testing.
This should be enough for our current development requirements.
Thanks.


No matching distribution found for opencv-contrib-python==<IP_ADDRESS>

pip3 install opencv-contrib-python==<IP_ADDRESS>
ERROR: Could not find a version that satisfies the requirement opencv-contrib-python==<IP_ADDRESS> (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for opencv-contrib-python==<IP_ADDRESS>
python3 --version
Python 3.9.9

Hello, I'd like to ask why did this version go missing? is this expected?

I am a little bit new to openCV and python development I have the same issue, but I have installed pyenv and set it to 3.8 according to the docs it should be supported but I still have the same error:
ERROR: Could not find a version that satisfies the requirement opencv-python==<IP_ADDRESS> (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for opencv-python==<IP_ADDRESS>
WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available.
You should consider upgrading via the '/Users/m/.pyenv/versions/pypy3.8-7.3.11/bin/python -m pip install --upgrade pip' command.

I am a little bit new to openCV and python development I have the same issue, but I have installed pyenv and set it to 3.8 according to the docs it should be supported but I still have the same error:

Same i tried 3.8, 3.7 and 3.6 and im still getting that error
did you find a solution?

There it is: https://pypi.org/project/opencv-contrib-python/<IP_ADDRESS>/#files
You are using Python 3.9. There are no wheels for that release for Python 3.9 because Python 3.9 did not exist back then.

But I use mac with ARM chip, in your given website, it does not have for this ARM Mac. What should I do ?

But I use mac with ARM chip, in your given website, it does not have for this ARM Mac. What should I do ?
@Koa28062004 there were no builds for Apple Silicon at that moment. First M1s were released in November 2020, while you're refering to the release of OpenCV from February 2020 :-)
I'd suggest to take a newer OpenCV version, most probably it'll work without any changes in your code.


Behavior of locks vs conditions like network partition

Hello everyone,
Couldn't find my answer in docs or by looking briefly at the implementation, so posting the question here.
Let's assume a system, where X instances of the same application are working concurrently on processing some data. In general, the instances can work concurrently, but some specific data items must not be processed at the same time by more than one instance, as this would produce race condition.
To synchronize application instances and avoid race conditions, we've set up a Redis instance, and we use Redisson's locking mechanism to achieve exclusive execution. In general, the workflow for an instance looks like this:
(take a lock A) -> (process data) -> (release lock A)
Then, obviously, the other instances, that want to process the conflicting data item, need to wait for lock A to be released. Processing an item can take anywhere between several seconds and several days. so a lock might be held for a long time (and we use this auto-renewal feature for locks to have the lock prolonged as needed behind the scenes by Redisson).
My question is - what happens if an instance, that is currently holding the lock, loses connectivity to Redis (and therefore the lock times out and is then taken by another instance), and then after some time it regains the connectivity? Will it finish processing the data without holding the lock, and then fail on releasing the lock? Or maybe something else would happen?
I'd really appreciate your feedback on this.
Best Regards,
Paweł

Will it finish processing the data without holding the lock, and then fail on releasing the lock?

It will finish without holding lock if connectionWatchdogTimeout occured by that moment.

@mrniko thanks for the answer! I think that's all I need at that point.


Stream kill signal

I need to restart the server from gulp.
I create a gulp task with a server declaration, but when I gulp.watch the task I can't shutdown the old server. I can recibe a "kill signal" and kill the server service inside gulp? Like the process end signal.
Thanks.

Can you provide some code?

https://github.com/okvic77/gulp-foreman/blob/master/demo.js

Ooo my gash... gulp-foreman. The worst thing i've seen recently. It not doing anything with gulp and streams. You are able to what you want in that tasks, that not mean it should be prefixed with gulp and it is some gulp-ish magic. gulp is just cli runner of that functions.
Okey, in case. You want on gulp server:reset to kill the process (that is started from the gulp server) and start it again?

No, when I re-run server task reset the service.
The stream that server return never stops, so the task will never end. I need some signal from gulp that let me know when I need to stop the server (and stream returned).

Erm... cant got it, re-explain?
for your last comment I understand that (which dont have logic to me)
gulp server # start the server
gulp server # stop and start the server (e.g. reset)

or?
this should be the programmatical api of node-foreman
'use strict'

var toArg = require('to-arg')
var spawn = require('cross-spawn')

function foreman (opts) {
  opts = typeof opts ? opts : {}

  var args = Object.keys(opts).map(function (key) {
    return toArg(key, opts[key])
  })
  return spawn('nf', args)
}

// then, no matter where, even without gulp

foreman({
  procfile: 'path/to/Procfile'
})

and use in gulp task
'use strict'

var gulp = require('gulp')
var foreman = require('../../index.js')

gulp.task('server:start', function (done) {
  foreman('start', {
    start: {
      env: './beta.env'
    },
    stdio: 'inherit'
  }, done)
})

This could help to explain.
var gulp = require('gulp');
var foreman = require('gulp-foreman');

gulp.task('server', function() {
    return foreman({
        procfile: path.join(__dirname, 'Procfile'),
        port: 2000,
        env: path.join(__dirname, '.env')
    });
});

gulp.task('default', ['server'], function(){
    gulp.watch('**/*.js', ['server']); // I need to reset the server if i edit some js files.
});

Your module doesn't follow any of the guidelines and will end up blacklisted.  There is absolutely no reason to integrate with streams

@phated it's not his, he just forked https://github.com/jshcrowthe/gulp-foreman to show example.

@okvic77: This could help to explain.

oh yea, really I forgot it. Cant handle the case, I dont know.
It strange cuz only simple glob-watcher sample like
var watch = require('glob-watcher')

watch(['./*.js', '!./something.js'], function () {
  console.log('changed')
})

throws me error


STM32 BSP submodules

Link the STM32 BSP drivers used by the applications as submodules for easier update.
Equivalent versions have been used but for:

ism330dlc, replaced by ism330dhcx which is the component soldered on the B-U585I-IOT02A kit.
lsm6dso, updated from v1.5.1 (not available on github) to v1.5.3
veml6030, added due to a dependency from the B-U585I-IOT02A BSP

Please tell if other BSP drivers are to be used by the applications, so that I may extend the present PR if needed.

Merging this PR for now. Feel free to take care of the other drivers (remove or replace with submodules) as you see fit.


add multiprocessing to outlines_list

Per #704, saving outlines takes a long time to find contours for each mask. To speed up the process I added multiprocessing to process the masks in parallel.
Tested on Ubuntu 22, needs to be tested on Windows and Mac.

Codecov Report

Merging #712 (9ef8b2c) into main (325a2c5) will increase coverage by 0.10%.
The diff coverage is 21.73%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #712      +/-   ##
==========================================
+ Coverage   37.21%   37.32%   +0.10%
==========================================
  Files          19       20       +1
  Lines        5371     5377       +6
==========================================
+ Hits         1999     2007       +8
+ Misses       3372     3370       -2

Impacted Files
Coverage Δ

cellpose/utils.py
31.83% <21.73%> (-0.70%)
:arrow_down:

... and 5 files with indirect coverage changes

@yassinharim reports success on Windows 11 (https://github.com/MouseLand/cellpose/issues/704#issuecomment-1554578176). Will implement tests so GH checks have chance to catch multithreading weirdness.

test passing, good for review

I'm wondering if we should check how big the image is before doing this, if the image is small with few masks then starting the pool is slower


Automatic renaming of python-boilerplate to project name

I don't know how the best way would be, but some type of script in bash and ps1 could be proposed that substitutes the name python-boilerplate to the name of the project that is going to be created to normalize it automatically.
Thanks for your work

Thanks for the feedback! You can always run in your IDE and Find and Replace, right?

Thanks for your work.


Cannot build samples/net/sockets/echo for cc3220sf_launchxl

Describe the bug
Cannot build samples/net/sockets/echo for cc3220sf_launchxl
To Reproduce
Steps to reproduce the behavior:

build samples/net/sockets/echo for cc3220sf_launchxl

Expected behavior
build should succeed
Impact
Annoyance.
Logs and console output
In file included from /workdir/zephyr/subsys/net/ip/net_context.c:40:
/workdir/zephyr/subsys/net/ip/tcp2.h:120:1: error: useless type name in empty declaration [-Werror]
 void net_tcp_init(void);

Environment (please complete the following information):

OS: Linux
Toolchain: (Zephyr SDK
Latest master

Additional context
It showed up in CI through PR #24873

I have put up a fix in #27476. It is concerning however that CI didn't try to build for platforms using non-native stack when the tcp2 PR was submitted. Is this a gap that can be addressed for the future?

Is this a gap that can be addressed for the future?

This should be addressed for sure. We seem to be missing tests that would validate that non-native stacks can be compiled properly. Would you be able to propose something for this?

Is this a gap that can be addressed for the future?

This should be addressed for sure. We seem to be missing tests that would validate that non-native stacks can be compiled properly. Would you be able to propose something for this?

@jukkar I am not familiar with how CI determines which test to build given a PR, hence my question. Is this documented somewhere?


rocminfo dependency not specified in the debian package

rocprof depends on rocminfo to be executed properly, but such dependency is not specified in the debian package.
Source code where the dependency to rocminfo takes place:
https://github.com/ROCm-Developer-Tools/rocprofiler/blob/amd-master/bin/rpl_run.sh#L205
Debian package dependency is missing:
$ apt show rocprofiler-dev
Package: rocprofiler-dev
Version: 1.0.0
Priority: optional
Section: devel
Maintainer: Advanced Micro Devices Inc.
Installed-Size: 1541 kB
Depends: hsa-rocr-dev
Download-Size: 254 kB
APT-Sources: http://repo.radeon.com/rocm/apt/debian xenial/main amd64 Packages
Description: ROCPROFILER library for AMD HSA runtime API extension support

N: There is 1 additional record. Please use the '-a' switch to see it

Closing this ticket as https://github.com/ROCm/rocprofiler/pull/37 has already been merged and the issue is resolved.


Any way to tab between inputs

I have two inputs side by side with ui-select on both. I want to be able to tab out of the first and into the second. Any suggestions how I could do this?
It's a blocker for me as it breaks UX. If I have to write code or fork the project, so be it. I just need a solution urgently. Thanks!

You should be able to set tabindex=... attribute on ui-select.


Interaction with shapes

I'm trying to determine which shapes are located by coordinates (mouse click).
I realized that skia does not provide such an API and I need to implement it myself, but I have no ideas on this.
Everything is complicated by the fact that I need to understand exactly that the click occurred on the figure, and not its square hitbox, for example, I can click inside the text with the number "0" and this should not be considered a hit, there are also rectangles with rounded edges, complex curves, different shapes, and there are thousands of them on the canvas
I will be grateful for any advice because right now I don't even know how to Google for a solution to my problem

Skia is a rendering library, what you are asking for is completely out of scope.

Skia is a rendering library, what you are asking for is completely out of scope.

Yes, I understand that, I just wanted to find out what ways there are in general,
I could create a mathematical model of each figure I draw and count its collision,
or I could add its own canvas to each drawn figure and draw it there again and get a pixel at the right coordinates (if there is such a function in skia at all), then I will get thousands of canvases, or tens of thousands, and maybe it won't even work too slowly,
I could also create a polygon around pixels, for this I also need to somehow get a drawn shape separately from the general canvas, is this possible in skia?
But it still seems to me that there should be an easier way, if skia returned at least some information about the shape that it just rendered, it would be easier, I think

you could draw the shapes to a new surface, pass a unique color for each shape, then call hittestsurface.ReadPixels(..., mousePos) and check if the pixel color is a match?

this is just speculation at the moment but representing the UI as a DOM-like tree of System.Drawing.Drawing2D objects then mapping the DOM-like tree to skia drawing methods should be one approach
Then on pointer events use
Rectangle.Contains
GraphicsPath.IsVisible
For prioritizing elements of top of others, the DOM-like tree need z-index
@VeyDlin issue should be closed and instead a discussion thread in discussions as it's outside skia codebase

You can try https://github.com/wieslawsoltes/Draw2D

Hi @wieslawsoltes! I opened your library and it seems the github pages deployment has failed.


Exception mapper naming

Fixes / New Feature #
Proposed Changes
Fix typo in class and file name, and same for test
Exeption -> Exception

Hi Anthony!
Thanks for your interest in Ocelot!
Could you resolve merge conflicts please?

Anthony,
Merge conflicts have been resolved!
The feature branch has been rebased onto ThreeMammals:develop!
Finally, I've approved the PR!
Thank you for your eagle eye! 🦅 👁

@AnthonySteele
I've created develop branch in your repo.
Now make it default, please.


Latest sales/newest list MoonRiver

#3890

But for moonriver
Ref

#3884  - once this is merged

Moonriver discontinued


Related reference

This PR,

Adds constraintByNamePair function to Catalog which can be used to lookup the constraint names that are defined in ForeignKeyRef.
Adds _visibleForeignKeys(context) to Table that returns the visible foreign keys that are defined in the corresponding context.
Adds has(schema) function to Schemas to check for existence of a schema name.
Adds the Implementation of related reference for inbound foreign keys.
Updates some of the toString() functions that are used for unit testing.
Adds unit test for visible foreign keys and inbound related reference.

Related Issues: #137, #124, #123, #119, #102

@shinyichen
I changed the try-catch blocks to use contains() instead; as suggested.

The set of changes look good to me.

Ya the rest looks good to me.

@hongsudt Should I merge it?


Cassandra,order is wrong

I have a question about Cassandra. At present, "entities_by_time" is ok on the 18-bit uuid through column1 sorting, but there is something wrong with uuid ascending to the 19-bit sorting. Please help me.
cqlsh:minds> select * from entities_by_time where key='activity:user:990192934408163330' order by column1 desc limit 10;
key                              | column1            | value
----------------------------------+--------------------+--------------------
activity:user:990192934408163330 |<PHONE_NUMBER>63188746 |<PHONE_NUMBER>63188746
activity:user:990192934408163330 |<PHONE_NUMBER>64027139 |<PHONE_NUMBER>64027139
activity:user:990192934408163330 |<PHONE_NUMBER>64865555 |<PHONE_NUMBER>64865555
activity:user:990192934408163330 |<PHONE_NUMBER>65703953 |<PHONE_NUMBER>65703953
activity:user:990192934408163330 |<PHONE_NUMBER>70736649 |<PHONE_NUMBER>70736649
activity:user:990192934408163330 |<PHONE_NUMBER>71575047 |<PHONE_NUMBER>71575047
activity:user:990192934408163330 |<PHONE_NUMBER>76607752 |<PHONE_NUMBER>76607752
activity:user:990192934408163330 |<PHONE_NUMBER>90029073 |<PHONE_NUMBER>90029073
activity:user:990192934408163330 |<PHONE_NUMBER>90867461 |<PHONE_NUMBER>90867461
activity:user:990192934408163330 |<PHONE_NUMBER>00094475 |<PHONE_NUMBER>00094475
cqlsh:minds> select * from entities_by_time where key='activity:user:990192934408163330' order by column1 asc limit 10;
key                              | column1             | value
----------------------------------+---------------------+---------------------
activity:user:990192934408163330 |<PHONE_NUMBER>351555598 |<PHONE_NUMBER>351555598
activity:user:990192934408163330 |<PHONE_NUMBER>671688706 |<PHONE_NUMBER>671688706
activity:user:990192934408163330 |<PHONE_NUMBER>966656017 |<PHONE_NUMBER>966656017
activity:user:990192934408163330 |<PHONE_NUMBER>257429005 |<PHONE_NUMBER>257429005
activity:user:990192934408163330 |<PHONE_NUMBER>552396308 |<PHONE_NUMBER>552396308
activity:user:990192934408163330 |<PHONE_NUMBER>843169290 |<PHONE_NUMBER>843169290
activity:user:990192934408163330 |<PHONE_NUMBER>138136577 |<PHONE_NUMBER>138136577
activity:user:990192934408163330 |<PHONE_NUMBER>433103883 |<PHONE_NUMBER>433103883
activity:user:990192934408163330 |<PHONE_NUMBER>723876869 |<PHONE_NUMBER>723876869
activity:user:990192934408163330 |<PHONE_NUMBER>010455568 |<PHONE_NUMBER>010455568"
Found by sorting "column1". Using desc sort, "999979571363188746" is the first, Using asc sorting, "1000054880351555598" is the first. But "1000054880351555598" is bigger than "999979571363188746"

This is not a place to ask questions as people who may answer will not be watching and isnt what pull requests are for. Please try mailing list (see http://cassandra.apache.org/community/) or followup on comments in https://stackoverflow.com/questions/57416520/cassandrasorting-problem-ordering-is-wrong.


reformat arguments

Is this good to merge now, or is there anything needed to do before?

I was check why gem install cf-uaac -v 4.18.0 does not show the cacert parameter, e.g. "uaac curl" should do it.
However, I decided to redeploy then it appeared in 4.19.0. This here was done to check why parameter was not visible.
Finally I dont know why in 4.18.0 release the PR https://github.com/cloudfoundry/cf-uaac/pull/123 is not in even if git says it is in,


Ollama on Windows occupied all available ports when downloading

What is the issue?
When I'm trying to download a model from Ollama for Windows, after a while, my browsers cannot visit any other website, showing "connection refused". And the download would also fail (after the first part of this model finished, the next part cannot start and reports error).
The log ~/AppData/Local/Ollama/server.log shows Error: listen tcp <IP_ADDRESS>:11434: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
I also used the netstat, which shows that port number up to 65535 is occupied by ollama.
Is there any way to solve it?
OS
Windows
GPU
Nvidia
CPU
AMD
Ollama version
Win 0.3.12

@TheStarAlight are you by any chance on a slow or flaky network where a lot of retries are happening?  Perhaps we have a FD leak in the retry logic and aren't cleaning up as we go.

@TheStarAlight are you by any chance on a slow or flaky network where a lot of retries are happening?  Perhaps we have a FD ~leak or delayed close in the retry logic and aren't cleaning up as we go.

Yes you are right, network is not stable in China. Thank you for your attention! :D

@TheStarAlight the fix will be in the next version (0.3.13) when that ships.

@TheStarAlight исправление будет в следующей версии (0.3.13), когда она выйдет.

maybe add a flag --port to set a custom port for webui , cause port  is used by ollama 11434 process itself?
also when you under vpn it might cause some missconfigs with localhost adress. but its another story

https://github.com/ollama/ollama/issues/5816
https://github.com/ollama/ollama/issues/3774
Get-Process ollama* | Stop-Process -Force | ollama serve in one of  is founded solution.
and maybe for close a that issues and much more - there is a possible to build it an OpenUI inside (with WSL support or even just npm packages)
it will be very helpfull to just install , open ui and start chat with files, internet and much more . Thanks for your product and work!

#5816 #3774
Get-Process ollama* | Stop-Process -Force | ollama serve  in one of issues - is founded solution.
Is a possible to build in an OpenUI inside (with WSL support or even just python packages) ? Kind of plug and play it will be very helpfull to just install , open ui and start chat with files, internet and much more . Thanks for your product and work!
(easieast setup for me was install ollama , install webui via python and just use . thanks again)

I think you should raise this question in open-webui. I'm also looking forward to a installable version. Using docker is difficult for freshman like me, and I usually encounter problems that the webui cannot start.

#5816 #3774
Get-Process ollama* | Stop-Process -Force | ollama serve  in one of issues - is founded solution.
Is a possible to build in an OpenUI inside (with WSL support or even just python packages) ? Kind of plug and play it will be very helpfull to just install , open ui and start chat with files, internet and much more . Thanks for your product and work!
(easieast setup for me was install ollama , install webui via python and just use . thanks again)

I think you should raise this question in open-webui. I'm also looking forward to a installable version. Using docker is difficult for freshman like me, and I usually encounter problems that the webui cannot start.

i anyway face a not able to found AMR 6700XT videocard , even with Hip drivers, amd latest (kind of Rocm for win) , but it shows that NOT DETECTED - so the working way i think is anyway install it on WSL with real ROCM support or maybe docker)))
i am one click guy, script kiddy - and cant even imagine what hell will go on simple people to made it all work )))


modify getting-started.md

Signed-off-by: zhaoyong<EMAIL_ADDRESS>Because the original deployment document is getting started MD, the detection step is through the command kubectl get all - n kubeedge,
The results obtained make people uncertain whether edgemsh agent should be deployed on the cloud side, thinking that it will only be deployed on the edge node, which will lead to installation errors for new users
$kubectl get all -n kubeedge
NAME                                   READY   STATUS    RESTARTS   AGE
pod/edgemesh-agent-4rhz4               1/1     Running   0          76s
pod/edgemesh-agent-7wqgb               1/1     Running   0          76s
pod/edgemesh-agent-9c697               1/1     Running   0          76s
pod/edgemesh-server-5f6d5869ff-4568p   1/1     Running   0         5m8s

I will reopen your PR to tigger CI
/close

/reopen

/lgtm
/approve


Max mark does not reset when changing the criteria type

This resolves issue #3471

If you add the following in the description:
Resolves #3471
The issue will be resolved automatically when this is pulled in. See here: https://help.github.com/en/enterprise/2.16/user/github/managing-your-work-on-github/closing-issues-using-keywords


Update README.md

Changed markdown codeblock language.
The rendering of a js block as json looks strange.
Before:

After:

That makes a lot of sense, thank you!


libtommath: 1.2.0 -> 1.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/libtommath/versions.
meta.description for libtommath is: A library for integer-based number-theoretic applications
meta.homepage for libtommath is: https://www.libtom.net/LibTomMath/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2.1 with grep in /nix/store/4p4lsb8ji0mkphz33azs6z0k54c0klyf-libtommath-1.2.1
found 1.2.1 in filename of file in /nix/store/4p4lsb8ji0mkphz33azs6z0k54c0klyf-libtommath-1.2.1

Rebuild report (if merged into master) (click to expand)

13 total rebuild path(s)

13 package rebuild(s)

First fifty rebuilds by attrpath
StormLib
convertlit
devilutionx
fileshelter
firebird
firebird_3
firebird_4
flamerobin
libtomcrypt
libtommath
smpq
wt
wt4

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4p4lsb8ji0mkphz33azs6z0k54c0klyf-libtommath-1.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libtommath https://github.com/r-ryantm/nixpkgs/archive/3f665ee43d1c3ad8dd8991e44917ba964fccd019.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3f665ee43d1c3ad8dd8991e44917ba964fccd019#libtommath

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4p4lsb8ji0mkphz33azs6z0k54c0klyf-libtommath-1.2.1
ls -la /nix/store/4p4lsb8ji0mkphz33azs6z0k54c0klyf-libtommath-1.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

11 packages built:

StormLib
convertlit
devilutionx
fileshelter
firebird (firebird_4)
firebird_3
flamerobin
libtomcrypt
libtommath
smpq
wt

Maintainer pings

https://nvd.nist.gov/vuln/detail/CVE-2023-36328
This bump is little more than the fix, so will backport.


Converting large files is not feasible due to high memory usage

This tool works great for small files, but trying to convert a relatively large file (1GB) will cause a MemoryError, even with 32 GB of RAM

Indeed. There's a bit of a tradeoff between memory and speed, and we've mostly gone the speed route since it was envisioned that people wouldn't try to encode a file above a few tens of megabytes. If there's an interest in adding modes for memory or speed, I'd be happy to work on that. For now though, can you run a memory profiler (scalene or memprof work well) to tell us where the code uses most of the memory on your machine, or send the 1GB file here so I can test?

Indeed. There's a bit of a tradeoff between memory and speed, and we've mostly gone the speed route since it was envisioned that people wouldn't try to encode a file above a few tens of megabytes. If there's an interest in adding modes for memory or speed, I'd be happy to work on that. For now though, can you run a memory profiler (scalene or memprof work well) to tell us where the code uses most of the memory on your machine, or send the 1GB file here so I can test?


Sorting - Remembering?

Is it possible to navigate away from a page after sorting, and come back to it with the sorting entact - the way you left it. I am thinking localStorage or maybe cookies ??

Well I have come up with this and it works using the sessionStorage object. Saves the sort column and direction for a session....
Please let me know if there are ways to imporve this code...
$(function(){

var table = $("table").stupidtable();// call function

if (sessionStorage.data_column) {  // check if sessionStorage exists

    var thcol1 = sessionStorage.getItem("data_column"); //retrieve sort col
    var thdir1 = sessionStorage.getItem("data_direction"); //retrieve sort dir

    var $th_to_sort = table.find("thead tr th").eq(thcol1); //select sort column
    $th_to_sort.stupidsort(thdir1); //call direction
}

table.bind('aftertablesort', function (event, data) {

    sessionStorage.setItem("data_direction", data.direction); // data.direction - the sorting direction (either asc or desc)
    sessionStorage.setItem("data_column", data.column); // data.column - the index of the column sorted after a click
  });
});

`

Thank you for this snippet. I may try to incorporate it into the documentation somehow.


Dropdown with search - existing button ?

Hello
We would like to use a component (branded) as a dropdown with search and auto-completion (for example like : https://mdbootstrap.com/snippets/jquery/mdbootstrap/921549)
Does this kind of component already exists on Boosted ? If yes, where can I find documentation to share with developers ?
Our use-case is to avoid a long long list of countries in a dropdown (ex : list of countries).
Thank you for your feedback.

Hi Matthieu,
This kind of component is not in Boosted v5 yet, nor in Boosted v4, but we plan to introduce it in Boosted v5. You can for instance follow the design guidelines (WEB-FOR-CCS-001, WEB-FOR-DDL-002 and 005). As there's no release date at the moment, a CodePen project can be offered to help developers.
Can you tell us which version of Boosted you are using ?

Hi Louis Maxime
thanks for your quick feedback.
Some of our portals are using Boosted v4.4 and some others v4.5.2.
An homogenization is in progress in order to upgrade all portals to Boosted v5. in January.
I'll take notes from design guidelines and will mention topic with XDLabs.
Please do not hesitate if you could share ressources (Ideally, it should be compatible with latest Boosted version as we are targetting to be aligned with latest versions).

Note: could be closed by https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/issues/943 or https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/issues/453
@MathieuPomm, depending on with which techno you're using Boosted, there are some solutions that could help you implementing it in the meantime coupled to the design guidelines @louismaximepiton mentioned:

in Angular you could use for example https://ng-select.github.io/ng-select
ng-select was inspired from https://react-select.com/home in React

Thanks Julien for your feedback.
I'm noting that and will share with our developers (as they are using Java, I guess React might be useful).
NB : regarding WEB-FOR-DDL-003/005, I'm thinking those use-cases are slightly different as user might do multiple selection.
NB : #453 might indeed correspond to our current need, but we will have also some cases where we want to display long list of data (ex : address fields listing districts, for a funnel in order to retrieve delivery fees).
Thanks all for your feedbacks.

Closing it as it will be handled in the context of #943


Bug: OpenSauced hates me... or just doesn't show my contributions. 😄

Describe the bug
When looking at my profile, my contributions never load.

Steps to reproduce

Go to the contributions tab of my profile
See no contributions are shown.
Look at my GitHub profile and see there are contributions to publicly available repositories.

Browsers
Edge
Additional context (Is this in dev or production?)
production
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

haha😄, that's a funny title to this issue 😅.  When last did you make a pr contribution to an open source project?

@michaeljolley also can you let us know what the repo was?

A collection of more recent (last month or so) of merged PRs.
https://github.com/expressots/expresso-site-doc/pull/24
https://github.com/michaeljolley/baldbeardedbuilder.com/pull/6
https://github.com/expressots/expresso-site-doc/pull/18
https://github.com/michaeljolley/baldbeardedbuilder.com/pull/5
https://github.com/EclipseFdn/open-vsx.org/issues/2104
https://github.com/michaeljolley/baldbeardedbuilder.com/pull/4
https://github.com/expressots/expresso-site-doc/pull/19
https://github.com/withastro/docs/pull/2862

To provide some context here, we proactively gather information on repositories that people follow when they add them to an insight page. So if you add those repositories, we will started getting more data for them. I added octokit/octokit.net to one of my insight pages, so its pull requests get updated, and now it data is reflected on your profile.

We have a larger set of repositories that are updated but less often. Will take a further look into why more aren't showing up though.

Taking a deeper look, as Brandon mentioned, into our data and backfill services to uncover this abit more

@brandonroberts, just to confirm, my best shot of making sure my PRs show up is to add that repo to an Insight page?

@michaeljolley Yes


MWPW-122988 - [Library] Search & IDs

adds a search field in the library sidekick to search for blocks

Features:

the search field is only displayed when browsing for Blocks. Otherwise it is hidden as the number of Placeholders and Icons is very limited
looks up blocks based on the block title (e.g. Marquee (split, light))
supports block IDs/tokens defined by authors in the searchTags property of the section metadata following the block

Resolves: MWPW-122988
Test URLs:

Before: https://main--milo--adobecom.hlx.page/?martech=off
After: https://library-search--milo--adobecom.hlx.page/?martech=off

Great addition!
 I've tired checking it out and looking at it locally.
The library is only available when sidekick is used in Sharepoint, but it looks like it's not loading that branch as there is not search feature present. LMK if i'm missing something on the testing. Thanks @jckautzmann

Sample pages for tools - https://library-search--milo--adobecom.hlx.page/tools/library?martech=off


db sync with Mergin CE

Hello
I have set up Mergin CE as a docker on my server.  I have also installed db sync in docker.  How do I point db sync to the local installation of mergin server?
The "Running with Docker" commands asks for MERGIN_USERNAME and MERGIN_PASSWORD.  I assume this refers to the public cloud mergin server:
sudo docker run -it \
  -e DB_CONN_INFO="host=myhost.com dbname=mergin_dbsync user=postgres password=top_secret" \
  -e DB_SCHEMA_MODIFIED=sync_main \
  -e DB_SCHEMA_BASE=sync_base \
  -e MERGIN_USERNAME=john \
  -e MERGIN_PASSWORD=myStrongPassword \
  -e MERGIN_PROJECT_NAME=john/my_project \
  -e MERGIN_SYNC_FILE=sync_db.gpkg \
  lutraconsulting/mergin-db-sync:latest \
  python3 dbsync_daemon.py --init-from-gpkg

Would really appreciate some help.

You can use MERGIN_URL environment variable to point to your custom URL


Add full contributor list in readme

Adds a link in the readme which points to all contributors to the repo.

I'll probably just get rid of the list and make it refer to that link, after merging.


Process DialogFlow sessionId

Is it possible to process DialogFlow request in an intent_script? I mean, by default you can use the parameters from request, but the JSON request has more parameters. I need to make a difference depending on the device that is doing the request, so I need sessionId from google assistant request I think. Anyone has done it?

I'm glad ur issue got solved @nicomda but can u tell me what were u trying to achieve with an example because it sounds interesting


Issue while Demo test application

Augury: 1.23.0
Date: Sat, 06 Apr 2019 09:11:45 GMT
OS: MacIntel
Demo test application:
-- https://augury.rangle.io/examples/input-output/app/index.html.
Description of issue:
-- Include (clipped) screenshot images if possible.
TypeError: Cannot read property 'subscribe' of undefined
at chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js:31:261926
at M (chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js:31:260124)
at chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js:31:261814
at ZoneDelegate.invoke (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75633:26)
at Zone.run (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75425:43)
at https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:76012:57
at ZoneDelegate.invokeTask (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75666:31)
at Zone.runTask (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75465:47)
at drainMicroTaskQueue (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75845:35)
at ZoneTask.invoke (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75723:25)
at data.args.(anonymous function) (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:76880:29)

Getting same error on the 'Tour of Heroes' tutorial app as well as
-- https://augury.rangle.io/examples/input-output/app/index.html.

I have the same issue. For online demo app built with Angular Framework, it returns either one the two messages :

TypeError: Cannot read property 'subscribe' of undefined
This application is running in production mode and therefore cannot be inspected using Augury.

However, using the Chrome or Firefox extension for an Angular app built locally, it seems to work.

The above issue still persists:-
Following is the log in Augury tab of Chrome dev tools:-
TypeError: Cannot read property 'subscribe' of undefined
at chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js:31:261926
at M (chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js:31:260124)
at chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/backend.js:31:261814
at ZoneDelegate.invoke (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75633:26)
at Zone.run (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75425:43)
at https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:76012:57
at ZoneDelegate.invokeTask (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75666:31)
at Zone.runTask (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75465:47)
at drainMicroTaskQueue (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75845:35)
at ZoneTask.invoke (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:75723:25)
at data.args. (https://augury.rangle.io/examples/input-output/app/vendor.bundle.js:76880:29)
In console tab:-
Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Window': An object could not be cloned.
at Object.t.messageJumpContext (chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/content-script.js:24:9921)
at chrome-extension://elgalmkoelokbchhkhacckoklkejnhcd/build/content-script.js:24:8583
t.messageJumpContext @ content-script.js:24
(anonymous) @ content-script.js:24

Same issue for me. Thanks.

Same issue is happening for me as well.

+1

+1

+1

Same happens here! Before I tried on some applications I have and thought it was my problem...then I came to the DEMO page and see that the problem is general.
Is there any way to make it work? Or there are any problems with Angular versions?

I've seen that latest commit was on 1st of May, so... is the project still maintained?

We see this issue on Angular < 4.
We leverage the ApplicationRef.isStable Observable, which was introduced in this commit (Angular v4 - Beta). The demo app is currently running version 2.4 which is why we see the issue on the demo app as well.
Please make sure to use Angular >= 4.

We've now updated the example application to Angular 8, which solved the issue.
Please give it a new try, and feel free to reopen this issue if there still are issues.
Thanks.

fixed with (PR #3)[https://github.com/rangle/augury.rangle.io/pull/3] in the (augury.rangle.io)[https://github.com/rangle/augury.rangle.io] repo


Added a Secret Scanning and Push Protection section to the GitHub Repository Creation Guide

Learned through your doc that we can prevent commits too! gonna enable this through the script.


Adding notebook to show how to import into neo4j

Since there hasnt been any updates to https://github.com/microsoft/graphrag/pull/544, I decided to open a separate PR with fixed import statements.
I'll add the license part, just let me know if we need to solve all linter issues.
Btw... later we can add retrieval notebooks that replicate local and global search with neo4j and langchain/llamaindex

@microsoft-github-policy-service agree company="Neo4j"

Hi!
Referenced your fix in #593
Thanks for your help, please, if needed to update feel free to submit a new PR