Configurable Affixes?

Is there a file where one can configure which affixes can be selected? - Would be cool to do so, because some of the affixes seem to be missing.

The available affixes are directly linked to the images you have in your system preset.
For example: .\images\2560x1440_SMF_en\Affixes\.
You can add any missing affixes yourself by taking screenshots and adding them to that folder.
If you send them to me afterwards I can share them with everyone.
I have plans for a new interface to better show which affixes are available but that is still a work in progress.

Ou okay, thank you!
I thought you'd do this via OCR on a screenshot - but thanks for the info! :)

Probably later, if it's fast enough to give real-time info for the overlay.
Started with image recognition so I could support all 12 languages of Diablo. Without having to train OCR for different languages.


Shader help?

I have been stuck with these problems for 2 days now, please help.
How to setup a shader in bgfx?:
The documentation just states that I need to write them in some way and that I can use SAMPLER2D instead of sampler2D and stuff like that. But how do the shaders work? as far as I understand it can compile this glsl like language to any whatever backend render type it uses, but I never see this described clearly anywhere. Looking at bgfx-header-extension lib it looks like that compiles some .sc (does this mean shader compile??) files to the .bin file and then use the bin file as the shader? am I misunderstanding something? also, it is never described that bgfx uses a standard shader if no shader is provided (tricked me for a bit).
The thing that makes me so confused:
I really just want a minimal example of how to get a minimal shader to work, looking at the shaders form the example "01-cubes", I can see that it mostly just imports a lot of functionally.
is this required?
or is it simply helper functions?
what is the deal with the "varying.def.sc" file?
what is the difference between #include #include"xxx? (i assume the root from where the include happens but how to it know what that is and is bgfx_shader.sh then mandatory?)
what is the difference between .sc and .sh files
The thing about loading a shader:
Trying to use the bgfx_utils.h has been a difficult experience, I can't seem to find a static library for the utils part of bgfx, and simply copy-pasting the bgfx_utils.cpp file into my project gives me even more errors. How should I tackle this?
I tried using the bgfxh (bgfx-header-extension library), It throws no errors loading the shaders, but the shaders are invalid when checking with bgfx::isValid().
How to get error messages for that shader?:
I can't seem to get any information about the shader. The only thing that seems to tell me something about the shader-program is the function bgfx::isValid(program). I tried to set up a CallbackI class and pass it the init struct, but no luck (the fatal function never got called).
How can I get the error message from shader compile?
Can someone give me an example of writing glsl like shader code and rendering with that shader? Thanks! ;)
Some feedback for bgfx:
Please warn me when my shader doesn't work.
A minimal shader example project without depending on the common folder. (maybe even a project using bgfx uniforms like "u_viewRect" and a project without using any bgfx uniforms and creating custom views and so on.)
A list in the docs about every bgfx uniform (uniforms like "u_viewRect").

Try here: https://discord.gg/9eMbv7J

Thanks


Fix for a few test bugs.

Fixed hard-coded assumption on windir being "c:\windows".
The test "TestSaveTokenFailsCantCreate" now passes on Windows OS.
Fixed token test to use a mock so it doesn't hit the network.

@mcardosos Please take a look.

LGTM


Feature Request:  Allow Stack children to attach to safe areas

Currently we have LayoutContainer for this, but we cannot use it inside a ZStackBlock, for example.
Alternatively, we can have _ZStackItem support something like .alignSelf(.attach(.safeArea(.top)))

Thank you.
We might have something another way to have it because ZStackBlock can be used recursively in Structured layout.
It does not always work well ZStackBlock in a complex node trees.

Root (has SafeArea)

ZStackBlock

VStackBlock

ZStackBlock -> how attaches elmenent to safe area

I see what you mean. In that case, maybe it would be better to construct the safe area container separately from the parent container?
safeAreaContainer.mondrian.buildSubviews {
    LayoutContainer(attachedSafeAreaEdges: .all) {
        // ...
    }
}
backgroundView.mondrian.buildSubviews {
    ZStackBlock {
        safeAreaContainer
        // ...
    }
}

@JohnEstropia
does your example code help your case?
I thought it does not help because that safeAreaContainer would have a safe-area layout guide but that would be related to the parent container. What if we add padding(200) in ZStackBlock, the safeAreaContainer has no matter.
So If I could, I'd like to get something figure to explain what you expect layout.

a case
      mondrianBatchLayout {
        collectionNode.view.mondrian.layout.edges(.toSuperview)
        overlayViewLayoutGuide.mondrian.layout
          .top(.to(view.safeAreaLayoutGuide))
          .horizontal(.toSuperview)
          .bottom(.toSuperview)
      }

Yes, I think it would be better to construct the layout separately (classic layout) for the use-case I had in mind

do you think it's better if can we describe multiple LayoutContainer in building subviews?


Need to Install/Source Twice for Many Operations to Work

Is it possible to only need to install/source dots once instead of twice? Currently, there are many operations that won't take effect until the install/source steps have been done twice - I assume due to an order of operations problem. It would be great if we could fix the double sourcing so it could work with a single command instead of needing to run it multiple times. This may also just be weird due to how shell sourcing works.

This shouldn't be an issue for most things but is definitely a shortcoming of how DOTS_DISABLE_INIT_MESSAGE is setup. I clarified it a bit via https://github.com/Justintime50/dots/commit/3082b135f3168aa149595bd61b1a56bd8e00df4c


esp_rmaker_core: Add event for MQTT connection (MEGH-1066)

Adds an event for when MQTT connects from the rmaker task.
This can be useful in the case of changing power modes or similar only after the MQTT server has successfully connected.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@willtoth thanks for the contribution. We are currently restructuring the esp_rainmaker components. Handling for this event and the disconnect event can then be moved to the mqtt file then.

@willtoth Events for MQTT have now been added in this commit. So, closing this PR. Thanks for your efforts though!


Cannot get it started, when hosting it I receive error:  Cannot GET /prod/0.3.4/20180725/1/

What I did is:
npm -g install bower
bower install
npm install

Then I tried to build it with grunt dev but it complained I didn't have sass and ruby installed. So I did:
npm -g install sass
npm -g install ruby

I tried again with grunt dev and in the console I had the error:
Running "env:dev" (env) task

Running "sass:dev" (sass) task
Could not find an option named "cache".

Usage: sass <input.scss> [output.css]
       sass <input.scss>:<output.css> <input/>:<output/>

=== Input and Output ===================
    --[no-]stdin               Read the stylesheet from stdin.
    --[no-]indented            Use the indented syntax for input from stdin.
-I, --load-path=<PATH>         A path to use when resolving imports.
                               May be passed multiple times.

-s, --style=<NAME>             Output style.
                               [expanded (default), compressed]

    --update                   Only compile out-of-date stylesheets.

=== Source Maps ========================
    --[no-]source-map          Whether to generate source maps.
                               (defaults to on)

    --source-map-urls          How to link from source maps to source files.
                               [relative (default), absolute]

    --[no-]embed-sources       Embed source file contents in source maps.
    --[no-]embed-source-map    Embed source map contents in CSS.

=== Other ==============================
    --watch                    Watch stylesheets and recompile when they change.
    --[no-]poll                Manually check for changes rather than using a native watcher.
                               Only valid with --watch.

    --[no-]stop-on-error       Don't compile more files once an error is encountered.
-i, --interactive              Run an interactive SassScript shell.
-c, --[no-]color               Whether to emit terminal colors.
-q, --[no-]quiet               Don't print warnings.
    --[no-]trace               Print full Dart stack traces for exceptions.
-h, --help                     Print this usage information.
    --version                  Print the version of Dart Sass.
Warning: Exited with error code 64 Use --force to continue.

Aborted due to warnings.

Finally I tried grunt dev --force and it says:
Running "env:dev" (env) task

Running "sass:dev" (sass) task
Could not find an option named "cache".

Usage: sass <input.scss> [output.css]
       sass <input.scss>:<output.css> <input/>:<output/>

=== Input and Output ===================
    --[no-]stdin               Read the stylesheet from stdin.
    --[no-]indented            Use the indented syntax for input from stdin.
-I, --load-path=<PATH>         A path to use when resolving imports.
                               May be passed multiple times.

-s, --style=<NAME>             Output style.
                               [expanded (default), compressed]

    --update                   Only compile out-of-date stylesheets.

=== Source Maps ========================
    --[no-]source-map          Whether to generate source maps.
                               (defaults to on)

    --source-map-urls          How to link from source maps to source files.
                               [relative (default), absolute]

    --[no-]embed-sources       Embed source file contents in source maps.
    --[no-]embed-source-map    Embed source map contents in CSS.

=== Other ==============================
    --watch                    Watch stylesheets and recompile when they change.
    --[no-]poll                Manually check for changes rather than using a native watcher.
                               Only valid with --watch.

    --[no-]stop-on-error       Don't compile more files once an error is encountered.
-i, --interactive              Run an interactive SassScript shell.
-c, --[no-]color               Whether to emit terminal colors.
-q, --[no-]quiet               Don't print warnings.
    --[no-]trace               Print full Dart stack traces for exceptions.
-h, --help                     Print this usage information.
    --version                  Print the version of Dart Sass.
Warning: Exited with error code 64 Used --force, continuing.

Running "preprocess:dev" (preprocess) task

Done, but with warnings.

At last I tried to host it with: grunt connect:server:keepalive and then when I go to http://localhost:9001 it says Cannot GET /prod/0.3.4/20180725/1/ . How can I solve this? Thanks!

