BottomAppBar do not react on color passed to the widget with material3 turned on

Steps to Reproduce

Turn on material3 theme

Create widget with color passed as parameter or as custom theme
BottomAppBar(
color: Colors.blue,
...

Expected results:
Toolbar has background with picked color
Actual results:
Color is taken from Theme.canvasColor

Hello @centy. I cannot reproduce this issue. I am using the BottomAppBar example available here. I changed the color to Colors.red and the BottomAppBar reflects the color properly. Am I missing something?

@exaby73 The color property only has an effect when material 3 is disabled.
Try setting useMaterial3 to true In the example you mentioned, if you do, the color property won't have any effect.

That is very strange, I will try to do a simple example today, based on my
scenario. When I was debugging it I saw that color is not set to Material
element and that material element was using color based on type. In my case
it was color from canvas.
pon., 13 lut 2023 o 11:30 Nabeel Parkar @.***>
napisał(a):

Hello @centy https://github.com/centy. I cannot reproduce this issue. I
am using the BottomAppBar example available here
https://api.flutter.dev/flutter/material/BottomAppBar-class.html#material.BottomAppBar.2.
I changed the color to Colors.red and the BottomAppBar reflects the color
properly. Am I missing something?
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/120566#issuecomment-1427699806,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEOAUTFHE2PFQBC4GCWTQ3WXIELFANCNFSM6AAAAAAUZSQ624
.
You are receiving this because you were mentioned.Message ID:
@.***>

@centy As a workaround, you can wrap your BottomAppBar in a Theme widget and set the canvasColor to the desired color.
final theme = context.theme;
Theme(
  data: theme.copyWith(
    canvasColor: Colors.red,
  ),
  child: BottomAppBar(
    color: Colors.red,
  ),
);

That is correct. it ignores color property and customizes theme for that
also
pon., 13 lut 2023 o 11:45 Omar Sahl @.***> napisał(a):

@exaby73 https://github.com/exaby73 The color property only has an
effect when material 3 is disabled.
Try setting useMaterial3 to true In the example you mentioned, if you do,
the color property won't have any effect.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/120566#issuecomment-1427720202,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEOAUSN5QZXYZLEVM4SAL3WXIGDVANCNFSM6AAAAAAUZSQ624
.
You are receiving this because you were mentioned.Message ID:
@.***>


errors at re-initializing vimeo videos after dispose()

With dynamical creating, disposing video elements, it works for the first time. but it throw me an error at the second initialization. Uncaught TypeError: Cannot read property 'vdata1458668645722' of undefined at function getElData(el) { in video.js.
$('#video-btn-vimeo').click ->
      video = '<video id="video-player" class="video-js vjs-default-skin vjs-big-play-centered"></video>'
      $(video).insertAfter $('.video-placeholder')

      $('#video-player').width('100%')
      $('#video-player').css({
        'min-height': $('.video-placeholder').height(),
      })
      videojs 'video-player',
        controls: true,
        techOrder: ["vimeo"],
        sources: [{
          type: "video/vimeo",
          src: $('#video-btn-vimeo').attr('data-video'),
        }],

$('#video-close-btn').click ->
      videojs('video-player').dispose()

First use the code above to create an video, then dispose(), then create again. error comes.
video-youtube works well. No luck for vimeo

+1

@pikilon unfortunately, I haven't found any solution. Just stopped using videojs-vimeo

@craigstar I found that if I re-created the  DOM element and then instantiated VideoJS on that element it would work again.

Thank you! @Magiweb, https://github.com/hendrathings/videojs-vimeo/tree/bug-api has fixed this bug. However, I can not implement videojs-vimeo cause its not working on mobile devices. https://github.com/eXon/videojs-vimeo/issues/72

@pikilon you could try this  https://github.com/hendrathings/videojs-vimeo/tree/bug-api

Sorry but din't work out for me.
I recreated the dom ( I make a dispose, later a empty() or html("") the parent tag), set the variable to null and re-add the html video tag with the same id to later on videojs("theID", params, callback) and didn't work out.
"TypeError: Cannot read property 'vdata1458847063210' of undefined"

Also having issues with dispose() not working correctly

+1
This is a serious problem

Spent all night trying different forks for this issue. Found a fork that work and had the CSS strange. I forked and fixed the CSS.
https://github.com/rjgb/videojs-vimeo

Found a solution which seems to be working for us.
The cause of this bug is dispose() actually removes the mount element of videojs. So when we try to re-initialise videojs/vimeo, it fails.
Simply recreating the element/mount point will fix this issue.

@twig How do you mean when you say recreate the mount point?

For example, you use
 as your mount point for VJS, var vjs = $('#x').videojs();.
When it's disposed via vjs.dispose();, the div is actually removed as well. You need to create a NEW
 in the same place before calling $('#x').videojs() again.

@craigstar @Magiweb thanks guys for posting the solution! saved me a lot of time, I wonder it autoplay stopped working only for me or it is a effect of patched code?

I tried the suggested solution @twig provided. But that doesn't seem to be working for me.

Shouldn't be a problem in master anymore.


Glue core 1.2 conformance

@robmoffat this is a bunch of proprietary JS files going into the main branch of the conformance framework again. Was this not supposed to be kept on either a branch or an external URL?

@kris - I've moved all the glue/connectifi code into the "optional" directory and added a README to explain that this directory contains all the vendor-specific code.
I've also moved the finsemble appd files into this directory too for consistency

I still think all proprietary code should be in a branch, rather than the trunk of the repository. Glad the main app code is being pulled from outside, but there's still a load of custom there.
Finsemble doesn't need the specific config files. It'll run from the main ones - in fact this file is entirely redundant with the one in the directories folder. The other file, is in the appD 1.2 format, where you have no choice but to have a file per provider. Hence, the latter file is only useful if you're going to host a 1.2 standard appD for testing.
Technically, 1.2 compliance requires connection to an appD  - although the FINOS appD isn't usable with additional apps (such as the 2.0 conformance apps as it will change test behaviour/results. It's also an arse as you'll need a copy of it per vendor as it only supports a single manifest per record.  Hence, I don't think it's worth doing - but I also don't think we should be going with entirely proprietary approaches to set up - at least not in the trunk of the repo.  Hence, I would like to see this stay on the branch - while finsemble specific config for 1.2 can move to its own (if we care about preserving the 1.2 format file - we're agnostic as we only support that now for backwards compatibility).
Connection to an appD in 2.0 is optional but strongly recommended. There I think we should provide a single file, with multiple host manifests for vendors in each record in trunk - and better if there is a live appD serving it (and only it). We should not promote or distribute alternatives to using that format in the trunk of the project - but will need them somewhere. Finally, vendors could be encouraged to drop a readme file in their branch and maintain with any details needed to run the test...

@gaganahluwalia we seem to have lost the changes I made here - can you take a look?

@kris - We've moved all the glue/connectifi code into the "optional" directory and added a README to explain that this one directory contains all the vendor-specific code.

Finsemble doesn't need the specific config files. It'll run from the main ones - in fact this file is entirely redundant with the one in the directories folder.

Yes, we just moved it into the same place.  I think I prefer the idea of having vendor specific stuff in a folder over a branch since it will mean we can version the whole thing at the same time, and we don't have to merge in multiple different directions.
Regarding app directories, then: I think at some point I will be updating the FINOS app directory to have 3 sections:

one for 1.2 conformance
one for 2.0 conformance
one for all the demo apps

Connection to an appD in 2.0 is optional but strongly recommended. There I think we should provide a single file, with multiple host manifests for vendors in each record in trunk - and better if there is a live appD serving it (and only it). We should not promote or distribute alternatives to using that format in the trunk of the project [...]

I mean, it would be nice if everyone did use the 2.0 appD format for 2.0 conformance.  I asked Nick about raising an issue around this but he turned me down.  I think we might lose that battle.

Finsemble doesn't need the specific config files. It'll run from the main

ones - in fact this file
https://github.com/finos/FDC3-conformance-framework/blob/c12bafdd8e6e6d8f18a84b617f03244245a7c5a5/options/finsemble/directory/local-conformance-1_2.finsemble.apps.json is
entirely redundant with the one in the directories folder
https://github.com/finos/FDC3-conformance-framework/blob/glue-core-1.2-conformance/directories/local-conformance-1_2.v2.json
.

Yes, we just moved it into the same place. I think I prefer the idea of

having vendor specific stuff in a folder over a branch since it will mean
we can version the whole thing at the same time, and we don't have to merge
in multiple different directions.

No I meant (and linked to the one in the directories folder). I'll
discuss with you when I see you.
On Wed, 8 Mar 2023 at 11:53, Rob Moffat @.***> wrote:

@kris https://github.com/kris - We've moved all the glue/connectifi
code into the "optional" directory and added a README to explain that this
one directory contains all the vendor-specific code.
Finsemble doesn't need the specific config files. It'll run from the main
ones - in fact this file
https://github.com/finos/FDC3-conformance-framework/blob/c12bafdd8e6e6d8f18a84b617f03244245a7c5a5/options/finsemble/directory/local-conformance-1_2.finsemble.apps.json
is entirely redundant with the one in the directories folder
https://github.com/finos/FDC3-conformance-framework/blob/glue-core-1.2-conformance/directories/local-conformance-1_2.v2.json
.
Yes, we just moved it into the same place. I think I prefer the idea of
having vendor specific stuff in a folder over a branch since it will mean
we can version the whole thing at the same time, and we don't have to merge
in multiple different directions.
Regarding app directories, then: I think at some point I will be updating
the FINOS app directory to have 3 sections:

one for 1.2 conformance
one for 2.0 conformance
one for all the demo apps

Connection to an appD in 2.0 is optional but strongly recommended. There I
think we should provide a single file, with multiple host manifests for
vendors in each record in trunk - and better if there is a live appD
serving it (and only it). We should not promote or distribute alternatives
to using that format in the trunk of the project [...]
I mean, it would be nice if everyone did use the 2.0 appD format for
2.0 conformance. I asked Nick about raising an issue around this but he
turned me down. I think we might lose that battle.
—
Reply to this email directly, view it on GitHub
https://github.com/finos/FDC3-conformance-framework/pull/186#issuecomment-1460044189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM7PBA5ZHT2YGKHRXSCQUDW3BXMDANCNFSM6AAAAAAVNDRTHY
.
You are receiving this because you commented.Message ID:
@.***>

--
Kris West  he • him
Principal Engineer
[image: Finsemble] https://finsemble.com/
@.***
finsemble.com


Update cargo-deadlinks in CI Docker image

Thank you for helping out with embedded-graphics development! Please:

[ ] Check that you've added passing tests and documentation
[ ] Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, etc) if your changes affect the public API
[ ] Run rustfmt on the project
[ ] Run just build (Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.

PR description
As per the title :)
Cc embedded-graphics/simulator#21

Looks good, thanks!


UnicodeDecodeError in ./week01_embeddings/seminar.ipynb

Fix problem while opening in docker container.
Problem occurs while running ./week01_embeddings/seminar.ipynb in docker container. What i found in documentation is that Python 3 build-in function open(filename) by default set encoding parameter equal to the output of locale.getpreferredencoding(False) function. Which is in case of running in docker equal to 'ANSI_X3.4-1968'.
There are two solutions I know. The first one is to use encoding="utf-8" parameter in open() function. Another one is to set proper locale in Dockerfile
An output of locale in bash:
root@someid:~# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Thank you!
/* We'll set the correct locale in docker by the next on-campus iteration */


count fix for new openAi models

A small tokens count fix for new OpenAi models.
If a model is not in a supported models list - we still try to get the inputTokens and outputTokens.

This is good. Can we also explicitly add the 0125 models as part of this PR so we get the correct costs for those?

I added new models, but it appears that the package gpt-tokens does not support them. Wrote a temporary workaround.
There are places where we use old versions of turbo models for fine-tuning and evaluations. Should we update them to the new versions?

Yep, anywhere we're using the old GPT-4-Turbo model let's update to the new one. I don't think we're using GPT-3.5-Turbo anywhere, but if we are we should hold off on updating that -- I've heard reports that the new GPT-3.5-Turbo actually is a weaker model.

We support finetuning with gpt-3.5-turbo-1106.
As for the old GPT-4-Turbo, we use it as a comparison model for evaluations. The enum with this model is stored in the database (dataset.enabledComparisonModels), so I need advice on how to replace it.


Fix leading path in cheat sheets so html will render properly

This PR fixes a bug found in #427 with the rendering of the html cheat sheets.
Will :ship: with 1 :+1:.

@crichID I'd love to test this locally - but I think the instructions in the README.md are mostly to serve the on-demand content.  How can I try to check this locally so that I can give you a 👍 ?

How can I try to check this locally so that I can give you a 👍 ?

@brianamarie great question! We should probably add this to the instructions somewhere, but in the meantime, here they are:

Run script/server
Access the desired cheat sheet at http://<IP_ADDRESS>:4000/on-demand/downloads/<language>/<cheat-sheet-title>/. An example would be: http://<IP_ADDRESS>:4000/on-demand/downloads/fr/git-github-cheat-sheet/

@crichID Thank you for sharing the directions. I agree, we should document those somewhere.
I'm trying to follow them but it's not serving properly. Once I get the server running from this branch and navigate to http://<IP_ADDRESS>:4000/on-demand/downloads/de/git-github-cheat-sheet, I only see:
Not Found

/on-demand/downloads/de/git-github-cheat-sheet not found.

Is there a step I'm missing?

@brianamarie sorry, I mis-typed the cheat-sheet title, it should be http://<IP_ADDRESS>:4000/on-demand/downloads/de/github-git-cheat-sheet/

Ah! Well that works beautifully! 👍


Add random shader utils, fix cluster_debug_visualization

Objective

Partially addresses https://github.com/bevyengine/bevy/issues/11470 (I'd like to add Spatiotemporal Blue Noise in the future, but that's a bit more controversial).
Fix cluster_debug_visualization which has not compiled for a while

Changelog

Added random white noise shader functions to bevy_pbr::utils

Migration Guide

The bevy_pbr::utils::random1D shader function has been replaced by the similar bevy_pbr::utils::rand_f.

This should probably be in bevy_render instead of bevy_pbr. There's no reason to make this 3d only.

I suppose I can make a new noise module in bevy_render, sure.

@torsteingrindvik do you want any other variations/higher dimensions, or is this good enough for your use cases?

@torsteingrindvik do you want any other variations/higher dimensions, or is this good enough for your use cases?

For the use cases I have in mind I only need 1D/2D.
So I am happy with this, thank you!

@IceSentry I'd rather leave this in bevy_pbr actually. We already have interleaved gradient noise in utils.wgsl, along with octahedral encode/decode, PI, etc. Eiher he whole module should move to bevy_render, or just leave it as-is imo.

Alright, I don't want to block the PR on this, but I really think we should reorganize all this so it's not so tied to bevy_pbr, but I guess that's a larger refactor.


[zh] Sync 2023-10-10-cri-o-community-package-infrastructure.md blog into Chinese

Sync 2023-10-10-cri-o-community-package-infrastructure.md blog into Chinese:
content/zh-cn/blog/_posts/2023-10-10-cri-o-community-package-infrastructure.md

The preview looks all right.
/approve


Unpin tox

Version 4 should now be compatible with most OpenStack projects.

@priteau is Tox 4 backwards-compatible with our older branches?

@priteau is Tox 4 backwards-compatible with our older branches?

For Kayobe at least we backported tox 4 fixes to many old branches: https://review.opendev.org/q/I66b3a85adfe2928b936006780fb20b5fc7cc802f
We could test it and see what breaks?


gamescope crashing after waking up from suspend since v44

Issue
Since upgrading to 44, ChimeraOS wakes up to the 'verifying installation' screen after being suspended for more than 1 minute instead of Steam, i.e. Steam seems to crash and restart. This was not the case on 43-1.
According to dmesg, gamescope-xwm is segfaulting and presumably causing this behavior.
[ 4156.775303] gamescope-xwm[874]: segfault at dc ip<PHONE_NUMBER>f4e458 sp 00007f9d7a7fb428 error 4 in gamescope[565431f3a000+9d000] likely on CPU 11 (core 3, socket 0)
See also full dmesg log: dmesg.log
System
CPU: AMD Ryzen 7 5800X
MB: Gigabyte B550M Aorus Elite
GPU: AMD Radeon RX 6800 XT

I get the same if I just shutdown the TV the PC is attached to for about one minute. Steam restarts when I turn on the TV again.
[ 3311.326030] gamescope-xwm[27661]: segfault at dc ip 0000555c4dd28458 sp 00007f523cbb4428 error 4 in gamescope[555c4dd14000+9d000] likely on CPU 8 (core 2, socket 0)
[ 3311.557851] Chrome_ChildIOT[28069]: segfault at ffffe77a29bc0069 ip 00007ff22259adf2 sp 00007ff21774dc90 error 5 in libcef.so[7ff21e2ef000+7770000] likely on CPU 9 (core 3, socket 0)

I found a workaround that works most of the time: If I turn on my TV and AVR and then wait at least 5 seconds before waking up ChimeraOS from suspend it usually does not crash. Possibly the whole thing is related to the HDMI handshake?

I tested this again on 45_5340f50 and still happens.
Also, I don't even need suspend to make it happen.
If I hold the shutdown button on my TV remote, so that it does not simply sleep but shuts down completely, when I turn on the TV gamescope crashes as above.

If it can help, these are the lines that appear in ~/.gamescope-stdout.log as I shut down the TV and turn it on again:
wlserver: [backend/session/session.c:210] DRM device card1 changed
wlserver: Got change event for KMS device
drm: CRTC 91 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 95 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 99 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 103 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 107 has no VALVE1_CRTC_REGAMMA_TF support
drm: CRTC 111 has no VALVE1_CRTC_REGAMMA_TF support
drm: current connector 'HDMI-A-1' disconnected
drm: cannot find any connected connector!
wlserver: Updating mode for xwayland server #0: 1280x720@60
vulkan: 3981312 vs 3981312!
vulkan: 3981312 vs 3981312!
vulkan: 3981312 vs 3981312!
pipewire: renegotiating stream params (size: 1280x720)
(EE) failed to read Wayland events: Broken pipe
(EE) failed to read Wayland events: Broken pipe

Can anyone test again using the latest stable build of ChimeraOS 45?

Can anyone test again using the latest stable build of ChimeraOS 45?

I run the same test on 45-1_ea2fd2f, still happens.


bug: cannot run the binary directly; configuration files not found

repro:

dotnet new -i Deislabs.WAGI.Templates::0.1.0-preview
dotnet new wagi -n hatred
dotnet build -c Release
/hatred/bin/Release/net5.0/hatred

expected result: should run
obtained result:
fail: Deislabs.WAGI.Extensions[0]
      No configuration found in section WASM
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /home/squillace/work/squillace/blowschunk/hatred

This is caused by not setting the  ASPNETCORE_ENVIRONMENT environment variable. To fix this run export  ASPNETCORE_ENVIRONMENT="Development" prior to running the application. Docs are updated to reflect this.

but what if I want to run it as "Release"? is that the setting to use in that case?

If you want to run with the default environment setting (Production) then you should rename the file /home/squillace/work/squillace/blowschunk/hatred/appsettings.Development.json to /home/squillace/work/squillace/blowschunk/hatred/appsettings.Production.json, then there would be no need to set the environment variable.
I'll add a fix to the template to copy the modules files to the output directory on build and publish as running the app at present only works if you run from the project directory.

so, lemme understand. IFF I want to run directly but as dev env I must set the Env var to "Development"; but if I wish to do the same, I have to copy in a appsettings.Production.json file and then I do NOT need to set any env var?
Who thought that made any sense? In any case, let's nail all these operations down precisely, as it'll serve as the working model going forward for any other wasm/wasi.net templates we do, yes?

Its really to do with the defaults ASP.Net core uses and the choices I made when I buillt the template project, by default ASP.Net will load a settings file called appSettings..json , and by default if no environment setting is provided then the environment defaults to Production. Alongside this I chose to place the WASM configuration in a file called appSettings.Development.json in the template, this means either the environment needs to be set or the configuration needs to be moved. One way to avoid all this would be to place the WASM configuration in appSettings.json file in the template and then it will just work.

all right, that makes sense. When we get to the end, let's do the thing that makes complete sense for dev iteration using this environment, and then tackle the larger question of how the model should work across app templates per our discussion yesterday....

updated the template so that build/publish work without further configuration


Unrecognized options "decimal_part" under "lexik_currency".

When I use the config from the example:
  # app/config/config.yml
  lexik_currency:
      decimal_part:
          precision:  2                           # number of digits for the decimal part
          round_mode: up                          # round mode to use (up|down|even|odd)

I get an an error:
  [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
  Unrecognized options "decimal_part" under "lexik_currency"

I've checked the source and I could not find a clue why it does not work.

I've got the same issue with v2.0.1


[BUG] Explore table viz returns no result when filter is NULL or NOT NULL

A clear and concise description of what the bug is.
Explore table viz returns no result when filter is NULL or NOT NULL
Expected results
It should return the result set
Actual results
No data available in table
Screenshots

How to reproduce the bug

Go to table
Click on 'bart_line' table to explore
Scroll down to select Filter -> column 'name' -> is NULL or NOT NULL
Run Query
See error

Environment
(please complete the following information):

superset version: Superset 0.999.0dev (check out master)
python version: 3.6.8
node.js version: node -v
npm version: npm -v

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
SELECT name AS name,  count(color) AS "COUNT(color)" FROM bart_lines WHERE false GROUP BY name ORDER BY "COUNT(color)" DESC LIMIT 10000;
The explore request:
http://localhost:8088/superset/explore/?form_data={"datasource":"13__table","viz_type":"table","url_params":{},"time_range_endpoints":["inclusive","exclusive"],"granularity_sqla":null,"time_grain_sqla":"P1D","time_range":"Last+week","groupby":["name"],"metrics":[{"expressionType":"SIMPLE","column":{"id":456,"column_name":"color","verbose_name":null,"description":null,"expression":null,"filterable":true,"groupby":true,"is_dttm":false,"type":"VARCHAR(255)","optionName":"_col_color"},"aggregate":"COUNT","sqlExpression":null,"hasCustomLabel":false,"fromFormData":true,"label":"COUNT(color)","optionName":"metric_qqaak8p1tnh_c7yss63hqv7"}],"percent_metrics":[],"timeseries_limit_metric":null,"row_limit":10000,"include_time":false,"order_desc":true,"all_columns":[],"order_by_cols":[],"adhoc_filters":[{"expressionType":"SIMPLE","subject":"name","operator":"IS+NULL","comparator":"","clause":"WHERE","sqlExpression":null,"isExtra":false,"fromFormData":true,"filterOptionName":"filter_o0vgzbylo8j_78ppchfrsx3"}],"table_timestamp_format":"%Y-%m-%d+%H:%M:%S","page_length":0,"include_search":false,"table_filter":false,"align_pn":false,"color_pn":true,"show_cell_bars":true}

I believe this was resolved with https://github.com/apache/incubator-superset/pull/9613


Custom Poets Models Run Slow on Android

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Not really.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Android/Windows
TensorFlow installed from (source or binary): Binary (From android nightly
TensorFlow version (use command below): 1.2

Describe the problem
I've noticed that using a retrained inception model within the demo app, following the guidelines suggested, is awfully slow. Shouldn't the custom models generated in the style of Tensorflow for poets be pretty similar to the inception model that the demo comes with? I have noticed inference times to be around 5 times as slow on two devices. (Nexus 6P and Pixel C) compared to the original demo.
Even when the graphs are quantized I am getting no apparent performance increase (apart from model size). If anything it's actually slower.
Is this normal behaviour? I'm aware of the image size is different (224 vs 299) but is that enough to haemorrhage the performance?
Source code / logs
Avg. ms for Conv2D is 1366ms
Inference time ~1700ms (Pixel C) ~3500 (Nexus 6P)
Model building steps: Normal Model via Tensorflow for poets etc. --> strip nodes --> quantize --> replace in apk.
Same performance regardless of quantization.
@andrewharp this was what I referred to in the windows/android thread. Can move to s/o if preferred.

I just tested using the TF AAR (1.2.0-rc0) with a stripped inception V3 (not , and got ~1300ms performance (1000ms with an optimized graph) on my Pixel. Also tried the latest armeabi-v7a libs (as using the AAR will use arm64 on the Pixel) downloaded from nightly with similar results. Conv@D takes about 900ms.
Your times do seem a bit slow, but as this doesn't seem like a TF issue StackOverflow is probably a better venue.

Hmmm ok. I might open a s/o question at some point then. Cheers.


about documentations?

is there any docs?
regarding to how to use this library
thanks

Go Parsec 2 has some document used Chinese. as https://zhuanlan.zhihu.com/p/20262167 . But it hasn't English Document.
It is a project begon for a business project. I written it for some tiny parser. But now, my team use java and clojure more than golang. I am almost only one developer for goparsec2. I need some party time for improve it.
Sorry for the delay. I will try to find some time to do it. Thank you for your post.


Link checker doesn't ignore ordering prefixes (01-, 02-)

Our pages are prefixed with 01-, 02- etc - however, the final output does not include those numbers, and neither do the links.
This means that the link checker looks at a link like "my-page" and assumes it doesn't exist because the file name is "03-my-page".
Is there any way to customize the link checker? 💚

@mhwelander This is how the DevRel wanted it. The pages are numbered to order them.

@nilubava That I know - I meant that the link checker looks at a link (e.g. ../reference/tools-and-interfaces/prisma-schema/data-model) in an MDX file and says "that's broken" because the 'real' path is  ../01-reference/01-tools-and-interfaces/03-prisma-schema/02-data-model. But the link isn't broken at all, because the rendered HTML does't include 01-/02- etc.
Is there a way to extend the link checker to ignore prefixes in the format '0X-' when checking links. In other words, it sees this link in an MDX file: ../reference/tools-and-interfaces/prisma-schema/data-model --> and  understands that the link matches this page: ../**01-**reference/**01-**tools-and-interfaces/**03-**prisma-schema/**02-**data-model (using regex I guess?)

@mhwelander Okay, now I get it. I will explore the link checker options and see what can be done

try if adjusting the current link checker in separate plugin works
if no, we first remove the current link checker and re-evaluate this issue in the next sprint meeting


There is no result in all categories for France and Russia

Hello, I don't know if there may be results or not, but they are not.

Sorry for the delayed fix


Impossible to install on debian 11 due to incorrect dependencies

Unfortunately, the dependency list for rocm-llvm includes these:
 rocm-llvm : Depends: libstdc++-5-dev but it is not installable or
                      libstdc++-7-dev but it is not installable or
                      libstdc++-11-dev but it is not installable
             Depends: libgcc-5-dev but it is not installable or
                      libgcc-7-dev but it is not installable or
                      libgcc-11-dev but it is not installable

but not this:
root@hermes:~# dpkg -l | grep libgcc-10
ii  libgcc-10-dev:amd64                              10.2.1-6                                                         amd64        GCC support library (development files)
root@hermes:~# dpkg -l | grep libgcc-9
ii  libgcc-9-dev:amd64                               9.3.0-22                                                         amd64        GCC support library (development files)

Please update the dependencies to include debian's versions, or, remove this dependency check in the .deb, and put it in the amdgpu-install script, specifically to check to see that a version of libgcc-number-dev is installed.

yep, same problem. they don't seem to care. either you use ubuntu or you get the middle-finger

If anyone @AMD reads this, I'd be happy to contribute a fix/PR, if you would only be so kind as to expose your deb builder environment.  Right now it is impossible for me to build, unless I use https://github.com/xuhuisheng/rocm-build which also has issues in the repositories it pulls down.
As I've said to a number of @AMD people (at the $dayjob), you need a runfile format like nvidia, so that people can deploy/use this.

Same problem here... I was unable to install any ROCm packages on a fresh Debian 11. Any idea to be able to use AMD MI210 GPUS from Debian?

@joelandman Apologies for the lack of response. Debian is not officially supported. Thanks!

Same problem here... I was unable to install any ROCm packages on a fresh Debian 11. Any idea to be able to use AMD MI210 GPUS from Debian?

it kind of works now on Debian 12 Bookworm


Custom font-family in hosted fields?

I'm currently working on a project, where we're using Braintree Hosted Fields for our checkout fase. Really neat tool.
I do have an issue using my custom font-family, though. Is it at all possible to specify font-family based on a font imported in my stylesheets, or is it only possible to use system fonts?
I've tried the monospace-font from your example in the docs, which works fine. But my paid font (Brown Pro) isn't working.
I also noticed, that if i inspect the input element in the browser, the font-family value is without quotation marks, event if i try adding them like
'font-family': '\"BrownPro\"'

So my question in short - is it possible at all to use custom fonts, and if so, (how) am i doing it wrong?
Best regards

Thanks for your feedback! We don't have plans to add font-family customization to Hosted Fields right now, but we appreciate your input, and we'll take this request into consideration when planning future projects.

I would like to second the request for support of font-family customization

If it doesn't affect PCI, why not? You could even allow well-known providers (and PCI-DSS approved) such as Google fonts if third-party security is an issue.

If it doesn't affect PCI, why not?

Turns out that it's a little more nuanced than that, unfortunately. For PCI and security reasons, we can't simply include third-party code into Hosted Fields, regardless of the party.
Of course, we would like to solve this and we plan to investigate feasibility of securely offering font customization, though we can't offer a timeline right now.

+1

+1

Would it not be viable (security-wise) to allow Google Web Fonts at least?  I mean, they've already been vetted by Google and then processed/subsetted by their servers, and they provide it all over HTTPS, and you don't even have to use their CSS or JS — you can just take the font name and weights and generate the @font-face directive yourselves, thus preventing third-party code from being run in a hosted field.
The worst that can happen, I suppose, is an arbitrary code execution exploit in the browser's font parser; but that would be already be a doomsday scenario (it could possibly exploit Braintree even without being in the same frame) and is rather more unlikely with WOFF files (since WOFF files are built for the web from day one), so I can't imagine the risk factor is that high (especially if you lock it down to WOFF only)

@NuckChorris Unfortunately, to qualify for SAQ A compliance the iframes and pages served by your PCI DSS compliant payment provider must have all elements served originate only and directly from the payment provider[1].
In the case of Google Fonts, the fonts would originate from Google and would force SAQ A-EP compliance.
[1] Understanding the SAQs for PCI DSS version 3

There's obviously some nuance here: Google definitely is PCI DSS compliant in their payment services, but it's doubtful that Google Fonts is.  The PCI document says "PCI DSS validated third-party
service provider(s)" but what happens when a third-party provider isn't doing anything at all related to payment cards?  What kind of PCI SAQ do they use then?
It would be nice to get clarification from PCI, or a yes/no from Google about whether their fonts service is PCI DSS compliant.  Worst case scenario, Google provides a dump of all the web fonts which you could safely put on your own servers and provide a fancy style feature.

Stripe.js allows the developer to use his own HTML/CSS all together. This is why I switched to Stripe, such a smooth, customizable UI build process. Could Braintree switch to a similar method?

I'm lobbying super hard to get my company to switch to Stripe.

The interpretation of PCI DSS v3 held by Braintree and the external PCI quality assessors that verify our compliance forbid elements originating from any third party within our Hosted Fields solution.
Barring a more lenient revision to PCI DSS we cannot allow usage of services such as Google Fonts within Hosted Fields and continue to claim SAQ A.
Other payment providers may offer more lenient solutions while claiming SAQ A compliance, but Braintree has historically erred on the side of safety when abiding by PCI regulations.

@mrak What about not using hosted fields like Stripe? Change the entire strategy...

Just hand us the gun and let us shoot ourselves in the foot, IMO. Your top competitor clearly has gotten away with it, might as well offer the same with warning labels

If SAQ A is not a requirement for you, we do offer non-SAQ A solutions that allow you to use your own form and input fields.
See our developer documentation at Credit Cards / Client-side Implementation for details.

 Other customers who don't have the font installed will not see the font.

I mean you should install the Google Fonts on Braintree's server so that
they are provided to the iframe.
On Mon, Nov 7, 2016 at 8:15 AM, Evan Hahn<EMAIL_ADDRESS>wrote:

@tofutim https://github.com/tofutim Installing a font on your machine
will only display the font on your machine. Other customers who don't have
the font installed will not see the font.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braintree/braintree-web/issues/75#issuecomment-258880622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJoRs70wOC_xsGLrXR1-C33pdA4YC5Uks5q706JgaJpZM4GC6_1
.

@tofutim This is something we've looked into internally, but have no plans of implementing at the moment. That being said, we definitely understand wanting custom fonts and will keep that in mind for the future.

I already love you guys at Braintree. If you can get this done, I'll love
you even more. :)
On Wed, Nov 9, 2016 at 1:54 PM, Lila Conlee<EMAIL_ADDRESS>wrote:

@tofutim https://github.com/tofutim This is something we've looked into
internally, but have no plans of implementing at the moment. That being
said, we definitely understand wanting custom fonts and will keep that in
mind for the future.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braintree/braintree-web/issues/75#issuecomment-259537535,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJoRjPJIE93Byf2yWDQlffHinAQZna2ks5q8kEggaJpZM4GC6_1
.

Guys at Braintree, if you need an idea on how to solve it... here it is.
You accept cssSrc option with url to any external css file. But in reality you will use proxy to load it like this:
https://secure.braintree.com/sanitized-font?url=https://domain.com/style.css
On your side you will load file and keep in it only things that are safe.

FYI Stripe Elements does support custom fonts via cssSrc like mentioned by @alovak: https://stripe.com/docs/stripe-js/reference#stripe-elements while still supporting SAQ-A. Any chance you could revisit this issue given that information? Thanks!

FYI Stripe Elements does support custom fonts via cssSrc like mentioned by @alovak: https://stripe.com/docs/stripe-js/reference#stripe-elements while still supporting SAQ-A. Any chance you could revisit this issue given that information? Thanks!

Chances are they're going to delete your comment (and mine too) as it happened to me for the same reason few weeks ago...

@jazzpaths 	We don't have a practice of deleting Github comments. Can you reach out to our support team with details and reference this issue so we can figure out what happened? https://help.braintreepayments.com/

For now, this feature is still not on our roadmap, but I will bring it up with the team again.

Please bring this feature up to roadmap again. At least provide a list of 20-50 fonts that you support in different weights.
IBM Plex Sans, Lato, Roboto, OpenSans, etc.  The 50 most used on the web. That is a feature that would make your product much better.

+1


test_bitcoin should be build only when executing make check

Right now it build when we run make. This will reduce a lot of build time when we don't need to build unit tests. What we need to do is changing bin_PROGRAMS += test/test_bitcoin in src/Makefile.test.include to check_PROGRAMS instead (consult document for more details). This should also prevent test_bitcoin to install when we execute make install too.
We may also rename test_bitcoin to test_zcoin too :)

Even changing bin_PROGRAMS to check_PROGRAMS still build unit tests (normally it will not). Look like there is some weird rules in build script that need to look on.

I'm not sure if I agree with this. I would prefer the behaviour that after altering files in src/test, they can continue to be built with make rather than make check. It's straightforward to disable building tests altogether with the ENABLE_TESTS flag.

The main issue is it build test by default when run make which is not expected behavior. Most GNU Autotools project will build test only when requested by user (which is make check). Another issue is it also install test_bitcoin binary too, which should not. We may leave the current behavior and change the default value for ENABLE_TESTS to not build test by default.


feat: list enterprise clusters

Description

Verification Steps

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has been created for changes required on the client side

@machi1990 - can you take another look please?

verified locally, the change looks good to me. Thanks @pawelpaszki
I've left one method renaming suggestion. Let me know what you think.

your suggestion makes sense. let me change it


Thanks for sharing.Feedback problems

感谢分享。这个东西确实解决了初学者不会的难题。所需要的功能基本在里面。但是问题还是蛮多的。 开始以为不是我要的东西。但是后面发现。里面考虑的几个属性参数还是挺多的。拉伸是否等比拉伸。是否在父视图布局内等。 但是我发现的几个问题如下 1.旋转手势明显和移动手势有冲突。多重复几次。你会发现你的控件还是偏移了很多。 2.虽然考虑到移动时候是否在父视图布局内。可是你TM的。为什么不考虑旋转的时候呢。。。。。。。 最后还是感谢分享。这个地方卡了我整整一天多。现在基本实现了。只能靠自己优化了。或者哪个大神看到有类似很完美的。记得分享@我一下。谢谢了
Thanks for sharing. This thing does not really solve the problem for beginners. Basic functions needed inside. But the question still find many. I began to think that is not what I want. But later found. Some attribute parameter inside or with a lot of consideration. Whether drawing geometric drawing. Whether in the parent view layout. But I found a few problems as follows 1. Rotate gestures visible and moving gesture conflict. Repeated many times. You will find your control or offset a lot. 2. While considering whether to move when the parent view within the layout. But you (TM). Why not consider the time it rotates. . . . . . . Finally thanks for sharing. The whole day I place the card more. Now the basic realization. We can only rely on their own optimized. Or which Great God see similar very perfect. Remember share @ me. Thank you

Thanks a lot for filing this issue! Also, I am pleased to know this library helps you.
It's a bit hard for me to understand your issue though, but I guess you meant the rotation problems. Would you like to let me know the version / device what you used? Is it reproducible by using simulator as well? I'd be more than happy to know your more detailed feedbacks.

By the way, I am really agreed with you that "it needs to be optimized".


.NET base agents to parity with python

need to bring the .NET base agents to parity with the python code

I'm not convinced this is required for 0.40 @lokitoth what do you think?

punting to 0.4.1 and noting that we should really break this down into smaller more specific chunks


Add typed errors

Base errors are in src/errors.ts
Added typed errors for all the consumer-facing functions
Renamed src/types.ts to src/providers.ts (been meaning to do this for a long time and probably better to do it sooner than later, it's not intended for public consumption but who knows)

Fixes #99

@roninjin10 Would love another review. I did an indent reformat, so probably wanna smash the "hide whitespace changes".


Android : Not receiving GCM notification when app is inactive

I'm using this  demo app for GCM, added google-services.json file . I'm sending notification using post-man. And when the app is active and in background, I'm getting the notification, but not when the app is inactive. I heard that GcmReceiver automatically handles that, but not getting anything.Do I need to do anything else to achieve this.
Thank you.

I faced the same issue too. In Android 5.X, I can not receive notification when the app is force kill. Any one have solution, please share it

http://stackoverflow.com/questions/35257410/how-to-customize-notification-display-and-tone-when-using-gcmreceiver-and-gcmlis/35368530#35368530

I would recommend upgrading to Firebase Cloud Messaging here, which simplifies the integration: https://firebase.google.com/docs/cloud-messaging/android/client


[FR] - Allow passing Unit () script data with the cli for an Alonzo transaction

Internal/External
Internal   if an IOHK staff member.
Area
Plutus    Related to Plutus Scripts (Alonzo).
Describe the feature you'd like
I have defined a minting policy here, which is working just fine (can mint the purple NFT).
However, I first defined the policy with Unit () for the unused redeemer like:
mkPolicy :: MintParams -> () -> ScriptContext -> Bool

This would always fail local validation when building the tx with transaction build using an arbratrary redeemer value like --mint-redeemer-value 1. Even though the policy doesn't use a redeemer I have to provide one because the ledger enforces it.
We see examples of Unit () being used in the Plutus Pioneers lectures, such as:
https://github.com/input-output-hk/plutus-pioneer-program/blob/681de03b9af2a777d4df4269fa67acdf7fab0573/code/week05/src/Week05/NFT.hs#L35
and in the plutus repo, such as:
https://github.com/input-output-hk/plutus/blob/826c2514a40e962c2e4d56ce912803a434cc28fe/doc/plutus/tutorials/BasicPolicies.hs#L24
Describe alternatives you've considered
Add a way to pass Unit () for script data using the cli. If this already exist it should be documented.
System info (please complete the following information):

OS Name: Mint
OS Version: 20.2 (Uma)
Node version: cardano-node 1.28.0 - linux-x86_64 - ghc-8.10 git rev 708de685d49ec6af4b2d8b3cbfa0eca0e9e43edf
CLI version: cardano-cli 1.28.0 - linux-x86_64 - ghc-8.10 git rev 708de685d49ec6af4b2d8b3cbfa0eca0e9e43edf

This was originally raised as https://github.com/input-output-hk/plutus/issues/3708

Just proven that it is possible to pass this using script data json file { "constructor": 0, "fields": [] }. This is good enough to close this issue.


chore(kubeStateMetrics): make it clear that the keys of kubeStateMetrics only accept booleans for the values

Discussed with @mattray. This should provide a better usability.

Can we merge?


2022-06-23 09:25:59.298713: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of<PHONE_NUMBER>0 exceeds 10% of free system memory.

I'm currently trying to train GenoCAE on a datasets of 15 million SNPs across 67 individuals, but seem to be running into memory issues despite the fact that I'm using a AMD Threadripper workstations with 252 GB of memory and 64 cores (128 threads).
I suspect this may be due to the large number of SNPs I'm including, since the example data (which runs fine) only contains 9,259 SNPS, and in the original paper 161k were used.

2,067 individuals typed at 160,858

From my limited experience with these models, the number of input features drastically affect memory usage (much moreso than sample size). So I think my first step will be to filter the number of variants I'm training the model on based on some of the guidelines provided in the paper:

Remove sex chromosomes
Set missing genotypes "to the most frequent value per SNP so as to avoid their influence over dimensionality reduction results".
Remove SNPS with MAF <1%.
Perform LD pruning by "removing one of each pair of SNPs in windows of 1.0 centimorgan that had an allelic R2 value greater than 0.2." Though eventually I'd like to find a way to avoid this last step because I'm interested in identifying causal variants.

Thanks so much for the detailed feedback @cnettel ! This all makes quite a bit of sense to me.
I'll tinker with the SNP filtering based on your suggestions. And let me know if you need a tester for the new version of GenoCAE, I'd be happy to give it a go!


Password generator

Create a  password Generator tool in html,css and javascript.

Add navbar in your tool's html file. You can copy the navbar from index.html.
Add screenshot of your tool in, PR message and also in the folder of your tool
Before Making the PR Pull the latest changes that have been made to the repository

**Note: Please Don't Make Any Changes In index.html AND contributors.html **
**Note: Only make changes to the folder that you have created for your tool/utility **
Add the below mention section to your PR message
Title
Number of files/folder added
changes made
check the options that you have completed,
I have;

[ ] Read contibuting.md
[ ] Followed all the guidelines
[ ] Followed the directory Structure
[ ] updated readme.md
[ ] add your name in the footer of your tool.html file (if you created length conversion tool then add your name to length.html file you created)
[ ] provide below mentioned details if you want your name to be added in contributors.html
[ ] mail, twitter, github profile link.

Hi, I would like to work on this.

I just sent the commit.
Please let me know if you need me to change anything.
Thanks.

please let me know if I can work on this

@ke3peR007 This is already been completed but you can always work on other issues. ✌


Add the #reset_attributes method

I'd love to see this in Virtus. I'm using Virtus for creating some configurations and sometimes need to reset the whole configuration of my application.
If there's a better alternative, do tell, otherwise please tell me if you're okay with this and do I need to add this to the README.

:shipit:


Put install instructions in README.md

Either add some install instructions to the README.md or just add a link to http://api.kalabox.me/ if you intend to maintain the instructions there.  I don't think npm install kalabox -g is an obvious install method for those not familiar with the project.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24709968-put-install-instructions-in-readme-md?utm_campaign=plugin&utm_content=tracker%2F4965042&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F4965042&utm_medium=issues&utm_source=github).

Were you trying to install this project or the CLI version of Kalabox? This project doesn't do much at this point but we'll be working in it in the coming months.

Aha.  I was just trying to install kalabox and thought this was the newest version.  I see now I was in the wrong repository entirely and should have been at https://github.com/kalabox/kalabox.  Doh!


window.localStorage === null ?

localStorage is not supported in chromium-webar ? im guessing this is just a flag missing somewhere.
console.log(localStorage)

This issue has been resolved in the current APK as stated in the issue #2 . Closing.


Provide JSON-LD based traits

Use _ instead of : in field name https://github.com/json-ld/json-ld.org/issues/132#issuecomment-1434646361
Use script to auto create lots of traits, as sub-plugin.

https://pdsinterop.org/conventions/overview/


Output traces in tests

It may be a good idea to show the traces from the execution.
I assume traces are used for the testing purposes only, so it makes sence to me to output them there.
https://github.com/Plutonomicon/plutarch-plutus/blob/a9141ad6dc6ae3aae0697a4ddcb490f3ada1563d/plutarch-test/Plutarch/Test.hs#L74-L83
Maybe have something like that instead:
 pshouldBe :: ClosedTerm a -> ClosedTerm b -> Expectation
 pshouldBe x y = do
   p1 <- eval $ comp x
   p2 <- eval $ comp y
   pscriptShouldBe p1 p2
   where
     eval :: Scripts.Script -> IO Scripts.Script
     eval s = case evalScript s of
       (Left e, _, traces) -> assertFailure $ "Script evaluation failed: " <> e <> " with traces: " <> show (pretty traces)
       (Right x', _, _) -> pure x'

These are the old tests. We use goldens for new things.


An error occurs when creating a Mongo database with command

Version: 1.34.20-insider (user setup)
Node.js: 10.2.0
OS: Windows
Regression From: Not a regression
Extension build: 20190520.1
Steps to reproduce:

Press F1 -> Select 'MongoDB: Create Databse'
Click 'Create New Account' -> Type an account name -> Select an API for the account -> Select a resource group -> Select a location.
Enter a name for the new database -> Check the result.

Expect Experience:
The database can be created successfully.
Actual Experience:
The below error occurs.

More info:
This issue doesn't reproduce when creating the database with an existing account(Select an existing account instead of creating a new account in step2)

Notes:
Could be down to revealing/searching for the treeItem before its parent is created.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Test suite does not function in Node versions 9 or 10

The test suite depends on the "replay" module, and that module has a bug which interferes with HTTPS request mocking in Node.js versoins 9 and 10:
https://github.com/assaf/node-replay/issues/141
We're going to tolerate this for now because the problem does not effect the LTS release of Node.js and because it's limited to the test suite (i.e. not the application code). This project's dependency on the "replay" module should be updated once the underlying bug is corrected.

My node --version is v10.15.3 and it now works for me. Locally I get 59 passing tests just like in https://travis-ci.com/web-platform-tests/wpt-pr-bot/builds/135356662.
Was this the only think blocking an upgrade?

https://github.com/web-platform-tests/wpt-pr-bot/pull/116 also shows that it works, so I'll close this.


GPU Operator Driver Version on EKS, GKE

Hi @evberrypi
This PR can help user to customize the GPU Operator driver version on EKS and GKE.
Thanks,
Anurag G

Two small changes:
Can we also add this to EKS?
Second -- can you install locally terraform-docs? We use the command terraform-docs markdown . to autogenerate the documentation at the bottom of each submodules readme


Fix async I/O in HomeKit controller setup

Description:
This is to implement post-merge review feedback from @MartinHjelmare on #23191.

Can be merged when build passes.


Set up infrastructure for documentation translation

Evaluate slideshow generation tools, see for example: https://tiiny.host/blog/the-ultimate-list-of-markdown-presentation-tools/

markdown input, simple extra format
output as html slides: viewable without web server!, html document, maybe pdf, readthedocs compatible
free!, open-source!
widely used!
visual appearance of the generated slides with default options; availability of templates!
ecosystem: other tools that use it
connection to translation tools, text split&merge for translation, https://www.sphinx-doc.org/en/master/usage/advanced/intl.html
visual editor: preferably free, such as a VS Code plugin (such as vscode-reveal by evilz)
Python-friendly text extraction, processing (instead of JavaScript)

Presentation that could be used in the software evaluation pilot: https://github.com/PerkLab/PerkLabBootcamp/blob/master/Doc/day1_2_DataLoadingAndVisualizationTutorial.pptx
Automatic annotation of screenshots:

when capturing the screenshot, store in image comments the rectangle of selected (or all visible) widgets
create a python script that can generate annotation (e.g., click on the button and a label) on a widget

Example:
Source text:
![SomeImage | [{"type"="clickMarker", "position": "updateButton", "label": "1"}] ](image.png)

Processed text that displays the annotated image:
![SomeImage](image_234234.png)

Try to set up github actions to automate generation and deployment of github pages: https://github.com/ralexander-phi/marp-to-pages
Have a look at more complex examples, such as:

deployed: https://cs199emp.netlify.app/
source: https://github.com/harsh183/emp-125/tree/master/slides

Write more slides of DataLoadingAndVisualizationTutorial.pptx.
For the future: Implementing custom image processing (e.g., add mouse click marker and labels), check if it is possible to add custom image processing plugins; if not then we can parse the markdown file (https://github.com/syntax-tree/mdast), preprocess it, update the image source, and use marp on the preprocessed markdown and images.

Side-by-side image and text:

https://github.com/orgs/marp-team/discussions/62
https://github.com/marp-team/marpit/issues/137#issuecomment-524175560
https://stackoverflow.com/questions/30861845/how-to-use-two-column-layout-with-reveal-js

Two columns: https://github.com/orgs/marp-team/discussions/192?#discussioncomment-1516155 (need to Enable HTML in Marp Markdown)
Image sizing: need to specify in pixels? https://github.com/orgs/marp-team/discussions/167

extract_strings.py:

input: source .md file (English)
outputs:

.h file: list of all extracted strings
.json file: location of each extracted string

lupdate:

input:

.h file
previous .ts file (if exists)

output: updates .ts file

translate_strings:

inputs:

source .md file (English)
.ts file
.json file

output: translated .md file


policy github actions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
124

Relevant Lines:
1220

💛  - Coveralls


Change Namespace id to 10 bytes

29 = NamespaceSize = NamespaceVersionSize + NamespaceIDSize - NamespaceVersionZeroPrefixSize = 10
NamespaceVersionSize = 1
NamespaceIDSize = 28
NamespaceVersionZeroPrefixSize = 18
We left pad the namespace with 0s (in celestia-openrpc) so that's why even though Rollkit has 8 it still works.
https://github.com/rollkit/rollkit/blob/main/types/block.go#L16
https://github.com/rollkit/rollkit/blob/main/config/config.go#L96

[ ] Docs update to use 10 as the namespace id
[ ] Announce it to all relevant parties as it is a breaking change

This is completely handled in go-da now instead of Rollkit. Closing since not relevant anymore.


assign does not respect type of target field symbol

This code should produce a runtime error (string is not char4). It is running instead
TYPES:
  BEGIN OF ts_test,
    a TYPE c LENGTH 4,
  END OF ts_test.
  DATA ls_test type ts_test.

  FIELD-SYMBOLS <lv> TYPE string.
  ASSIGN COMPONENT 'A' OF STRUCTURE ls_test TO <lv>.
  WRITE <lv>.

I was hesitant if this is a duplicate of https://github.com/abaplint/transpiler/issues/404 .Still decided to open another one, since there it is a simple casting, and the assumption is that the type of pointer and the underlying field are matching


text: Please add more detailed documentation to text.Draw

Hello! I was kindly wondering what it means for text to be rendered at a "'dot' (period position)"? I'm creating a little Sudoku program with this library and I'm having trouble figuring out how to calculate the x and y for this function such that the number is rendered in the exact center of each tile.
If it helps, you can see my code here. Thank you very much!
P.S. This is an amazing library and I've been having a lot of fun using it thus far!

Hi,
The document says that " (x, y) represents a 'dot' (period) position.", and this means that if a given text consists of a single character ., this is positioned at the given position (x, y). Does this make sense? I'm not sure how to improve the text (disclaimer: I'm not an English native speaker).

Your English is awesome! I was just having trouble because I was not familiar with the concept of a dot position, and I can't find it in a Google search.
In regards to the documentation, what you just said gives me some better insight! I think you could add what you just said to make it more clear. An additional sentence like: "This means that if the given text consisted of a single character ".", it would be positioned at the given position (x, y)."
Some additional questions I have are:

When there is more than a single character, does this mean that the text begins rendering at that dot position? e.g. ".A" would render with the "." at the given (x, y) (I assume so)
Do you know how to adjust for this dot positioning in calculating how the text might be centered in a given window?

Thank you for the feedback!

When there is more than a single character, does this mean that the text begins rendering at that dot position? e.g. ".A" would render with the "." at the given (x, y) (I assume so)

Yes, that's correct.

Do you know how to adjust for this dot positioning in calculating how the text might be centered in a given window?

You can get the bounds of the text by BoundsString (https://pkg.go.dev/golang.org/x/image/font?tab=doc#BoundString). The rectangle's origin point should be the dot position. Then you can adjust the position as you like with this information.

Thank you so much for working on such a wonderful tool and clarifying for me! I really appreciate it!

Added some comments based on your feedback. Thank you for the feedbacks, and using Ebiten!

Based on the feedback, I've added BoundString function, which returns the actual rendered area, and the origin position is the dot position. This should be useful to adjust the text position as you like.


vscode doesn't work with xmodmap on mapping about "tab"

Issue Type: Bug
Tab -> BackSpace and Ctrl_L -> Tab,  doesn't work as expected in vs code
my .Xmodmap as below
! Tab -> BackSpace
keycode  23 = BackSpace KP_Enter BackSpace BackSpace

! Control_L -> Tab
keycode  37 = Tab ISO_Left_Tab Tab ISO_Left_Tab

! Shift_L -> Control_L
keycode  50 = Control_L NoSymbol Control_L

! Caps_Lock -> Shift_L
keycode  66 = Shift_L NoSymbol Shift_L

clear control
add control = Control_L
add control = Control_R

clear shift
add shift = Shift_L
add shift = Shift_R

clear lock

VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:30:08.229Z)
OS version: Linux x64 5.2.11-1-MANJARO

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (8 x 2826)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
11.66GB (2.96GB free)

Process Argv
/run/media/deepkolos/Data/DEV/Github/opensource/vscode

Screen Reader
no

VM
0%

Extensions: none

Can you elaborate a little on what you're trying to do here and what doesn't work? I suspect you're running into an issue with how the keybinding system works within VS Code.

@Tyriar i just move to manjaro from windows, but i have some key remap on windows and i want to continue have that, so i search the web, it tells me xmodmap can do that, and it works, expect vscode.
and i found, after xmodmap ~/.Xmodmap
in first log Event.code still 'Tab' but key has changed to 'Backspace' , the second event log is trigger by original real backspace key

And vs code read event.code so the map (tab -> backspace) doesn't work
https://github.com/microsoft/vscode/blob/master/src/vs/workbench/services/keybinding/browser/keybindingService.ts#L534

Duplicate of https://github.com/microsoft/vscode/issues/23991


Integration Test - Release - 2020/02/04 21:56:37

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

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


fix: DIA-643: [FE] max threshold 1 makes it so we cant see results for semantic search

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[x] Frontend

Describe the reason for change
max threshold now set to 10
What does this fix?
(if this is a bug fix)
What is the new behavior?
(if this is a breaking or feature change)
What is the current behavior?
(if this is a breaking or feature change)
What libraries were added/updated?
(list all with version changes)
Does this change affect performance?
(if so describe the impacts positive or negative)
Does this change affect security?
(if so describe the impacts positive or negative)
What alternative approaches were there?
(briefly list any if applicable)
What feature flags were used to cover this change?
(briefly list any if applicable)
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[ ] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[ ] e2e
[ ] integration
[ ] unit

Which logical domain(s) does this change affect?
(for bug fixes/features, be as precise as possible. ex. Authentication, Annotation History, Review Stream etc.)

/git merge master


Can you update?

First of all, can you add option to download from pastebin/rentry link? Thats extremely useful feature because all published builds can be easily changed.
Also when will you update this as its been 9 months and I see pretty many people have asked for the update.
Thank you for all the work you did, I will donate again soon!

@UnamSanctam

I am working on it but haven't gotten the latest one to work with 32-bit yet, I am also in the process of integrating the new signature cloner feature directly in C#.

Can you edit current one and make it download everything from raw url (rentry.org/.../raw) and name them and execute them?
I will pay for it

Sure, only changing that is extremely simple, here is a build that does that:
UnamDownloader.zip

But its pretty much the same build as public release

Where do I put link of rentry (where all the links are)

Basically I would use such link (https://rentry.org/ssbbdw/raw)
And it should download all the files there. So in future I can just edit rentry post and it will download new files

In the Download URL, I just replaced the normal functionally, but it won't do multiple files per link, for that the code would have to be quite a bit more advanced.

Well I need to put 1 link and it downloads files from all the links on it, and execute them

I can pay in advance, if you can make that

So, do you think you can do that?

Basically, there can be a button "download multiple files" and when I click on it, there would be place to put link such as rentry, and it would name them randomly (doesnt really matter) and execute them

Here is a build that splits the links using new line and then runs a for loop that downloads each file and gives them a random name, and then executes them all using another for loop. It only works for .exe files (since it has to be hard coded):
UnamDownloader.zip

Same eth address? 0x40E5bB6C61871776f062d296707Ab7B7aEfFe1Cd

Also, can you give me any contact if you have (Not protonmail) where we can livechat (as we used to talk via discord in the past). I need you on a few more things :D

Yes I have the same wallet addresses, though you don't need to pay me for that one since it's still just a modification of the old (current) version.

Also, can you give me any contact if you have (Not protonmail) where we can livechat (as we used to talk via discord in the past). I need you on a few more things :D

I haven't gotten one yet, I tried getting my Telegram back but it didn't work. Haven't decided what else to use yet.

Sent a little donation then, thank you for the help :)

Is there also posibility to remove detections on it, and to add bytes on infection (so file cannot be put on Virustotal? (over 650mb files cannot be scanned on virustotal)

https://github.com/DevxStudio/Malware_Hide_Installer
This guy has implemented it I think

Also it would be nice to be able to add entire C drive to exclusions in defender (with newer script for defender), so if downloader is undetected, it can add exclusions, and then download all the files so the files themselves won't require a crypt.

I'm willing to pay for it all too, if you can do it privately (so detections doesnt grow that fast - that would happen if you upload it here)

Right now I'm working on version 1.7 of the downloader, I just need to get it working for 32-bit first.

Tbh pretty much nobody uses it for 32 bit files

Tbh pretty much nobody uses it for 32 bit files

there are many paid tools that can only be built with 32bit

@shainodev Aight then, my bad I guess

great, but the "Run as Administrator" and "Add Windows Defender exclusions" features are broken 😐
can you fix that broken feature?, i will donate

Broken? It should work fine, or do you just mean that the exclusion process gets a detection?


Add Lineage configuration.

🗣 Description
Add Lineage configuration to enable automatic PRs from upstream.
:eyes: Please verify that the correct upstream repo was selected.

I will look at fixing the builds.

I had to manually merge in the latest upstream to get the GItHub Actions to pass.


[Log] divide a log message

Since the length of the pipeline string is too long, the error message cannot be checked.
For easier debugging, this log message should be divided.
Signed-off-by: Hyoung Joo Ahn<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #22. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


Add tests

We should add tests to the project.
VSCode extension testing guide

Yes we should. Not sure where to start though. Would it be best to start with https://github.com/vknabel/vscode-swiftlint or https://github.com/vknabel/vscode-swiftformat as they are much simpler?
And then scaling up to this project?

Yes we should. Not sure where to start though. Would it be best to start with https://github.com/vknabel/vscode-swiftlint or https://github.com/vknabel/vscode-swiftformat as they are much simpler?
And then scaling up to this project?


refactor: Handle network changes while Firezone is connected by allowing multiple calls to getSystemDefaultResolvers and onSetInterfaceConfig

Refs #3343
This PR includes the following changes across all clients in order to gracefully handle network switching with minimal platform-specific code needed to do so.
In my investigation in using the pathDidUpdate handler to detect network changes, it became clear that using that to detect and respond to changes causes a catch-22: responding to the path update involves changing our DNS servers which itself triggers a pathDidUpdate.
Rather than doing that, we instead depend on connlib to detect when a query to its system resolver upstream has timed out, and if so, call getSystemDefaultResolvers to update them to the new system default resolvers.
The pathDidUpdate callback is still used, but only for communicating to the user the reasserting status of the tunnel, which tells the user when Firezone is reconnecting. The added benefit of this is that Tunnel connects, reconnects, and disconnects are much faster since we don't need to react to them inside pathDidUpdate,  and we don't need to disconnect connlib in between either.
This PR also:

Removes onTunnelReady -- this is redundant with onSetInterfaceConfig if we make sure to always add the dnsServers to the routes on each call (no need to wait for a separate call)
Removes onAddRoute and onRemoveRoute in favor of a single onUpdateRoutes(routes4: JSONString, routes6: JSONString). Instead of tracking local variable for routes on each platform, connlib will do this instead and just instruct the platform which routes to set on the tunnel
Splits the getSystemDefaultResolvers implementation on Apple to use SystemConfiguration on macOS and the Bind9 dance on iOS. There is no choice but to use a semaphore to retrieve the system default resolvers on iOS since we're not able to reliably detect when they change, other than using a DNS server timeout from connlib in order to do so.
Removes extra state and conditionals associated with the pathDidUpdate code paths in Adapter.swift.

TODO

[x] Apple changes (@jamilbk)
[x] Android changes (@jamilbk)
[ ] Linux changes (@ReactorScram)
[ ] Windows changes (@ReactorScram)
[ ] connlib updates to support the above (@conectado)

I'll check this out and do a stacked PR if anything in Windows needs to change

Closing in favor of #3791


need generate service-worker.js for production

I've tried workbox.swdestwhich works if I use it as yarn dev but doesn't work for yarn generate
https://github.com/kodadot/nft-gallery/blob/main-nuxt/nuxt.config.js#L151
You can see dist/ made by yarn generate vs folder / made by yarn dev
Ref
Workbox docs -- https://pwa.nuxtjs.org/workbox/
our old service-worker.js -- https://github.com/kodadot/nft-gallery/blob/main/src/registerServiceWorker.ts

@yangwao Service Workers are a PWA concept, running yarn generate or nuxt generate means you are doing Static Site Generation (SSG), it's expected that it will not contain a service worker.
When you run it locally, you are running it as a single page progressive web application, which supports service worker, hence you see it when running yarn dev.
To setup a PWA, you need to build it as one, the command for that is yarn build or nuxt build.

@atharva3010 to briefly onboard you, check branch main, that's current running code for olde users. Way to solve this would be to unregister service worker from the previous instance of users (it's still running here https://nftkodadot.netlify.app/ ) as it serves old user content (which was previously at https://kodadot.xyz) from old cache and service worker won't refetch new stuff until we will tell them to fetch by new manifests as it's bumps to https://kodadot.xyz/service-worker.js .. which is not there yet as new nuxt code from main-nuxt generates sw.js which is actually irrelevant to old istance.
Found helpful hints here https://github.com/GoogleChrome/workbox/issues/2080
Probably gonna try.

To setup a PWA, you need to build it as one, the command for that is yarn build or nuxt build.
Yes, that would be the next case we will try on beta, right now point is to unregister old service worker for old user, bc currently they have none way to learn there is new deployment.

self.addEventListener('install', function(e) {
  self.skipWaiting();
});

self.addEventListener('activate', function(e) {
  self.registration.unregister()
    .then(function() {
      return self.clients.matchAll();
    })
    .then(function(clients) {
      clients.forEach(client => client.navigate(client.url))
    });
});

self.addEventListener('install', function(e) {
  self.skipWaiting();
});

self.addEventListener('activate', function(e) {
  self.registration.unregister()
    .then(function() {
      return self.clients.matchAll();
    })
    .then(function(clients) {
      clients.forEach(client => client.navigate(client.url))
    });
});

Yes, that's what I was thinking use y'day, it's being generated by yarn dev
https://github.com/NekR/self-destroying-sw
But, nuxt uses already sw.js

const options = {
    "workboxURL"<EMAIL_ADDRESS>    "importScripts": [],
    "config": {
        "debug": false
    },
    "cacheOptions": {
        "cacheId": "nft-gallery-nuxt-prod",
        "directoryIndex": "/",
        "revision": "8q9FD9VWMlA8"
    },
    "clientsClaim": true,
    "skipWaiting": true,
    "cleanupOutdatedCaches": true,
    "offlineAnalytics": false,
    "preCaching": [{
        "revision": "8q9FD9VWMlA8",
        "url": "/?standalone=true"
    }],
    "runtimeCaching": [{
        "urlPattern": "/_nuxt/",
        "handler": "CacheFirst",
        "method": "GET",
        "strategyPlugins": []
    }, {
        "urlPattern": "/",
        "handler": "NetworkFirst",
        "method": "GET",
        "strategyPlugins": []
    }],
    "offlinePage": null,
    "pagesURLPattern": "/",
    "offlineStrategy": "NetworkFirst"
}

importScripts(...[options.workboxURL, ...options.importScripts])

initWorkbox(workbox, options)
workboxExtensions(workbox, options)
precacheAssets(workbox, options)
cachingExtensions(workbox, options)
runtimeCaching(workbox, options)
offlinePage(workbox, options)
routingExtensions(workbox, options)

function getProp(obj, prop) {
    return prop.split('.').reduce((p,c)=>p[c], obj)
}

function initWorkbox(workbox, options) {
    if (options.config) {
        // Set workbox config
        workbox.setConfig(options.config)
    }

    if (options.cacheNames) {
        // Set workbox cache names
        workbox.core.setCacheNameDetails(options.cacheNames)
    }

    if (options.clientsClaim) {
        // Start controlling any existing clients as soon as it activates
        workbox.core.clientsClaim()
    }

    if (options.skipWaiting) {
        workbox.core.skipWaiting()
    }

    if (options.cleanupOutdatedCaches) {
        workbox.precaching.cleanupOutdatedCaches()
    }

    if (options.offlineAnalytics) {
        // Enable offline Google Analytics tracking
        workbox.googleAnalytics.initialize()
    }
}

function precacheAssets(workbox, options) {
    if (options.preCaching.length) {
        workbox.precaching.precacheAndRoute(options.preCaching, options.cacheOptions)
    }
}

function runtimeCaching(workbox, options) {
    const requestInterceptor = {
        requestWillFetch({request}) {
            if (request.cache === 'only-if-cached' && request.mode === 'no-cors') {
                return new Request(request.url,{
                    ...request,
                    cache: 'default',
                    mode: 'no-cors'
                })
            }
            return request
        },
        fetchDidFail(ctx) {
            ctx.error.message = '[workbox] Network request for ' + ctx.request.url + ' threw an error: ' + ctx.error.message
            console.error(ctx.error, 'Details:', ctx)
        },
        handlerDidError(ctx) {
            ctx.error.message = `[workbox] Network handler threw an error: ` + ctx.error.message
            console.error(ctx.error, 'Details:', ctx)
            return null
        }
    }

    for (const entry of options.runtimeCaching) {
        const urlPattern = new RegExp(entry.urlPattern)
        const method = entry.method || 'GET'

        const plugins = (entry.strategyPlugins || []).map(p=>new (getProp(workbox, p.use))(...p.config))

        plugins.unshift(requestInterceptor)

        const strategyOptions = {
            ...entry.strategyOptions,
            plugins
        }

        const strategy = new workbox.strategies[entry.handler](strategyOptions)

        workbox.routing.registerRoute(urlPattern, strategy, method)
    }
}

function offlinePage(workbox, options) {
    if (options.offlinePage) {
        // Register router handler for offlinePage
        workbox.routing.registerRoute(new RegExp(options.pagesURLPattern), ({request, event})=>{
            const strategy = new workbox.strategies[options.offlineStrategy]
            return strategy.handle({
                request,
                event
            }).catch(()=>caches.match(options.offlinePage))
        }
        )
    }
}

function workboxExtensions(workbox, options) {
}

function cachingExtensions(workbox, options) {
}

function routingExtensions(workbox, options) {
}

This done the job, even reloaded on Firefox and Chrome, Safari keeps hanging
self.addEventListener('install', function (e) {
  console.log('installListener')
  self.skipWaiting();
});

self.addEventListener('activate', function (e) {
  console.log('activeListener')
  self.registration.unregister()
    .then(function () {
      console.log('unregister')
      return self.clients.matchAll();
    })
    .then(function (clients) {
      // maybe this is not needed at all and leaving as very last option to try
      // window.sessionStorage.clear()
      // window.localStorage.clear()
      // window.location.reload()
      clients.forEach(client => client.navigate(client.url))
    });
});

Seems it works!

@atharva3010 sent a payment link, I guess owe you some small payout for engagement and hint! :)

@atharva3010 sent you $100 ;)
https://kusama.subscan.io/extrinsic/0xd4d0fb93feb14bf3c5192c395cae150a8a0a1ae16d8e4887d0c24dad2c16d3b4


Putting columns in 'Unused section'

Hello,
Thank you so much for contributing this "widget".  Very impressive.  I am just starting to learn it.  In the pivot, specifically PivotUI,  there are rows and columns.  There is also an area right above the column area for unused attributes, i.e. attributes which are defined and available to the user, but not currently displayed in the grid.  What is this area called, and how do I setup the PivotUI to put attributes in this area... ?  I want to define a PivotUI for my users, but also give them the flexibility to use additional or different attributes. So my initial layout might put 2 attributes/fields in ROW, 1 in COLUMN, and have an additional 3 attributes/fields defined, but not actually displaying that data.
Thank you.

Any dataset attributes not in rows or cols or hiddenAttributes is automatically placed in the unused area, you don't need to do anything special.


Extension hover is often dismissed too early

Testing #223090
The hover widget of the extension is often dismissed too early and making it hard to move cursor to the hover widget and click on the links.
https://github.com/user-attachments/assets/89aff1b2-5c54-45c4-9ed9-3a1b4017a509
From the recording above you can see that I only get it working 1 out of 3 times.

This is because you hover the scroll bar which dismisses it, currently you need to hold alt to lock the hover.
@sandy081 consider adding the showHoverHint option:
https://github.com/microsoft/vscode/blob/b4eb7c94495e25b5dc968a4d3a723346e27f48a3/src/vs/base/browser/ui/hover/hover.ts#L203-L209
We can also remove this hideOnHover requirement which I think will be needed to get this to work in your case:
https://github.com/microsoft/vscode/blob/b4eb7c94495e25b5dc968a4d3a723346e27f48a3/src/vs/editor/browser/services/hoverService/hoverWidget.ts#L225

@Tyriar It seems this option showHoverHint is not available for setupManagedHover
https://github.com/microsoft/vscode/blob/dde43f978fc93d84249fe16f755076266e4937fc/src/vs/base/browser/ui/hover/hover.ts#L65

@sandy081 will merge https://github.com/microsoft/vscode/pull/223765 after we branch off

https://github.com/user-attachments/assets/f4dde175-0b5d-4f84-af0e-7035cfe9813b
Another case for scm view. @Tyriar does your fix cover this too?

@rebornix there you're hovering an element with a different hover which is why it's dismissed, related but different case and i think we're acting as designed there.

@Tyriar in the recording I was attempting to move cursor into the hover so I can click on the button in the rich hover. It seems we don't have a large enough "hit area" in general and the hover is easily dismissed.

Still seeing this. If there's a scrollbar like below I can't move the cursor to the hover without it getting dismissed:

Holding alt works

Fix here is to show the hint to Hold Alt and it seems not to be shown.
@Tyriar I have set the flag showHoverHint while showing the hover and it is still not shown.
https://github.com/microsoft/vscode/blob/d1388fd24fc0acf17ae1f759e85c1acf559ed759/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.ts#L545-L576

Seems to show unless the extension is verified:


Added CircleCI + yamllint + hadolint + shellcheck

WIP for now for @linuxbandit and me to see how it's working.

@linuxbandit okay, so this should be pretty final.
I've only left the checks itself without touching any other files, we can do it later.
Can you approve and merge?


initContainer fail

on a kubernetes 1.13.2 cluster with the newest metric-server, I am seeing stuff like this in the logs:
E0206 01:13:57.733834       1 manager.go:102] unable to fully collect metrics: [unable to fully scrape metrics from source kubelet_summary:node1: unable to get a valid timestamp for metric point for container "remove-lost-found" in pod default/foo-mysql-7bbc6bdf7f-pd2js on node "node1", discarding data: no non-zero timestamp on either CPU or memory, unable to fully scrape metrics from source kubelet_summary:node1: unable to get a valid timestamp for metric point for container "remove-lost-found" in pod default/foo2-mysql-759b4b966c-dxgtj on node "node1", discarding data: no non-zero timestamp on either CPU or memory]
Tracking it back, remove-lost-found is an initContainer. If I remove it, then the metrics server starts to gather metrics on it.
I'm not sure if this is a kubelet or a metrics-server issue. Either way, it should not fail to gather metrics from pods with completed initContainers.

I have the same issue

I see this too. However, this looks to be an issue with kubelet summary API and not metrics-server. You should open an issue upstream to get it addressed. It probably can't even be worked around in metrics-server since the API doesn't return the container state to filter non-running/init containers.
There are two summary API implementations in kubelet: cadvisor and CRI. Cadvisor is used with docker and CRI-O while CRI is used for others like containerd. Which container runtime are you using? I'm experiencing the issue with containerd.

I'm using containerd as well.

cc @brancz @DirectXMan12 Can you confirm this should be addressed upstream in kubelet?

Yeah. or maybe it is a cri-containerd bug that should be filed there?

No, I looked it up. CRI is supposed to return all containers/pods. It is up to kubelet to filter it for summary API.

Ok. I submitted an issue upstream.

I think this and #214 can be closed as there is already a PR to fix kubelet: https://github.com/kubernetes/kubernetes/pull/74336


How to visualize the instance and semantic segmentation results

Thanks for sharing your work. I want to know how to visualize the results. Hopeful to your reply.

Hi, I use the MeshLab to visualize the point clouds:)


NumberField not always adjusting to correct number of decimals

UPDATE:
Didnt realise that there have been bug corrections concerning NumberField in platform release 13.0.4. After running the application on that code, however, some issues are still relevant, especially the third example. I also think example one, below, is not working as "good" as before, now it is more similar to the problem in example three.
Description
Below I have written down 3 cases that are describing the problem and which can be used to solve this issue.
Firstly, when a NumberField is instantiated, a stepChanged event will be triggered and sent, which sets the step value of the inputElement and counts the number of decimals to use depending on the step size. After the count, it will adjust the decimals of the value, which will then show in the client.
Secondly, when we change value in the NumberField in the client, an onInputChanged event is triggered and sent, which will result in decimals being adjusted for the value entered.
The two examples given above works ok, but not perfect. What can be improved is when working with whole numbers (integers); the decimal calculation will add zeros after the number depending on the step size (e.g. value is 5 and step size = 0.001, will result in 5.000 showing in the field instead of 5).
However, a third example, is when just reloading data into the NumberField, then neither the stepChanged or onInputChanged are triggered (the only two methods triggering logic for calculating decimals). I think this is correct, because we have not changed the step and not done any direct input change of the field. But this means that the logic for adjusting the decimals of the value is not triggered, which will result in decimalValue.toString() always setting the format of the value in the NumberField. This is the problem, because in our application we often only want to display whole numbers (integers), which then results in e.g. 5.0 format. We want it to show as 5, as mentioned before.
Here is the code metioned above:

Expected outcome
Always getting the correct number of decimals depending on the step size AND the value of the field.
E.g. Field value is 5
Step size = 1 => 5
Step size = 0.1 => 5
Step size = 0.01 => 5
Step size = 0.001 => 5
Actual outcome
In the two first examples the outcome is following:
E.g. Field value is 5
Step size = 1 => 5
Step size = 0.1 => 5.0
Step size = 0.01 => 5.00
Step size = 0.001 => 5.000
In the third example the outcome is following:
E.g. Field value is 5
Step size = 1 => 5.0
Step size = 0.1 => 5.0
Step size = 0.01 => 5.0
Step size = 0.001 => 5.0
Steps to reproduce
See desciption section.

Same problem here. Please accept and correct this bug.

@niiyeboah Can you reproduce this behavior? Since version 2.3.6 there seems to be no way to to set a value from Java without seeing the wrong precision on the client.
The Vaadin example is also broken:
https://vaadin.com/components/vaadin-text-field/java-examples

Unfortunately your example and your component are still broken and I see no fixed behavior in Vaadin 14!
As before the initial value is "1.0". After incrementing with "+" the value is "2", as expected.
https://vaadin.com/components/vaadin-text-field/java-examples/number-field
Please consider to fix this buggy behavior. As for now we cant use this component and we are paying customers...


[release 3.28] Bump UBI version to 8.10

Description
Bump UBI version to 8.10
https://github.com/projectcalico/calico/pull/8907

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

/merge-when-ready @marvin-tigera


Show Players a Token image by Right Clicking on NPC portrait and "Show Token" broken when is the Token is using wildcards in path.

When want to show the players a large version of the Token I often use the Right click on the NPC character sheet to show the token image. This works great for NPC's with a normal path, but is the Token is using  wildcard tokens it try to load the path with the * in it and fails. It needs to use the path to the current token.
At the moment to workaround I copy and paste the token path into a journal and show it from there, but it's a bit clunky for on the fly play.
cheers
Bill

Thanks for reporting. Can you show me an example that I might recreate the issue?
I'm having trouble trying to recreate. I can't save a file with any wildcards in it, and I can't get images to show up when there's a wildcard in the path.

Some more questions to help me figure it out:
Which operating system is Foundry running on?
What Foundry, dnd5e, and Tidy versions are in use?
Are images with wildcards in their path working in general when selecting a token image on the default sheets or the legacy sheets?

This is an example, in the Token Prototype I have wildcard set

And they are from the list of Tokens

When I select Show Token by Right Clicking on the Portrait Image

I get... And in the Console

It shows it's trying to fetch the filename with the "*" wildcard in it

Ah! My apologies. This is a feature I never knew about until now. I'll learn how it works and see what I can do. Thank you again for helping me with this info.

Tidy V4.2.0 has the fix.
Thank you again for reporting this. I learned about wildcards, and this exposed a related bug that is now fixed, so every Tidy user has benefitted from your efforts.

I've been testing this and we still have a little problem, if the Ring is set to true, it shows the non-ring Token. I'm not sure if there is a good solution to this. I suppose if the ring is true you could show the -subject img.
We don't get a broken img link dow so, great work!!!

Glad to be able to help!
If it's having trouble showing the token ring on the canvas, this may be a Foundry / dnd5e issue.
For the image preview feature, I don't think I can visualize the dynamic token ring from the preview window in a standard way. Are there examples of this in the system? I may be able to look at how they're doing it.

I will leave it to dnd5e / Foundry to deal with the management of the dynamic token ring. I think it would add too much additional complexity to Tidy to try to work that out in the image preview window.
Thanks again for reporting the wildcard issue. Come back anytime!


twitter: timeline is too narrow

Hi, thanks for the project, great idea! :+1:
I've noticed twitter timeline to be too narrow, and I think with this change it ends up with a more reasonable width. Although maybe I'm missing something, so feel free to reject the PR.
before:

after:

Right, but it seems this looks only good on your specific resolution, on larger ones the sidebar becomes huge :/ but I think I fixed it now.
Thanks anyway!

@phil294 userstyles.world only updates the style if you increment @version in the header.

@terinjokes oh damn I guess I should start to RTFM... thank you!