text:
Compilation breaks with TypeScript 3.9

Upgraded a project from Typescript 3.8.2 to TypeScript 3.9.2.
The project is using the latest Objection (2.1.3).
After the TS upgrade, the project fails to compile with compilation errors related to Objection types.
I suspect this is related to "Stricter Checks on Intersections and Optional Properties" as described here.
node_modules/objection/typings/objection/index.d.ts:268:43 - error TS2344: Type 'Model & T' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & T>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model, Model & GraphParameters>' is not assignable to type 'PartialModelGraph<Model & T, Model & T & GraphParameters>'.

268     ? SingleQueryBuilder<QueryBuilderType<T>>
                                              ~

node_modules/objection/typings/objection/index.d.ts:271:26 - error TS2344: Type 'Model & I' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & I>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model, Model & GraphParameters>' is not assignable to type 'PartialModelGraph<Model & I, Model & I & GraphParameters>'.

271       ? QueryBuilderType<I>
                             ~

node_modules/objection/typings/objection/index.d.ts:281:24 - error TS2344: Type 'Model & T' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & T>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model, Model & GraphParameters>' is not assignable to type 'PartialModelGraph<Model & T, Model & T & GraphParameters>'.

281     ? QueryBuilderType<T>
                           ~

node_modules/objection/typings/objection/index.d.ts:284:26 - error TS2344: Type 'Model & I' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & I>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model, Model & GraphParameters>' is not assignable to type 'PartialModelGraph<Model & I, Model & I & GraphParameters>'.

