Creating Universally Unique ID

I get problem because I want to auto generate Unique ID for every model field. Example: User 1 have ID 1, User 2 have ID 2, Feed 1 have ID 3. Feed 2 have ID 4, ... like Facebook design. (fb.com/4 -> Mark Profile, fb.com/10104096471894281 -> Mark Feed)
How can I do this like Facebook? Thank you Vitorfs!

I found a solution: Sharding PostgreSQL and generate by timestamp, ShardID. How do you think?

Hi @feedgit This is a really complex situation, far beyond the original project intent. I'm glad than you have this kind of interest. About your need, and your solution, I still don't understand the full scope of what you want to achieve, because this part confuses me:

I want to auto generate Unique ID for every model field. Example: User 1 have ID 1, User 2 have ID 2, Feed 1 have ID 3. Feed 2 have ID 4, ... like Facebook design. (fb.com/4 -> Mark Profile, fb.com/10104096471894281 -> Mark Feed)
You say you want to create a unique ID for every single field for every model (I don't see want you want to do something than complex, mainly because I haven't been able to imagine the use case), but the example you provide indicate than what you really want is to create a unique ID for every instance.

About PostgreSQL sharding, I think that is used for other use cases, but I'm not familiar with the process and implementation, so sorry, I can't be of help there. And about your question, if what you want is the first use case, I have no valid suggestion to make to you, but if what you want to implement is the second one, have you considered using UUID?
I hope it helps.

@Sebastian Code. Ive been trying many ways to do it but I dont have the best way now.
UUID is good but if use UUID, it face with many errors about DATE CREATED.
I find a package: https://github.com/JBKahn/django-sharding. Maybe It will help if anyone to try sharding database in Django.
Thank you! Tell me if you have a better solution!

As I said before, perhaps I haven't been able to understand what you want, and perhaps that's the reason I still think sharding will not solve your need. Beyond my previous suggestion of implementing UUID fields for every single model, I am out of ideas, but I wish you good look with that, yours truly sounds like a really interesting use case.

Thank you @sebastian-code Hope your project will develop in the future. :)


gazebo fails to start on macOS due to protobuf exception