I also stumbled over this one. You have to install ruby and the sass gem (e.g. apt-get install ruby && gem install sass). Using
force just skips the sass building and leads to an incomplete build.
(and yes answering this is a bit necrophilic, I know, I know)

@mriedmann I actually even forgot what I was trying to do up then haha


More efficient dynamic pointcloud

We have gotten the pointcloud working by rerender it completely every loop. It works fine. https://github.com/keijiro/Pcx/issues/29
Now the performance is not fast enough. We want to be able to use Initialise() to update a fixed size pointcloud.
Could you give us some suggestions on how we can modify the library? Or what is stopping h us from doing so?
Best Regards,
Chang

The editor functions of PointCloudData are not optimized for runtime use, so it would become a bottleneck if you dynamically use it.
There are some optimization ideas:

EncodeColor should be done in a compute shader. It could be over 10 times faster than the current C# implementation.
There is a hack-ish technique to avoid array copy when initializing a compute buffer: https://github.com/keijiro/Rsvfx/blob/master/Assets/Rsvfx/Runtime/Utility.cs#L18

By the way, how do you use it? I wonder what kind of point cloud you're trying to handle with it.

We are trying to display realsense pointcloud through wireless communication.
The pointcloud renderer in realsense sdk works really fast if we connect realsense directly to PC.
Maybe there are something in the realsense sdk we can borrow?
Chang

On 5 Dec 2019, at 01:14, Keijiro Takahashi<EMAIL_ADDRESS>wrote:

The editor functions of PointCloudData are not optimized for runtime use, so it would become a bottleneck if you dynamically use it.
There are some optimization ideas:
EncodeColor should be done in a compute shader. It could be over 10 times faster than the current C# implementation.
There is a hack-ish technique to avoid array copy when initializing a compute buffer: https://github.com/keijiro/Rsvfx/blob/master/Assets/Rsvfx/Runtime/Utility.cs#L18
By the way, how do you use it? I wonder what kind of point cloud you're trying to handle with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I think there is no merit in using Pcx for that purpose. It might be easier to bake a point cloud into a texture and render it using VFX Graph. In this case, the only problem is that how you transfer the texture via a wireless connection. Wi-Fi is far slower than USB 3.1 Gen 1, so the bandwidth gap would cause a problem.

I'm closing this issue now. Please feel free to reopen it for further problems.

I intend to use pcx just to rendering the pointcloud. We have manage to stream the pointcloud over WiFi and render with the current version pcx. Yes, the bandwidth is one problem, but we already tried to use cable connection and same method to render and It is still very slow. We are tying to optimise through both directions. I saw this https://github.com/IntelRealSense/librealsense/blob/master/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/RsPointCloudRenderer.cs from realsense SDK which renders the points super fast in our test. Maybe there are something we can directly borrow from there?

Okay. So the bandwidth is not a problem. Then the root cause is quite clear: There is a bottleneck in the PointCoudData.Initialize code.

I saw this https://github.com/IntelRealSense/librealsense/blob/master/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/RsPointCloudRenderer.cs from realsense SDK which renders the points super fast in our test. Maybe there are something we can directly borrow from there?

No. It can't get faster unless solving the bottleneck. If you optimize the Initialize function, it will run faster than RsPointCloudRenderer.
My recommendation is migrating to VFX Graph. You don't need to use Pcx in this case. VFX Graph can handle tons of points without hassle.


vs won't run my code in chrome always shows msg " can;t find the adapter "

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Can you please give us some more information or a screeenshot? This extension only works with Edge, not with Chrome.

Nothing to work with here.


DataConverter should be configurable so as to allow conversion of any type of ValueSchema to CQL query

Right now, DataConverter.sinkRecordToQuery(r, configProperties) assumes one-to-one mapping between fields in ValuesSchema of SinkRecord to the columns in the CQL table.
I saw this need when I am trying to use kafka-connect-twitter which uses a particular schema and the Sink table might have a different schema.
@helena Is this a valid use-case?

Hi @aaruna, the PR I'm working on in another branch which I believe resolves this actually.
My code changes create the table schema on start up from Cassandra and parse based on that, not on the fields from Kafka. Great question and insight :) I will add you to my PR so you can check that too.

@helena I discussed this with @aaruna yesterday, we agreed that having an optional map object with the component name as key and corresponding cassandra column name as value would be useful.

@helena I have started working on that (taking the approach @shiti mentioned in the previous comment) as I need it to use kafka-connect-twitter as source.
Is there any branch I can look at to see if your approach solves this problem?

I have raised a PR https://github.com/tuplejump/kafka-connect-cassandra/pull/18 fixing this issue.
It is a WIP. I still need to add few more tests and fix a scalastyle issue.


set strict mode

from the onelogin/php-saml documentation:

In production, the strict parameter MUST be set as "true"

and:

If 'strict' is True, then the PHP Toolkit will reject unsigned or unencrypted messages if it expects them to be signed or encrypted. Also it will reject the messages if the SAML standard is not strictly followed: Destination, NameId, Conditions ... are validated too.

should be fixed by https://github.com/simevo/spid-php2/commit/d00cbc54d651416a885d5287a6b01021ee5fbf61#diff-6d10993b10a46b9c0bdf023f421e6d1aR35

https://github.com/simevo/spid-php2/blob/master/src/Config/OneLoginConfig.php#L46


AttributeError: 'FrozenCLIPImageEmbedder' object has no attribute 'transformer'

I have a problem. How can I solve it?
The error message is as follows:
D:\SDcondition\stable-diffusion>python scripts/image_variations.py
Loading model from models/ldm/stable-diffusion-v1/sd-clip-vit-l14-img-embed_ema_only.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Keeping EMAs of 688.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Traceback (most recent call last):
File "scripts/image_variations.py", line 125, in
fire.Fire(main)
File "C:\Python38\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "C:\Python38\lib\site-packages\fire\core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "C:\Python38\lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "scripts/image_variations.py", line 103, in main
model = load_model_from_config(config, ckpt, device=device)
File "scripts/image_variations.py", line 29, in load_model_from_config
model = instantiate_from_config(config.model)
File "d:\sdcondition\stable-diffusion\ldm\util.py", line 83, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "d:\sdcondition\stable-diffusion\ldm\models\diffusion\ddpm.py", line 523, in init
self.instantiate_cond_stage(cond_stage_config)
File "d:\sdcondition\stable-diffusion\ldm\models\diffusion\ddpm.py", line 581, in instantiate_cond_stage
model = instantiate_from_config(config)
File "d:\sdcondition\stable-diffusion\ldm\util.py", line 83, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "d:\sdcondition\stable-diffusion\ldm\modules\encoders\modules.py", line 209, in init
self.freeze()
File "d:\sdcondition\stable-diffusion\ldm\modules\encoders\modules.py", line 215, in freeze
self.transformer = self.transformer.eval()
File "C:\Python38\lib\site-packages\torch\nn\modules\module.py", line 1207, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'FrozenCLIPImageEmbedder' object has no attribute 'transformer'

same issue, I'm guessing this has something to do with conda environments and naming but not sure (trying to import the wrong transformer lib somehow). is the environment.yaml stale for this repo?

no that wasn't it. this seems relevant though:
# I didn't call this originally, but seems like it was frozen anyway  self.freeze() in modules.py seems to throw this?
if I comment out self.freeze() I get past this error and into an OOM error instead. I'm on 24GB VRAM? should that not be enough?

and the oom:ing was due to n_samples=4 ofc. it runs! so the self.freeze() seems to be the culprit here.

Same issue here, I think it's due to PyTorch version conflict with fire, if someone could fix it, let us know.

I've set up two different docker images (one based on rapidsai-core and the other based on pytorch) and both throw the same AttributeError.

I've commented out lines:  212 and 158 : self.transformer = self.transformer.eval() in ldm/modules/encoders/modules.py and it seems to run at http://<IP_ADDRESS>:7860/.

I've commented out lines: 212 and 158 : self.transformer = self.transformer.eval() in ldm/modules/encoders/modules.py and it seems to run at http://<IP_ADDRESS>:7860/.

Any idea what kind of effect this will have? or what is self.transformer anyway?

I've commented out lines: 212 and 158 : self.transformer = self.transformer.eval() in ldm/modules/encoders/modules.py and it seems to run at http://<IP_ADDRESS>:7860/.

Any idea what kind of effect this will have? or what is self.transformer anyway?

Probably an OOM as @osfa stated above (I read his comment after posting mine.)
In any case I was unable to run this on my Mac because it lacks an NVIDIA hardware, so I opted for an lambdalabs instance and I can confirm that it works. I tested about 10 inputs and GPU mem usage did not go beyond 21983MiB.

I've commented out lines: 212 and 158 : self.transformer = self.transformer.eval() in ldm/modules/encoders/modules.py and it seems to run at http://<IP_ADDRESS>:7860/.

Any idea what kind of effect this will have? or what is self.transformer anyway?

Probably an OOM as @osfa stated above (I read his comment after posting mine.)
In any case I was unable to run this on my Mac because it lacks an NVIDIA hardware, so I opted for an lambdalabs instance and I can confirm that it works. I tested about 10 inputs and GPU mem usage did not go beyond 21983MiB.

oh, that makes sense, thanks for the explanation.

no that wasn't it. this seems relevant though:
#I didn't call this originally, but seems like it was frozen anyway self.freeze() in modules.py seems to throw this?
if I comment out self.freeze() I get past this error and into an OOM error instead. I'm on 24GB VRAM? should that not be enough?

This is fixed now


Added Florida National University

@MyNameIsJeff-305 First stage of verification passed, official domain for Florida National University is stu.fnu.edu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thank you so much!