284       ? QueryBuilderType<I>```

Using TypeScript 3.8.3 here, but I'm getting the same problem.

This is a pretty impossible situation. The thing that's breaking is actually a fix to this typescript bug. That bug has been fixed in the current version, but if I roll back that fix, the typings will be broken for everyone still using typescript <= 3.8.
Somebody will suggest a major version bump, but that's not going to happen. Those are reserved for bigger changes.
The only thing we can do is to revert the fix to make typescript 3.9 work, and then we'll get ten of these issues about things being broken with typescript <= 3.8.

See this coment https://github.com/microsoft/TypeScript/issues/33460#issuecomment-534856200

This is the fix in objection https://github.com/Vincit/objection.js/commit/46c310536f2f5d8462886dd885e2667f5a2e8629.
Actually, could somebody try to revert the above fix to see if the problem goes away? It fixed the problem in my small test, but I'd like to be sure it's the only thing broken.

Hello @koskimas
I updated to typescript 3.9.2 and had the above error.
If I revert the fix in objection's index.d.ts, I still have an error:
node_modules/objection/typings/objection/index.d.ts:268:43 - error TS2344: Type 'Model & T' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & T>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model>' is not assignable to type 'PartialModelGraph<Model & T>'.
          Type 'PartialModelGraph<Model>' is not assignable to type '{ [K in { [K in keyof (Model & T)]: (Model & T)[K] extends Function ? never : K; }["toJSON" | "$id" | "QueryBuilderType" | "$relatedQuery" | "$query" | ... 29 more ... | keyof T]]?: (Exclude<...> extends Model ? PartialModelGraph<...> : Exclude<...> extends (infer I)[] ? I extends Model ? PartialModelGraph<...>[] : ...'.

268     ? SingleQueryBuilder<QueryBuilderType<T>>
                                              ~

node_modules/objection/typings/objection/index.d.ts:271:26 - error TS2344: Type 'Model & I' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & I>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model>' is not assignable to type 'PartialModelGraph<Model & I>'.
          Type 'PartialModelGraph<Model>' is not assignable to type '{ [K in { [K in keyof (Model & I)]: (Model & I)[K] extends Function ? never : K; }["toJSON" | "$id" | "QueryBuilderType" | "$relatedQuery" | "$query" | ... 29 more ... | keyof I]]?: (Exclude<...> extends Model ? PartialModelGraph<...> : Exclude<...> extends (infer I)[] ? I extends Model ? PartialModelGraph<...>[] : ...'.

271       ? QueryBuilderType<I>
                             ~

node_modules/objection/typings/objection/index.d.ts:281:24 - error TS2344: Type 'Model & T' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & T>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model>' is not assignable to type 'PartialModelGraph<Model & T>'.
          Type 'PartialModelGraph<Model>' is not assignable to type '{ [K in { [K in keyof (Model & T)]: (Model & T)[K] extends Function ? never : K; }["toJSON" | "$id" | "QueryBuilderType" | "$relatedQuery" | "$query" | ... 29 more ... | keyof T]]?: (Exclude<...> extends Model ? PartialModelGraph<...> : Exclude<...> extends (infer I)[] ? I extends Model ? PartialModelGraph<...>[] : ...'.

281     ? QueryBuilderType<T>
                           ~

node_modules/objection/typings/objection/index.d.ts:284:26 - error TS2344: Type 'Model & I' does not satisfy the constraint 'Model'.
  The types of 'QueryBuilderType.findById(...).update(...).page(...).insertGraph' are incompatible between these types.
    Type 'InsertGraphMethod<Model & I>' is not assignable to type 'InsertGraphMethod<Model>'.
      Types of parameters 'graph' and 'graph' are incompatible.
        Type 'PartialModelGraph<Model>' is not assignable to type 'PartialModelGraph<Model & I>'.
          Type 'PartialModelGraph<Model>' is not assignable to type '{ [K in { [K in keyof (Model & I)]: (Model & I)[K] extends Function ? never : K; }["toJSON" | "$id" | "QueryBuilderType" | "$relatedQuery" | "$query" | ... 29 more ... | keyof I]]?: (Exclude<...> extends Model ? PartialModelGraph<...> : Exclude<...> extends (infer I)[] ? I extends Model ? PartialModelGraph<...>[] : ...'.

284       ? QueryBuilderType<I>
                             ~

Found 4 errors.

@francoisromain Thanks. I'm able to reproduce this now too.
I'm baffled. I have no idea how to fix this. There's not a single A & B type in objection types anywhere (after changing the GraphParameters thing) and I still get the error. I don't think I'll be able to solve this one. I really need help from people that are more skilled in typescript.

Haha, I may have found a solution by accident. Could you try the typescript-39-support branch to see if you get any problems? I'd especially like to know that we don't lose any type safety (things don't turn into any because of this).

@koskimas the modification in the typescript-39-support branch fixed the compilation with ts 3.9.2. Cool! I am not sure how to check this part:

I'd especially like to know that we don't lose any type safety (things don't turn into any because of this).

That's a bit tricky as the any type spreads like cancer. Even more so if you don't have the noExplicitAny config enabled. I went through the type tests (by checking the actual type expressions) and I couldn't find any problems. I think I'm going to go ahead and release the fix tomorrow. I need to add some real tests for the typings using something like dtslint.

dtslint is great, I use it a lot, but be warned that TSLint is deprecated.

See https://github.com/microsoft/dtslint/issues/284

You might be able to maintain backwards compatibility by detecting the TypeScript version and providing different types based on that.
Using the example from the TS 3.9 announcement: (playground)
interface A {
    a: number; // notice this is 'number'
}

interface B {
    b: string;
}

interface C {
    a?: boolean; // notice this is 'boolean'
    b: string;
}

// this type will be different depending on the compiler version
type Result = A & B extends C ? '>= 3.9' : '< 3.9';

There's no backwards compatibility issues with the fix.

You can set

Disabling "strict" turns TS into a glorified linter.
A better workaround is to import the git branch with the fix. Or fork the repo at the last released version and cherry-pick the fix.

The fix is now relesed. No need for any workarounds.

authors: Kinrany francoisromain ionizer kibertoad koskimas mastermatt oranoran phr3nzy


text:
Shorthand for common usages

Built in URLs have some shorthands for common uses that omit ? and query strings. They would be convenient here too.
For example I can imagine writing obsidian://advanced-uri/your-vault/my-file/Goal instead of obsidian://advanced-uri?vault=your-vault&filepath=my-file&heading=Goal.

I think you are one of the top issue authors at my plugins. 😂
I really like the idea. I don't know if that's achievable with the available plugin API, but I will try when my vacation ends.

I must've gotten good at wanting new features 😄
Thanks for the consideration, it's not critical by any means. Have a nice vacation!

If I rember correctly, the most of them were bugs with Obsidian Git, but sure let's call them feature requests... 😂
Thanks

I tried it, but it looks like Obsidian doesn't support this. The scheme is obsidian://<action>?<query-parameters>. action needs to be specified by the plugin, but since it's variable if you pass the file name, it's currently not possible. At least, I don't know a way currently.

I'm closing this now, as I see no way to implement it.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Implement new definitions

Implement new definitions

Employment/WorkContract
Permits/WorkPermit
Employment/IncomeTax

According to the task all the new definitions were supposed to be version 0.1. These seem to be 1.0.

source: gharchive/pull-request

authors: joakimnordling omarudolley

repo: Virtual-Finland/definitions


text:
Pass --keep-empty option to git rebase to avoid confusing failures when an empty commit is encountered

A message like:
Rebasing (1/2)
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
    git commit --allow-empty
Otherwise, please use 'git cherry-pick --skip'
interactive rebase in progress; onto 4253b74
....

shows up in Git Console tab... but IDE shows just a very confusing notification:

In general, this problem only happens for rebases backed by cherry-pick, which correspond to all rebases in the plugin, and all interactive rebases in the CLI.
I don't think there's an option like --drop-empty which would be ideal here, but we could use --keep-empty instead.

Not porting to CLI since the error there is much clearer to the user than in the IntelliJ plugin.

repo: VirtusLab/git-machete-intellij-plugin


text:
Add slide in autocompletion (closes #791)

depends on #957

In the meantime... I've got this version installed locally, will use it for a while. Can't see any issues so far :)

YOLO, given #1084, let's release it (or as for now, at least merge the entire chain to develop)

authors: PawelLipski mkondratek


text:
Ammo gets consumed, but can be refilled

(Should support modern industrialization and modern dynamics item pipes)
Ammunition (like the ammo for Cannon, MG and Ballista) gets consumed, and needs to be refilled, but can be restocked manually, or with item pipes from other mods.

Limited ammo is indeed one of my plans and is actually part of the roadmap for the mod. However, support for modern industrialization and modern dynamics might be a bit too far off for now.


text:
[Feature] validata invalidType

What problem does this feature solve?
折线或者面积在非法数据时可以从中间断开或者直接链接到下一个数据
What does the proposed API look like?
none

可以直接在 dev/1.2.0 分支切出来验证，该分支已经将 vrender 版本升级至 0.14.0-alpha.0

repo: VisActor/VChart


text:
Mario-run project

Mario-run game project using vanilla javascript inspired by chorme dino-run game:

I made this project during hacktoberfest 2020, in this project I use javascript DOM and CSS keyframes(for animations) which may help a beginner to understand these concepts in more detail.

@Abhijay007, stupendous creation. Awesome!

@Abhijay007, stupendous creation. Awesome!

@TidbitsJS thanks!!


text:
recognising font size

with this delta :
[{insert: sdfasf}, {insert: d, attributes: {size: 36.0}}, {insert: sdf  , attributes: {size: 30.0}}, {insert: dfasdf, attributes: {size: 36.0}}, {insert:
flutter: }]
converter return

sdfasfdsdf  dfasdf

@LevkoTkach By default, QuillDeltaToHtmlConverter uses defaultInlineStyles (in op_to_html_converter.dart) to convert the Quill size attribute - this handles the semantic sizes: small large and huge. defaultInlineStyles has a map that defines how to convert one of these sizes to a CSS style.
If you want to use a size value that is different from small large or huge, you have to define your converter to handle it, like below.
      converter = QuillDeltaToHtmlConverter(
        delta,
        ConverterOptions(
          converterOptions: OpConverterOptions(
            inlineStylesFlag: true,
            inlineStyles: InlineStyles({
              ...defaultInlineStyles.attrs,
              'size': InlineStyleType(
                fn: (value, _) => 'font-size: ${value}px',
              ),
            }),
          ),
        ),
      );

InlineStyles takes either a map to define an explicit mapping of a value to a CSS style, or a fn - like in the example above - which converts an arbitrary value to a CSS style.

authors: LevkoTkach dsyrstad


text:
Docker image

Hi, could you possibly provide a docker file for easy library installation? The requirements.txt is causing countless dependency conflicts. Thank you.

desparate requirements.txt

Same here, tried both pip and conda,neither of them worked.

Same issue

authors: Kong-LYY Shancong-Mou asadmujtaba bit-scientist

repo: VitjanZ/DRAEM


text:
Last fixes for today

A couple of fixes and ideas from Pink's most recent stream, hopefully in time for the weekend:

Tracker now knows who you are.
Added an option to toggle chat greeting and an optional time limit.
Fixed some Tracker pronunciation issues.

Looks good. Wonder if a twitch chat command to update pronunciations would be good in the long run (possibly limited to mods if that's possible to avoid abusing it to have tracker say inappropriate things). Also maybe a voice command to ask tracker to stop responding to chat?

Command to ask tracker to do responding to chat inspired by MMX4: "Hey tracker, it's time to get serious." Lol

I might still be able to do that today.
As for pronunciations, I'm not sure how to best handle that, or if it should be handled at all. Maybe something for the backlog.

authors: MattEqualsCoder Vivelin


text:
Reconsider nose dependency.

As far as I know, there is 0 need to require nose. As I'm allergic to useless dependencies, I'd like to reconsider using the python default tester in favor of nose.
Are there any selling points in this case to using nose over the regular test runner?

To my knowledge, the integatrion in setup.py, makes it very easy to set up coverage and output coverage stats to a xml, which can be used on a CI server (which we don't use right now, but that's another issue :) https://github.com/VoIPGRID/cacofonisk/issues/3)

nose has been removed and coverage is now being used natively with vanilla unittest.

authors: HansAdema JorisE wdoekes

repo: VoIPGRID/cacofonisk


text:
Spelling mistake in github description.

Your web application for managing personall data.

Hey Thanks will look on it later

Thanks - done.

authors: Omar-Elrefaei Volmarg

repo: Volmarg/personal-management-system


text:
need to get fork->pr to have the same review functionality as those who have full access to the repo

something is off with permissions atm
on #436 github actions didnt run and onrender didnt create a review link
this is partially understandable bc it doesnt create an mrjs direct branch of the pr, but we still need those items to run as part of our review process

this has to do with setting the: pull_request_target flag instead of just pull_request

repo: Volumetrics-io/mrjs


text:
Calculate the most popular languages (about section)

I think you could rename this to something like Add most popular languages bar chart. Because with a charts library usually you don't need to make the calculations.

For sure, but you also will need to organize the data to make it presentable in a chart.

Sure, you're right. That have to be done. Thank you for consider my suggestion.

Done #31

authors: DannyFeliz LeonelSantiago

repo: VueDominicana/open-source


text:
Create "queriers" and promote "mutators" as the preferred way to get data server-side instead of the connector

Is your feature request related to a problem? Please describe.
The connector is meant for database communication, as an ORM.
But it cannot include Vulcan security checks.
Describe the solution you'd like

[ ] Create "queriers", similar to "mutators", that get the data + run basic security check. See example of the user API route: it doesn't respect permissions because its bypassing permission filtering. Mutators/queriers are the default way to get standard data, connector should only be used for custom mutations/resolvers
[ ] Make the syntax more attractive, for instance expose closures within the model so  createMutator({ model: Users,...}) becomes Users.create = (params) => createMutator({model: Users, ...params}). Same goes for hooks by the way (useMulti<UserType>({model: "Users"}) => useMultiUsers(...).

Describe alternatives you've considered
Putting callbacks within the connector, at the db level. But that will never be sufficient, as the connector is always specific to the underlying technology.
Mutators are the right place to do "generic" checks, like checking Vulcan permissions.
Connector should only be used when creating a custom mutation/resolver, that do not fit the basic crud operations.
For instance, see account management feature: we use the UserConnector, and StorableTokenConnector => we should use "queriers" and "mutators" instead so that callbacks are correctly applied.

After more investigation:

we are supposed to use "DataSources" in order to have the best performances for a request
DataSources must be recreated on a per request basis
They have to be defined in user land, we cannot create them automatically => that's because the user is responsible for implementing any custom method that will let them use the underlying Mongo collection as they want.
We will have to figure how to include them in Vulcan: should they be passed to the "Connector" for instance? A datasource has to know the underlying db so probably yes
They have to be passed to "mutators" and "queriers" => even when there is no request context per se, for instance when seeding the data or when creating a raw Express server, we should still be able to create a Graphql-like context. This context is extremely useful to have a consistent code and performant Mongo access via data sources.

repo: VulcanJS/vulcan-next


text:
WAS Node Suite Error: transformers==4.26.1 is required for BLIP models

When trying to execute Blip Analyze Image, an error came out:
_WAS Node Suite Error: transformers==4.26.1 is required for BLIP models. Please run the C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\requirements.txt through ComfyUI's ptyhon executable.
reshape position embedding from 196 to 576
load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "C:\Users\kakochka\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 10866, in blip_caption_image
caption = model.generate(tensor, sample=False, num_beams=6, max_length=74, min_length=20)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_module.py", line 162, in generate
outputs = self.text_decoder.generate(input_ids=input_ids,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\transformers\generation\utils.py", line 1752, in generate
return self.beam_search(
^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\transformers\generation\utils.py", line 3091, in beam_search
outputs = self(
^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl    return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_med.py", line 886, in forward
outputs = self.bert(
^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl    return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_med.py", line 781, in forward
encoder_outputs = self.encoder(
^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl    return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_med.py", line 445, in forward
layer_outputs = layer_module(
^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl    return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_med.py", line 361, in forward
cross_attention_outputs = self.crossattention(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl    return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_med.py", line 277, in forward
self_outputs = self.self(
^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in call_impl    return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_med.py", line 178, in forward
attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The size of tensor a (6) must match the size of tensor b (36) at non-singleton dimension 0
I've tried to install requirements.txt. (cmd from the was-node-suite-comfyui and pip install -r requirements.txt). Everything went fine, but after restarting Comfy nothing's changed. I've reinstalled was-node-suite-comfyui but that didn't helped either - the error's still there. I'm not sure what "Please run the C:\Users\kakochka\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\requirements.txt through ComfyUI's ptyhon executable." means, so maybe I've installed requirements somehow wrong. Pls help!

This worked- just double click.

Yeah that error is from newer transformers that seems to have abandoned
blip and the documentation isn't covering changes.
On Wed, Dec 6, 2023, 9:32 PM angrysky56 @.***> wrote:

image.png (view on web)
https://github.com/WASasquatch/was-node-suite-comfyui/assets/113643118/c96f2043-8af0-4552-9b30-084162747af9
This worked- just double click.
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/293#issuecomment-1844511545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZKPAVHBPFCZDXLVCHTYIFIG5AVCNFSM6AAAAABAE26HHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBUGUYTCNJUGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

not working for me...

how to fix this?

Hey, I forgot BLIP, now I am happy with image2prompt:
https://github.com/zhongpei/Comfyui_image2prompt

not working for me...
`ERROR:root:!!! Exception during processing !!! ERROR:root:Traceback (most recent call last): File "urllib\request.py", line 1348, in do_open File "http\client.py", line 1286, in request File "http\client.py", line 1332, in _send_request File "http\client.py", line 1281, in endheaders File "http\client.py", line 1041, in _send_output File "http\client.py", line 979, in send File "http\client.py", line 1458, in connect File "ssl.py", line 517, in wrap_socket File "ssl.py", line 1108, in _create File "ssl.py", line 1379, in do_handshake ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 10824, in blip_model model = blip_vqa(pretrained=model_url, image_size=size, vit='base') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_module.py", line 410, in blip_vqa model,msg = load_checkpoint(model,pretrained) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\modules\BLIP\blip_module.py", line 223, in load_checkpoint cached_file = download_cached_file(url_or_filename, check_hash=False, progress=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\hub.py", line 58, in download_cached_file download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "C:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\hub.py", line 620, in download_url_to_file u = urlopen(req) ^^^^^^^^^^^^ File "urllib\request.py", line 216, in urlopen File "urllib\request.py", line 519, in open File "urllib\request.py", line 536, in _open File "urllib\request.py", line 496, in _call_chain File "urllib\request.py", line 1391, in https_open File "urllib\request.py", line 1351, in do_open urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>`

This isn't even a transformers error. Your machine has likely outdated TLS and not supporting new SSL secure protocol. This is a good error to protect you.

I am not sure what does it means, my machine is relative new and it has a fresh new Windows 11 installation. Does it make sense or I don't have a clue about what's a outdated TLS?

BLIP has been refactored
https://github.com/WASasquatch/was-node-suite-comfyui/pull/393

authors: Latentnaut WAS-PlaiLabs WASasquatch angrysky56 kakochka xavierzz

repo: WASasquatch/was-node-suite-comfyui


text:
liberty-assembly packaging with packageFile configured fails

For a project using the 'liberty-assembly' custom packaging type and having the 'packageFile' parameter configured (to '${project.build.finalName}'), the build fails:
[INFO] --- liberty-maven-plugin:1.2:package-server (default-package-server) @ liberty-paketering ---
[INFO] CWWKM2102I: Using artifact based assembly archive : com.ibm.websphere.appserver.runtime:wlp-kernel:null:8.5.5.9:zip.
[INFO] CWWKM2102I: Using installDirectory : C:\xxx\liberty-paketering\target\liberty\wlp.
[INFO] CWWKM2102I: Using serverName : defaultServer.
[INFO] CWWKM2102I: Using serverDirectory : C:\xxx\liberty-paketering\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2112I: Re-using previously installed assembly.
[INFO] CWWKM2134I: Packaging server defaultServer.
[INFO] CWWKM2136I: Package file location is C:\xxx\liberty-paketering\liberty-paketering-1.1.0-SNAPSHOT.
[INFO] CWWKM2001I: server.config.dir is C:\xxx\liberty-paketering\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2001I: server.output.dir is C:\xxx\liberty-paketering\target\liberty\wlp\usr\servers\defaultServer.
[INFO] CWWKM2001I: Invoke command is ["C:\xxx\liberty-paketering\target\liberty\wlp\bin\server.bat", package, defaultServer, --archive=C:\xxx\liberty-paketering\liberty-paketering-1.1.0-SNAPSHOT, --include=wlp].
[INFO] Packaging liberty runtime.
[INFO] Runtime package complete in C:\xxx\liberty-paketering\liberty-paketering-1.1.0-SNAPSHOT.zip.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ liberty-paketering ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:12 min
[INFO] Finished at: 2016-06-21T09:16:31+02:00
[INFO] Final Memory: 8M/14M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) on project liberty-paketering: The packaging for this project did not assign a file to the build artifact -> [Help 1]