Currently, with latest master and after a brew upgrade, gzserver throws an exception on start:
Gazebo multi-robot simulator, version 8.4.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://<IP_ADDRESS>:11345
[Msg] Publicized address: <IP_ADDRESS>
[libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: Int32.proto
[libprotobuf FATAL google/protobuf/descriptor.cc:1394] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
/Users/julianoes/src/Firmware/Tools/sitl_run.sh: line 119:  7882 Abort trap: 6           gzserver --verbose ${src_path}/Tools/sitl_gazebo/worlds/${model}.world
SITL COMMAND: /Users/julianoes/src/Firmware/build/posix_sitl_default/px4 /Users/julianoes/src/Firmware /Users/julianoes/src/Firmware/posix-configs/SITL/init/ekf2/iris
data path: /Users/julianoes/src/Firmware
commands file: /Users/julianoes/src/Firmware/posix-configs/SITL/init/ekf2/iris

FYI @priseborough

@julianoes Problem is this commit: https://github.com/PX4/sitl_gazebo/commit/de983cc09955cdb1e6e68b1cef5116cd4750f18f?diff=split it works when you comment out all the refs to std_msgs, see here: https://github.com/bramsvs/sitl_gazebo/commit/bf6d22af29354ab81f5d7427dc8ea2d634a417de
Didn't test it further and my knowledge about px4/protobuf is quite limited so we need more input on a proper fix. Anyone? :)

Thanks! Fix is on master: https://github.com/PX4/Firmware/commit/3da459899a9b892c28752203e922834672641676

Do we need MacOS CI building gazebo?

@dagar working on it: https://github.com/PX4/sitl_gazebo/pull/217

@TSC21 has a PR up for that, WIP.


Add example for list-fix-paths

Add examples for list-fix-paths and list-fix-values in playground: https://github.com/metafacture/metafacture-documentation/issues/40

A bit of context would be nice. You don't need necessarily need to open an issue, but link to the existing one?

Deployed, see e.g. https://metafacture.org/playground/?example=list-fix-paths.


fastreid install

In /projects/partialReid, you say "First install FastReID following ..", where is the ..?

update, please check


Fix/wandb log summary

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Type of Change

[ ] Examples / docs / tutorials / contributors update
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Improvement (non-breaking change which improves an existing feature)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Proposed Changes

Related Issue

Closing issues

Codecov Report

Merging #535 (3784ded) into master (9425aeb) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #535      +/-   ##
==========================================
- Coverage   87.99%   87.94%   -0.05%
==========================================
  Files         118      118
  Lines        5573     5576       +3
==========================================
  Hits         4904     4904
- Misses        669      672       +3

Impacted Files
Coverage Δ

etna/loggers/wandb_logger.py
33.33% <0.00%> (-1.29%)
:arrow_down:

Continue to review full report at Codecov.

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


load_punkt_params() loads PunktParameters.collocations as list instead of set

The type of PunktParameters.collocations as defined in PunktParameters.__init__ should be a set of tuples, though new changes from https://github.com/ekaf/nltk/commit/496515efe45b5b708d15153983c7022cb1f32ac7 via https://github.com/nltk/nltk/pull/3283 change that type to a list.

This doesn't appear to break anything in the nltk codebase that I can find, but it breaks something in my code and contradicts documentation
Is the best way to fix this to coerce the return value tab2tups into a set when setting colloctions in load_punkt_params(), or to have a new method in TabDecoder that returns a set of tuples? I am happy to put together a fix

Thanks for catching this bug @ryanamannion! #3311 fixes it.


SFaceCompare is not work on IOS 12

the image source without face is worked fine, however ,if there are face, it will show error LLDB only,
the error row hold on  SFaceCompare.swift with thread 12 code 1
guard let firstAlignedFace = SFaceCompare.opncvwrp.faceAlign(firstFaceOperationResults.image),
let secondAlignedFace = SFaceCompare.opncvwrp.faceAlign(secondFaceOperationResults.image) else {
DispatchQueue.main.async {
let error = SFaceError.wrongFaces(reason: "Faces can not be aligned. Try other images")
failure(error)
}
return
by this code
let faceComparator = SFaceCompare(on: image1, and: image2)
// 2: Call compareFaces method with success and error handlers
faceComparator.compareFaces(success: { results in }, failure: {  error in })

thread 2:EXC_DAD_ACCESS(code=1, address 0x240)

Sorry ,when i load prepare data  action of class ,i am using private, so it is not work, delete the private will worked fine


Add more people with merge permissions

Currently there are 7 open PR's ready to be reviewed and merged.
We are piling up, which is both good and bad.
It's good to have people play around with the code, fix bugs and add features.
And it's bad because it will take more time to resolve conflicts as more pending PR's are made.
@sashimi-houdini I suggest to add more people to get merge permissions, so we can move faster.
Obviously I volunteer myself. Maybe @atramos is also interested?
And no, I don't intend to merge my own work without others having looked at it. Maybe we can require at least one approval from another contributor? (Does github support that? I'm not too familiar with this platform.)
In any case, I think it's best to review/merge PR's in the order that they were submitted.

I'm seriously considering this

ok @lk16 you'll be our @gavinandresen. I'm trusting you will only abuse your powers once I've mysteriously disappeared.

I might add @atramos too if they so desires, but probably only after they have some code in the codebase through an accepted PR.

Nice, thanks.
So do we have some procedure for PR's? Like the approval thing I mentioned above?

I don't mind helping out. The more contributors we have, the sooner we can have a disagreement and a fork ;-)

So do we have some procedure

I'm happy with "let's informally require one reviewer (not yourself) for any non-trivial PR".
I haven't checked if Github supports technological enforcement for this, but I also don't care too much... let's be grown up here and just trust that this works. Crypto is trustless, after all

I think we can close this now as it appears @lk16 and I both have Merge permissions. Just to refine the "some procedure" a bit, I propose that after the "one reviewer (not yourself)" approves the PR, the original PR submitter ("yourself") is then responsible for merging verifying release-readiness of the master branch.


nginx idea

Describe the bug
该如何用nginx 代理这个网页？如果直接写会有卡顿。
Reproduction
Nginx idea
System Info
--Browsers

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Here is an example, proxy_buffering is the key point
location / {

                proxy_pass http://{IP}:3000/;

                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Host $http_host;
                client_max_body_size    10m;
                proxy_buffering off;
                gzip off;
        }


Add collector for Amazon ECS and Azure Container Service

Move2Kube collectors which can be invoked using move2kube collect help extract runtime information.
To allow translation from Amazon ECS and Azure Container Service, similar to how we have structured for Cloud Foundry in here (https://github.com/konveyor/move2kube/blob/master/internal/collector/cfappscollector.go).
We can write a collector which will access the running container instances, and extract metadata out of it and serialize it in a format similar to https://github.com/konveyor/move2kube/blob/master/types/collection/cfinstanceapps.go.
Requirements:

Access to Amazon ECS or Azure Container Service

Tasks involved:

Create a serialization format similar to https://github.com/konveyor/move2kube/blob/master/types/collection/cfinstanceapps.go
Write a collector to access the runtime using api and serialize the data similar to https://github.com/konveyor/move2kube/blob/master/internal/collector/cfappscollector.go

@ashokponkumar I would like to take up this issue. I need more inputs though. I have joined the slack for the ease of getting inputs.

sure @akhil-ghatiki .  Please reach out if you have more questions.
The first task we could start with is the api to access ECS or ACS and how to use a go to fetch metadata about running instances.

sure @akhil-ghatiki . Please reach out if you have more questions.
The first task we could start with is the api to access ECS or ACS and how to use a go to fetch metadata about running instances.

@ashokponkumar is there any such api used for cf instances ? I can use it for reference.

https://github.com/konveyor/move2kube/blob/master/internal/collector/cfappscollector.go uses "cf curl /v2/apps" commands.
For ECS, look for ways to list all running instances, and then get metadata like image names etc.

https://docs.aws.amazon.com/cli/latest/reference/ecs/

For Azure Containers, possibly https://docs.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest


list of loaded config files

The proxy gui should show a list of currently loaded / connected data sources, their names, and associated config file.

Resolved in branch "feature/A3986_uploaded_file_list".


Use JOIN for delete_old_jobs_sql

Closes https://github.com/peopledoc/procrastinate/issues/79
Little Pierre discovers SQL

Codecov Report

Merging #80 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #80   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          19     18    -1
  Lines         685    649   -36
  Branches       54     53    -1
=====================================
- Hits          685    649   -36

Impacted Files
Coverage Δ

procrastinate/postgres.py
100% <100%> (ø)
:arrow_up:

procrastinate/exceptions.py
100% <0%> (ø)
:arrow_up:

procrastinate/testing.py
100% <0%> (ø)
:arrow_up:

procrastinate/worker.py
100% <0%> (ø)
:arrow_up:

procrastinate/app.py
100% <0%> (ø)
:arrow_up:

procrastinate/sql/__init__.py

Continue to review full report at Codecov.

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

I just rebased, since the SQL was moved around since I started working on this :)

I was just about to tackle this one, you're right on time :)


 I tried to install js2coffee globally, tinkered around with the script and stuff but could not get it to work properly. My understanding of rake is a little limited but thats the only thing holding me back from contributing to the main JS code.
Did I do something wrong or did I miss something in the contributor guide ?

@teoljungberg any input on this one?

Sorry for taking so long getting back to you.
I updated the contribution document in https://github.com/thoughtbot/refills/pull/328.
Does that clarify what you had problems with?

@codebryo Any update?


Allow config templates to be skipped given special metadata

In the original Makefile system, remote states, like vpc, would NOT generate terraform code given that they were for the template being run.  Ex:  the vpc remote resource wouldn't be included when working on the vpc template.  This makes sense, but was specific to the customer.  You can achieve the same remote sources, but you can not skip them.
This should allow some sort of mechanism to skip a template, given some rule.  One idea is to include some metadata in a comment section of a template.  If some criteria is met (SKIP: template_name == "vpc") then, when combining, it would skip over this template.

old / irrelevant.  - closing


fix component macro lifetime parsing

Oh thanks so much; I'm glad this was such a quick fix, appreciate your taking it on.


Add IPv6 support

Corrected lots of indentation problems
Corrected comments

Hi @Crabbey
How does this pull request compare to the other pre-existing IPv6 pull request?
Are there any benefits to one other the other?

https://github.com/lancachenet/lancache-dns/pull/97


Cannot configure react native app to use a local packager that is running on a non-default port

Description
Tried running the react native sample project (AwesomeProject) described here
With a local packager running on a non-default port
expected app to connect to the server running on the non-default port
what really happened is that the app tried connecting to the sever on the default port
documentation does state that you need to configure it in the in-app Developer menu
But the app was never loaded in the first place to the simulator so no way to open it
In addition, even when i did manage to fix the issue and load it, the Developer menu doesn't have menus as described here
Reproduction

react-native start --port 8088 to start a local packager on a non default port
react-native run-ios fails because the port 8081 is hard-coded in several places ['RCTBundleURLProvider.m', 'RCTWebSocketExecutor.m', and in the build phases script]

Solution
i had to change: in RCTBundleURLProvider.m
const NSUInteger kRCTBundleURLProviderDefaultPort = 8081;
to
const NSUInteger kRCTBundleURLProviderDefaultPort = 8088;
And in RCTWebSocketExecutor.m
port = [[[_bridge bundleURL] port] integerValue] ?: 8081;
to
port = [[[_bridge bundleURL] port] integerValue] ?: 8088;
And lastly:
open the iOS project in Xcode, in the project navigator > Libraries > React.xcodeproj > Build Phases, change all occurrences of 8081 to 8088.
Additional Information

React Native version: 0.39.2
Platform: iOS
Operating System: MacOS

Huh, what happened to the menu? Did it change to just remove this option at some point?

Well, this is what it looks like, can't find any "Dev Settings → Debug server host for device"

Any idea what has to be done for Android. I'm not able to work on this, on Android :(

Yeah the option was removed at one point on iOS (I'm also not sure about Android). I think we should clean up the docs so people don't expect to have this capability.
When somebody adds the feature back in we can promote it then.

Cleaned up on #13687


feat: locale_it implementation

Checklist
Please put "X" in the below checkboxes that apply:

[ ] If committing a change of production code, I have tested it in different browsers (Chrome, Firefox, Safari).
[ ] If committing a new feature, I have first submitted an issue (Please note: you are free to open PRs for non-issued features, but opening an issue increases your chance of a successful PR).
[ ] If committing a new feature, I have also written the appropriate tests for it.
[ ] I have tried to build the feature in a way, that it does not cause any breaking changes for others (unless
agreed upon in an issue).

This PR solves the following problem**.
Added calendar locale support for it-IT
How to test this PR**.
Set locale: "it-IT" in config param of createCalendar
For example:
const calendarApp = createCalendar({
locale: "it-IT",
// other configs
});

Thanks for your contribution! You're now contributor #1 of this library 😃
Version 1.4.0 of calendar is already released, the React and Vue adapters will be released once Renovate bot has done its job in those 2 repos.


Add integration between New-GcsObject and the provider

With this change, New-GcsObject will try to get the context of the current PowerShell location if it is inside a Google Cloud Storage Provider location. The cmdlet can then automatically fill out -Bucket as well as apply prefix to the object created.

This change is

Thanks!


tell user before downloading modules

Downloading modules is really slow and looks like PDQTest has crashed - it hasn't!
Lets use this cool message suggested by our user:

hey, i'm downloading the internet, pls hold... :snail:

fixed in 0.4.3


Limit number of bytes read for checking

Related: https://github.com/carsales/pyheif/pull/53

Hi @homm, this one has conflicts. Everything is good, please resolve them and I'll merge. Thanks.

Rebased


typescript-operations plugin duplicates fragment type when document is matched twice

originally reported as: https://github.com/dotansimha/graphql-code-generator/issues/10170
Which packages are impacted by your issue?
@graphql-codegen/near-operation-file-preset
Describe the bug
When typescript-operations plugin is used with @graphql-codegen/near-operation-file-preset and the documents config has overlapping patterns meaning a file is matched by more than a single pattern the generated file contains multiple type exports with conflicting name.
Your Example Website or App
https://stackblitz.com/edit/github-kq5wbr?file=codegen.ts,src%2Ffragment.generated.ts
Steps to Reproduce the Bug or Issue

Go to src/fragment.generated.ts and see MyExampleFragment is duplicated
Go to codegen.ts
Comment out 'src/fragment.graphql', from the documents config
Run yarn generate
See that src/fragment.generated.ts has no duplication

Expected behavior
There is no duplication regardless of overlapping documents configuration
Screenshots or Videos
No response
Platform

OS: macOs
NodeJS: 20.10.0
graphql version: 16.9.0
@graphql-codegen/* version(s): 4.0.1
@graphql-codegen/near-operation-file-preset: 3.0.0

Codegen Config File
import { CodegenConfig } from '@graphql-codegen/cli';

const config: CodegenConfig = {
  schema: 'schema.graphql',
  documents: [
    'document.graphql',
    'src/*.graphql',
    // Enforce duplication, fragment is already matched by the rule above
    // comment out the next line to prevent duplication
    'src/fragment.graphql',
  ],
  generates: {
    'types.ts': {
      plugins: ['typescript'],
    },
    src: {
      preset: 'near-operation-file',
      plugins: ['typescript-operations'],
      presetConfig: {
        baseTypesPath: '../types.ts',
      },
    },
  },
};

export default config;

Additional context
Symptoms
The generated file:
import * as Types from '../types';

export type MyExampleFragment = { __typename?: 'User', id: string, username: string };

export type MyExampleFragment = { __typename?: 'User', id: string, username: string };

Research
Documents here
https://github.com/dotansimha/graphql-code-generator/blob/a23505180ac2f275a55ece27162ec9bfcdc52e03/packages/plugins/typescript/operations/src/index.ts#L14
carry the duplicated fragment SDL
[
  {
    rawSDL: 'fragment MyExample on User {\n' +
      '  id\n' +
      '  username\n' +
      '}fragment MyExample on User {\n' +
      '  id\n' +
      '  username\n' +
      '}',
    document: { kind: 'Document', definitions: [Array] },
    location: '...'
  }
]

without the preset they are 2 documents:
[
  {
    location: '...',
    document: { kind: 'Document', definitions: [Array] },
    rawSDL: 'fragment MyExample on User {\n  id\n  username\n}',
    hash: '...'
  },
  {
    location: '....',
    document: { kind: 'Document', definitions: [] },
    rawSDL: 'fragment MyExample on User {\n  id\n  username\n}',
    hash: '...'
  }
]

I added a failing test in https://github.com/ertrzyiks/graphql-code-generator-community/commit/eb448b2d4a04ce8d257b05ab5b3b8af29da39235


Stripping backslashes

Hi guys,
I am observing some strange behaviour regarding stripping of backslashes during parsing. My scenario is to parse code contained in webpages, modify the AST and generate code again. I one of the sample pages (not written by me) I found a document.write writing further <script> tags. The trailing </script> is therefore written as <\/script> in order to not confuse the Browser when searching for the end of the script-block. This problem is, for example, discussed at SO.
TL;DR: Esprima removes backslashes.
So if we have the following HTML code given:
<html>
  <body>
    <script lang="javascript">
      document.write("<script>alert('I am inside a script-tag!');<\/script>");
    </script>
  </body>
</html>

Extracting the content of the script part would result in a string like this:
const str = "document.write(\"<script>alert('I am inside a script-tag!');<\\/script>\");";

Parsing (without any options using version 2.7.2) this string leads to (extracted from the AST):
Raw value:  "<script>alert('I am inside a script-tag!');<\/script>"
Value:  <script>alert('I am inside a script-tag!');</script>

Why does it strip the backslash in <->\<-/script>? Raw value seems to be correct, but value is wrong - the backslash is gone. At least from my point of view information is lost without any obvious reason.
I checked it multiple times, but I am pretty sure there is some incorrect behaviour contained in esprima - if I am not just in error.
Cheers,
Florian

It is not being stripped. The backslash is unnecessary, so it is just not being put back. For example, if you wrote the entire string using nothing but \uXXXX style escape sequences, the raw value would preserve that fact, but the value would not.

"<script>alert('I am inside a script-tag!');<\/script>" === "<script>alert('I am inside a script-tag!');</script>"

@mathiasbynens You are absolutely right regarding your example - but have a close look to the string listed by me:
const str = "document.write(\"<script>alert('I am inside a script-tag!');<\\/script>\");";

It has an additional backslash for escaping the backslash.

A shorter, compressed example:
      const ast = esprima.parse("let str = \"just a backslash: \\ \";");

      console.log("Raw value: ", ast.body[0].declarations[0].init.raw);
      console.log("Value: ", ast.body[0].declarations[0].init.value);

Resulting in:

Am I totally wrong or is it stripping my backslash?
Btw. using
const ast = esprima.parse("let str = 'just a backslash: \\';");

causes an Unexpected token ILLEGAL - but in my understanding this should be totally legal (and Chrome is accepting it too).

@FlorianLoch If you have a string within a string, you need to double escape. If you need further help, please use the esprima mailing list or Stack Overflow. The issue tracker is for issues, and this is not an issue.

Okay, I am really sorry - I was so focussed on the issue of striping the syntactically, but not semantically (see the </script> problem for example), unnecessary backslash that I totally forgot about double escaping in case of nested strings... So from my point of view esprima is behaving correct - it just doesn't play nice with the "</script>" hack that is broadly used -- but I cannot make up a proper solution for this problem either.


Script tag breaks the highlighting

If u have a for loop inside the script tag it will break the highlighting. Try it in sublime.
Example:
<script type="text/template">
 {#Twig code here #}
</script>

It doesn't need to be a loop. Any twig blocks inside the <script> tags will be scoped as a JavaScript object literal. {{ someVar }} seems to do more damage than {% if someVar %} as far as the highlighting goes.

The highlighting will break whenever there is anything than Javascript code inside the script tags.
I always been quite annoyed by that, since I often use <script> to define HTML templates.
So I made a pull request to fix that (#73 ). 😃
Give a try! (and eventually close the issue)


Error occurred when executing KSampler:

Error occurred when executing KSampler:
Given groups=1, weight of size [320, 4, 3, 3], expected input[2, 8, 96, 64] to have 4 channels, but got 8 channels instead
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\nodes.py", line 1344, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\nodes.py", line 1314, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\Comfyui-StableSR\nodes.py", line 75, in hook_sample
return original_sample(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 22, in informative_sample
raise e
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 313, in motion_sample
return orig_comfy_sample(model, noise, *args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\sample.py", line 37, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 761, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 663, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 650, in sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 629, in inner_sample
samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 534, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\k_diffusion\sampling.py", line 618, in sample_dpmpp_2m_sde
denoised = model(x, sigmas[i] * s_in, **extra_args)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 272, in call
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 616, in call
return self.predict_noise(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 619, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 258, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\samplers.py", line 216, in calc_cond_batch
output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep_, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-IC-Light-Native\ic_light_nodes.py", line 116, in wrapper_func
return existing_wrapper(unet_apply, params=apply_c_concat(params))
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-IC-Light-Native\ic_light_nodes.py", line 108, in unet_dummy_apply
return unet_apply(x=params["input"], t=params["timestep"], **params["c"])
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\model_base.py", line 97, in apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\custom_nodes\FreeU_Advanced\nodes.py", line 176, in __temp__forward
h = forward_timestep_embed(module, h, emb, context, transformer_options, time_context=time_context, num_video_frames=num_video_frames, image_only_indicator=image_only_indicator)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\ldm\modules\diffusionmodules\openaimodel.py", line 50, in forward_timestep_embed
x = layer(x)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\comfy\ops.py", line 66, in forward
return super().forward(*args, **kwargs)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\conv.py", line 460, in forward
return self._conv_forward(input, self.weight, self.bias)
File "D:\ComfyUI-aki\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\conv.py", line 456, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
关闭

solved

solved

How? I'm having the same issue

same, I installed and followed all common issues and still have this issue.

solved

How? I'm having the same issue

Check whether your layerdiffuse node is successfully installed. I indicated that the installation was successful, but the data in the folder is incorrect

same, I installed and followed all common issues and still have this issue.

Check whether your layerdiffuse node is successfully installed. I indicated that the installation was successful, but the data in the folder is incorrect。so


Search:  We don't catch near misses in user input

Navigate to the search service console.
Search for "Modernizer", "JsonDotNet", or "Knockout.js" (all sans quotes).

Result:  In all three cases, you'll get low-relevance search results.  In all three cases, the conceptually best match doesn't appear in search results.
Expected:  At this point, typo correction is something users naturally expect from website search.  Users aren't going to reliably remember the exact names of packages they use infrequently, and not being able to catch common cases of this hampers users' ability to search the site.  We should have some capacity to point folks to the correctly-spelled package.

Spell correcting on id is difficult. Though we might be able to do something with ngrams in the search box

Duplicates https://github.com/NuGet/NuGetGallery/issues/2789


haproxy: 2.8.1 -> 2.8.2

Description of changes
Fixes CVE-2023-40225.
Changelog:
https://www.haproxy.org/download/2.8/src/CHANGELOG

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 251763 run on x86_64-linux 1

1 package built:

haproxy


Remember positions and sizes of editor windows between runs.

Store the last used window position and sizes of the ec editor, assets, scene structure, transform editor, etc.. windows in ConfigAPI and reapply them on startup.

See f.ex. commits:
https://github.com/LudoCraft/Tundra/commit/a008dbaf88ad698293ab028f88a5c9ca027d3ddf
https://github.com/LudoCraft/Tundra/commit/78ced282f45ffbec8e6a6695b9422fb70670d85a
https://github.com/LudoCraft/Tundra/commit/350865186ee6e0cd07e65a2b136fe3f18c773be4


The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'

Hi, I cannot build my flutter app with 'flutter_image_compress 0.4.0'.
The error message is
file:///Users/dokinkon/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.4.0/lib/flutter_image_compress.dart:188:16: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.

'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/dokinkon/Case/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
context: 'image load failed ',

I guess this issue maybe caused by the change of flutter SDK? Thanks.
Below is my flutter doctor:
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.5.9-pre.124, on Mac OS X 10.14.4 18E226, locale zh-Hant-TW)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
✗ Verify that all connected devices have been paired with this computer in Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
To update with Brew, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.33.1)
[✓] Connected device (1 available)

Can you provide a minimum repeatable modern code?

I am also facing this issue. Apparently, the flutter team introduced a breaking change and plugins need to adapt. They have an issue where they also posted a list of plugins that need to update. https://github.com/flutter/flutter/issues/31962

After upgrading to v0.4.0, every thing is ok.

That error is from a breaking change on the Flutter Dev and Master channels with the .reportError function.  The context parameter is no longer a string, so where it says:
context: 'image load failed ',
it is now
context: ErrorDescription('image load failed '),
.... a bunch of packages have been breaking this week because of it.  Should probably update v0.5.0 and leave 0.4.0 since it doesn't effect the Stable channel yet..

@Skquark
See Readme : https://github.com/OpenFlutter/flutter_image_compress#about-version
This change is not on flutter stable version now.
So use git ref instead of the version on pub.


feat: minimal change to support cross-repo blob mounting

Export ErrSkipDesc as ErrSkipDesc allows users of the library to implement CopyGraphOptions.PreCopy to call Mount() and then return ErrSkipDesc from PreCopy which bypasses the downstream copy operation.
Closes #580

This is nice. Do we need a test for this?

This is nice. Do we need a test for this?

I just added a test @sajayantony

Codecov Report

Merging #631 (c80e571) into main (062ed0e) will decrease coverage by 0.12%.
The diff coverage is 50.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #631      +/-   ##
==========================================
- Coverage   75.12%   75.01%   -0.12%
==========================================
  Files          59       59
  Lines        5427     5427
==========================================
- Hits         4077     4071       -6
- Misses        995     1000       +5
- Partials      355      356       +1

Files
Coverage Δ

copy.go
64.31% <50.00%> (+1.65%)
:arrow_up:

... and 1 file with indirect coverage changes

LGTM. Can we have the PR title to start with feat: as per the conventional commits guidance?

Sorry about that. I fixed it and the comment in the code.  @Wwwsylvia

Thanks @ktarplee . Merged!


Fix run_instance dryrun by using latest AL2 AMI with correct architecture

Signed-off-by: Rex<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Overwriting codecov check


operators [N] minio-operator (4.4.9)

This is an update to the MinIO Operator to the latest v4.4.9 from a really old version on the OperatorHub using packagemanifest so it's removed in favor of bundle
Signed-off-by: Daniel Valdivia<EMAIL_ADDRESS>

@dvaldivia see warnings, especially 2 errors.

/merge possible

/merge possible

/merge possible

/merge possible

@J0zi I think it's fixed, but I see the bot spamming the comments hahaha

/merge possible

/merge possible

/merge possible


remote.beforeSend not sending POST data

Our intention is to supplement our typeahead with data from an elasticsearch query.  I've attempted to set the settings.data in the beforeSend function, but when I get the results, as well as inspect the network traffic (both Chrome and FF) the request payload is not being set.
The beforeSend is functioning correctly when I set the type, but somewhere the data is being lost.  Here is example code exercising my issue http://jsfiddle.net/75mCa/2/   Also note that the expected behavior of POSTing to httpbin.org is that they will simply return your request data wrapped in a 'data' object.  I've also attached a screen shot from Chome debugging tools which shows the lack of the request payload.  The filter function is also expected to fail as none of the request data is submitted and thus added to the response.
Thanks

You need to modify the before beforeSend: function(xhr,settings)
remote:{
url: "",
beforeSend: function(xhr,settings){
xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
settings.type = 'POST';
settings.hasContent = true;
settings.data =$.param({search: $('#hospital_code').val(), column: 'code'});
$('.Typeahead-spinner').css('display', 'block');
},
success: function(data) {
$('.Typeahead-spinner').hide();
result = data;
},
complete: function(xhr){
$('.Typeahead-spinner').css('display', 'none');
}
},


Outdated physic

CannonJS is outdated and it looks like the owner stopped working on it
I suggest you to use the latest version updated & maintained  by someone else cannon-es
https://github.com/pmndrs/cannon-es

nunuStudio is using cannon-es as you can read in https://github.com/tentone/nunuStudio/issues/411

Hello
As @dermodmaster said nunuStudio is already using cannon-es in the last versions.
Altough it is not up to date i can test the editor with newer version and update it.
Thanks a lot


Export Icon from the package

Icon was released in release 0.42.0 but not exported, so it can't be used.  It just needs to be exported from packages/react/src/index.ts I believe

Hi @rfearing! 👋 Thanks for raising this.
When we introduced the component we made a conscious decision to keep it as an internal component for now. Currently, it's accessible through Card.Icon component and Bento.Content[leadingVisual] prop since these were the primary use cases we had in mind.
If you have specific use cases where you need Icon as a standalone component just let me know the specifics and we can reassess the decision 🙂

@joshfarrant I think either I'm missing something obvious, or there was an oversight.
How do I put the Icon into the Bento.Content[leadingVisual] prop if Icon is never exported? In the storybook story for Bento, it is used as a relative import. I can't do that via an npm package.
I believe either the Icon component would need to be exported or a Bento.Icon created, right?

Ah, you're absolutely right @rfearing, thank you for spotting this. It is indeed an oversight on my part!
@rezrah Are you happy for Icon to be exported as a public component? An alternative could be to create a Bento.Icon component which reexports Icon (in the same way we do in Card) which could then be used inside the leadingVisual prop. wdyt?

Icon is now exported as of Primer Brand v0.44. 🎉


add nats: natural numbers for lazy unfoldable

following conversation here: https://github.com/purescript/purescript-unfoldable/pull/11
This adds a dependency.
I've tested the laziness here: https://github.com/matthewleon/purescript-lists/tree/test-nats

done
On Sun, Dec 10, 2017 at 6:45 PM, Phil Freeman<EMAIL_ADDRESS>wrote:

@paf31 commented on this pull request.
In src/Data/Unfoldable.purs
https://github.com/purescript/purescript-unfoldable/pull/12#discussion_r155964772
:

@@ -88,6 +89,13 @@ none = unfoldr (const Nothing) unit
singleton :: forall f a.  Unfoldable f => Semiring a => Lazy (f a) => f a
f might be lazy but in the wrong way. I think we need a comment to say
that the result is actually infinite.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/purescript/purescript-unfoldable/pull/12#pullrequestreview-82367405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARBS_j8t9nZUVDrtCkIjfe34rZglR8Rks5s_G0NgaJpZM4Q1cF4
.

Can we generalise this to iterate :: forall f a. Unfoldable f => Lazy (f a) => (a -> a) -> a -> f a? So you could reconstruct nats via nats = iterate add zero?

Good call.

A couple nitpicks I've noticed which are no longer relevant if we are generalising to iterate, but you might want to think about if you're defining nats elsewhere: some definitions of the natural numbers include zero and others don't, so I guess you'd at least want to say which one your nats is using (in fact, I guess it's more or less equally likely for people to want to use either version, which is mostly what led me to the above suggestion). Also, the result can't really be described as representing the natural numbers in cases where your semiring is finite; a good example of a finite semiring is the integers modulo n.


Rebranding

Future updates will allow more than only java to be style-matched.
So Java2HTML now is more like AnythingYouHaveRegexFor2HTML, but a better name has to exist. Would like to hear some options. For now, the deceptive name can be kept.
 I'd like to hear some opinions on the matter.

You maybe could name it Code2HTML ?

Considering 3.3.0 bringing CSS as a supported language (Making it so that java is not the only default language supported), the suggestion for Code2HTML has been accepted


ci: use h3-nightly@latest for edge releases

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Merging to test end-to-end with the package manager behavior + coupled with nuxt edge.
I think if it is introducing to much trouble, we shall revert it and keep using h3 latest stable release. 1.8 was kinda exceptional release that taking too much rc(s).


**kwargs in constructors makes archetype creation more difficult

Describe the annoyance
When constructors of archetypes take **kwargs it becomes harder to create an archetype. It becomes unclear what arguments are supported. For example, class_ids, colors, etc. are not visible for Boxes2D, and Boxes3D.

Expected behavior
Show all arguments.
Your goals
Ideally understand how to use the archetype from just looking at the signature.

Let's not use **kwargs in any of our init methods

Related:

https://github.com/rerun-io/rerun/issues/3433


Add Support for Btach operations

Implement support for Batch operations.
See the below for more details:
(com.google.cloud.datastore.Batch)

Implemented support for Batch writes.


Allow viewing of submitted answers

What is the context of this PR?
As a respondent,
I need to access my responses to questions
so that I can refer to them if my data is queried by ONS at a later date or used as a reference for next time I complete the same survey
How to review
Easiest to test using docker (docker-compose up -d) to ensure the dynamoDb container is created.
Use test_submitted_responses.json schema which allows answers to be viewed for 45 seconds.

Still need to add tests around this but ready for a high level review. I'd also like to discuss issues around security of answers.

The answers need to be stored encrypted exactly as they are when being stored in Postgres. For this we will need to keep the user signed in (so we can encrypt and decrypt the answers with the user provided keys).
We should look at doing this by adding configurable backends for questionnaire store. This could potentially allow us to switch out Postgres for DynamoDB for survey state during surveys.
The extra information required on the thank you and answers after submission screen e.g. ru name, submission time, should be stored in the server side session.
In doing this we should also be able to store the eq id and form type in the session and remove them from the urls for post submission screens.

@dwyeradam still getting 5xx's on submission, to do with Boto3's PutItem class

@dwyeradam @shahi645 this is because there is an extra & on line 36 of dev_settings.sh


Linking does not open mailto with body for Android

Using Linking.openURL to open a mailto link with subject and body params works as expected in iOS but does not work in Android.  In Android, an email is open but the body is empty.

@facebook-github-bot stackover-flow

@facebook-github-bot stackover-flow

@facebook-github-bot stack-overflow

Hey @vu-dang and thanks for posting this! @ryankask tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


stop merging .kubeconfig files together

fixes #4428
I'm running a vagrant e2e now.  Is there a jenkins job you can run to confirm e2e runs across other providers?

@smarterclayton I'm pretty sure I'm already covered a Red Hat/Google agreement.  Do you know if there's some list I need to be on to make the googlebot happier?

I think the not is figuring everyone out.  Note that Googlers are off work
today.  :)
On Feb 16, 2015 8:49 AM, "David Eads"<EMAIL_ADDRESS>wrote:

@smarterclayton https://github.com/smarterclayton I'm pretty sure I'm
already covered a Red Hat/Google agreement. Do you know if there's some
list I need to be on to make the googlebot happier?
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4458#issuecomment-74537746
.

Except the ever vigilant, slightly broken googlebot. It decided not to take
President's Day off.
On Mon, Feb 16, 2015 at 8:55 AM, Tim Hockin<EMAIL_ADDRESS>wrote:

I think the not is figuring everyone out. Note that Googlers are off work
today. :)
On Feb 16, 2015 8:49 AM, "David Eads"<EMAIL_ADDRESS>wrote:

@smarterclayton https://github.com/smarterclayton I'm pretty sure I'm
already covered a Red Hat/Google agreement. Do you know if there's some
list I need to be on to make the googlebot happier?
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/pull/4458#issuecomment-74537746

.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4458#issuecomment-74538797
.

The next Bond movie is "Lawyers never sleep"
----- Original Message -----

Except the ever vigilant, slightly broken googlebot. It decided not to take
President's Day off.
On Mon, Feb 16, 2015 at 8:55 AM, Tim Hockin<EMAIL_ADDRESS>wrote:

I think the not is figuring everyone out. Note that Googlers are off work
today. :)
On Feb 16, 2015 8:49 AM, "David Eads"<EMAIL_ADDRESS>wrote:

@smarterclayton https://github.com/smarterclayton I'm pretty sure I'm
already covered a Red Hat/Google agreement. Do you know if there's some
list I need to be on to make the googlebot happier?
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/pull/4458#issuecomment-74537746

.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4458#issuecomment-74538797
.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4458#issuecomment-74721769

Minor nits, otherwise LGTM.

I would prefer this not get merged - I've written up my comments at https://github.com/GoogleCloudPlatform/kubernetes/issues/4428#issuecomment-74818745.

Code comments addressed.  Leaving discussion of whether we should or shouldn't in #4428.

Closing this as abandoned, per decision in #4428.


Mutant Mudds Deluxe [PCSE01013]

App summary

App name: Mutant Mudds Deluxe
App serial: PCSE01013
App version: 1.00

Vita3K summary

Version: v0.1.6
Build number: 3081
Commit hash: https://github.com/vita3k/vita3k/commit/8b13982b
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: resaaa2023
OS: Android 12
CPU: Mediatek Helio G96
GPU: Mali-G57 MC2
RAM: 8 GB

Issues
Playable without issues
Screenshots

Log
Recommended labels

Playable
No Issues

invaild commit, compat issue is not for Android, is for PC version

@othmanead same for it


isValid returns false with no errors when using skipWhen

<EMAIL_ADDRESS>skipWhen is causing isValid to return false when there are no errors.
Example based on a toggle input, different fields are required the the definition below will return no errors as expected, but the result from isValid() is false
I would expect the rules for a skipWhen to provide the same results for errors and isValid
import { create, test, enforce, skipWhen } from 'vest';

const validator = create((data, field) => {
  skipWhen(data.toggleBoolean, () => {
    test('requiredField', 'Required', () => {
      enforce(data.requiredField).isNotEmpty();
    });
  });

  skipWhen(!data.toggleBoolean, () => {
    test('otherRequiredField', 'Required', () => {
      enforce(data.otherRequiredField).isNotEmpty();
    });
  });
});

const validated = validator({
  toggleBoolean: true,
  requiredField: null,
  otherRequiredField: 'content',
});

console.log(validated.isValid()); // false
console.log(validated.getErrors()); // {}

const validated = validator({
  toggleBoolean: true,
  requiredField: 'content',
  otherRequiredField: 'content',
});

console.log(validated.isValid()); // false
console.log(validated.getErrors()); // {}

I have to define optional against the opposite skipWhen states to get isValid to return the matching results of errors
const validator = create((data, field) => {
  skipWhen(data.toggleBoolean, () => {
    optional('otherRequiredField')
    test('requiredField', 'Required', () => {
      enforce(data.requiredField).isNotEmpty();
    });
  });

  skipWhen(!data.toggleBoolean, () => {
    optional('requiredField')
    test('otherRequiredField', 'Required', () => {
      enforce(data.otherRequiredField).isNotEmpty();
    });
  });
});

const validated = validator({
  toggleBoolean: true,
  requiredField: null,
  otherRequiredField: 'content',
});

console.log(validated.isValid()); // true
console.log(validated.getErrors()); // {}

Hey,
Briefly looking - it seems like isValid is working as expected. It is important to understand, isValid is not the negation of isInvalid.
This means that isValid -> false does not necessarily mean that the form is invalid, but instead, in your case, it means that it might not be valid-yet.
Vest assumes that all fields in the suite are required by default, unless specifically set as optional. As long as not all fields are passing, the suite won't be considered as valid.
The main distinction between the two:
isValid -> all required fields are passing
isInValid -> the suite has errors, AND/OR some app specific business logic that Vest is not aware of.
Because Vest cannot be aware of feature specific business logic, it doesn't provide an isInvalid flag, but it does give you all the information about the suite to infer that from the suite state.

I believe that your case is the exact scenario for which optional was created. I would try making the following changes.

Remove skipWhen - at least from your example, it doesn't look like it does much. Maybe in your actual app it serves a purpose, but if the field can't be interacted with, and is optional to begin with, you can possibly go without skipWhen.
Use conditional optional: Since you're using vest@next, you get more flexibility in how optional works.
https://vest.vercel.app/docs/writing_your_suite/optional_fields#advanced-usage---supplying-custom-omission-function

Here's something that I came up with that might be useful in your scenario. Not sure if I got all the details correct, but it looks like it could work.
import { create, test, enforce, optional } from "vest";

const suite = create((data) => {
  optional({
    otherRequiredField: () => !data.toggleBoolean,
    requiredField: () => data.toggleBoolean,
  });

  test("requiredField", "Required", () => {
    enforce(data.requiredField).isNotEmpty();
  });

  test("otherRequiredField", "Required", () => {
    enforce(data.otherRequiredField).isNotEmpty();
  });
});

const validated = suite({
  toggleBoolean: true,
  requiredField: null,
  otherRequiredField: "content",
});

Apart from that - I noticed that in your example, you used optional within skipWhen. At the moment optional and skipWhen do not interact - meaning, putting it inside skipWhen doesn't do anything. Would you expect that it does? I designed skipWhen to only filter out tests, and that everything else (only, skip, optional) would be declared at the top of the suite. Do you think even with my suggestion applied, you would still find it more useful to have a nested optional?
My fear was that someone might set a field as optional after its tests were declared - but maybe your approach is more convenient?
Either way - I hope that helps. If not, let's try to find another approach.

Thank you for getting back quickly.
I think I may have provided an over simplified reproducing example and confused the issue, below is a closer to real world example
I'm was using skipWhen to skip multiple test depending on a checkbox state
When useNewAddress is true I want selectedAddress and primaryAddress as required fields and the definitions within the skipWhen ignored when useNewAddress is false
When useNewAddress is false I want addressLine1, addressTown and addressPostCode as required fields and the definitions within the skipWhen ignored when useNewAddress is true
But what I'm seeing from isValid does not match what I'm seeing form errors, isValid is processing the validation rules defined within the skipWhen not skipping them
My intention is not to use optional at all in these cases, this was a work around example to get isValid to return the expected result. I was expecting the field definitions within the skipWhen to not be processed so optional would not be required to be specified for the opposite state
I hope this provides a clearer picture of the issue
If defining optional is just the way things work it's a small price for the simplicity vest provides for validation
import { create, test, enforce, skipWhen, only } from 'vest';

const testData = {
  useNewAddress: true, // define if new address or existing address
  selectedAddress: null, // required only when useNewAddress is false
  primaryAddress: null, // required only when useNewAddress is false
  addressLine1: 'line 1', // required only when useNewAddress is true
  addressTown: 'town', // required only when useNewAddress is true
  addressPostCode: 'postcode', // required only when useNewAddress is true
};

const validator = create((data, field = null) => {
  only(field);

  skipWhen(data.useNewAddress, () => {
    test('selectedAddress', 'Required', () => {
      enforce(data.selectedAddress).isNotEmpty();
    });
    test('selectedAddress', 'Must be a number', () => {
      enforce(data.selectedAddress).isNumber();
    });
    test('primaryAddress', 'Required', () => {
      enforce(data.primaryAddress).isBoolean();
    });
  });

  skipWhen(!data.useNewAddress, () => {
    test('addressLine1', 'Required', () => {
      enforce(data.addressLine1).isNotEmpty();
    });
    test('addressLine1', 'Required', () => {
      enforce(data.addressLine1).isString();
    });
    test('addressTown', 'Required', () => {
      enforce(data.addressTown).isNotEmpty();
    });
    test('addressTown', 'Must be a string', () => {
      enforce(data.addressTown).isString();
    });
    test('addressPostCode', 'Required', () => {
      enforce(data.addressPostCode).isNotEmpty();
    });
    test('addressPostCode', 'Must be a string', () => {
      enforce(data.addressPostCode).isString();
    });
  });
});

const validated = validator(testData);

console.log(validated.isValid()); // false
console.log(validated.getErrors()); // {}

I see. Yes, this adds some clarity. At the moment, optional is the best way to achieve what you're after. There are a few alternatives, but they might put some more burden n you during development. For example, if you can guarantee that for the lifetime of the suite data.useNewAddress will remain unchanged, you can wrap it with an if/else block, and have Vest "not see" the ignored fields - but since it is being controlled by the user, it means that you would have to re create() the suite every time the checkbox is toggled. Not ideal.
Alternatively - I raised an idea in https://github.com/ealush/vest/issues/737 that might be helpful in solving this. I'm going to fiddle with it today, and hopefully release a testing version that we can play with these ideas. Would you be willing to help out by testing it?

@martinglover I just released<EMAIL_ADDRESS>for testing
You can npm i<EMAIL_ADDRESS>to install it.
It might be useful in your situation. It is a slight change, but you can see it as skipWhen-meets-optional. The way functional-optional works is by omitting tests that returns true in the optional function. This testing version does the same for all tests within skipWhen. I think this tiny change can be the solution for your scenario as well.
If you're interested in what changed, here's the diff: #738 (files)
Let me know if that works for you. If it does, I'll try to find a way to introduce it to Vest. It's a good thing that V4 is not released yet, so we can test out these changes before it reaches mass audience.
Thank you for your feedback and helping make Vest better 🙏🏻

Sorry for the delayed response, I've tested the latest next release with the omitWhen and it performs exactly as needed for my scenario
Thank you for the quick implementation of this update

Amazing! Glad that I was able to make that work out for you.
Thanks for all the feedback and making the scenario clear. It really helped me shape this feature 🙏


Research an automated testing framework for the usdr-gost repository

Current State

The test coverage for the ID and ARPA tool is sparse. Most of the tests are on the serverside of the ID Tool.
No tests for the client-side

Expected State

Proposal for how to approach testing within the ID tool
Suggestions for tools/packages we need to add to the repository to support the new testing framework
Example code/pseudocode for how to write tests moving forward
Plan of action on how to improve test coverage

Implementation Details

NA

Agreed on using Cypress for UI automation
Next steps - do the Cypress impelmetation in the gost-repository.

First 2 items are completed: See

Creating separate tickets for remaining 2 items

Created

#1066
#1067
#1068

closing this as research is completed; execution still needed


Adding classname to StructBlock

Hi ,
I have a structblock as below:
 image = StructBlock([
        ('file', ImageChooserBlock()),
        ('caption', RichTextBlock( classname='caption'  )),

    ])

But on the frontend template {{item.value.caption}} produces a div with class 'rich-text'.
Am I missing something?
I am using wagtail 1.13 with django 1.11.6 ( python 3.6 )

Hi @burakk - please use the Wagtail tag on Stack Overflow for support queries.


doc: Adding a contributions tab in README.md

Description
Added a contributions tab so visiting users who want to contribute to this GitHub can find the correct information.

[x] I have read and understand the CONTRIBUTING.md document in this repository

Type of change

[x] This change requires a documentation update

Checklist:

[x] I have added tests that prove my fix is effective or that my feature works
[x] Existing test suite passes locally with my changes
[x] I have made corresponding changes to the documentation

I updated the README.md with your requests.

Thanks @wristshot9987!


resource consumption spike when bootstrapping db-sync

cardano-db-sync version: 7.1.0
cardano-node version: 1.24.2
this problem is currently preventing us from syncing db-sync. any insight would be greatly appreciated!
db-sync typically has a memory footprint of under 1 GB until reaching around August-November 2020 in the blockchain history when the bootstrap process suddenly utilizes over 2 GB of memory. this sudden spike makes it impossible to bootstrap on modest hardware.
why does that particular point of history require so much memory resources? are there any optimizations that could be made to db-sync that would normalize the resource consumption?
here’s some debug information collected at 2020-12-20T11:31:51.499Z:
tip reported by db-sync in postgres: 2020-08-27 09:05:00
db-sync logs:
[db-sync-node:Info:35] [2020-12-20 09:24:20.29 UTC] Starting chainSyncClient
[db-sync-node.Subscription:Notice:29] [2020-12-20 09:24:20.31 UTC] [String "Required subscriptions started",String "SubscriptionTrace"]
[db-sync-node:Info:35] [2020-12-20 09:24:20.35 UTC] Database tip is at slot 6952809, block 4612656
[db-sync-node:Info:40] [2020-12-20 09:24:20.35 UTC] Running DB thread
[db-sync-node:Info:40] [2020-12-20 09:24:20.46 UTC] Rolling back to slot 6650000, hash de4298e64c7e784531edee76af7a535599999a08e54726ed8873acc608bf6168
[db-sync-node:Info:44] [2020-12-20 09:24:20.47 UTC] getHistoryInterpreter: acquired
[db-sync-node:Info:40] [2020-12-20 09:24:20.56 UTC] Deleting slots numbered: [6952809..6650009]

tip of corresponding producer cardano-node instance::
Current tip:
Block hash: bafb2cb6ef88b6c2f41b103bb3f5019fdded0e0268ac5ba1eff33faee0141ba7
Slot: 16897175
Block number: 5101372

last db-sync crash: 128m ago (lines up with hitting 4gb memory cap in graph below):

You guess at August - November 2020 is almost certainly due to the switch from Byron to Shelley. The first Shelley epoch is number 208. Shelley has a lot more functionality that Byron and that comes at an extra cost of higher CPU and memory consumption. Gougen (coming first quarter next year) is likely to have still higher memory and CPU consumption. When developing db-sync I am careful to keep memory to a minimum.
Running db-sync in extremely memory constrained environments (ie less that 4GB) is unlikely to work.  Even 4GB of RAM is rather low, I would suggest 8GB as a sensible minimum.

I have a PR (https://github.com/input-output-hk/cardano-db-sync/pull/456)  to add a "System Requirements" section to the Readme file.

Closing this.

Closing this.


Outdated diagnosticMessages for JSX flag

https://github.com/microsoft/TypeScript/blob/bf977ed9189d2f795930366c1baa2cfcab123e1e/src/compiler/diagnosticMessages.json#L3913
It should be replaced by Specify JSX code generation: 'preserve', 'react', 'react-jsx', 'react-jsxdev' or'react-native'

I checked the issue, will submit the PR today. Thanks for labelling as "Good first issue"


Implement OpIEqual and OpINotEqual in Evaluator

I've some shader code like this:
static const bool _SomeBool = (SomeConst == 0);

Which cannot be parsed by spirq.
Also spq-core is using an old version of ordered-float, which is different from spirq.

Thank you!


Minimal Working Example

Hello,
I have attempted to run internation with one of my presentations, unfortunately I was unable to set it up in any usable way.
Could the authors of this plugin provide a minimal working example of how to properly set it up?
The hosted example works well but I was unable to run it locally.
Most of the issues I had were with the language selection menu, that throwed errors when attempting to switch between languages.

Hi Andrzej, could you send me a small example of the presentation you would like to use Internation with? Or maybe you want to set up a teams/zoom meeting or something like that. That'll help me to figure out where it goes wrong.

Sure! I am up for both, unfortunately I have removed internation from my current presentation so I will add it once again and I can Send over the error message I get in the Chrome console.
It might take me some time to do that.

Did you try it out again? A probable cause could be that the presentation was run from the filesystem. When loading languages from external json files, it really needs a server (or localhost, running from ‘npm start’). If you really want to run it from the filesystem, you’ll need to add the needed language(s) directly into the Internation config, as documented.


refactor(tls): do not generate tls certificate when server starts up

FYI: @fanweixiao @figroc @venjiang @xiaojian-hong

This change is

👍🏼
I suggest we merge this to v1.7


java.lang.ClassNotFoundException: reactor.core.scheduler.Schedulers

Getting the following exception when trying to create a RedisClient:
Caused by: java.lang.ClassNotFoundException: reactor.core.scheduler.Schedulers
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 174 common frames omitted

Using dependency:
<dependency>
    <groupId>io.lettuce</groupId>
    <artifactId>lettuce-core</artifactId>
    <version>5.0.4.RELEASE</version>
</dependency>

This brings in reactor-core 2.0.8.RELEASE which doesn't have .scheduler.*. If I explicitly bring in reactor-core 3.1.8.RELEASE, then I don't have the same issue. Is 3.1.8.RELEASE compatible with lettuce-core:5.0.4.RELEASE?
Thanks

This is what I get:
$ mvn dependency:list | grep reactor-core
[INFO]    io.projectreactor:reactor-core:jar:2.0.8.RELEASE:compile

I'm using Lettuce with a Spring Boot 1.4 project - perhaps there is some conflict? In any case, I guess I can override the 2.0.8 release explicitly.

Hi Justin,
Spring Boot‘s dependency management overrides transient dependency versions. Boot 1.4 pulls in Reactor 2.
You should be able to either set the Version property or declare a dependency in your Pom-file
Am 15. Juni 2018, 15:52 +0200 schrieb Justin Stefani<EMAIL_ADDRESS>
This is what I get:
$ mvn dependency:list | grep reactor-core
[INFO]    io.projectreactor:reactor-core:jar:2.0.8.RELEASE:compile
I'm using Lettuce with a Spring Boot 1.4 project - perhaps there is some conflict? In any case, I guess I can override the 2.0.8 release explicitly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Add tag to button component

Closes : https://github.com/zakodium-oss/react-science/issues/649

Codecov Report
Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (1dd41a8) 22.96% compared to head (6d8b1ec) 22.94%.

Files
Patch %
Lines

src/components/button/Button.tsx
15.15%
28 Missing :warning:

src/components/toolbar/Toolbar.tsx
33.33%
2 Missing :warning:

stories/components/button.stories.tsx
0.00%
1 Missing :warning:

stories/components/toolbar.stories.tsx
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #654      +/-   ##
==========================================
- Coverage   22.96%   22.94%   -0.02%
==========================================
  Files         221      221
  Lines       13039    13073      +34
  Branches      235      235
==========================================
+ Hits         2994     3000       +6
- Misses       9956     9984      +28
  Partials       89       89

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@wadjih-bencheikh18 There is a conflict left to resolve

@stropitek conflict resolved


Add sync send and flush runtime implementation

This add runtime support for sync send and flush.

@vinok88 Can you fix the conflicts ?


Add use_callback hook

Description

Add use_callback hook, used for obtaining an immutable reference to a memoized Callback, simply a clone of useCallback of React: https://reactjs.org/docs/hooks-reference.html#usecallback
Add doc example for use_memo hook

Checklist

[ ] I have run cargo make pr-flow
[x] I have reviewed my own code
[x] I have added tests

The only thing it changes is the reduced boilerplate and Rc::new to Rc::clone on creating a callback, right?

@hamza1311  use_memo returns Rc<T>,  so Rc<Callback> will have a redundant Rc as Callback has already Rc internally. Instead use_callback returns Callback<IN, OUT> directly which is concise and can be used for DOM events directly.
The only thing now is whether we should use this signature use_callback(|deps, in_type| {}, deps); mentioned by @futursolo , which is convenient to consume deps, I'm still trying to figure it out.

I meant the difference between Callback::from and use_callback, not use_memo(|_| callback, ()) and use_callback. In that case, the only benefit I can think of is not recreating the Rc

The difference between Callback::from and use_callback is:

Callback uses Rc::ptr_eq for PartialEq, and Callback::from creates a new instance for every render, if parent comp passes callbacks to child comp, this may cause child comp to rerender every time.
use_callback uses use_memo internally,  so it will return the same instance if last_deps == deps, then child comp will not rerender and gain some performance improvement.

React projects uses useCallback a lot, like const cb = useCallback(() => {}, []);


Fixed the top scroll button to the website.

Top scroll button is not properly fixed to the website assign me I like to work on this. add lables on it gssoc ext, level2, hactoberfest
@tushargupta1504
screenrecording :
https://github.com/user-attachments/assets/76edaf8b-ad53-4e2b-8f8b-70e5a85969ff

Could you please assign the issue to me ? I' am eager to drive in and make a meaningful impact .Thankyou for considering my request!"


Typo "Jupyter notebook"→"Jupyter Notebook"

https://docs.microsoft.com/en-us/azure/hdinsight/spark/apache-spark-zeppelin-notebook

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hyoshioka0128 Thanks for contributing to the documentation. This editorial revision isn't correct, so we'll close the PR. Because Jupyter Notebook is the name of an application, referring to "a Jupyter Notebook" isn't correct. Thanks.


Convert pbas/pmod to just straight tts_set_pitch_multiplier

I think you are already working on this, flows into the new swiftmac-voices.el.

I had a look at the code, and here is what I found:

pbas could be ported to mac voices as "pitch", as the value seems to be an integer between 0-100
pmod is not defined in mac voices, as it is about how "animated" the voice is, as in, how much the pitch varies during speech
My suggestion would be to use pbas as a pitch setting and ignore pmod for now. What do you think?
if yes, would the value of 1-100 be directly portable to how the MacOS pitch can be specified?

With pbas, what is "neutral"? Assuming it is 50, yeah, it would be a bit of easy
math, with diverging scales 1-50 maps to .5 to 1.0 and 50 to 100 from 1.0 to 2.0.
There is an elegant solution to map it I am sure, but at the end of the day
it is basically if below 50, scale 1 to 50 to .51 to 1, and on the other side
from 51 to 100, scale from 1.02 to 2.0.

On Apr 17, 2024, at 06:18, Parham Doustdar @.***> wrote:
I had a look at the code, and here is what I found:
• pbas could be ported to mac voices as "pitch", as the value seems to be an integer between 0-100
• pmod is not defined in mac voices, as it is about how "animated" the voice is, as in, how much the pitch varies during speech
My suggestion would be to use pbas as a pitch setting and ignore pmod for now. What do you think?
if yes, would the value of 1-100 be directly portable to how the MacOS pitch can be specified?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

--
Robert Melton
@.***

As I recall some of these parameters were done using effects with socs
It was an attempt to add other dimensions to the voices. For example, using echo and different filters. I'm not sure if there's any possibility to do something similar with the new server?

We don't need to do math on the bus value. We can simply redefine it in swiftmac-voices.el

This is now in the system as [[pitch ...]]

@bartbunting closing this as you mentioned it is straightforward, I am considering it part of #28


AblyInstanceStore concurrency

Fixes #308.

Converting this PR back to Draft state while I work on @KacperKluka's review comments.


do not add completion install options

I think displaying the install message is not very helpful and mostly noise.
Disabling it means that instead of showing this help screen:

We now have this:

Seems cleaner to me?

I agree, it's better!


Custom model (OrangeCocoa Mix 50/50) not working

shark_tank local cache is located at C:\Users\lolys.local/shark_tank/ . You may change this by setting the --local_tank_cache= flag
vulkan devices are available.
cuda devices are not available.
Running on local URL:  http://<IP_ADDRESS>:8080
To create a public link, set share=True in launch().
Found device AMD Radeon RX 6600. Using target triple rdna2-unknown-windows.
Tuned models are currently not supported for this setting.
torch\jit_check.py:172: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types in __init__. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in torch.jit.Attribute.
warnings.warn("The TorchScript type system doesn't support "
loading existing vmfb from: C:\Stable Diffusion 2.1\SHARK\euler_scale_model_input_1_512_512fp16_vulkan-00000000-0300-0000-0000-000000000000.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
loading existing vmfb from: C:\Stable Diffusion 2.1\SHARK\euler_step_1_512_512fp16_vulkan-00000000-0300-0000-0000-000000000000.vmfb
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Diffusers' checkpoint will be identified here :  C:/Stable Diffusion 2.1/SHARK/models/orangecocoa5050Mix_110
Loading diffusers' pipeline from original stable diffusion checkpoint
diffusers\pipelines\stable_diffusion\convert_from_ckpt.py:835: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
torch_utils.py:771: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
return self.fget.get(instance, owner)()
torch\storage.py:899: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
storage = cls(wrap_storage=untyped_storage)
global_step key not found in model
"wget" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 214, in txt2img_inf
File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 202, in from_pretrained
File "apps\stable_diffusion\src\models\model_wrappers.py", line 261, in call
File "apps\stable_diffusion\src\utils\utils.py", line 396, in preprocessCKPT
File "diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 881, in load_pipeline_from_original_stable_diffusion_ckpt
File "omegaconf\omegaconf.py", line 189, in load
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Stable Diffusion 2.1\SHARK\tmpee30mef0\inferenc.yaml'
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 229, in txt2img_inf
SystemExit: text to image pipeline must not return a null value
Found device AMD Radeon RX 6600. Using target triple rdna2-unknown-windows.
Tuned models are currently not supported for this setting.
No vmfb found. Compiling and saving to C:\Stable Diffusion 2.1\SHARK\euler_scale_model_input_1_576_512fp16_vulkan-00000000-0300-0000-0000-000000000000.vmfb
Using target triple -iree-vulkan-target-triple=rdna2-unknown-windows from command line args
Saved vmfb in C:\Stable Diffusion 2.1\SHARK\euler_scale_model_input_1_576_512fp16_vulkan-00000000-0300-0000-0000-000000000000.vmfb.
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
No vmfb found. Compiling and saving to C:\Stable Diffusion 2.1\SHARK\euler_step_1_576_512fp16_vulkan-00000000-0300-0000-0000-000000000000.vmfb
Using target triple -iree-vulkan-target-triple=rdna2-unknown-windows from command line args
Saved vmfb in C:\Stable Diffusion 2.1\SHARK\euler_step_1_576_512fp16_vulkan-00000000-0300-0000-0000-000000000000.vmfb.
WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.
Diffusers' checkpoint will be identified here :  C:/Stable Diffusion 2.1/SHARK/models/orangecocoa5050Mix_110
Loading diffusers' pipeline from original stable diffusion checkpoint
global_step key not found in model
"wget" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Traceback (most recent call last):
File "gradio\routes.py", line 344, in run_predict
File "gradio\blocks.py", line 1012, in process_api
File "gradio\blocks.py", line 830, in call_function
File "anyio\to_thread.py", line 31, in run_sync
File "anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 867, in run
File "apps\stable_diffusion\scripts\txt2img.py", line 214, in txt2img_inf
File "apps\stable_diffusion\src\pipelines\pipeline_shark_stable_diffusion_utils.py", line 202, in from_pretrained
File "apps\stable_diffusion\src\models\model_wrappers.py", line 261, in call
File "apps\stable_diffusion\src\utils\utils.py", line 396, in preprocessCKPT
File "diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 881, in load_pipeline_from_original_stable_diffusion_ckpt
File "omegaconf\omegaconf.py", line 189, in load
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Stable Diffusion 2.1\SHARK\tmpn8m7hjwn\inferenc.yaml

This was on the Discord server. I've tried this and it hasn't fixed my issue but it might for you.

Please download wget https://eternallybored.org/misc/wget/ and place it in c:\windows\system32 to fix this issue. We have upstreamed a fix in diffusers and should remove the need for wget in the future.


External Processing Filter

External Processing Filter for grpc connection

When is the "External Processing Filter" going to be covered by a Threat model and ready to use in scenarios where downstream/upstream are not trusted? This filter solves limitations of other filters such as the header/body buffering with Lua and would be really helpful if we can use it.

cc @gbrail @snowp @pradeepcrao