Allow array/object binding for all (or specific a11y related) attributes

What problem does this feature solve?
The docs state that we have special functionality when v-bind is used with class and style. These are really useful because class and style are often references to other things. That exact use-case applies to a lot of attributes that are involved in semantic and accessible markup.
For instance, the aria-describedby attribute which accepts a list of IDs and must have correct spacing to be compatible with all screenreaders; this list is often dynamic and often controlled externally so we would potentially need to combined local describedby with some coming in externally.
Doing
:aria-describedby="trim(`${describedBy} ${componentId}-affix`)"

works, but if describedBy is a Boolean it would have to be evaluated separately to avoid printing 'false'. Essentially we have to rebuild whatever beautiful easiness the Vue engine already does for class and style in order to make sure our code is semantic.
Attributes that would greatly benefit from this would be most aria relationship attributes as well as non-aria relationship type attributes like the headers attribute on a table cell.
return ['error', 'hint']
        .filter(prop => this[prop])
        .map(prop => `${this.componentId}-${prop}`)
        .join(' ').trim();

I have been doing a lot of weird code to get proper strings based on the values of nested data and realized this exact logic is already hidden somewhere in Vue.js. I think writing accessible code is extremely important and Vue should make it as simple as possible to do so. This (and perhaps a community standard way to set predictible IDs automatically) would make establishing semantic relationships between elements/components (the main accessibility challenge with dynamic js driven interfaces that are so popular these days) much simpler.
Being able to update the docs to call out these important attributes would be a great opportunity to push people toward writing more accessible code as well.
What does the proposed API look like?
:aria-describedby="[describedBy, `${componentId}-affix`]"

Not sure if there are specific issues with just allowing any attribute to behave this way, but that would be my preferred solution. If that is too difficult or causes particular performance concerns then adding that behaviour to specific attributes (those called out above, but I would have to review all valid html attributes to see which would make sense) would be a good alternative solution.

What would :aria-describedby="[describedBy, ${componentId}-affix]" yield?
allowing every attribute to behave as class and style would indeed be more expensive

@Justineo definitely worth considering.. I was a little bit frustrated / confused about inheritAttrs not applying to class and style. The difference between props and attributes is a little bit fuzzy to me as well
@posva in my situation it would yield something like :aria-describedby="field-7-error field-7-hint field-7-affix" where describedBy is a passed in String prop. But ideally describedBy would be an array, so you might instead write :aria-describedby="[...describedBy, ${componentId}-affix]" or similar. I really think the best way of describing the ideal API is "like class and style work"
I wonder about calling out or providing utility functions or something, but that doesn't really seem to fall within the "Vuey" realm of things

Or expose stringifyClass somehow.

@KaelWD I was going to ask where the code for that is! I am considering writing a filter to do this since I understand it's not hugely likely this request would get priority or buy-in.
Another approach might be to, on a component level, allow the option to set stringifyAttrs: ['aria-describedby','headers','aria-labelledby'] or something like that to avoid unnecessary overhead

What about directive?  Should be simple enough to write and syntax could be very similar to what you've suggested, for example
:aria-describedby="[...describedBy,${componentId}-affix]"
vs
v-aria.describedby="[describedBy, componentId+'-affix']" (or similar so it could handle non-aria attrs as well, but this will probably make it longer)


Bug when using decimal points for slidesToShow(e.g. slidesToShow: 4.4)

When using decimal points for slick slider(e.g. slidesToShow: 4.4), and one goes to the last slide in
non-infinite mode, and one changes from landscape to
portrait, or vice versa, slick slider disappears(does not
initiate properly).

No JSFiddle - closing

I have created a (jsfiddle)[https://jsfiddle.net/o8ga52nn/4/]. Feel free to re-open issue.

I can't debug minified files... can you please make sure you're using the latest unminified version from Master Branch :)

My apologies, I do hope this suffices: https://jsfiddle.net/o8ga52nn/8/


Fix the drag problem on Firefox

PR with a fix for the drag not working in Firefox.

I think that this issue is already addressed by https://github.com/ggoodman/angular-drag-drop/blob/master/src/angular-drag-drop.js#L122-L127. Can you please confirm?
Setting the dragData to a non-empty string results in unexpected behaviour with other tools listening on dragover and drop.

Hello,
no, it does not work in Firefox, at least it does not work when I use it in my app. In Chrome is fine.
I think the code you added to fix that
if (e.dataTransfer) {
if ((!e.dataTransfer.items || !e.dataTransfer.items.length)
&& (!e.dataTransfer.files || !e.dataTransfer.files.length)) {
e.dataTransfer.setData('text', '');
}
}
does not do anything because e.dataTransfer is always undefined.
To make it work it needs to use e.originalEvent.dataTransfer.
if (e.originalEvent.dataTransfer) {
if ((!e.originalEvent.dataTransfer.items || !e.originalEvent.dataTransfer.items.length)
&& (!e.originalEvent.dataTransfer.files || !e.originalEvent.dataTransfer.files.length)) {
e.originalEvent.dataTransfer.setData('text', '');
}
}
I can update my PR, removing the line of code I introduced and fixing the block of code above.

Updated PR, please take another look.

LGTM. Thanks for your work @paucls.


Blank Log Notifications

Description

All in game log notifications are showing up as blank lines, and when a permission edit is made the line will start with either a plus or a minus depending on if a permission was added or removed but the rest of the line is completely blank. The notifcations do however show up in the console normally
Reproduction steps

Use /lp applyedits or any /lp command that edits permissions or groups or have anyone else use a command that you should be notified about

Expected behaviour

A chat notification of exactly what was changed after a command.
Environment details

Server type/version: Paper-414 for MC 1.16.4
LuckPerms version: 5.2.76

What client are you using?

What client are you using?

What client are you using?

 Thanks for the help!

What client are you using?

 Thanks for the help!


Let environment variable values be injected from Secrets

Is your proposal related to a problem?
The issue is that the KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG environment variable needs to be populated in plaintext.
Describe the solution you'd like
I would like to see the Helm chart support referencing values for the environment variables from a Kubernetes Secret.
For example:
 values:
      - envs:
         config:
             KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG:
                 valueFrom:
                     secretKeyRef:
                         name: "kafka-ui-user"
                         key: "sasl.jaas.config"