My bad. 'packageFile' should be specified including path. In the case above it was only a file name and it seems as it can't be attached in that case.

license_source: bigquery


text:
Updating Documentation for supporting new artifacts from DHE

Updated README.md with information about new Liberty artifacts from IBM DHE repository

Thanks!

authors: jgawor rea-al


text:
🛑 Equiphys is down

In a0d08c4, Equiphys (https://www.equiphys.be) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Equiphys is back up in 1514a21.

repo: WEB-Vlaanderen/upptime


text:
Polyfill fails in Safari 10.1

The polyfill doesn't work with Safari 10.1
I believe it's because Safari is the first browser other than Chrome that supports ShadowDom but unlike Chrome it doesn't yet have native support for IntersectionObserver and the _rootContainsTarget method which checks if the element is contained within an element doesn't look within shadow roots (?)
https://github.com/WICG/IntersectionObserver/blob/gh-pages/polyfill/intersection-observer.js#L497
Removing this check makes things "work" for my purposes (some image lazy-loading) but I haven't dug into why it's required - if nodes are never moved within the dom / their parent, is it necessary?

I can confirm that it is not working.

Is there any progress on this?

@jamesAtcodeninja The PR to fix this was merged on 7th of June -- https://github.com/w3c/IntersectionObserver/pull/218

Currently I'm doing some infinite scrolling on my feature and the problem IntersectionObserver its happen for me. And also i have done with all of suggetions from read every issues on this github which is link cdn and CSS height 100% on body, html. But the bugs problem on iphone safari still happen with me.
Could you guys give me another way to fix that?
Thanks before.

authors: CaptainCodeman JakeChampion danilags jamesAtcodeninja kanzelm3

repo: WICG/IntersectionObserver


text:
Make bandgap_ev an optional argument in plotter

bandgap_ev should be an optional argument with a default value of None, here: https://github.com/WMD-group/PyTASER/blob/953968c3f0044e79644744415b33647dc7b2dae3/plotter.py#L37
If the band gap is not set then no line should be displayed.

Done

repo: WMD-group/PyTASER


text:
implement v6.6.8 cleanup on activation + rename files used in uploads dir

                                                 WP-STATIC-MODIFIED-CRAWL-LIST.txt
WP-STATIC-2ND-CRAWL-LIST.txt                         WP-STATIC-PROGRESS.txt
WP-STATIC-404-LOG.txt                                WP-STATIC-TOTAL-FILES-TO-DEPLOY.txt
WP-STATIC-CRAWLED-LINKS.txt                          WP2STATIC-CURRENT-ARCHIVE.txt
WP-STATIC-DISCOVERED-URLS-LOG.txt                    WP2STATIC-S3-PREVIOUS-HASHES.txt
WP-STATIC-DISCOVERED-URLS-TOTAL.txt
WP-STATIC-DISCOVERED-URLS.txt                        wp-static-html-output-1591025567
WP-STATIC-EXPORT-LOG.txt                             wp-static-html-output-1591025567.zip
WP-STATIC-FINAL-2ND-CRAWL-LIST.txt
WP-STATIC-FINAL-CRAWL-LIST.txt
WP-STATIC-INITIAL-CRAWL-LIST.txt
WP-STATIC-INITIAL-CRAWL-TOTAL.txt

duplicate of https://github.com/WP2Static/static-html-output-plugin/issues/102

license: Unlicense


text:
CJK keyboard adjustments for better Chinese input convenience

fix full-width comma
add () to first symbol screen popups
merge postal sign with # popups
add = to + popup
add full-width = to half-width popup
fix half-width <> and single guillemets ‹›
add check mark to square root symbol popup
Add [] to popups
Add pinyin characters in popup mapping

TODO:

Consider making the full- and half-width toggle instead have three states. Add a state that is full-width for punctuation but half-width for other characters.
Actually test

Oops wrong repo!

repo: Waelwindows/florisboard


text:
DDU window is always on top and can't be minimized

I wouldn't know what was the rationale for either of these choices, but together they are definitively annoying.

Strange it's not happening on my end.

Tbh I don't see why it should be like this in the first place.
If any it would make sense in safe mode, to be on top of the "windows help guide" that usually appears at least under 7.
But I can't find a sense in having to move it every time I want to dismiss the "do you want to reboot" question of official driver uninstaller. Or whatever else I'm doing I leave the window open.

We will look on this.
Also the reason it does that in a little complex. The main intention is not to make this windows necessary on top of everything.

Fixed by this commit : eec96daf5b94bd38830841300dd047a1e17c1837

authors: Wagnard mirh

repo: Wagnard/display-drivers-uninstaller


text:
Add Tezos Support

This PR adds Tezos support to 2 of the example projects.
There is also a PR to add the Tezos messages to the docs: https://github.com/WalletConnect/walletconnect-docs/pull/513

Apologies for the prettier noise, I've cleaned it up and synced this branch so the diff is clean now. Currently reviewing.

Sorry about the lag in response here @AndreasGassmann, I missed your initial responses to the review and only saw them end of last week.
Some small tweaks that I'd still recommend above, but beyond that if it works for you we can move ahead here and get this initial setup merged for the sake of getting this off a preview-only branch, and then carry on with deeper work where needed 👍

I included one of your feedback, the others I left for now because they seem to be in line with how the other protocols are implemented, and I'm not sure how to easily add the feature.
In my opinion this can now be merged and we can improve it later on.

authors: AndreasGassmann bkrem

repo: WalletConnect/web-examples


text:
Added animations for new messages sent and received

Behavior
A bounce like animation added for incoming and outgoing messages
Example
Message sent:
https://user-images.githubusercontent.com/26746725/224707332-5670bf35-5646-4ffa-8bfe-668b20086ec4.mov
Message received:
https://user-images.githubusercontent.com/26746725/224707347-85b32531-66b5-4f2d-ae6a-057607ef10e6.mov

Added message box states based on previous and next message
Preview

Title
Revamped animations for messages.
Example
https://user-images.githubusercontent.com/26746725/225099609-ccc2562e-9707-4adb-9dee-c4ab52dd3670.mov


text:
some train questions

Thanks for your great work! I have some questions about how this Dual-stream Spatio-temporal Transformer (DSTformer) can accelerate training in parallel. Besides, whether is T=243 too computationally intensive  for T-MHSA.

Thank you very much!

Hi, thanks for your interest in our work.

Parallel training is mainly backed by the parallelization of self-attention operations of the Transformer.
We find the speed/memory cost OK in our experiments. During finetuning, you can use smaller temporal lengths and still benefit from the pretrained model.


text:
默认主题，文件名无法完全显示 [6.0版本]

1. 该问题的重现步骤是什么？
在默认主题下：
PC端：文件名过长，无法完全显示
手机端：仅可显示文件名前6个汉字或10多个字符
2. 你期待的结果是什么？实际看到的又是什么？
期待：能够完全显示文件名称：是否可以通过修改代码，实现名称自动换行，以满足显示。或为保证板式不乱，换行不超过2-3行应该就能满足大部分需求？
请老王指点！

补一张手机浏览效果图，以便说明：

目前已优化显示

repo: WangNingkai/OLAINDEX


text:
Static site, using no server side scripts, just a .htaccess file

need the
.htaccess
/server/views/static.html
/server/views/style.css
It shows up that in local edit mode, we still expect that there is a server to talk to - will fix that later maybe.
this is an offshoot of the simplification I was doing to make a Smaller-than-Smallest-Federated-Wiki
the node.js code begs a couple of questions:

are you wedded to haml and sass? neither work well in node.js - scss (sass v2) is likely to be better supported, but I wasted the better part of a day trying to get them working before giving up.
how important do you feel the non-javascript html output is? if we can discard it, we won't be maintaining the same functionality across client, ruby, arduino, node.js and client.coffee (though it will become plausible to make client.coffee callable from the node.js server.coffee

It seems fairly important to be able to render static pages, for the benefit of users who don't have javascript. I would like to suggest moving the page rendering into a template format (perhaps Handlebars?) that can be run on both client and server.

I strongly agreed that html output was important between 1990 and 2006, even killing some of my research projects in TWiki for this reason, but in 2011, I would like to ask honestly, can you be specific wrt seems fairly important .. for users who don't have javascript?
I'm not sure about it for several reasons -

imo it will slow our development & learning down at this early stage to have json->html rendering in every server and client codebase - ok, clearly, its going to slow my efforts (but if there's a clear we must have server side rendered html then I will cope
is the set of non-js users sufficiently non-trivial? (i ask because i have no data - links will help me)
does non-javascript federated wiki actually work as a consistent and useful UI right now (or should we remove it, and bring it back at a later stage)

yes, I am conflicted, but after 20 years of writing web renderers (eeeek), I've leaned heavily into leveraging client side js.

Just as a data point, I disable javascript on my phone for security purposes and to increase battery life. I assume many others do as well.

fair enough, but what do you expect a client js heavy federated wiki UI to work like in that environment?
and as per 3. does it function now, or are there issues.
I also turn off javascript at times, but i also don't expect the entire web to work..
(leto - I'm asking for specific datums as applied to federated wiki development now, so that we can make a reasoned decision)

If you think that this is going to slow down your work, you should feel free to make everything work without server-side rendering and I will be happy to spend the time making the server rendering work.

If we write the template in Handlebars or some other DOM-independent js templating library, we can very easily run it both on the client and server.
About 2% of visitors to Yahoo have javascript disabled: http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/
There is an important difference between functioning as an editable wiki (which perhaps should require js) and functioning as a static web page. If I run a wiki that becomes as important as Ward's patterns wiki, and someone links to a page on it, visitors should be able to at least read the linked-to article without javascript, though they won't be able to edit it or use any of the advanced javascript features.

mmm, one thing - will Handlebars help with the ruby and C based servers?
the thing i may not have emphasised enough is that the pain I had in doing the node.js implementation is because it is not the only backend (and i really want them all to use the same templates/html/css)... (and the static file one, is a really nice example of how far we could go)
even so - everyone seems to think that having html output is important, so there we go - its easier to design and architect with one goal, and at cross purposes - I'll just have to think harder on how
if Handlebars works for the C, ruby, Perl (that i might need to write for other reasons), node.js, .NET, and java, then its a very good fit... HAML seems to be mostly ruby :/

My thought is that items of type paragraph and type image should be rendered in html so that search engines can see them. I don't bother with even this when its inconvenient.  Also, I'm not wedded to haml and sass since they seem to play a small part.

authors: SvenDowideit WardCunningham asolove leto

repo: WardCunningham/Smallest-Federated-Wiki

license: mit


text:
New Crowdin translations

Enjoy!

(Crowdin, please stop adding empty locale files. Ugh.)

Rebased from 26 mostly-useless commits down to 2… Good enough.

repo: Warehousing/Warehousing


text:
update README with team member names

add team member names to README

closed with PR #3


text:
🛑 URL Shortener (engsoc.uk) is down

In 1723672, URL Shortener (engsoc.uk) (https://engsoc.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: URL Shortener (engsoc.uk) is back up in daa8fca.

repo: Warwick-Engineering-Society/uptime


text:
Can't enable autorefresh

I just installed this via Package Control, and I noticed it is still not refreshing. According to the readme I need to enable it via command, but I am having no luck getting that to work:

Enable Autorefresh
File "", line 1
Enable Autorefresh
^
SyntaxError: unexpected EOF while parsing
enable_auto_refresh
Traceback (most recent call last):
File "", line 1, in
NameError: name 'enable_auto_refresh' is not defined

It seems to work fine for me on the latest version of Sublime Text 3.
Are you using Sublime Text 2 or 3?
What version are you using?
What OS are you using?
Did you simply install the plugin through the package manager or did you unpack the plugin?

I am using Stable Channel build 3126 on Mac OSX 10.12.3.
I installed through Package Control. If I should test a manual install, how exactly would do that? I am new to Sublime Text.

It seems to work fine for me on Mac OSX aswell.
Try to install it manually:

Uninstall AutoRefresh using the package manager
Download https://github.com/Waterflames/AutoRefresh/archive/master.zip
Open your sublime packages folder (see http://stackoverflow.com/a/7866230)
Extract the zip you just downloaded to this folder
Restart sublime.

Got it! Thanks for the help. Turns out I was mixing up the command palette and the console.

authors: Waterflames matthew-groth

repo: Waterflames/AutoRefresh


text:
Augmented Reality demo

Demo this:
https://www.kickstarter.com/projects/713418541/zapbox-experience-mixed-reality-for-just-30/description

Perhaps use this (although not iOS compatible):  https://github.com/jeromeetienne/AR.js

https://github.com/jeromeetienne/AR.js/issues/103

repo: WayneKeenan/picraftzero


text:
Dagora Integration

Awesome repo, @sha237gh!
I am trying to follow this tutorial https://medium.com/@webump_/how-to-make-nft-collection-on-sei-from-stratch-e8344a743401
How does one integrates with Dagora or any other NFT marketplace?

@jvel07 you have to contact with them to list you

repo: We-Bump/Lighthouse-cli


text:
Configure Web3APIs Using Env Variables

After talking with Luis from Pocket Network, it's become clear that we'll need a way to set configuration values for Web3APIs.
Current Problem
There is currently one way to configure Web3APIs, and that's through method arguments. For example, think of an IPFS HTTP Client Web3API, you'd have to tell it what endpoint to talk to via a method argument:
type Query {
  cat(
    hash: String!
    node: String!
  ): Bytes!
}

While this is simple and it works, this becomes problematic when you think about composability. If the IPFS Web3API is being used within another Web3API "Foo", you'd have to pass in the node: String! into each of Foo's methods, so it can pass it through to IPFS:
#import { Query } into IPFS from "w3://ens/ipfs-http-client.web3api.eth"

type Query {
  doFoo(
    fooArg: [UInt32!]!
    ipfsNode: String!
  )
}

If you think about scaling this farther, it's clearly an anti-pattern, leading to N number of arguments needed to configure N number of dependencies.
NOTE: Web3APIs do not have persistent state (heap), meaning that the node URL cannot be stored in a global and used for subsequent method invocations.
Proposed Solution
Enable the configuration of Web3APIs through env configuration variables. In the example above, this would allow the user to define an IPFS node's endpoint once.
Developer Experience
Still Very WIP...

Web3API developer defines ENV variables using the schema.graphql

type Env {
  requiredSetting: String!
  optionalSetting: UInt
}

Web3API developer uses ENV variables in WASM code

import { Env } from "./w3";

Env.requiredSetting

Users configure the Web3API through the Web3API Client

new Web3ApiClient({
  constants: [
    {
      uri: "w3://ens/some.api.eth",
      env: {
        requiredString: "Something Important",
        optionalString: nullableValue
      }
    }
  ]
});

Additional usability thoughts here: https://github.com/Web3-API/monorepo/issues/140#issuecomment-782519627
Worries
Does this create "configuration hell"?

Can't you just configure ipfs node url  when initializing plugin/package?

Yes this is possible with plugins, but we haven't designed a way to do this for WASM based Web3APIs. That's the point of this issue.

Are WASM based Web3APIs allowed to have state? I mean package could export some init method for configuration so we leave this as implementation detail of web3api developers?

No all WASM Web3APIs are stateless @mpetrun5

After talking about this feature in the Core Dev Sync today, it looks like there are no objections and all voiced opinions seem to think this is a necessary next step.

Additional detail:

These env variables should be configurable at both initialization-time, and query-time. This will be useful for sub-query configuration. For example, if the ENS Web3API is querying the Rinkeby network, but the ethereum's default provider has been set to mainnet. When ENS queries Ethereum, it can configure its provider using some default used for rinkeby.

TODO: document ethereum example

After discussions with @dOrgJelli we came up the following implementation that we'd like to get some feedback/discussions goinh on.
Requirements

Schema

Schema will be defined in either the src/mutations/schema.graphql file or the src/queries/schema.graphql file for the API application
Schema for Environmental Variables are defined leveraging GraphQL Schema definition using a reserved type named Env.

Allows for definition of a required field using GraphQL Schema required - ! - notation.
Allows for definition of public variables exposed to Web3API clients via custom GraphQL directive @public().
Allows default values to be set on optional fields using GraphQL argument syntax.
All values sent will be sanitized by verifying the values match the schema such as making sure all required fields are set, and types match the schema automatically.

A Client_Env reserved type can be used to define what the Environmental Variables shape is from the client perspective - and in this case the reserved type Env can include additional values not required by the ENV (defaults), or provide a way to modify the initial environmental variables payload.
A reserved Env query will be defined to retrieve the sanitized environmental variable values and allow for a custom hook to be implemented to further validate/change values.

Definition of Environmental Variables

Enviromental variables are specified in a constants argument when initializing the Web3API client.
Environmental variables can be defined as either env or mut_env to specify whether the variables can only be used in queries or mutations - this is a self governing system and all values will be defined on the Env reserved type and split up internally during the build process into Env and Mut_Env.

Accessing Environmental Variables

Imports from app/client variables can be imported using the Env variable provided by w3 module.
Environmental variables exposed via the @public() directive will be importable by other W3 APIs.
As environmental variables are cached on the client side, values should be able to be pulled in individually as needed via a function call to allow for deserialization of necessary values - not the entire cached environmental variables blob.

Technical Implementation Details
Schema & Sanitization
Schema definitions will leverage existing GraphQL schema file that identifies endpoints for Web3 applications. The idea here is allow simple way to define these variables, and a more custom way to allow developers to implement their own solution if the exposed variables end up needing to be modified or change in some way outside of GraphQL schema capabilities. Below is an example of a simple schema containing a required setting, an optional setting:
type Env {
  requiredSetting: String!
  optionalSetting: String
}

Implementing the reserved Client_Env will allow for changing of the values that end up being exposed in the Web3 app. Below is an example of the schema implementing the Env, and also marking a value as public allowing it to be exposed to other Web3 APIs:
type Query {
  Env(env: ClientEnv!): Env!
}

# pre sanitization
type ClientEnv {
  requiredSetting: String!
  optionalSetting: String
}

# post sanitization
type Env {
  sanitizedRequiredSetting: String!
  sanitizedOptionalSetting: String! @public()
  alwaysSetViaSanitization: UInt!
}

The sanitization of the client values can now include a Env query to be written which will modify the values and shape of the Environmental Variables as specified. This allows for any custom logic to be built when creating these environments that the developer chooses. Below is a rough idea of how a custom sanitize hook might look in typescript:
import { sanitizeObj, // helper method - returns {error: bool, value: message/data}
  failSanitization,
  succeedSanitization
} from './w3';

// Simple validator requiring https (not http:)
sanitizeRequired(k, str) => {
  return str.slice(0, 5) !== 'https'
    ? sanitizeObj(true, 'HTTPS required')
    : sanitizeObj(false, endText)
}

sanitizeEnv(env) => {  // env will be the initial ENV
  const errors = [];
  const sanitizedEnv = {};

  // Sanitization via validation
  const requiredSetting = sanitizeRequired('requiredSetting', env.requiredSetting)
  requiredSetting.error
	? errors.push(requiredSetting)
    : sanitizedEnv.requiredSetting = requiredSetting;

  // No sanitization or change to this setting
  sanitizedEnv.optionalSetting = env.optionalSetting;

  // Additional argument added to SanitizedEnv
  sanitizedEnv.alwaysSetViaSanitization = 3;

  // We call the fail/succeed functions with payload when done
  errors.length ? failSanitization(errors) : succeedSanitization(sanitizedEnv)'
}

Setting Environmental Values
The values for the Environmental Variables are able to be configured by the client making the request. This is done during the instantiation of the Web3 client. This call could look like this:
new Web3ApiClient({
	constants: [
		{
			uri: 'ens/someaddress.eth',
			env: {
				provider: 'localhost:8545'
			}
		}
	]
})

Also a custom env.json or env.ts file could be created to remove the need to hard code this data into the codebase, allowing a more configuration approach. This would simply be loaded automatically into the env property. The typescript version would allow maximum flexibility and allow the developer writing the client to code to export the variables based on any number of system configurations such as system environmental variables etc.
This APIs GraphQL Schema might look something like this:
...
type Query {
  sanitizeEnv(env: Env!): SanitizedEnv!
}

# pre sanitization
type ClientEnv {
  provider: String!
}

# post sanitization
type Env {
  provider: String! @public()
  api_version: String! @public()
  some_secret_key: String!
}
...

From here the client can also import and use these variables as needed via the normal import methods on an exposed w3 object.
We also have the ability to define mutation specific environmental variables, which is up to the developer on if they find the need to do this. This allows for separation of concerns and is a individual self maintained rule. Below is an example of this:
new Web3ApiClient({
	constants: [
		{
			uri: 'ens/someaddress.eth',
			env: {
				provider: 'localhost:8545'
			},
			mut_env: {
				secretKey: 'abc123'
			}
		}
	]
})

From a developers standpoint on the API side, the schema definition should not require any changes than having both of these values specified in the Env. Internally though, these will be split up and effective have two reserved types based on the developer definition Env and Mut_Env.
Given the above example of setting the variables, below is how this would look to the API developer:
...
type Env {
	provider: String! @public()
	secretKey: String!
}
...

During the build process these would then be separated in a way that provider belongs to Env and secretKey is a property of Mut_Env. After the build this get's broken up by how the value is set in either env or mut_env by the client:
...
type Env {
	provider: String! @public()
}

type Mut_Env{
	secretKey: String!
}
...

Accessing Environment Variables from API
On the API end this already sanitized environment blob would then be sent when the WASM module is called again, and would be accessible in the API. Here we are able to create our own, or import environments from other apps. Below is an example of this:
#import { Env, Mut_Env } into Ethereum from 'ens/ethereum.web3api.eth'
"""rest of schema file..."""

And then importing the actual variables for use during runtime in the WASM module. The variables should are accessible via getter methods, as it will get the variable from the clients sanitized cache environment on-demand and not have to load the entire environment for single values. Below is an example of this:
import { Ethereum_Env, Mut_Ethereum_Env } from './w3';

function customizeProvider() {
    let providerCustomized = "";
	const provider = Ethereum_Env.provider(); // under the hood makes call to client __w3_envVar('provider')
	// Do any custom logic
	return providerCustomized;
}

function makeCallWithSecret(){
	const secret = Mut_Ethereum_Env.secretKey();
	// Make call to some service using secret etc.
	return response;
}

Just talked with @mpetrun5 who'll be working on the implementation. Here's what we came up with as notes (a few design choices still left to be made, still rough):
Steps
Fully-Built Schema (schema-parser)

Support the new schema features in parser
Add lots of validation to the parser to make sure Env types are setup correctly

User-Defined Schema (schema-composer)

Support the "magic seperation" of Env types, defined in both Query and Mutation
Write tests to make sure users can import the Env (supported: MutationEnv, QueryEnv)

Web3ApiClient

Constructor config
Modify invoke logic, when querying for first time, sanitize?
Modify invoke logic, when querying, load env

Wasm/AS

Define the WASM standard interface for things like: (_w3_env_sanitize, _w3_env_load, __w3_import_env)

Web3ApiClient

Add support for __w3_import_env

Generated Code (schema-bind)

Define what we want the generated code to look like
Create mustache templates to generate the desired code

Schema Defining UX
mutation.graphql
type Env {
  prop: String!
}

type ClientEnv {
  foo: String!
}

# "specialize" this type for the mutation module specifically,
# just add Mutation to the front of it.
type MutationEnv {

}

type MutationClientEnv {

}

#import { MutationEnv } from "above..."

Schema
"magic seperation"
./mutation.graphql
type Env {
  foo: String!
}

./query.graphql
type Env {
  foo: String!
  bar: UInt8!
}

BUILD ->
type MutationEnv {
  foo: String!
}

type QueryEnv {
  bar: UInt8!
}

"manual extension"
./mutation.graphql
#import { Env } from "..."

./query.graphql
#import { Env } from "..."

type QueryEnv {
  bar: UInt8!
}

BUILD ->
type MutationEnv {
  foo: String!
}

type QueryEnv {
  foo: String!
  bar: UInt8!
}

Client Env Runtime
1. User configures the client
new Web3ApiClient({
  constants: [
    {
      uri: 'ens/someaddress.eth',
      env: {
        provider: 'localhost:8545'
      },
      mutation_env: {
        secretKey: 'abc123'
      }
    }
  ]
})

new Web3ApiClient({
  env: {
    'ens/someaddress.eth': {
      provider: 'localhost:8545'
      mutation_env: {
        secretKey: 'abc123'
      }
    }
  ]
})

2. User queries the API
client.query({ uri: "ens/someaddress.eth" });

3. Upon querying the API for the first time, the env is sanitized and cached
inside of Web3ApiClient...
// if (!finalBlob) {
  // Call into WASM to see if it requires env sanitization `if (module[_w3_env_sanitize] !== undefined)`

  // If required, serialize the env object we have for the module to msgpack,
  // and send it to the web3api (_w3_env_sanitize(blob) -> finalBlob)

  // Cache the finalBlob in the Web3ApiClient
//}

// _w3_env_load(finalBlob)

Public Properties
type Env {
prop: String! @public
foo: UInt8!
}
// inside of importer
#import { Env } into Ethereum from "..."
// BUILD (schema-compose) ->
type Ethereum_Env {
prop: String! @public
}
// DEPENDENCY.WASM
// generated, called by the client
import { Env } from "./Env"

_w3_import_env(): PublicEnv {
  return {
    prop: Env.prop
  }
}

// USER.WASM
import { Ethereum_Env } from "..."

Ethereum_Env.prop;

// __w3_import_env("ethereum.eth") -> client -> DEPDENDENCY.wasm

?
interface IEthereum_Env {
  ...
}

const instance: IEthereum_Env = ...;

export const Ethereum_Env = instance;

1. Why don't we inherit properties from env of imported polywrapper?
Example:
Ethereum polywrapper schema
type QueryEnv {
   eth_prop1: String!
   eth_prop2: Int! @public
}

Ens polywrapper schema
type QueryEnv {
   ens_prop1: String! @public
   ens_prop2: Int!
}

User Polywrapper schema
#import { QueryEnv } into Ethereum from "..."
#import { QueryEnv } into Ens from ".."

type QueryEnv implements Ethereum_QueryEnv, Ens_QueryEnv {
   prop1: String!
}

shape of compiled QueryEnv schema
type QueryEnv {
   eth_prop2: Int!
   ens_prop1: String!
   prop1: String!
}

usage
import {env} from "./w3";
...
env.eth_prop2
...
env.prop1

Usage will be same regardless of module and there won't be any extra step during template generation for propagating env of main polywrapper to imported polywrappers.
2. Why don't we use inherit syntax for Env to make inheritance explicit?
Current Schema Example:
#import {Env} from "/some/local/dir";

type QueryEnv {
  prop1: String!
}

This implicitly inherits from Env specified in local dir. But having this explicit would be better
#import {Env} from "/some/local/dir";

type QueryEnv implements Env {
  prop1: String!
}

This would also allow us to divide big environment in different files depending on some idea/category/context
#import {Env} into Db from "/some/local/dir/db";
#import {Env} into Api from "/some/local/dir/api";

type QueryEnv implements DB_Env, ApiEnv {
  prop1: String!
}

Chatted with @Niraj-Kamdar and @nerfZael today. Our findings are that:

we will finish the existing PR with the initial spec. Loose schema / environment coupling, all env sanitization will be done at run-time upon invocation.
In the future, we may apply some of Niraj's suggestions to aggregate dependency environments, to help with the potential run-time errors that occur from the loose coupling.
Additionally we've decided that there is no need to implement the public directive at this point, and can add that in the future as well.

authors: Niraj-Kamdar dOrgJelli mpetrunic pwvpwvpwv


text:
Překlady

Jakým způsobem se aktualizují překlady z Transifexu? Děje se to automaticky nebo se musí manuálně? Díky

https://seeder.readthedocs.io/en/latest/translation.html
https://github.com/WebArchivCZ/Seeder/blob/master/Seeder/pull_locales.sh
tx prikaz je stahne z transifexu a compilemessages je zkompiluje do .mo souboru, pak je jeste potreba restartovat server.

díky

authors: Visgean kvasnicaj

repo: WebArchivCZ/Seeder


text:
Use Gitpod's default image

Close #250.
It's a draft so that we can merge main once a new CLI is released and tests pass.

Closing as per https://github.com/WebstoneHQ/webstone/issues/250#issuecomment-1257163021.

repo: WebstoneHQ/webstone


text:
Integrate Universal Analytics and Measurement Protocol

When files are directly viewed you're obviously unable to serve the necessary script to use analytics. Due to this inconvenience, I'd like to see Universal Analytics and Measurement Protocol integrated as a something easily configurable.
If you're able to confirm this is possible and that you approve of the feature, I'd be glad to put a bounty on it.
Thanks

I will take a look at this and let you know if it's something we can consider as a feature, thanks!

A little off topic, but it's great to see people willing to post bounties for this project. Thanks @Cryoplex

hey
dats preddy good

authors: Cryoplex PascalTemel Pitu alucard0134

repo: WeebDev/loli-safe


text:
🛑 reservation is down

In 9973ff0, reservation (https://reservation.weihanli.xyz) was down:

HTTP code: 502
Response time: 1678 ms

Resolved: reservation is back up in 297af37 after 55 minutes.

repo: WeihanLi/upptime


text:
Dev/0.4.13

it´s a try

closes #32


text:
FSCalendar in IB required code signature missing

Anyone else seeing this in xCode 9.4
Main.storyboard: error: IB Designables: Failed to render and update auto layout status for CalendarViewController (Jnf-wv-QWb): dlopen(KMPlaceholderTextView.framework, 1): no suitable image found.  Did find:
KMPlaceholderTextView.framework: required code signature missing for 'KMPlaceholderTextView.framework'

Maybe this would help?

Thanks but tried all of that.  Erased derived data, switched back to cocoa pod 1.4. always use frameworks anyway.. still have the singed error which then disables any DESIGNABLES from working in IB.  The code compiles but breaks IB
Dan Kardell

On Jun 21, 2018, at 8:21 PM, Wenchao Ding notifications@github.com wrote:
Maybe this https://github.com/WenchaoD/FSCalendar/issues/914 would help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/WenchaoD/FSCalendar/issues/954#issuecomment-399291436, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4E1GI4x2hOqhJHuyEWXT_2XbO5tZcZks5t_EaCgaJpZM4Uyc2j.

@WenchaoD any idea on why we are seeing this?

so @WenchaoD, I just created a brand new project using only FSCalendar Pod, using CocoaPod 1.5.  After adding a UIView and changing it to FSCalendar and rebuilding I get:
Main.storyboard: error: IB Designables: Failed to render and update auto layout status for ViewController (BYZ-38-t0r): dlopen(FSCalendar.framework, 1): no suitable image found.  Did find:
FSCalendar.framework: required code signature missing for 'FSCalendar.framework'

Try to add this to your Podfile

THANKS!  That appears to work.  Just making sure that the other Pods I'm using are not affected.  Thanks!

repo: WenchaoD/FSCalendar


text:
顶部和底部分割线

你好，顶部和底部分割线只能在代码内部通过宏定义FSCalendarStandardLineColor 修改吗，外部可有属性直接修改呢

self.calendar.clipsToBounds = YES

authors: WenchaoD luo-h


text:
Added maintenance_device method to devices.py

Added maintenance_device method to correspond with this API call:
https://docs.librenms.org/API/Devices/#maintenance_device
Tested and functions as expected.
Kept duration as a string to keep the "H:m" formatting consistent. Initially thought about making duration an integer in minutes, then did math to convert, but keeping string seems to be the best approach here since the API appears to be looking for a string.

Tested on my end; works as expected like you said and I agree sticking to their documentation is best.
Thanks for adding!


text:
how do i compile this

Describe your problem here.
when i compile this it says:
source/Main.hx:85: characters 61-65 : Float should be Int
source/Main.hx:85: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:85: characters 61-65 : ... For function argument 'child'
source/PlayState.hx:598: characters 19-29 : Warning : This pattern is unused
source/purgatory/PurTitleState.hx:300: characters 59-60 : Int should be flixel.util.FlxAxes
source/purgatory/PurTitleState.hx:300: characters 59-60 : ... For optional function argument 'repeatAxes'
so i need help and i didnt edit some file
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no i didnt

i managed to port it for flixel 5.0.0 but it gives me a billion """"null object references"""" so ehh

k lemme try

but not now

and ty

dosent work

i managed to port it for flixel 5.0.0 but it gives me a billion """"null object references"""" so ehh

that's because you don't 💀
I'm an guy who got the source WAY before it was public just an few weeks ago (as of publication). Like August or September, its best to use flixel 4.11.0 and flixel addons 2.11.0.

i can compile beta 1.1 but i have not tried compiling the cancelled build because i use the haxe requirements for pe versions like 0.5.2h

okay so way too many people have been asking for help on this... What I can say is that this was compiled a long time ago, so try and find a Haxe version that compiles correctly. We got it to compile, so can you.

okay so way too many people have been asking for help on this... What I can say is that this was compiled a long time ago, so try and find a Haxe version that compiles correctly. We got it to compile, so can you.

authors: Jevilm Sanas129 WhatsDownYT

repo: WhatsDownYT/VDAB-DefinitiveEdition


text:
🛑 IGDB Webhooks is down

In 0b42ea7, IGDB Webhooks (https://whatsnew.games/api/status/igdb/webhooks) was down:

HTTP code: 503
Response time: 225 ms

Resolved: IGDB Webhooks is back up in ea596b3.

repo: WhatsNewGames/status


text:
[BUG] agent not saving it in the session

import { SocksProxyAgent } from 'socks-proxy-agent';
const sessions = new Map()

 let proxyAgent = new SocksProxyAgent(proxyurl);
  const sessionFile = (isLegacy ? 'legacy_' : 'md_') + sessionId

    const store = makeInMemoryStore({})

     const { state, saveCreds } = await useMultiFileAuthState(sessionsDir(sessionFile))

     const waConfig = {
        ...config,
        auth:state,
        agent: proxyAgent,
        fetchAgent: proxyAgent,
    }
     const wa = makeWASocket.default(waConfig)

        store.readFromFile(sessionsDir(`${sessionId}_store`))
        store.bind(wa.ev)

         sessions.set(sessionId, { ...wa, store, isLegacy })

I did many experiments but the proxy is not saved in the session as when calling the session it connects without the proxy

options for axios options
https://github.com/WhiskeySockets/Baileys#configuring-the-connection

options for axios options
https://github.com/WhiskeySockets/Baileys#configuring-the-connection

i am try :
   const waConfig = {
        version,
        auth: state,
        logger: pino({ level: "silent" }),
        browser: Browsers.macOS('Desktop'),
        agent: proxyAgent,
        fetchAgent: proxyAgent,
        options : { httpsAgent: proxyAgent },
    }

but  not working

repo: WhiskeySockets/Baileys


text:
[BUG]

Please help, I can't enter the code and it always fails, I've also used it
browser: [ "Ubuntu", "Chrome", "20.0.04" ],

Use delay option

Same error I'm getting

Please help, I can't enter the code and it always fails, I've also used it
browser: [ "Ubuntu", "Chrome", "20.0.04" ],

https://github.com/WhiskeySockets/Baileys/issues/597#issuecomment-1901384326

Please help, I can't enter the code and it always fails, I've also used it
browser: [ "Ubuntu", "Chrome", "20.0.04" ],

Try this, ['Mac OS', 'safari', '5.1.10']

Please help, I can't enter the code and it always fails, I've also used it
browser: [ "Ubuntu", "Chrome", "20.0.04" ],

Try this, ['Mac OS', 'safari', '5.1.10']

I'm using [ "Windows", "Firefox", "10.0.22621" ]
Still same problem
B

Please help, I can't enter the code and it always fails, I've also used it
browser: [ "Ubuntu", "Chrome", "20.0.04" ],

Please help, I can't enter the code and it always fails, I've also used it
browser: [ "Ubuntu", "Chrome", "20.0.04" ],

But pehle to sahi tha Mera me to Firefox use kar rh hu ?

But pehle to sahi tha Mera me to Firefox use kar rh hu ?
Adopt to changes

But pehle to sahi tha Mera me to Firefox use kar rh hu ?
Adopt to changes

Ye konsi link di di apne 🙁

Ye konsi link di di apne 🙁
Padhle usse

Ye konsi link di di apne 🙁

Padhle usse

Me iz not science student 😂

Ye konsi link di di apne 🙁

Padhle usse

Me iz not science student 😂

Galat field mai aa gye Aap
Science lena chaiye tha aapko

Science bhag jati hai mujhe dekh kar to kese leta me Science or math dono bhag jate mujhe dekh kar 😂

Ye bhi accha hai

Ha to ab dm aao bot number pe


text:
Broken Categories

Categories wont add properly in theunderground.
If it matters im running this in docker.
@spotlightishere

Thank you for reporting! This should be resolved by f4688123c457dcfdba577a38e465f8975acead5f - please create a new issue if the issue persists.

authors: lambda-makes-things spotlightishere


text:
Violations on View Boarding page

Right now violations don't show up on the View Boarding page - /#/boardings/view - they should appear as per https://mongodb.invisionapp.com/share/VJXLVXNPGW4#/screens/420742269_Boarding_Record

@o-fish-wildaid @Sheeri I would like to try this issue.

Hi @mcastre - as per our Contribution Guidelines - https://wildaid.github.io/contribute/index.html - we prefer to assign issues to folks to work serially - that is, only one issue per person at a time. You're already assigned issue #240. We do this is in order to be fair to everyone participating, in case this is an issue someone else really wants and can work on it before you can.
If you'd like, we can unassign #240 and assign this one to you, or you can work on #240 and let us know when you submit the PR, and we can assign this one to you if nobody else has asked first.
Thanks so much for being so eager to help the project!

@Sheeri ah ok its no problem! ill just work on #240

@Sheeri I'd like to give this a try -- I may need some help but I am in the digital ocean hacktoberfest zoom with you now.

Hello @pattimcletchie, thanks for offering to work on this! I have assigned it to you.

@o-fish-wildaid @am-MongoDB @Sheeri I am having an issue getting the map to work on  <ViolationsSection> on the boarding-view.component.js -- Cannot read property 'map' of undefined I feel like if I knew the codebase better I'd be able to track down this bug. Any thoughts?

Which page does this correspond to?  is it /#/boardings/null or /#/boardings/view/RECORD_ID or something else?

Hi @Sheeri, sorry for the delay (work got in my way). The page in question is /#/boardings/view/RECORD_ID. Here is a screenshot for reference just in case that is helpful.

Hi @pattimcletchie - ugh, that's a frustrating issue. I hunted it down on the sandbox server, it had to do with other code not being up to date, which I've fixed on the sandbox server. Can you try now?

Hi @pattimcletchie - are you still planning on working on this for hacktoberfest?

@Sheeri yes, sorry! Work has been insane. I will work on this tonight.

@Sheeri I am getting the exact same error and I pulled down the latest. Not sure what is going on.

Hrm.... maybe try making a new sandbox user and agency?  I wonder if there's some data weirdness going on. The view boarding page works for me :(

Some things to check:
in boarding-view.component.js at the top, is this line uncommented?
import ViolationsSection from './violations/violations.section';
If you're still getting that, then this file needs debugging: - src/components/boardings/boarding-view/violations/violations.section.js
I can see right away that the violations section is weird looking, it looks like that's more of an editing page than a view page. Check out  src/components/boardings/boarding-view/crew/crew.section.js as more of a template.
As for the actual error - when something is undefined, look to where it's assigned. In this case it looks like 'values' is the undefined thing that 'map' can't use.
'values' is defined at the beginning of the 'render()' portion as:
const values = this.state.data;
and this.state.data is defined at the top as:
data: props.dataObject.violations
You're passing <ViolationsSection dataObject={boarding} /> , so what I'd do is at the beginning of the render section, do something like:
console.log(this.state);
and see what you get (you may need to comment out the map part of the page so the errors don't interfere with loading the page).
My bet is that 'violations' isn't an object in the boarding object. (and from my own knowledge of the schema, it's more likely to be something like inspection.summary.violations or something)
Hope that helps!

This has been fixed.

authors: Sheeri mcastre o-fish-wildaid pattimcletchie

repo: WildAid/o-fish-web


text:
GUI draft

This pull request adds an initial draft of the GUI.

No longer relevant.


text:
Cannot connect to Twitch, retrying ...

Once I open the miner, it logs
Cannot connect to Twitch, retrying in ...

And does nothing.
See full log with max verbosity: log.txt
I'm using WIndows version.

What I am missing?
Thank you in advance.

This happens to me when I quickly restart multiple times. Just wait a bit, restart and it should work.

Hi
I left it open overnight and all messages that I see in the end of the log are
10:41:00: DEBUG: Websocket[0] sent: {'type': 'PING'}
10:41:00: DEBUG: Websocket[0] received: WSMessage(type=<WSMsgType.TEXT: 1>, data='{ "type": "PONG" }\r\n\r\n', extra='')
10:42:52: Cannot connect to Twitch, retrying in 180 seconds...
10:44:00: DEBUG: Websocket[0] sent: {'type': 'PING'}
10:44:00: DEBUG: Websocket[0] received: WSMessage(type=<WSMsgType.TEXT: 1>, data='{ "type": "PONG" }\r\n\r\n', extra='')
10:45:58: Cannot connect to Twitch, retrying in 180 seconds...

Is it ok?

Hi I left it open overnight and all messages that I see in the end of the log are
10:41:00: DEBUG: Websocket[0] sent: {'type': 'PING'}
10:41:00: DEBUG: Websocket[0] received: WSMessage(type=<WSMsgType.TEXT: 1>, data='{ "type": "PONG" }\r\n\r\n', extra='')
10:42:52: Cannot connect to Twitch, retrying in 180 seconds...
10:44:00: DEBUG: Websocket[0] sent: {'type': 'PING'}
10:44:00: DEBUG: Websocket[0] received: WSMessage(type=<WSMsgType.TEXT: 1>, data='{ "type": "PONG" }\r\n\r\n', extra='')
10:45:58: Cannot connect to Twitch, retrying in 180 seconds...

Is it ok?

The metric for ok is does it farm. From what you sent, it looks like twitch or your internet was down for a bit.

I run into this where if I don't touch it, it will says "Twitch is down..." for hours, but if I exit and start over it will work again.

My connection is glitch sometimes - I have packet loss bursts, but 99% of time everything is fine.
Could be a firewall issue? I think I completely disabled it on my PC as well as AV.

Thanks for the log! I'll take a look at it once I find a bit of time.

authors: JuryFrid Windows200000 WrayOfSunshine