However, my helmfile diff complains since the parameter KAFKA_CLUSTERS_X_... only supports values of type string, implying that these type of injections are not supported by the Chart yet.
Describe alternatives you've considered
In this case, my kafka-ui-user Kubernetes Secret is created with a CRD of kind KafkaUser. I do not want to change how I create a KafkaUser (ie maintaining Kafka configuration as CRDs) since the current setup works well from a CI/CD perspective, and since the KafkaUser allows me to manage ACLs to Kafka resources.
Still, this KafkaUser and its associated Secret autogenerates the .sasl.jaas.config, including the password (referenced from the Secret with kafka-ui-user.password) for me. I would like to be able to inject the values associated with those two keys to the kafka-ui Chart's environment variables as a consequence.
I have tried with the following:
values:
  - existingSecret: "kafka-ui-user"`

But this simply gives me two environment variables:

password
sasl.jaas.config

with the values of the environment variables coming from the data parameter of the Secret. There is therefore no way to inject these into the KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG AFAIK, which is what is required for the kube-ui Pod to authenticate to my Kafka environment.

Hi @mattia-crypto thank you for opening the issue.
Have you tried referring these env variables like:
KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: "org.apache.kafka.common.security.plain.PlainLoginModule required username="admin" password="$PASSWORD";" ?
Where $PASSWORD is the name of env var provided by the existing secret.

Have not tried this yet, no! Good advice which by the looks of it should work. I will test it out :-)

I do also have SSL enabled, however, and still waiting on replies wrt. documentation of how to mount secrets containing the SSL certificates. You got some advice on that front @5hin0bi ?
Thank you.

That solved this particular problem. However, in my case I do use SASL_SSL, and since I do need to inject more than one secret, the existingSecret parameter cannot be used. Is there an alternative option, or is there a trick to injecting multiple existingSecret parameters?
Thanks.

Hi @mattia-crypto glad it helped at least with the simple case.
If you wish to store certificates as files in the container, I believe the best option will be to use volumeMounts: https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-files-from-a-pod
It's not yet supported by the existing state of the helm chart we maintain but I see it's a required thing to have. We will implement the support for mounting secrets in future. The work will be done within this issue.
Meanwhile, you can make required changes basing on the link I've provided to store certificates as files in the container and reference them in the kafka-ui config.
Setting multiple existing secrets is not supported either, but you can include cert to the same kafka-ui-user secret and reference it as env variable. So that you will need to specify only one existing secret.

OK @mattia-crypto , we will consider these when implementing the feature.

@mattia-crypto, @5hin0bi ,
I just follow the above answer but no luck
22-05-20 11:21:24,265 WARN  [kafka-admin-client-thread | adminclient-3] o.a.k.c.a.i.AdminMetadataManager: [AdminClient clientId=adminclient-3] Metadata update failed due to authentication error
org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-512

Can you guys help me check? What is wrong
  replicaCount: 1
  fullnameOverride: "kafka-ui"

  existingConfigMap: ""
  existingSecret: ""
  envs:
    secret:
      PASSWORD: cGFzc3dvcmQ=
    config:
      KAFKA_CLUSTERS_0_NAME: test-msk
      KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: b-1.my-msk.xxxxxx.c5.kafka.ap-southeast-1.amazonaws.com:9096
      KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL: SASL_SSL
      KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM: SCRAM-SHA-512
      KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="mskadm" password="$(PASSWORD)";'

But when I specify my password in envs.config it works perfectly

@mattia-crypto, @5hin0bi ,
I just follow the above answer but no luck
22-05-20 11:21:24,265 WARN  [kafka-admin-client-thread | adminclient-3] o.a.k.c.a.i.AdminMetadataManager: [AdminClient clientId=adminclient-3] Metadata update failed due to authentication error
org.apache.kafka.common.errors.SaslAuthenticationException: Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-512

Can you guys help me check? What is wrong
  replicaCount: 1
  fullnameOverride: "kafka-ui"

  existingConfigMap: ""
  existingSecret: ""
  envs:
    secret:
      PASSWORD: cGFzc3dvcmQ=
    config:
      KAFKA_CLUSTERS_0_NAME: test-msk
      KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: b-1.my-msk.xxxxxx.c5.kafka.ap-southeast-1.amazonaws.com:9096
      KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL: SASL_SSL
      KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM: SCRAM-SHA-512
      KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="mskadm" password="$(PASSWORD)";'

But when I specify my password in envs.config it works perfectly

@lllsJllsJ do you have any special characters in a password by any chance? if yes, please comment on #2116

was there ever a solution to this?

@SuitableProduce please follow #3142

Thank you!

I know that this issue is closed, but I am having an issue being able to reference environment variables in environment yamlApplicationConfig or envs config.
The configuration provided below does not work.  It throws a Java stack trace with Caused by: java.lang.IllegalArgumentException: Login module control flag not specified in JAAS config seeming to be the root cause.
Where the user-auth-jaas secret contains the JAAS config.  If I replace $JAAS with the contents of the secret it works fine.  Additionally if I shell into the pod echo $JAAS provides the expected value.
existingSecret: "user-auth-jaas"
envs:
  secret: {}
  config:
    KAFKA_CLUSTERS_0_NAME: CBC2
    KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka.confluent.svc.cluster.local:9071
    KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL: SASL_PLAINTEXT
    KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM: PLAIN
    KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: "$JAAS"

@blacklobo Hey. Were you able to solve it? Have the same problem, passing the variable from the env variable seems not working.

@mattia-crypto Hey. Do you remember how you did that? Probably you still have it in your configuration.

Had the same problem but was able to work around it as follows:
Base64 encode your sasl_jaas_config or what ever config-value you want to set:
echo  'org.apache.kafka.common.security.scram.ScramLoginModule required username="<user>" password="<password>' | base64

Create a Kubernetes-Secret:
apiVersion: v1
data:
 KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: >-
    <base64-string>
kind: Secret
metadata:
  name: kafka-ui-sasl-config
  namespace: <namespace>

In your values.yaml reference the secret:
existingSecret: "kafka-ui-sasl-config"

All values set in the Secret get set as env-vars in the container.


Black Page

After setting up locally and trying your test php code for CRUD operations, it is just showing blank page.  Tried all combinations of paths, but didn't work.
At least the developer should have logged or printed the issues/errors in a file so that users can read and fix anything.  Instead, everything looks clueless!  Appreciate if you can fix and update this.
Also, share little extra details about trying the example w.r.t. path/directory where we are trying the test php script.

See #15


Add resolve and reject static methods

add resolve and reject static methods like Promise has

Can you document it in the readme? And also add a type test: https://github.com/sindresorhus/p-lazy/blob/master/index.test-d.ts

Updated w/ docs and type tests

Updated w/ docs and type tests


Run dotnet format on generated output

Rather than spend a bunch of time making sure the code generator outputs properly indented and formatted code, just run dotnet format on the output at the end.
Also update the readme with instructions on installing the dotnet-format tool.

Implemented in https://github.com/JeroMiya/xamarin.flutter/pull/11


Form event expected bahavior

Related to #1822 and PR #1833
If to change fields iter like this, dioxus does not aggregate several input values into vec (i mean input.0=[Text("txt0"),Text("s0")]):
    let fields = (0..10).into_iter().map(|id| rsx!(
        div{
            input{
                r#type: "input",
                checked: false,
                name: "input.{id}",
                value: "txt{id}"
            }
            select{
                name:"input.{id}",
                for opt_value in 0..2 {
                    option{selected:false,"s{opt_value}"}
                }
            }
        }
    ));

I think it is expected bahavior.
Dep from github:
[INFO] submit_issue - Submitted {"input.2": Text("txt2"), "input.3": Text("txt3"), "input.1": Text("txt1"), "input.8": Text("txt8"), "input.4": Text("txt4"), "input.9": Text("txt9"), "input.0": Text("txt0"), "input.7": Text("txt7"), "input.5": Text("txt5"), "input.6": Text("txt6")}

Dep 0.4.3:
[INFO] submit_issue - Submitted {"input.2": ["txt2", "s0"], "input.3": ["txt3", "s0"], "input.1": ["txt1", "s0"], "input.8": ["txt8", "s0"], "input.4": ["txt4", "s0"], "input.9": ["txt9", "s0"], "input.0": ["txt0", "s0"], "input.7": ["txt7", "s0"], "input.5": ["txt5", "s0"], "input.6": ["txt6", "s0"]}

Closed by https://github.com/DioxusLabs/dioxus/pull/1836

Common guys, forms behavior are changed again?


kills chrome browser

I did some careful experimentation. Looks like the server side process will kill chrome if I start the process. Here is the script I am using:
#!/usr/bin/env bash

cd $(dirname "$0") &&

(kill -9 $(lsof -i:3050 -t) 2> /dev/null) || echo "server was not running" &&
#(kill -9 $(lsof -i:35729 -t) 2> /dev/null) || echo "live-reload was not running" &&

PUBLIC_DIR=$(cd $(dirname "$0") && pwd)/public

if [[ "${NODE_ENV}" == "development" ]]; then
     ./node_modules/.bin/livereload ${PUBLIC_DIR} &> logs/live-reload.log &  # run live reload in background
     ./node_modules/.bin/roodles $@ . # roodles is like nodemon, same thing
else
    echo " We aren't in development anymore Dorothy..."
    # etc etc
fi

at first I thought I was killing chrome with the following command
(kill -9 $(lsof -i:35729 -t) 2> /dev/null) || echo "live-reload was not running" &&

but I commented that line out as you can see, and it looks like chrome still gets killed by this module.
Can you please help me figure out if there is a way to prevent this module from killing my entire chrome browser and all the tabs? Otherwise it seems to be working fine.
thanks!

Even more detective work - it only kills chrome if I have my app open - if I close the tab running my web app, then it no longer kills chrome. I hope this is enough info to help you help me! thx

This is a server-side app. There's no reason I can think of that would cause it to crash your browser. Still, this is pretty interesting.  I need to know a lot more about what's going on.
What version of LiveReload are you using?
Are you using the Chrome extension? Or are you using the JS served from LiveReload? If using the Chrome extension, try not using it and include the JS snippet from the server instead.
What OS?
What Chrome version?
Have you disabled all other extensions?
Does it crash with only your tab open?
Can you check Chrome's logs to find out why it crashed?
Can you reproduce this in a clean environment, like another machine or a VM?
Finally, one thing that could cause things to crash would be something in your workflow that's triggering too many reloads, like some kind of recursive reload.

Closing due to inactivity.


nixos/mailman: restart mailman service on failure

Description of changes
The mailman service does not have any restart behaviour configured, which means that if it terminates due to an error then no attempt at recovery is made. In particular, if the system is under load then mailman can be prone to timing out when starting up or responding to signals from systemd, but systemd will not attempt to restart mailman to recover from this error. This change sets Restart=on-failure in the mailman service unit to improve the reliability of the service in these situations.
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)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
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.

The mailman service has Type=forking, so systemd detects readiness based on the parent process exiting after forking a child. From systemd.service(5):

If set to forking, it is expected that the process configured with ExecStart= will call fork() as part of its start-up. The parent process is expected to exit when start-up is complete and all communication channels are set up. The child continues to run as the main service process, and the service manager will consider the unit started when the parent process exits.

I'm encountering situations where mailman starts up slowly and the parent process does not exit before systemd reaches its startup timeout, so the entire cgroup gets killed, and the service is marked as timed out on startup. Attempting to restart the service would be useful for recovering more gracefully from this situation.

Could you bump the timeout to something beyond what you'd expect to see in this situation as well, then?  Having it not time out in the first place would be better (faster) than having it time out and restart.

Having it not time out in the first place would indeed be better, however mailman only intermittently overruns the startup timeout in my setup, which makes it difficult to estimate a more appropriate timeout. My interest in setting the restart option is as a fallback "just in case" solution, to increase the chances that the service will eventually be started on best-effort basis.

Having it not time out in the first place would indeed be better, however mailman only intermittently overruns the startup timeout in my setup, which makes it difficult to estimate a more appropriate timeout.

Sounds like something a bit bigger than the current one would be a good start, no?

Sounds like something a bit bigger than the current one would be a good start, no? Some multiple of it?

Increasing the timeout would probably avoid this specific issue on the specific host where it occurs, however $employer runs a few different mailman hosts, and they all have differences in configuration as circumstances require -- I presume the timeout allowances vary between different hosts, given that this particular problem only shows up on some hosts and not others.
Aside from that specific issue, services failing and not recovering isn't great from an automation standpoint. It would be nice if the mailman service were able to recover from other transient errors on its own without requiring manual intervention (which might not be readily available if something happens e.g. in the middle of the night), and it would also make the service a bit more resilient against other problems on the same system which affect mailman (e.g. recovering from an OOM situation caused by another process).
(For what it's worth, the systemd.service(5) manual page says this about the Restart= option:

Setting this to on-failure is the recommended choice for long-running services, in order to increase reliability by attempting automatic recovery from errors. For services that shall be able to terminate on their own choice (and avoid immediate restarting), on-abnormal is an alternative choice.

)

I'm not arguing against restarting on failure!  I'd just also like the timeout increased, since we've noticed that sometimes it's not enough, and it makes sense to do it at the same time as making the service restartable, because after that it'll be a lot less noticeable if the service times out.

I'm not arguing against restarting on failure! I'd just also like the timeout increased, since we've noticed that sometimes it's not enough, and it makes sense to do it at the same time as making the service restartable, because after that it'll be a lot less noticeable if the service times out

Ah, I misunderstood what you were meaning there. Sure, I can fix that.

Should we restart the other services (e.g. mailman-uwsgi) on failure as well?

Ah, that's a good point. I hadn't considered that, but I could add the configuration for mailman-web and hyperkitty as well.

Does it not work in review comments?
@OfBorg test mailman

Ugh, mailman is broken on master for other reasons…

Fix is https://github.com/NixOS/nixpkgs/pull/265870.


[WIP] Encryption Config

Observer for a single secret with the complete config
Wiring of secret to revision control and syncing from managed namespace
Empty shell of encryption controller - I deleted the logic I was considering

Signed-off-by: Monis Khan<EMAIL_ADDRESS>

/retest
/refresh

/retest

/retest

/retest

@mfojtik @sttts @p0lyn0mial you probably care about this sooner rather than later.
/close


Dont overwrite currentSize of mdTablePagination

No matter what value you define as md-size option on md-table-pagination, it is overridden by the first value in the md-page-options.
It was not possible to define pagination options with [10, 25, 50, 100] and define the default start size as 25.

@Morgul @pschmidt88 i tested it and doesnt work :/

I'll take a look on that when I've have some time.

@Samuell1 the last commit should fix this.

@pschmidt88 doesnt work

How do you test it? I have it working in one of mine applications.

I think the problem is when you are passing the value directly as a string instead of binding it.
The latest commit should fix that, too.

Yeah that is working


⚠ ClamAV has degraded performance

In 7aebfd0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 88 ms

Resolved: ClamAV performance has improved in 84a5d93.


Function page template

Wowpedia.lua and Functions.lua

It's still a WIP so I'm not even sure how I want it to work but thank you!


Remove hyper-h2 patches

These patches have been upstreamed in python-hyper/h2@fa8a6346 and python-hyper/h2@96aaef14 and have been released as part of h2 version 3.1.1.

(and no one is complaining about h2 v4.x support, which is another signal that purerpc has few users)

I'm not sure why CI isn't running-- I expect it to run on PR's, even for authors outside of python-trio org.

Oh, this repo is on travis-ci.org, so it has to migrate to .com, or port to github actions.

Oh, this repo is on travis-ci.org, so it has to migrate to .com, or port to github actions.

actually, I had already ported to Actions 🤔
https://github.com/python-trio/purerpc/commit/62196dc659008d2c17bfa6d6f46022eeae796100

I really don't know why CI isn't running:

using loosest workflow permissions
there was no "approve and run" button, so github wasn't waiting for workflow approval
.yml config has no branch restrictions

workflow permissions setting:

workflow approval instructions:

https://github.com/python-trio/purerpc/blob/9e96b7d6d5436d4b196c1cece208f907fee9c3a9/.github/workflows/ci.yml#L3
maybe should be on: [ pull_request ]


Hugging Face demo runtime error

I get the below error when opening your demo link.
Runtime error
Initializing Chat
Traceback (most recent call last):
  File "/home/user/app/app.py", line 67, in <module>
    model = model_cls.from_config(model_config).to('cuda:{}'.format(args.gpu_id))
  File "/home/user/app/video_llama/models/video_llama.py", line 395, in from_config
    model = cls(
  File "/home/user/app/video_llama/models/video_llama.py", line 73, in __init__
    self.tokenizer = self.init_tokenizer()
  File "/home/user/app/video_llama/models/blip2.py", line 32, in init_tokenizer
    tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
  File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1795, in from_pretrained
    raise EnvironmentError(
OSError: Can't load tokenizer for 'bert-base-uncased'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'bert-base-uncased' is the correct path to a directory containing all relevant files for a BertTokenizer tokenizer.

Thanks for your kind reminder. It's probably because of the network issue. Now the demo already returned to normal.

I still meet this error.  Can you help me check the network?

Thanks for your kind reminder. It's probably because of the network issue. Now the demo already returned to normal.


Update /// comments for WaterfallStepContext and DialogContext

with minor incidental updates to DialogTurnStatus.

Pull Request Test Coverage Report for Build 71551

0 of 0   changed or added relevant lines in 0 files are covered.
32 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 77.061%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder.Dialogs/WaterfallStepContext.cs
3
86.96%

/libraries/Microsoft.Bot.Builder.Dialogs/DialogContext.cs
29
74.11%

Totals

Change from base Build 71324:
0.0%

Covered Lines:
4955

Relevant Lines:
6430

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1


Deferring below the fold content

Content that is below the user's viewpoint currently blocks rendering in DoneJS. This is because we wait for the page to be "ready" before rendering.
It makes sense that content below the fold could have deferred execution.
Here's a couple of approaches that I've thought of:
<when-idle>
  <can-import from="some/content">
    <this-widget/>
  </can-import>
</when-idle>

This would allow the user to put these tags wherever they want and gets execute in a requestIdleCallback.
Advantage here is that the content is rendered soon after initial render.
<scroll-position trigger="200px">
  <can-import from="some/content">
    <this-widget/>
  </can-import>
</scroll-position>

In this approach the content is rendered when it is 200px from being scrolled into view.  This might be useful if you want to delay fetching until needed.  200px value is made up, not sure what a good value might be here.

How would this work with SSR? Some global default height?
Sent from my iPhone

On Nov 17, 2016, at 5:31 PM, Matthew Phillips<EMAIL_ADDRESS>wrote:
Content that is below the user's viewpoint currently blocks rendering in DoneJS. This is because we wait for the page to be "ready" before rendering.
It makes sense that content below the fold could have deferred execution.
Here's a couple of approaches that I've thought of:

This would allow the user to put these tags wherever they want and gets execute in a requestIdleCallback.
Advantage here is that the content is rendered soon after initial render.

In this approach the content is rendered when it is 200px from being scrolled into view. This might be useful if you want to delay fetching until needed. 200px value is made up, not sure what a good value might be here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm not sure, maybe it wouldn't render at all on the server.
This idea could be more generic, actually.  The idea is basically deferred importing. Currently can-import starts importing right away.  What if it took an option to delay?
<can-import from="my/widget" {start}="someProp">
  <my-widget/>
</can-import>

Here start (can debate the name later) is a boolean that controls when importing starts. It would be true by default and the user could delay importing by making it falsey until they think it is ready.
This would give the greatest flexibility to defer content.  From there you could write something like <scroll-position> that uses this property and only makes it true based on some scroll position.  Or any other number of ways do cause the delay.

@matthewp your first suggestion fits best and as ssr is also not realy usefull for production and when only for something like ember fast boot.
It will be the best to simply let ssr don't render this as they are defered so its not even logical to render them on first response and server will not make a secund response to a single request :) :+1:

I'd prefer the flexibility of letting the user make that judgment call based on their application's purpose. If I'm writing a news site I want the article to be SSRed 100% of the time. If I'm writing a chat application I don't need the chat messages to be SSRed (maybe, but our example chat app does ssr 😁).
So we could have a component like:
<no-ssr>
  <chat-messages />
</no-ssr>

@matthewp your app also does something other realy bad it adds rendered script tags and values directly to html wich opens a lot of hacker issues.

@matthewp and i don't agree with your developer should choose syntax no ssr because it makes no sense when i set something to load if the page is idle i already choosed to not render that directly on response as also when i enter viewport so lets say 200px i already choosed to not load on inital response i want to get the view position of the browser its all clear already i think.

I don't understand any of this comment. I would put each point you plan on making in a separate sentence, maybe even separate paragraph so it's easier to understand each point.

As the content is escaped, there should be no security issue. Inlining css or js is super common. It's on us to make sure the escaping is tight. But it's a very solvable issue. Every sql library and template engine does the same thing.

@justinbmeyer thats right but it leads to the problem that not all developers know that they need to escape and parse that right and make sure that there are no variables that can be accessed or set via that in the wrong way. I think you know a lot about that and you know how fast there is a hole as we are all humans and there can be also problems with diffrent syntax even i am who is called security expert don't know all things that would happen as soon as i start bugging around in such things.

Frank, developers DONT need to know about it because the framework handles it for them. They can't create a security exploit if the framework escapes correctly so they can be ignorant of it.
Sent from my iPhone

On Dec 21, 2016, at 5:24 AM, Frank Lemanschik<EMAIL_ADDRESS>wrote:
@justinbmeyer thats right but it leads to the problem that not all developers know that they need to escape and parse that right and make sure that there are no variables that can be accessed or set via that in the wrong way. I think you know a lot about that and you know how fast there is a hole as we are all humans and there can be also problems with diffrent syntax even i am who is called security expert don't know all things that would happen as soon as i start bugging around in such things.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

if you think so :+1:  what about the rest @justinbmeyer any input about the syntax and no-ssr option?


Things for 0.6

Add documentation regarding max_depth / select_related
Add some documentation for cascading saves (#370)

we are already close to releasing version 0.6?

Yes!  Nothing major left todo!
2011/12/7 Wilson Jnior <
<EMAIL_ADDRESS>

we are already close to releasing version 0.6?

Reply to this email directly or view it on GitHub:
https://github.com/hmarr/mongoengine/issues/368#issuecomment-3046039

Is #398 holding up 0.6's release?

So close now


Simplified view

Has the simplified view feature for the pre-requisite tree been implemented yet?
I toggled it and nothing changed.

There are some minor UI bugs with text rendering. Ex: "Choose one of ... "

Do you have anything in your courses?  The simplified view takes your current courses and figures out which branches aren't needed.

Yeah, alright! It works well for me now. Thank you :D 👍

You might want to add a tool tip or hint for that, I was confused as to what it did too


Critical and high vulnerability in latest version

To reproduce:

Install npm install serverless-seed@latest
Run npm audit

We'll take a look!

any news on this?

any updates? it is half a year now with critical vulnerability that shouldn't be that hard to change

Sorry this slipped through the cracks. SF is just not being maintained as much for us. Happy to take a PR for this.

:+1: I'll have a look at creating PR


Add dependency versions for workflows to a properties file

Why
Adding dependency versions to a properties file is good for clarity, and better understanding
This issue consists of three parts
Part 1 : Set-up the properties file

Add version.properties to the root folder (if it doesn't already exist)
Add a property to indicate the Kotlin version used to run new_project.kts -> 1.6.21 (B)
Add a property to indicate the Kscript version used to run new_project.kts -> 4.0.3 (C)

Part 2 : Use the properties file

When running verify_newproject_script.yml, it must make use of (B) for the Kotlin version
When running verify_newproject_script.yml, it must make use of (C) for the Kscript version
When running draft-new-release.yml, it must make use of (B) for the Kotlin version
When running draft-new-release.yml, it must make use of (C) for the Kscript version

Part 3 : Update documentation
Update README.md to specify that (B) and (C) are required in order to run the script successfully
Reference: https://nimble-co.slack.com/archives/G41UCTGHL/p1655106569283399
Who Benefits?
I think this is essential for us developers because it will bring a good experience for us (and others)

All good 👍


add some space in the “sayHello” console.log

Add some padding and some ✰ stars ✰

+@GoodBoyDigital I like the stars, but I think the padding makes it look fat; thoughts?

I was the one who told him to tweak it :) think the padding is ace! lets it breath a bit :)

Ha! Sounds cool


fix root reference method call parsing

Surprisingly, not a regexp literal bug; just a typo.

Fixes #1710


Shortcut for formatting a text as code

Why is there no keyboard shortcut, when using wiki pages for formatting a text as code?

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

ID: 6c2fe0af-744d-e535-b300-8d1060945db6
Version Independent ID: 10892c8d-ff0b-3072-46bd-cad31923c240
Content: Keyboard shortcuts for web portal and Team Explorer - Azure DevOps
Content Source: docs/project/navigation/keyboard-shortcuts.md
Service: azure-devops
Sub-service: azure-devops-projects
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@Rookian -- Alex, thank you for your question.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@KathrynEE -- Kathryn, please look into this issue.  I'm not sure whether this is product-related or documentation-related.

@Rookian , @WilliamAntonRohm - This is a product issue. Please request this feature via our Developer Community page.


Related to this, I also get C++ guessed if I open a new untitled file and type:

Related to #143901, I also get C++ guessed if I open a new untitled file and type:
<

yes just one character. I was attempting to type <html which does guess correctly, but I feel like those first few characters that guess C++ is a little much.
For my issue, maybe we wait for like 5 characters at least?
Originally posted by @TylerLeonhardt in https://github.com/microsoft/vscode/issues/143901#issuecomment-1050259225

Going to take this in as candidate because a hot fix is easy enough and it gives rise to annoyances like #143901.


CSHARP-2221: Update JSON driven transaction tests.

This PR is for changes related to the latest version of the JSON driven transaction tests.
Since the tests changed there has been some refactoring of the test runner classes. I've annotated the most significant changes in the .cs files themselves.
The major changes in the .json files are:

new "object" field
new "collectionOptions" field
new "command_name" field

Rebased and pushed to master.


Replace APIs with references to vso-node-api npm package

Deleted the Build, Task, TaskAgent, Timeline, and FileContainer APIs, all the base classes and handlers and most of the interfaces file from src/agent/api. Replaced with references to vso-node-api.
Depends on Microsoft/vso-node-api#7

Hi @teddyward, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;


Add support for Alternative CCM

Add MBEDTLS_CCM_ALT to config.h, and support alternative implementation
for CCM, with fallback to default implementation, in case alternative
doesn't support specific cipher mode or key length

What's a concrete use case in which it's useful to have a software fallback for CCM? I can see the usefulness in some other cases, e.g. an AES or RSA accelerator that only supports certain key sizes. Is the point to use hardware CCM if the underlying block cipher is supported in hardware and software CCM+block cipher otherwise?

Hi @gilles-peskine-arm Thanks for your comments.
The rationale behind supporting fallbacks is:

The hardware does not support the specific key size (e.g. 256 )
The specific cipher is not supported by the hardware (although I am not familiar of cipher mode other than AES in CCM used in real practice)

Also, keep in mind that this is not the final change, as I am waiting for the final conclusion on how we will support the fallback mechanism in the alternative implementation.
I will push my changes soon

Hi @gilles-peskine-arm I have pushed the latest changes, with the support for fallback to default implementation. I think this is much cleaner than previous implementation, and now it is up to the implementer to decide whether to callback the default implementation or not

@RonEld Thanks for updating! I find this version much cleaner than the one using the union before.
Regarding the new file ccm_internal.h, I'm wondering whether it should be merged with ccm.h because as far as I understand we use xxx_internal.h headers to declare functions the user is not supposed to call directly. Here, however, we explicitly want to allow the user to use the default functions when he needs fallback.
A bookkeeping benefit of this would be that we don't need to duplicate and synchronize the documentation.

Hi @hanno-arm , thanks for your comments. I think it should be a different header file. perhaps it should be called ccm_default.h
We have a precedent with ecp_internal.h which is a file for alternative ecp implementation,
however, as mentioned in #972 , xxx_internal is excluded from doxygen, and not documented.

@hanno-arm thanks for your comments. I renamed the header file to ccm_default.h and added the note per your comment

@hanno-arm Thanks for your comment. I agree with it, and I modified according to your suggestion.

@RonEld Thanks Ron! This will at least decrease the likelihood of misuse until we find the time to properly separate remappable error code from fatal ones.

@hanno-arm I fixed the code according to your comments
Please approve

@hanno-arm Thanks for noticing my typo
Please approve

@gilles-peskine-arm Are you fine with the latest changes since your approval, too?

@gilles-peskine-arm Thank you for your comments. I have updated accordingly.

@gilles-peskine-arm I have added your comment

HI @andresag01 I defined inline as you suggested
Thanks!

@andresag01 copyright year was updated

@RonEld: Thanks for considering my comments.


Remove nasty  tags

Whenever I'm feeling <button> I stop being <button> and I start being <a>wesome
:beers:
:balloon:
:yellow_heart:

@dasilvacontin this is actually the deployed branch atm, test it out at [hackupc.com] :+1:

I was hoping that this would fix the problem, but it doesn't. :/

I'll try with some other person's computer today, because if this is not related to my machine then it's a quite ugly rendering bug/whatever.

I tried with several other computers and it still looks wrong. Any other browser/OS combination where it actually looks good? Otherwise we should revert the padding changes.
Regarding this PR's changes, LGTM, let's get rid of the buttons.

Looks good on both Chrome and Android (made sure not to be running the old cached version).

@mvdan OS? Can you share a screenshot too, to be sure?

Linux.

Well, you can argue that it's slightly lower than expected, but I didn't even notice without enlarging the buttons.

@mvdan I'm not complaining about that, I still experience the same I described in #4.

Since this isn't worsening things and we can agree on removing the buttons, merging.


refactor(types/ref): update MaybeRef to include all ref-like types

Ref the discussion in #11360

/ecosystem-ci run

Note: https://github.com/vueuse/vueuse/pull/4099#discussion_r1703475274
/cc @antfu


TreeExplainer inconsistent parameter naming: 'log_loss' vs 'logloss'

Hello,
this is just a small issue: In the doc-string of the TreeExplainer class the parameter values for "model_output" are given as  "margin", "probability", or "log_loss", but in the code "logloss" is used. Using the naming as proposed in the doc-string will give you e.g. an UnboundLocalError in the get_transform function of the TreeExplainer class, because checks like
elif model_output == "logloss"  will be False

Thanks! Fixed now, and we also not have better errors for when the model_output is not recognized.


Quality tests can not be created if the column names have spaces or special characters

Affected module
UI issue: Profiler and Quality test tab
Describe the bug
issue 1: Quality test cannot be created for the column names with spaces
issue 2 : For columns with special characters in name, upon clicking the add test button the web page for adding test does not load.
payload for issue 1:
{name: "gross bookings_columnValueMaxToBeBetween", description: "",…}
description
:
""
entityLink
:
"<#E::table::rs-dwh.dev.public.vw_wbr_metrics_by_city_lw_wow::columns::gross bookings>"
name
:
"gross bookings_columnValueMaxToBeBetween"
owner
:
{id: "9ff2f38c-fa2e-4384-8f4b-92012fad6881", type: "user"}
parameterValues
:
[{name: "minValueForMaxInCol", value: 0}, {name: "maxValueForMaxInCol", value: 100}]
testDefinition
:
{id: "7d954464-ae39-4636-98e5-98c36b7822f5", type: "testDefinition"}
testSuite
:
{id: "b3679cae-5650-4db7-99cd-e531275e49c8", type: "testSuite"}
issue 2

Fixed with https://github.com/open-metadata/OpenMetadata/pull/7658

Reopening as backend changes are pending.

@ShaileshParmar11 just opened a PR https://github.com/open-metadata/OpenMetadata/pull/7670. I am thinking we should encode the column name in the entityLink when sending a request to create the testCase.We would be expecting spaces to be encoded with the + sign i.e. first name -> first+name.
BTW, unsure if it is expected but #7659 does not seem to fix the spacing issue -- see screen recording below.
https://user-images.githubusercontent.com/13626425/191826898-8d61126e-daee-466a-9fa1-3a42a5d1b81a.mov

Hello @TeddyCr , We were having 2 issues here, so for spacing we needed backend changes 1st, and in 2nd issue, it is related to redirection, which is fixed in #7658

Reopening as frontend task is left


Sanity check additional_metadata values

Check if all keys and values are non-null and String, otherwise it can cause unexpected behaviour like https://github.com/teragrep/rlo_14/issues/3

Fixed with #117


Failed to parse message text

POST /github/callback x.x.x.x
received 6327 bytes from x.x.x.x
got push event on REPO-NAME:refs/heads/master from x.x.x.x
Sending to Telegram: 528e6151: contributor-name, (contributor-email) pushed 1 commit to refs/heads/master: "Create emacs_quicksetup.md"
Unhandled rejection Error: 400 {"ok":false,"error_code":400,"description":"Bad Request: Can't parse message text: Can't find end of the entity starting at byte offset 173"}
at /home/antuz/github/telegit/node_modules/node-telegram-bot-api/src/telegram.js:136:15
at tryCatcher (/home/antuz/github/telegit/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/home/antuz/github/telegit/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/home/antuz/github/telegit/node_modules/bluebird/js/main/promise.js:581:18)
at Promise._settlePromises (/home/antuz/github/telegit/node_modules/bluebird/js/main/promise.js:697:14)
at Async._drainQueue (/home/antuz/github/telegit/node_modules/bluebird/js/main/async.js:123:16)
at Async._drainQueues (/home/antuz/github/telegit/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/home/antuz/github/telegit/node_modules/bluebird/js/main/async.js:15:14)
at tryOnImmediate (timers.js:543:15)
at processImmediate [as _immediateCallback] (timers.js:523:5)

Uh, what did you try to send? Is it possible to replicate this?

Wait, ignore that, I thought this was posted to teleirc project

Still though, any way to reproduce?

Hmm, I suspect this happens because Telegram tries to parse the message as markdown, and doesn't find a matching underscore to emacs_quicksetup.md...

Yes, _ is the issue! I've tried pushing different commits with it and they failed in the same manner.

Thanks, I'm working on this as we speak!

https://github.com/FruitieX/telegit/commit/14045f32d93408553052a69d7aefa3e298a96bf6 should fix


Suppress chained callback trigger

Hi, there is another issue that comes with the v31.0.0 update, which may or may not be related to https://github.com/plotly/dash-ag-grid/issues/267
A minimal example is as follows: Whenever add row is clicked, the callback is first triggered by the button click, then again triggered by selectedRows. Is there any way to suppress the second callback trigger? This doesn't seem very intuitive and only exists for the new version release. Thanks!
import dash_ag_grid as dag
import pandas as pd
from dash import dcc, html, Input, Output, no_update, State
import dash
import dash_bootstrap_components as dbc
# Sample data
data = {'Name': ['John', 'Jane', 'Bob', 'Alice'],
        'Age': [25, 30, 35, 28],
        'City': ['New York', 'San Francisco', 'Los Angeles', 'Chicago']}

df = pd.DataFrame(data)

app = dash.Dash(__name__)
app.layout = html.Div([dag.AgGrid(
    id='my_table',
    columnDefs=[
        {'headerName': 'Name', 'field': 'Name', "checkboxSelection": True},
        {'headerName': 'Age', 'field': 'Age'},
        {'headerName': 'City', 'field': 'City'}
    ],
    rowData=df.to_dict('records'),
    defaultColDef={"resizable": True, "sortable": True, "filter": True, "wrapText": True,
                   "autoHeight": True, "cellStyle": {'textAlign': 'left', 'whiteSpace': 'pre-wrap'}},
    columnSize="sizeToFit",
    className="ag-theme-alpine selection",
    dashGridOptions={
        "rowSelection": "single",
        "suppressNoRowsOverlay": "true",
    },
    getRowId="params.data.Name",
    style={"height": "400px"}
),
dbc.Button("add row", id='add_row', n_clicks=0)
])

@dash.callback(
    Output(component_id='my_table', component_property='rowData'),
    Output(component_id="my_table", component_property="selectedRows"),
    Input(component_id="my_table", component_property="selectedRows"),
    Input(component_id='add_row', component_property='n_clicks'),
    State(component_id='my_table', component_property='rowData'),
    config_prevent_initial_callbacks=True
)
def update_qa_area(selected_row, add_row, data):
    trigger_id = dash.callback_context.triggered[0]['prop_id'].split('.')[0]
    trigger_property = dash.callback_context.triggered[0]['prop_id'].split('.')[1] if trigger_id else ""
    print(f"Callback triggered: {trigger_id}, {trigger_property}, {selected_row}")
    print(f"Output: {selected_row}")
    if trigger_id == 'add_row':
        selected_row = [{"Name": "", "Age": 0, "City": ""}]
        data.append(selected_row[0])
    return data, selected_row

if __name__ == '__main__':
    app.run_server(debug=True, port='1234')

Hello @yxc8 ,
I'm still unsure as to what you are after here, why do you have an input from the selectedRows, isn't it just populating and re selecting the data when you are altering the selectedRows.
If you want to maintain the selections and get a new selection, I recommend using the Patch method from dash and again, I recommend using the rowTransaction instead of readding the rowData and having everything rerender.
Also, I was thinking this should be a state call of selectedRows instead of an input, as the input seems to be unused.

Hi @BSd3v , thanks for the reply. It looks like some context got lost in the minimal example so let me explain a bit more here. The real project I have contains multiple dash ag grid, and a button click is supposed to transfer one row selected in table A to table B and have it selected in table B. The v2.4.0 allows me to set selectedRows and rowData properly and everything works, the new version is causing more than 1 callback being triggered with one click and the second callback triggered de-selects my row.
selectedRows need to be an input to trigger other logics in my callback that also updates the grid, so it cannot be a State. Additionally, using rowTransaction instead of rowData doesn't solve this problem, example below:
import dash_ag_grid as dag
import pandas as pd
from dash import dcc, html, Input, Output, no_update, State
import dash
import dash_bootstrap_components as dbc
# Sample data
data = {'Name': ['John', 'Jane', 'Bob', 'Alice'],
        'Age': [25, 30, 35, 28],
        'City': ['New York', 'San Francisco', 'Los Angeles', 'Chicago']}

df = pd.DataFrame(data)

app = dash.Dash(__name__)
app.layout = html.Div([dag.AgGrid(
    id='my_table',
    columnDefs=[
        {'headerName': 'Name', 'field': 'Name', "checkboxSelection": True},
        {'headerName': 'Age', 'field': 'Age'},
        {'headerName': 'City', 'field': 'City'}
    ],
    rowData=df.to_dict('records'),
    defaultColDef={"resizable": True, "sortable": True, "filter": True, "wrapText": True,
                   "autoHeight": True, "cellStyle": {'textAlign': 'left', 'whiteSpace': 'pre-wrap'}},
    columnSize="sizeToFit",
    className="ag-theme-alpine selection",
    dashGridOptions={
        "rowSelection": "single",
        "suppressNoRowsOverlay": "true",
    },
    getRowId="params.data.Name",
    style={"height": "400px"}
),
dbc.Button("add row", id='add_row', n_clicks=0)
])

@dash.callback(
    Output(component_id='my_table', component_property='rowTransaction'),
    Output(component_id="my_table", component_property="selectedRows"),
    Input(component_id="my_table", component_property="selectedRows"),
    Input(component_id='add_row', component_property='n_clicks'),
    config_prevent_initial_callbacks=True
)
def update_qa_area(selected_row, add_row):
    trigger_id = dash.callback_context.triggered[0]['prop_id'].split('.')[0]
    trigger_property = dash.callback_context.triggered[0]['prop_id'].split('.')[1] if trigger_id else ""
    print(f"Callback triggered: {trigger_id}, {trigger_property}, {selected_row}")
    print(f"Output: {selected_row}")
    row_transaction = no_update
    if trigger_id == 'add_row':
        selected_row = [{"Name": "", "Age": 0, "City": ""}]
        row_transaction = {"add": selected_row}
    return row_transaction, selected_row

if __name__ == '__main__':
    app.run_server(debug=True, port='1234')

Finally, I don't know what I should be patching if I use rowTransaction above, there is no partial update to any output.
To summarize, I am not sure what is the right way to implement the following logic using the new versions of dash-ag-grid: the contains multiple dash ag grid, and a button click is supposed to transfer one row selected in grid A to grid B and have it selected in grid B. It would be un-intuitive UI for user if I cannot keep the selection after moving the row.
Any suggestions are welcomed, let me know if more context need to be provided. Thank you!

Hi @yxc8
Try changing the last bit of you callback to this:
    if trigger_id == 'add_row':
        selected_row = [{"Name": f"{add_row}", "Age": 0, "City": ""}]
        row_transaction = {"add": selected_row, 'async': False}
    return row_transaction, selected_row

Note that row id, must be unique.  I just added the counter from the button as an example.
In the row transactions, set the async update to False.  See more information in this forum post

Hi @AnnMarieW , thank you for the suggestion! That worked for persisting the row selection, however, when I remove row with rowTransaction and clear the selectedRows accordingly, that still seems to trigger a second callback with the trigger being selectedRows, I also included async is False in that case but didn't help. Any insights on that? Thanks again!

Hello @yxc8,
When we release the newest version, with the selectedRows fix, could you please confirm whether this is fixed. The selectedRows fights with the onSelectionChanged event of the grid, and it quite difficult to get it behaving the way it was initially.

@yxc8  V31.2.0 is released now :tada:
Can you confirm it fixes this issue?


Bump version

Could you update the version in the docs (installation pre-requisites)?

Could you update the version in the docs (installation pre-requisites)?

Here the PR.


Fixing displaying the listing review total count in tiles

To test:
Prior to pulling, notice that the count, next to the stars, is missing in center listing tiles
eg: * * * * *
After pulling, the count will return
eg: * * * * * (5)
@rkenyon1969 @flesher1 @mleeBoeing

pulled branch
reviewed code
tested

:+1:

:+1:
Able to see total reviews again on storefront, listing details, and similar listings
Preview:


Add ocamllex bootstrap lexer

So, you can use this to replace the generated lex/lexer.ml file in OCaml sources, compile ocamllex once, use it to interpret lex/lexer.mll and re-generate a proper lex/lexer.ml, then recompile the final ocamllex.

Thanks!


Image doesn't seem to load with il parameter on jpg

Hi dear folks,
we absolutely love your service at http://mailta.pe
But lately there's been an image that we haven't been able to load from your server correctly.
We always get this error:

Error 404: Server couldn't parse the ?url= that you were looking for, error it got: The requested URL returned error: 0 cURL error 28: Operation timed out after 10000 milliseconds with 2555760 out of 5230623 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

This happens when trying to request: https://images.weserv.nl/?url=www.mailta.pe/img/guestPic257.jpg&w=1400&t=fit&il
I tried also with a jpg file, same error.
What's even more weird is that if I request https://images.weserv.nl/?url=www.mailta.pe/img/guestPic257.jpg&w=1400&t=fit well... it works!
I have tried with another file, in PNG for example, not working either. It's strange as every other images we're using with your service are working, see with https://images.weserv.nl/?url=www.mailta.pe/img/guestPic256.jpg&w=1400&t=fit&il for example.
Don't know what to do :/ please help 🙏

The error you're mentioning has to do with transfer speed. The image could not be downloaded from the origin (mailta.pe) within 10 seconds. It looks like mailta.pe had a upload speed of 2.0 Mbit/s (2555760 bytes = 19.5 megabits in 10 seconds). It is possible that this error won't show each time. You would require around 4.5 Mbit/s at least for that image to load within 10 seconds, so you'll need sufficient bandwidth. Another solution would be to host this proxy yourself, or do some resizing in advance, to get smaller (filesize) images.

If no further assistance is required, I'll close this issue. The image still seems to large to load quickly from your servers, please increase your bandwidth, or shrink this image.

@andrieslouw
Do you know by any chance where in this software we can configure to increase timed out? 10 seconds is not enough for me. Thank you.

@vvavepacket:
The time-out cannot be changed for the public service on https://images.weserv.nl/ to prevent abuse. 10 seconds at 1 Gbit/s (max. transfer speed of public service) should be enough to load images around ~1GByte with the public service. If the transfer speed is below 1 Gbit/s you should check the bandwidth of the origin server (Amazon S3 is known to be slow for example).
If you use the source-code on your own server, the time-out can be changed here:
https://github.com/andrieslouw/imagesweserv/blob/b0366867fe5a200be5ffe3ca3693b3a727d6f0dc/config.example.php#L16-L17


Updates to Dutch translation

Check if this PR fulfills these requirements:

[x] My changes respect the Kodi add-on development rules
[x] I have read the CONTRIBUTING document.
[x] I made sure there wasn't another one Pull Requests opened for the same update/change
[ ] I have successfully tested my changes locally

Types of changes

[ ] New feature (non-breaking change which adds functionality)
[ ] Feature change (non-breaking change which change behaviour of an existing functionality)
[x] Improvement (non-breaking change which improve functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Complete the new or missing strings.
This relates to #306

thanks


User is not prompted for password when script is run.

Terminal Output when run in verbose.
Prompting jbush for their Mac password (attempt 2)...
/bin/launchctl "$L_METHOD" "$L_ID" /usr/bin/osascript -e 'display dialog "Sorry, that password was incorrect. Please try again:" default answer "" with title "'"${PROMPT_TITLE//\"/\\\"}"'" giving up after 86400 with text buttons {"OK"} default button 1 with hidden answer with icon file "'"${LOGO_POSIX//\"/\\\"}"'"' -e 'return text returned of result'
0:224: execution error: Can’t make file "" into type number or string. (-1700)
Prompting jbush for their Mac password (attempt 3)...
/bin/launchctl "$L_METHOD" "$L_ID" /usr/bin/osascript -e 'display dialog "Sorry, that password was incorrect. Please try again:" default answer "" with title "'"${PROMPT_TITLE//\"/\\\"}"'" giving up after 86400 with text buttons {"OK"} default button 1 with hidden answer with icon file "'"${LOGO_POSIX//\"/\\\"}"'"' -e 'return text returned of result'
0:224: execution error: Can’t make file "" into type number or string. (-1700)
Prompting jbush for their Mac password (attempt 4)...
/bin/launchctl "$L_METHOD" "$L_ID" /usr/bin/osascript -e 'display dialog "Sorry, that password was incorrect. Please try again:" default answer "" with title "'"${PROMPT_TITLE//\"/\\\"}"'" giving up after 86400 with text buttons {"OK"} default button 1 with hidden answer with icon file "'"${LOGO_POSIX//\"/\\\"}"'"' -e 'return text returned of result'
0:224: execution error: Can’t make file "" into type number or string. (-1700)
Prompting jbush for their Mac password (attempt 5)...
/bin/launchctl "$L_METHOD" "$L_ID" /usr/bin/osascript -e 'display dialog "Sorry, that password was incorrect. Please try again:" default answer "" with title "'"${PROMPT_TITLE//\"/\\\"}"'" giving up after 86400 with text buttons {"OK"} default button 1 with hidden answer with icon file "'"${LOGO_POSIX//\"/\\\"}"'"' -e 'return text returned of result'
0:224: execution error: Can’t make file "" into type number or string. (-1700)
[ERROR] Password prompt unsuccessful after 5 attempts. Displaying "forgot password" message...
🦄  Fri Nov 10 11:08:40 [jbush@LP-JHBUSH-OSX:~]#

@jhbush Can you let me know what you use for the LOGO variable on line 23? Thanks!


Disabling default component

Hi, is there any way to disable a default component so it won't show up in the builder?

Hello @abdullahcanakci ,
Which components you are talking about? And why do you think it needs to be hidden?

Hi @sethsandaru,
It's a general question, not for a particular component.
Let's say the user implemented a custom control instead of a regular one with extra logic or, functionc etc. instead of a regular one. It might be beneficial to show only one of them just for a use case.
The reason I'm interested in such feature is I implemented my own submit interaction outside of the form builder instance, with an external button with tapping into $formEvent eventbus. It has some extra logic. I can't be sure that form builders does this job well so I would like to remove button from builder so they can't mess with it.

Hello @abdullahcanakci ,
Ah yes, I know what your idea now. Let me think for an approach. For now, you can make your own rules for your group and tell everybody doesn't touch to some specific components/controls.
Thanks

Thanks, I'm happy that I made myself at least understandable.
That what my current approach will be actually and remove any non-wanted fields in the backend.
Have a nice day :sun_with_face:

I think I will close this because the Role-based permission is released in v2.1.0. Feel free to open it again.


Proposal: Add an RFC3161 Timestamp server to our API

This would ease integration with Java and other tooling that expects timestamps in this format. We could expose two APIs:

A normal RFC3161 variant, where users send us a TSR and we reply with a timestamp
A less difficult to use one, where users just send us a blob and we return a timestamp, in the RFC3161 format.

Both variants would log signatures to Rekor, and could include the index in the response.

This gets a lot easier with #262

@bobcallaway - does this help with your maven plugin at all? I know java expects timestamps.

https://blog.cyborch.com/trusted-time/ for reference on what a more "usable" rfc3161 could look like :)

@bobcallaway - does this help with your maven plugin at all? I know java expects timestamps.

I think it could, but need to think more about the sequencing of all of this.

Closing - A timestamp authority was once implemented in rekor, then removed, and reimplemented in https://github.com/sigstore/timestamp-authority


Add CSAI

1. Model description
CSAI should be included in PyPOTS as an imputation model.
@article{qian2023knowledge,
  title={Knowledge Enhanced Conditional Imputation for Healthcare Time-series},
  author={Qian, Linglong and Ibrahim, Zina and Ellis, Hugh Logan and Zhang, Ao and Zhang, Yuezhou and Wang, Tao and Dobson, Richard},
  journal={arXiv preprint arXiv:2312.16713},
  year={2023}
}

2. Check open-source status

[X] The model implementation is publicly available

3. Provide useful information for the implementation
https://github.com/LINGLONGQIAN/CSAI

Hi @LinglongQian @joseph-arulraj, I found that CSAI cannot accept dataset files for lazy loading because normalization mean and std need to be calculated ahead, as mentioned in issue #544. I fixed this in PR #545. Have a review please.