proper release to CTAN via l3build

@rultor release, tag is 0.6.0

@rultor release, tag is 0.6.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.6.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)
tlmgr: package repository https://ctan.mc1.root.project-creative.net/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr install: package already present: l3build
+ l3build check
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./iexec.ins (/usr/local/texlive/2022/texmf-dist/tex/latex/base/docstrip.tex
Utility: `docstrip' v2.6a <2020-11-23>
English documentation    <2020-11-23>

**********************************************************
* This program converts documented macro-files into fast *
* loadable files by stripping off (nearly) all comments! *
**********************************************************

********************************************************
* No Configuration file found, using default settings. *
********************************************************

)
File iexec.sty already exists somewhere on the system.
Overwrite it if necessary? [y/n]
\answer=
Generating file(s) iexec.sty

Processing file iexec.dtx (package) -> iexec.sty
Lines  processed: 284
Comments removed: 150
Comments  passed: 0
Codelines passed: 118

*** To finish the installation you have to move the ".sty"
*** file into a directory searched by TeX. To produce the
*** documentation run the file ".dtx" through LaTeX. If any
*** questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on iexec.log.
Running checks on
  env-variable (1/5)
  num-to-length (2/5)
  sanity (3/5)
  simple-bash (4/5)
  underscore (5/5)

  All checks passed

+ texsc
Found 12 lines in /home/r/repo/.texsc
No spelling errors found in 0 file(s), the text is clean
+ texqc
+ l3build tag 0.6.0
Tagging  iexec.dtx
+ git commit -am 'version set to 0.6.0'
[__rultor a490543] version set to 0.6.0
 1 file changed, 1 insertion(+), 1 deletion(-)
+ l3build upload --halt-on-error
...xlive/2022/texmf-dist/scripts/l3build/l3build-upload.lua:121: Missing zip file 'iexec-ctan.zip'. Maybe you forgot to run 'l3build ctan' first?
container 65cfce0fa84bc97df5a0cb8a618c28d05a5416e884798eb822f8437e312d2d6f is dead
Fri 30 Sep 2022 07:38:37 PM CEST

@rultor release, tag is 0.6.0

@rultor release, tag is 0.6.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor stop

@rultor stop

@yegor256 OK, I'll try to stop current task.

@rultor release, tag is 0.6.0

@rultor stop

@yegor256 Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 13min)
Output written in iexec.ind.
Transcript written in iexec.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gglo.ist..............done (14 attributes redefined, 3 ignored).
Scanning input file iexec.glo....done (4 entries accepted, 0 rejected).
Sorting entries....done (9 comparisons).
Generating output file iexec.gls....done (15 lines written, 0 warnings).
Output written in iexec.gls.
Transcript written in iexec.glg.
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gind.ist.............done (13 attributes redefined, 3 ignored).
Scanning input file iexec.idx....done (44 entries accepted, 0 rejected).
Sorting entries....done (248 comparisons).
Generating output file iexec.ind....done (67 lines written, 1 warning).
Output written in iexec.ind.
Transcript written in iexec.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
+ texsc
Found 12 lines in /home/r/repo/.texsc
No spelling errors found in 0 file(s), the text is clean
+ texqc
+ git commit -am 'version set to 0.6.0'
[__rultor a27a14f] version set to 0.6.0
 1 file changed, 1 insertion(+), 1 deletion(-)
+ l3build upload --halt-on-error
ctan-upload | announcement:
Empty announcement: No ctan announcement will be made
ctan-upload | author: Yegor Bugayenko
ctan-upload | bugtracker: https://github.com/yegor256/iexec/issues
ctan-upload | ctanPath: /macros/latex/contrib/iexec
ctan-upload | description: With the help of the \iexec command, you can execute a shell command and then input its output into your document. This package also lets you use any special symbols inside your command.
ctan-upload | development: https://github.com/yegor256/iexec
ctan-upload | email<EMAIL_ADDRESS>ctan-upload | home: https://github.com/yegor256/iexec
ctan-upload | license: mit
ctan-upload | note: Bug fixes
ctan-upload | pkg: iexec
ctan-upload | repository: https://github.com/yegor256/iexec
ctan-upload | summary: Execute shell commands and input their output
ctan-upload | support: https://github.com/yegor256/iexec
ctan-upload | topic: verbatim
ctan-upload | update: true
ctan-upload | uploader: Yegor Bugayenko
ctan-upload | version: 0.0.0
Contacting CTAN for validation:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  283k    0     0  100  283k      0  1009k --:--:-- --:--:-- --:--:-- 1006k
100  283k    0     0  100  283k      0   210k  0:00:01  0:00:01 --:--:--  210k
100  283k    0     2  100  283k      1   166k  0:00:01  0:00:01 --:--:--  166k
Validation successful.

Do you want to upload to CTAN? [y/n]
> 44a254d24655b7191f3911cac97553f7cb525e4b93a421edcda42ef96bb3bc70
Error response from daemon: Cannot kill container: 44a254d24655b7191f3911cac97553f7cb525e4b93a421edcda42ef96bb3bc70: Container 44a254d24655b7191f3911cac97553f7cb525e4b93a421edcda42ef96bb3bc70 is not running
container 44a254d24655b7191f3911cac97553f7cb525e4b93a421edcda42ef96bb3bc70 is dead
Fri 30 Sep 2022 08:02:39 PM CEST

@rultor release, tag is 0.6.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor stop

@rultor stop

@yegor256 OK, I'll try to stop current task.

@rultor stop

@yegor256 Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 14min)
Output written in iexec.ind.
Transcript written in iexec.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gglo.ist..............done (14 attributes redefined, 3 ignored).
Scanning input file iexec.glo....done (4 entries accepted, 0 rejected).
Sorting entries....done (9 comparisons).
Generating output file iexec.gls....done (15 lines written, 0 warnings).
Output written in iexec.gls.
Transcript written in iexec.glg.
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gind.ist.............done (13 attributes redefined, 3 ignored).
Scanning input file iexec.idx....done (44 entries accepted, 0 rejected).
Sorting entries....done (248 comparisons).
Generating output file iexec.ind....done (67 lines written, 1 warning).
Output written in iexec.ind.
Transcript written in iexec.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
+ texsc
Found 12 lines in /home/r/repo/.texsc
No spelling errors found in 0 file(s), the text is clean
+ texqc
+ git commit -am 'version set to 0.6.0'
[__rultor 00972ad] version set to 0.6.0
 1 file changed, 1 insertion(+), 1 deletion(-)
+ l3build upload --halt-on-error
ctan-upload | announcement:
Empty announcement: No ctan announcement will be made
ctan-upload | author: Yegor Bugayenko
ctan-upload | bugtracker: https://github.com/yegor256/iexec/issues
ctan-upload | ctanPath: /macros/latex/contrib/iexec
ctan-upload | description: With the help of the \iexec command, you can execute a shell command and then input its output into your document. This package also lets you use any special symbols inside your command.
ctan-upload | development: https://github.com/yegor256/iexec
ctan-upload | email<EMAIL_ADDRESS>ctan-upload | home: https://github.com/yegor256/iexec
ctan-upload | license: mit
ctan-upload | note: Bug fixes
ctan-upload | pkg: iexec
ctan-upload | repository: https://github.com/yegor256/iexec
ctan-upload | summary: Execute shell commands and input their output
ctan-upload | support: https://github.com/yegor256/iexec
ctan-upload | topic: verbatim
ctan-upload | update: true
ctan-upload | uploader: Yegor Bugayenko
ctan-upload | version: 0.0.0
Contacting CTAN for validation:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  283k    0     0  100  283k      0   235k  0:00:01  0:00:01 --:--:--  235k
100  283k    0     2  100  283k      1   150k  0:00:01  0:00:01 --:--:--  150k
100  283k    0     2  100  283k      1   150k  0:00:01  0:00:01 --:--:--  150k
Validation successful.

Do you want to upload to CTAN? [y/n]
> 37727a9817b48370efb4211c71de3311513cde04d8931b7030c8f997a1d62071
Error response from daemon: Cannot kill container: 37727a9817b48370efb4211c71de3311513cde04d8931b7030c8f997a1d62071: Container 37727a9817b48370efb4211c71de3311513cde04d8931b7030c8f997a1d62071 is not running
container 37727a9817b48370efb4211c71de3311513cde04d8931b7030c8f997a1d62071 is dead
Fri 30 Sep 2022 08:19:06 PM CEST

@rultor release, tag is 0.6.0

@rultor release, tag is 0.6.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor stop

@rultor stop

@yegor256 OK, I'll try to stop current task.

@rultor stop

@yegor256 Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 6min)
Output written in iexec.ind.
Transcript written in iexec.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gglo.ist..............done (14 attributes redefined, 3 ignored).
Scanning input file iexec.glo....done (4 entries accepted, 0 rejected).
Sorting entries....done (9 comparisons).
Generating output file iexec.gls....done (15 lines written, 0 warnings).
Output written in iexec.gls.
Transcript written in iexec.glg.
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gind.ist.............done (13 attributes redefined, 3 ignored).
Scanning input file iexec.idx....done (44 entries accepted, 0 rejected).
Sorting entries....done (248 comparisons).
Generating output file iexec.ind....done (67 lines written, 1 warning).
Output written in iexec.ind.
Transcript written in iexec.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
+ texsc
Found 12 lines in /home/r/repo/.texsc
No spelling errors found in 0 file(s), the text is clean
+ texqc
+ git commit -am 'version set to 0.6.0'
[__rultor c4e99ff] version set to 0.6.0
 1 file changed, 1 insertion(+), 1 deletion(-)
+ l3build upload --halt-on-error
ctan-upload | announcement:
Empty announcement: No ctan announcement will be made
ctan-upload | author: Yegor Bugayenko
ctan-upload | bugtracker: https://github.com/yegor256/iexec/issues
ctan-upload | ctanPath: /macros/latex/contrib/iexec
ctan-upload | description: With the help of the \iexec command, you can execute a shell command and then input its output into your document. This package also lets you use any special symbols inside your command.
ctan-upload | development: https://github.com/yegor256/iexec
ctan-upload | email<EMAIL_ADDRESS>ctan-upload | home: https://github.com/yegor256/iexec
ctan-upload | license: mit
ctan-upload | note: Bug fixes
ctan-upload | pkg: iexec
ctan-upload | repository: https://github.com/yegor256/iexec
ctan-upload | summary: Execute shell commands and input their output
ctan-upload | support: https://github.com/yegor256/iexec
ctan-upload | topic: verbatim
ctan-upload | update: true
ctan-upload | uploader: Yegor Bugayenko
ctan-upload | version: 0.0.0
Contacting CTAN for validation:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  283k    0     0  100  283k      0   144k  0:00:01  0:00:01 --:--:--  144k
100  283k    0     2  100  283k      0   135k  0:00:02  0:00:02 --:--:--  135k
100  283k    0     2  100  283k      0   135k  0:00:02  0:00:02 --:--:--  135k
Validation successful.

Do you want to upload to CTAN? [y/n]
> eeff45d77c9975f236de25da064a019d38a8e57304e7b6414cb6bcea3798016f
Error response from daemon: Cannot kill container: eeff45d77c9975f236de25da064a019d38a8e57304e7b6414cb6bcea3798016f: Container eeff45d77c9975f236de25da064a019d38a8e57304e7b6414cb6bcea3798016f is not running
container eeff45d77c9975f236de25da064a019d38a8e57304e7b6414cb6bcea3798016f is dead
Sat 01 Oct 2022 07:33:06 AM CEST

@rultor release, tag is 0.6.0

@rultor release, tag is 0.6.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.6.0

@yegor256 Done! FYI, the full log is here (took me 1min)


cargo-metest should forward environment variables to workers

Certain environment variables like RUST_BACKTRACE are read by unit tests and should be forwarded to workers running the tests

fixed in 6ba8fce25000b72b0716fa016d1d96410f8f0709


encodegui-np: add version 1.1.0

[x] I have read the Contributing Guide.

/verify

/verify

/verify

/verify

--> Installing the Manifest encodegui-np.json

Installing 'encodegui-np' (1.1.2) [64bit]
EncodeGUI_1.1.2_setup.zip (3.4 MB) [==============================================================================] 100%
Checking hash of EncodeGUI_1.1.2_setup.zip ... ok.
Extracting EncodeGUI_1.1.2_setup.zip ... done.
Linking ~\scoop\apps\encodegui-np\current => ~\scoop\apps\encodegui-np\1.1.2
Running post_install script...
'encodegui-np' (1.1.2) was installed successfully!

--> Refreshing environment variables

--> Comparing ARP Entries

DisplayName             DisplayVersion Publisher ProductCode
-----------             -------------- --------- -----------
EncodeGUI version 1.1.2 1.1.2          DaGoose   {5FEF377B-08A8-4DF2-8039-9188717B5221}_is1

PS C:\Users\WDAGUtilityAccount\Desktop\bucket> scoop uninstall encodegui-np
Uninstalling 'encodegui-np' (1.1.2).
Running pre_uninstall script...
Unlinking ~\scoop\apps\encodegui-np\current
'encodegui-np' was uninstalled.
PS C:\Users\WDAGUtilityAccount\Desktop\bucket>


click outside available

Hi, I've updated outside tap to close menu.
This edit points are 3.
clickOutsideClose : Bool (default = true)
it switches outside click availability.
This function add a clear view.
If you hope to avoid it, set clickOutsideClose = false.
evanz,
Please check it.
My editor add some a space, it makes many change point... So bad and excuse me.

Hi evanz,
thanks to your comments.
I agree all your review points.
Some guys like to implement "Click outside to Close menu", my code is only integrate in the past topics. (And my local project customize these points.)
Now, I received Pull Request for MY Folk from yours.
Can I keep and maintain these actions?
It will not make any impacts to your original codes.

@yatch999 Thank you very much for your Pull Request! :) But in the future please make sure the commit doesn't have all those useless lines modifications like new spaces or removing spaces. It's a waste of time :(


Create selectable cards for the Model Zoo docs

Automatically generate cards to be added to docs/source/user_guide/model_zoo/index.rst allowing you to search for models by tags from the model zoo.
This is currently only for the model zoo because the dataset zoo does not have as many datasets or tags to search by. I want to update the pytorch sphinx theme to:

Make the cards smaller
Be able to scroll through them instead of pages

I'd want to add it to the dataset zoo after that.

You have to click on different pages to navigate through models

Multiple selections are or rather than and

Awesome that you got this working!
What do you think about moving this to model_zoo/models.rst to replace the existing HTML tables, rather than including on the model_zoo/index.rst page? This interactive listing is strictly an improvement over the tables over there.
You could delete the currently separate TF and Torch tables and use your single interactive listing instead.
Another benefit of that is that the generation could be fully automatic (note that docs/generate_docs.bash automatically generates the model_zoo/models.rst file from source using the docs/scripts/make_model_zoo_docs.py script. That was a late-breaking addition I snuck into the last release rather than the manual copy+paste that was originally in #739.
The reason I made model_zoo/models.rst separate from model_zoo/index.rst is that I was concerned about the landing page being too dense with content. With that being said, it would be nice to have a more obvious visual indication on the landing page that compels the reader to click through to the actual models. I'll think about that.

Done, for now I've moved the cards over to model_zoo/models.rst. I also like having an easily navigatable model listing in index.rst but that should probably wait until I've reformatted the cards to be smaller/easier to click through.

Awesome that you got this working!
What do you think about moving this to model_zoo/models.rst to replace the existing HTML tables, rather than including on the model_zoo/index.rst page? This interactive listing is strictly an improvement over the tables over there.
You could delete the currently separate TF and Torch tables and use your single interactive listing instead.
Another benefit of that is that the generation could be fully automatic (note that docs/generate_docs.bash automatically generates the model_zoo/models.rst file from source using the docs/scripts/make_model_zoo_docs.py script. That was a late-breaking addition I snuck into the last release rather than the manual copy+paste that was originally in #739.
The reason I made model_zoo/models.rst separate from model_zoo/index.rst is that I was concerned about the landing page being too dense with content. With that being said, it would be nice to have a more obvious visual indication on the landing page that compels the reader to click through to the actual models. I'll think about that.

Done, for now I've moved the cards over to model_zoo/models.rst. I also like having an easily navigatable model listing in index.rst but that should probably wait until I've reformatted the cards to be smaller/easier to click through.


TextColumn does not resize when other column has grow() enabled

Package
filament/filament
Package Version
3.2.64 (tables)
Laravel Version
11.3.1
Livewire Version
3.4.10
PHP Version
8.2
Problem description
Edit: this needs some more detail.
If you set grow(true) on a column you cannot change the width of other columns in that table. Although width is added to the inline style element, it doesn't do anything because the parent has w-full.
Example:
TextColumn::make('id'),
TextColumn::make('name')
    ->width('400px'),
TextColumn::make('details')
    ->grow(true)
TextColumn::make('date'),

Passing a percentage to width works, but perhaps percentages take precedence over pixels.
w-full has been added to the text-column div in PR #9149. Aligning content doesn't require the width to be full. I have only done a few tests and removing it did not have any effect.
Expected behavior
I expected the column to resize.
Steps to reproduce
See repo: https://github.com/ju5t/filament-w-full
npm install && npm run build
php artisan migrate --seed

Reproduction repository (issue will be closed if this is not valid)
https://github.com/ju5t/filament-w-full
Relevant log output
No response

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

I'm closing this issue for now because passing pixels is not recommended in tables. As you can specify percentages or use formatStateUsing to return a view with a min-w-*-attribute, I believe there are solutions for this issue already and w-full does not need to be removed.


Separating the meta title from the title (h1)

Is there going to be an extension?
I mean, separating the meta title from the title
Currently, the title h1 is the same as the meta title.

I think you could set it up, using custom fields. See the documentation on this here:
https://docs.bludit.com/en/content/custom-fields

yes you can do it with custom-fields.


Opt into deterministic snapshots.

Also, remove old flags.
Closes #23958

Mainly because rolls aren't happening. We can also set this in gen_snapshot.

@rmacnak-google makes sense! lets land it in both.
LGTM, thanks for doing this.


error: Couldn't find a setup script in /tmp/easy_install-zeojqoxu/scipy-1.11.2.tar.gz

getting this error on running setup command
python3 setup.py install

Hi,
Can you please tell on which OS you are ?
I suspect it is one of the dependencies, could you try installing each of them using pip to see which one is having a problem ?

Ubuntu 22.04.2 LTS

Thanks, the issue is resolved..


IP access list issues

Reproduction
deploy service with
ip_access = [
    {
      source      = "<IP_ADDRESS>"
      description = "1"
    },
    {
      source      = "<IP_ADDRESS>"
      description = "2"
    },
    {
      source      = "<IP_ADDRESS>"
      description = "3"
    },
  ]
...

result

Manually delete <IP_ADDRESS> using web application
try to apply terraform again, expected provider to add <IP_ADDRESS> again
actual plan result
~ ip_access            = [
          ~ {
              ~ description = "3" -> "2"
              ~ source      = "<IP_ADDRESS>" -> "<IP_ADDRESS>"
            },
          + {
              + description = "3"
              + source      = "<IP_ADDRESS>"
            },
            # (1 unchanged element hidden)

applying this plan will end in
module.clickhouse_cloud.clickhouse_service.clickhouse_cloud: Modifying... [id=11790b3a-f5d5-476f-95f5-a0a8c53f5b25]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.clickhouse_cloud.clickhouse_service.clickhouse_cloud, provider "provider[\"registry.terraform.io/clickhouse/clickhouse\"]" produced an unexpected new value:
│ .ip_access[1].description: was cty.StringVal("2"), but now cty.StringVal("3").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.clickhouse_cloud.clickhouse_service.clickhouse_cloud, provider "provider[\"registry.terraform.io/clickhouse/clickhouse\"]" produced an unexpected new value:
│ .ip_access[1].source: was cty.StringVal("<IP_ADDRESS>"), but now cty.StringVal("<IP_ADDRESS>").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.clickhouse_cloud.clickhouse_service.clickhouse_cloud, provider "provider[\"registry.terraform.io/clickhouse/clickhouse\"]" produced an unexpected new value:
│ .ip_access[2].description: was cty.StringVal("3"), but now cty.StringVal("2").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.clickhouse_cloud.clickhouse_service.clickhouse_cloud, provider "provider[\"registry.terraform.io/clickhouse/clickhouse\"]" produced an unexpected new value:
│ .ip_access[2].source: was cty.StringVal("<IP_ADDRESS>"), but now cty.StringVal("<IP_ADDRESS>").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

and while <IP_ADDRESS> was added back it is in the wrong order so now every time we apply terraform it ends with
~ ip_access            = [
          ~ {
              ~ description = "3" -> "2"
              ~ source      = "<IP_ADDRESS>" -> "<IP_ADDRESS>"
            },
          ~ {
              ~ description = "2" -> "3"
              ~ source      = "<IP_ADDRESS>" -> "<IP_ADDRESS>"
            },

│ Error: Error Updating ClickHouse Service
│
│   with module.clickhouse_cloud.clickhouse_service.clickhouse_cloud,
│   on ../env_modules/clickhouse_cloud/main.tf line 26, in resource "clickhouse_service" "clickhouse_cloud":
│   26: resource "clickhouse_service" "clickhouse_cloud" {
│
│ Could not update service, unexpected error: status: 400, body: {"error":"BAD_REQUEST","status":400}

workaround, delete all address and apply.

thanks for submitting this issue, this has been fixed in #21


Annoying random <Plug>(cm_completefunc) insertions

Sometimes when I'm typing, suddenly a \<Plug>(cm_completefunc) is inserted. Sometimes when i press :w to write the file suddenly a \<Plug>(cm_completefunc) comes after w and as I press <cr> quickly after :w the file actually writes to \<Plug>(cm_completefunc).
Does anyone else have this problem?

I have similar issue a few times. It occurs randomly.
Maybe there's a race condition. Or somehow in-compatible with another plugin by feeding keys  or modifying the buffer at the same time.

What do you think about checking if vim is in normal mode before call feedkeys(g:cm_completekeys)?

Can we avoid feedkeys altogether and use normal function call?

What do you think about checking if vim is in normal mode before call feedkeys(g:cm_completekeys)?

I've just added the check: https://github.com/roxma/nvim-completion-manager/commit/025240dd4053a84610ba370234edb1e35e9a35fe

Can we avoid feedkeys altogether and use normal function call?

It seems it's impossible for omnifunc and completefunc

OK, I pulled those commits, lets see if it fixes the problem.

Closing.
Reopen if it's still happening.

It seems to be solved.


Create the success and failure pages.

We need pages that represent:

a response being successfully recorded on the server
a server failure

these will be served after the user submits the registration.

Resolved by https://github.com/HackGT/registration/blob/master/client/js/application.ts#L16?

@petschekr That's what it looks like 👍

Cool, I'll close this then


[Event Parameter Request] Codeunit 12 - Gen. Jnl.-Post Line - OnCodeOnBeforeFinishPosting

Dear ALAppExtensions team,
Through this issue we would like to request event publisher OnCodeOnBeforeFinishPosting in Codeunit 12 Gen. Jnl.-Post Line to be extended with parameter FirstEntryNo resulting in the following signature:
    [IntegrationEvent(true, false)]
    // local procedure OnCodeOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean) //Old
    local procedure OnCodeOnBeforeFinishPosting(var GenJournalLine: Record "Gen. Journal Line"; Balancing: Boolean; FirstEntryNo: Integer) //New
    begin
    end;

which would be called as follows from Code:
            CreateDeferralScheduleFromGL(GenJnlLine, Balancing);

            // OnCodeOnBeforeFinishPosting(GenJnlLine, Balancing); //Old
            OnCodeOnBeforeFinishPosting(GenJnlLine, Balancing, FirstEntryNo); //New

            IsTransactionConsistent := FinishPosting(GenJnlLine);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 43974.


WI quick add is visible even after logout in local planner

Steps to reproduce -

Start planner NODE_ENV npm start
Select Log out from user dropdown in planner header

Work item quick add is still visible and work items can be created.

I'm closing this issue since it doesn't actually affect anything. The local planner is used only for development purpose.


Time out exception

Getting timeout exception while opening in IE mode, can you please help me

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

ID: de9fa537-f960-f6f9-a39f-5ea14b41f01f
Version Independent ID: de9fa537-f960-f6f9-a39f-5ea14b41f01f
Content: Use Internet Explorer Driver to automate IE mode in Microsoft Edge - Microsoft Edge Development
Content Source: microsoft-edge/webdriver-chromium/ie-mode.md
Product: microsoft-edge
Technology: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks for reaching out @harinathareddym. We now have a new GitHub repository for tracking issues with automating Edge (including with IE Mode): https://github.com/MicrosoftEdge/EdgeWebDriver/issues
Could you please report this issue there instead? That would be great! Also, if you have any more details you can provide, this would be very useful.


Error Runing  Pennant with Octane(Swoole)

Laravel Pennant Version: 1.2
Laravel Version: 10.3.3
PHP Version: 8.1.17
Database Driver & Version: database
Laravel Octane Version: 1.5

Description:
Only when running Laravel with octane $this->app[FeatureManager::class]->setContainer(Container::getInstance())=null so,
in vendor/laravel/pennant/src/PennantServiceProvider->listenForEvents() crash,
Steps To Reproduce:
$ composer create-project laravel/laravel pennantOctane
$ cd pennantOctane
$ composer require laravel/octane
$ php artisan octane:install
I use swoole
$ composer require laravel/pennant
$ php artisan vendor:publish --provider="Laravel\Pennant\PennantServiceProvider"
$ php artisan octane:start
INFO  Server running…
Local: http://<IP_ADDRESS>:8000
Press Ctrl+C to stop the server
Error
Call to a member function flushCache() on null
at vendor/laravel/pennant/src/PennantServiceProvider.php:64
60▕             \Laravel\Octane\Events\TaskReceived::class,
61▕             \Laravel\Octane\Events\TickReceived::class,
62▕         ], fn () => $this->app[FeatureManager::class]
63▕             ->setContainer(Container::getInstance())
➜  64▕             ->flushCache());
65▕
66▕         $this->app['events']->listen([
67▕             \Illuminate\Queue\Events\JobProcessed::class,
68▕         ], fn () => $this->app[FeatureManager::class]->flushCache());
I notice that Laravel\Pennant\FeatureManager::setContainer() return void so, it should return itself,  to be able to call Laravel\Pennant\FeatureManager::flushCache(),

Hi @driesvints  @timacdonald  What other info you need? I'm here to help,

@arimoralesjordan I've assigned Tim to review.

This is enought to fix this error https://github.com/laravel/pennant/pull/56/files
I'm just not sure, whether flushCache should be called on TickReceived event of Octane, since it's like... every second?


VS2022 Support

Can you update the extension for VS2022?

We don't use VS22 yet and I don't have time to try it out right now.
If someone creates a PR I will check it and release a new version.


Inconsistency in Variable Creation Methods

Currently it is not possible to scope all variables cleanly when using RNN cells and Optimizers. RNN cells create variables with tf.get_variable and optimizers create variables with tf.Variable. These two methods don't get along, creating messy variable names when variable scopes are handled differently by the two methods.
Script for testing different variable creation and scoping combinations.
# -*- coding: utf-8 -*-

import tensorflow as tf

def build_loss(use_get_variable=True):
    y = tf.placeholder('int32', [None], name='y')
    x = tf.placeholder('float32', shape=[None, None, 10], name='x')
    cell = tf.contrib.rnn.GRUCell(128)  # RNN cell
    if use_get_variable:
        # Create variable with tf.get_variable
        w = tf.get_variable('w', dtype='float32', initializer=tf.random_normal([128, 10]))
    else:
        # Create variable with tf.Variable
        w = tf.Variable(initial_value=tf.random_normal([128, 10]), dtype='float32', name='w')
    rnn_out, _ = tf.nn.dynamic_rnn(cell, x, dtype='float32', time_major=False)  # RNN
    rnn_out = rnn_out[:, -1, :]  # Last timestep
    rnn_out = tf.matmul(rnn_out, w)  # Output layer projection
    loss_op = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y, logits=rnn_out))  # Cross entropy
    return loss_op

def inspect(use_get_variable=True, scope_optimizer=True, re_enter_scope=None, optimizer=tf.train.AdamOptimizer):
    scope = 'scope'
    if re_enter_scope:
        with tf.variable_scope(scope) as variable_scope:  # Capture variable scope
            if re_enter_scope == 'object':
                # Save captured object for re-entering scope with captured variable scope object
                scope = variable_scope
            elif re_enter_scope == 'original_name_scope':
                # Save original name scope of captured variable scope for re-entering the scope with original name scope
                scope = variable_scope.original_name_scope
    with tf.variable_scope(scope):  # (Re-)enter scope
        loss_op = build_loss(use_get_variable=use_get_variable)
        if scope_optimizer:
            # Create optimizer in the variable scope
            train_op = optimizer(0.1).minimize(loss_op)
    if not scope_optimizer:
        # Create optimizer outside of variable scope
        train_op = optimizer(0.1).minimize(loss_op)
    with tf.Session() as sess:
        # Initialize variables
        sess.run(tf.global_variables_initializer())

    description = 'optimizer ' + ('NOT' if not scope_optimizer else 'IS') + ' scoped, '
    if not re_enter_scope:
        description += 'using ORIGINAL scope, '
    elif re_enter_scope == 'object':
        description += 're-entering scope with OBJECT, '
    elif re_enter_scope == 'original_name_scope':
        description += 're-entering scope with ORIGINAL_NAME_SCOPE, '
    description += 'variables created with ' + ('tf.get_variable' if use_get_variable else 'tf.Variable')
    print(description)

    print('\n'.join(['  '+var.name for var in tf.global_variables()]))
    print()

    tf.reset_default_graph()

def main():
    # Ideally scope everything with re-entered scope, leads to double scoping of gradient variables and having duplicate
    # scope (with unique name) for Adam optimizer beta power variables
    inspect(use_get_variable=True, scope_optimizer=True, re_enter_scope='object')
    # Not scoping optimizer fixes double scoping of RNN variables but leads to having AdamOptimizer beta_powers not
    # scoped
    inspect(use_get_variable=True, scope_optimizer=False, re_enter_scope='object')
    # Using tf.Variable for variable creation when re-entering scope with scope object leads to creation of duplicate
    # scope (with unique name) for non-RNN variables
    inspect(use_get_variable=False, scope_optimizer=False, re_enter_scope='object')
    # Changing scope re-entering method to variable_scope.original_name_scope fixes the problem of duplicate scope
    # when using tf.Variable for variable creation, but creates additional problem of having double slashes in
    # scope hierarchy path with RNN variables.
    inspect(use_get_variable=False, scope_optimizer=False, re_enter_scope='original_name_scope')
    # Similar problem is observed when using tf.get_variable for variable creation and re-entering scope with
    # original_name_scope but this time double slashes are observed also with non-RNN variables.
    inspect(use_get_variable=True, scope_optimizer=False, re_enter_scope='original_name_scope')
    # Scoping optimizer without re-entering the scope fixes scoping of Adam optimizer beta power variables but does not
    # fix the problem of having double scopes for RNN variables. However re-entering scopes is desired for OOP.
    inspect(use_get_variable=False, scope_optimizer=True, re_enter_scope=False)
    # Using tf.get_variable for variable creation won't help since Optimizer creates variables with tf.Variable and RNN
    # cells create variables with tf.get_variable, these two methods don't get along
    inspect(use_get_variable=True, scope_optimizer=True, re_enter_scope=False)
    # Swapping AdamOptimizer for RMSPropOptimizer fixes the problem with AdamOptimizer's beta power variables
    inspect(use_get_variable=True, scope_optimizer=False, re_enter_scope='object', optimizer=tf.train.RMSPropOptimizer)

if __name__ == '__main__':
    main()

outputs
optimizer IS scoped, re-entering scope with OBJECT, variables created with tf.get_variable
  scope/w:0
  scope/rnn/gru_cell/gates/weights:0
  scope/rnn/gru_cell/gates/biases:0
  scope/rnn/gru_cell/candidate/weights:0
  scope/rnn/gru_cell/candidate/biases:0
  scope_1/beta1_power:0
  scope_1/beta2_power:0
  scope/scope/w/Adam:0
  scope/scope/w/Adam_1:0
  scope/scope/rnn/gru_cell/gates/weights/Adam:0
  scope/scope/rnn/gru_cell/gates/weights/Adam_1:0
  scope/scope/rnn/gru_cell/gates/biases/Adam:0
  scope/scope/rnn/gru_cell/gates/biases/Adam_1:0
  scope/scope/rnn/gru_cell/candidate/weights/Adam:0
  scope/scope/rnn/gru_cell/candidate/weights/Adam_1:0
  scope/scope/rnn/gru_cell/candidate/biases/Adam:0
  scope/scope/rnn/gru_cell/candidate/biases/Adam_1:0

optimizer NOT scoped, re-entering scope with OBJECT, variables created with tf.get_variable
  scope/w:0
  scope/rnn/gru_cell/gates/weights:0
  scope/rnn/gru_cell/gates/biases:0
  scope/rnn/gru_cell/candidate/weights:0
  scope/rnn/gru_cell/candidate/biases:0
  beta1_power:0
  beta2_power:0
  scope/w/Adam:0
  scope/w/Adam_1:0
  scope/rnn/gru_cell/gates/weights/Adam:0
  scope/rnn/gru_cell/gates/weights/Adam_1:0
  scope/rnn/gru_cell/gates/biases/Adam:0
  scope/rnn/gru_cell/gates/biases/Adam_1:0
  scope/rnn/gru_cell/candidate/weights/Adam:0
  scope/rnn/gru_cell/candidate/weights/Adam_1:0
  scope/rnn/gru_cell/candidate/biases/Adam:0
  scope/rnn/gru_cell/candidate/biases/Adam_1:0

optimizer NOT scoped, re-entering scope with OBJECT, variables created with tf.Variable
  scope_1/w:0
  scope/rnn/gru_cell/gates/weights:0
  scope/rnn/gru_cell/gates/biases:0
  scope/rnn/gru_cell/candidate/weights:0
  scope/rnn/gru_cell/candidate/biases:0
  beta1_power:0
  beta2_power:0
  scope_1/w/Adam:0
  scope_1/w/Adam_1:0
  scope/rnn/gru_cell/gates/weights/Adam:0
  scope/rnn/gru_cell/gates/weights/Adam_1:0
  scope/rnn/gru_cell/gates/biases/Adam:0
  scope/rnn/gru_cell/gates/biases/Adam_1:0
  scope/rnn/gru_cell/candidate/weights/Adam:0
  scope/rnn/gru_cell/candidate/weights/Adam_1:0
  scope/rnn/gru_cell/candidate/biases/Adam:0
  scope/rnn/gru_cell/candidate/biases/Adam_1:0

optimizer NOT scoped, re-entering scope with ORIGINAL_NAME_SCOPE, variables created with tf.Variable
  scope/w:0
  scope//rnn/gru_cell/gates/weights:0
  scope//rnn/gru_cell/gates/biases:0
  scope//rnn/gru_cell/candidate/weights:0
  scope//rnn/gru_cell/candidate/biases:0
  beta1_power:0
  beta2_power:0
  scope/w/Adam:0
  scope/w/Adam_1:0
  scope//rnn/gru_cell/gates/weights/Adam:0
  scope//rnn/gru_cell/gates/weights/Adam_1:0
  scope//rnn/gru_cell/gates/biases/Adam:0
  scope//rnn/gru_cell/gates/biases/Adam_1:0
  scope//rnn/gru_cell/candidate/weights/Adam:0
  scope//rnn/gru_cell/candidate/weights/Adam_1:0
  scope//rnn/gru_cell/candidate/biases/Adam:0
  scope//rnn/gru_cell/candidate/biases/Adam_1:0

optimizer NOT scoped, re-entering scope with ORIGINAL_NAME_SCOPE, variables created with tf.get_variable
  scope//w:0
  scope//rnn/gru_cell/gates/weights:0
  scope//rnn/gru_cell/gates/biases:0
  scope//rnn/gru_cell/candidate/weights:0
  scope//rnn/gru_cell/candidate/biases:0
  beta1_power:0
  beta2_power:0
  scope//w/Adam:0
  scope//w/Adam_1:0
  scope//rnn/gru_cell/gates/weights/Adam:0
  scope//rnn/gru_cell/gates/weights/Adam_1:0
  scope//rnn/gru_cell/gates/biases/Adam:0
  scope//rnn/gru_cell/gates/biases/Adam_1:0
  scope//rnn/gru_cell/candidate/weights/Adam:0
  scope//rnn/gru_cell/candidate/weights/Adam_1:0
  scope//rnn/gru_cell/candidate/biases/Adam:0
  scope//rnn/gru_cell/candidate/biases/Adam_1:0

optimizer IS scoped, using ORIGINAL scope, variables created with tf.Variable
  scope/w:0
  scope/rnn/gru_cell/gates/weights:0
  scope/rnn/gru_cell/gates/biases:0
  scope/rnn/gru_cell/candidate/weights:0
  scope/rnn/gru_cell/candidate/biases:0
  scope/beta1_power:0
  scope/beta2_power:0
  scope/scope/w/Adam:0
  scope/scope/w/Adam_1:0
  scope/scope/rnn/gru_cell/gates/weights/Adam:0
  scope/scope/rnn/gru_cell/gates/weights/Adam_1:0
  scope/scope/rnn/gru_cell/gates/biases/Adam:0
  scope/scope/rnn/gru_cell/gates/biases/Adam_1:0
  scope/scope/rnn/gru_cell/candidate/weights/Adam:0
  scope/scope/rnn/gru_cell/candidate/weights/Adam_1:0
  scope/scope/rnn/gru_cell/candidate/biases/Adam:0
  scope/scope/rnn/gru_cell/candidate/biases/Adam_1:0

optimizer IS scoped, using ORIGINAL scope, variables created with tf.get_variable
  scope/w:0
  scope/rnn/gru_cell/gates/weights:0
  scope/rnn/gru_cell/gates/biases:0
  scope/rnn/gru_cell/candidate/weights:0
  scope/rnn/gru_cell/candidate/biases:0
  scope/beta1_power:0
  scope/beta2_power:0
  scope/scope/w/Adam:0
  scope/scope/w/Adam_1:0
  scope/scope/rnn/gru_cell/gates/weights/Adam:0
  scope/scope/rnn/gru_cell/gates/weights/Adam_1:0
  scope/scope/rnn/gru_cell/gates/biases/Adam:0
  scope/scope/rnn/gru_cell/gates/biases/Adam_1:0
  scope/scope/rnn/gru_cell/candidate/weights/Adam:0
  scope/scope/rnn/gru_cell/candidate/weights/Adam_1:0
  scope/scope/rnn/gru_cell/candidate/biases/Adam:0
  scope/scope/rnn/gru_cell/candidate/biases/Adam_1:0

optimizer NOT scoped, re-entering scope with OBJECT, variables created with tf.get_variable
  scope/w:0
  scope/rnn/gru_cell/gates/weights:0
  scope/rnn/gru_cell/gates/biases:0
  scope/rnn/gru_cell/candidate/weights:0
  scope/rnn/gru_cell/candidate/biases:0
  scope/w/RMSProp:0
  scope/w/RMSProp_1:0
  scope/rnn/gru_cell/gates/weights/RMSProp:0
  scope/rnn/gru_cell/gates/weights/RMSProp_1:0
  scope/rnn/gru_cell/gates/biases/RMSProp:0
  scope/rnn/gru_cell/gates/biases/RMSProp_1:0
  scope/rnn/gru_cell/candidate/weights/RMSProp:0
  scope/rnn/gru_cell/candidate/weights/RMSProp_1:0
  scope/rnn/gru_cell/candidate/biases/RMSProp:0
  scope/rnn/gru_cell/candidate/biases/RMSProp_1:0

Workaround for clean scoping is to create optimizer op outside of the variable scope and using eg. RMSPropOptimizer. However this is confusing behaviour, ideally everything should be able to be scoped. Unfortunately there is nothing to get variable names clean when using AdamOptimizer. AdamOptimizer creates variables for beta powers with tf.Variable.
All of the mentioned problems would probably be fixed by using tf.get_variable everywhere. Until (and if) this change happens users should be instructed to use tf.get_variable only, creating optimizer outside of variable scope and avoid using AdamOptimizer if clean scoping is desired. Double scoping of RNN gradient variables would be tolerable but having several nested classes implementing different models with their own variable scopes lead to extremely messy variable names making debugging more difficult.
Tested on Ubuntu 16.04 with Tensorflow 1.0.0 installed with pip.
Related issues:
#5786
#6189
#6007

Does seem like the optimizers should be using tf.get_variable.  Lukasz,
wdyt - can we do this in a backwards compatible way?
On Mon, Mar 6, 2017 at 9:28 AM, Paul Barham<EMAIL_ADDRESS>wrote:

Assigned #8120 https://github.com/tensorflow/tensorflow/issues/8120 to
@ebrevdo https://github.com/ebrevdo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/8120#event-988133359,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim9MW_ft7z-0H3BseF2uDzJz7YK4Wks5rjEIqgaJpZM4MUBsz
.

Oh yes, optimizers should use get_variable. I think slot_creator already does (as you can see above, the big Adam and Adam_1 variables are already scoped correctly). But we missed the scalars (beta1_power beta2_power). It might apply only to Adam, but I don't see how we can be fully backwards-compatible here, since the goals is to change the name of the Variable. Eugene, do you see a way out? Can we break it? (Most people have optimizers in top-scope I think, they'll be fine, but some will be broken.)

Summarizing outside discussions: We should not break people, but we are making a new optimizer with the correct behavior, and may deprecate Adam.
Correct me if I said something silly.

@ebrevdo @lukaszkaiser feel free to close this issue if you think that is an appropriate resolution, once it's implemented.

Looks like the right thing to do. Closing.


I cannt back to the main view

I pushed all viewControllers programmatically, it's work by use didSelectRowAtIndexPath
but I tried to back to main view , that's not work
I set this SideMenuManager.menuAllowPopIfPossible = true
and I tried using all of this :
presentingViewController!.dismissViewControllerAnimated(true, completion: nil)
self.navigationController!.popToRootViewControllerAnimated(false)
            let viewControllers: [UIViewController] = self.navigationController!.viewControllers as [UIViewController];
            self.navigationController!.popToViewController(viewControllers[viewControllers.count ], animated: true);

all of these not work, why? :(

There's not enough information here to tell you why. I would suggest using breakpoints to walk through the code to figure out what's going on. It's possible you're setting up your viewcontrollers in a way that wasn't accounted for with the library.


Let Pydantic pane mimic api of Param

A Pydantic model is very similar to a param.Parameterized class. In Panel you can turn a Parameterized class into a component using pn.Param. pn.Param enables you to

specify which attributes to include in the component
specify the types of widgets and widget arguments to use
work with individual widgets from the component

It would be powerful if the Pydantic pane worked in a similar fashion.

I definitely plan on doing this at some point. I already have the fields parameter that lets you choose which fields to include but have not yet added a widgets option. I would like the implementation to play nice with the dispatch system so probably would have to define a new class called eg "WidgetSpec" that is registered in the dispatch system to a widget builder that returns the correct widget based on the spec.


QueueTrigger RTS improvements

We should consider adding the new QueueTrigger scale heuristics that were added to ScaleController to the RTS logic. These ScaleController changes were made after the initial version of RTS was released.
Those ScaleController changes also apply to ServiceBus, so if we do this we should also do it for ServiceBusTrigger.

@alrod, @mathewc:  There's not enough context and background present in the discussion for me to understand what actions need to be taken for the extensions packages.   Can you please provide further detail around this so that it can be triaged?


Upgrade Yarn

The Problem

Yarn version was old.
The Solution

Update yarn version.
Checklist

[ ] Test manually on test-ui using remote chains.
[ ] Run load tests.
[ ] Update documentation if needed.
[ ] Update CHANGELOG.md.

yarn upgrade were done in other PR, so closing this one


No Adapter Attached, Skipping Layout

I have an activity that hosts a TabLayout with 3 tabs. I am trying to load a recyclerview based on dynamic data in Firebase and the recyclerview simply is not populating any views. I am not sure if it has to do with the FragmentSectionPager adapter or what, but I am having no luck loading the actual RecyclerView.
Activity:
public class HomeActivity extends AppCompatActivity implements TrendingFragment.FragmentListener,FollowingFragment.OnFragmentInteractionListener, LiveFragment.OnFragmentInteractionListener {

private DrawerLayout mDrawerLayout;
private ListView mDrawerList;
private ActionBarDrawerToggle mDrawerToggle;
private Toolbar toolbar;
private boolean isOpen;
private ProgressBar mProgressBar;
private TextView mProgressText;
private TabLayout mTabLayout;
private ViewPager mViewPager;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_home);
    toolbar = (Toolbar) findViewById(R.id.action_tool_bar);
    toolbar.setTitleTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
    setSupportActionBar(toolbar);
    setTitle(R.string.app_name);
    Window window = getWindow();

    final android.support.v7.app.ActionBar actionBar = getSupportActionBar();
    if(actionBar != null){
        actionBar.setDisplayHomeAsUpEnabled(true);
        actionBar.setHomeButtonEnabled(true);
    }

    mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
    mProgressBar = (ProgressBar) findViewById(R.id.pbHeaderProgress);
    mProgressText = (TextView) findViewById(R.id.progress_text);
    mTabLayout = (TabLayout) findViewById(R.id.tab_layout);
    mViewPager = (ViewPager) findViewById(R.id.tab_swipe_container);
    mDrawerToggle = new ActionBarDrawerToggle(
            this,                  /* host Activity */
            mDrawerLayout,         /* DrawerLayout object */
            toolbar,  /* nav drawer icon to replace 'Up' caret */
            R.string.drawer_open,  /* "open drawer" description */
            R.string.drawer_close  /* "close drawer" description */
    ) {

        /** Called when a drawer has settled in a completely closed state. */
        public void onDrawerClosed(View view) {
            super.onDrawerClosed(view);
            isOpen = false;
        }

        /** Called when a drawer has settled in a completely open state. */
        public void onDrawerOpened(View drawerView) {
            super.onDrawerOpened(drawerView);
            isOpen = true;
        }
    };
    mDrawerLayout.addDrawerListener(mDrawerToggle);

    mDrawerList = (ListView) findViewById(R.id.left_drawer);
    ArrayList<String> drawerTitleArray = new ArrayList<>();
    drawerTitleArray.add(0, "TEST");
    drawerTitleArray.add(1, "TEST 1");
    // Set the adapter for the list view
    mDrawerList.setAdapter(new ArrayAdapter<String>(this,
            R.layout.drawer_list_item, drawerTitleArray));

    mViewPager.setAdapter(new SectionPagerAdapter(getSupportFragmentManager()));
    mTabLayout.setupWithViewPager(mViewPager);
    Bundle extras = getIntent().getExtras();
    int position = 0;
    if(extras != null) {
        position = extras.getInt("viewpager_position");
    }
    mViewPager.setCurrentItem(position);

}

@Override
public boolean onOptionsItemSelected(MenuItem item){
    return mDrawerToggle.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
}

@Override
protected void onPostCreate(Bundle savedInstanceState) {
    super.onPostCreate(savedInstanceState);
    // Sync the toggle state after onRestoreInstanceState has occurred.
    mDrawerToggle.syncState();
}

@Override
public void onConfigurationChanged(Configuration newConfig) {
    super.onConfigurationChanged(newConfig);
    mDrawerToggle.onConfigurationChanged(newConfig);
}

@Override
public void onFragmentLoaded() {
    mProgressBar.setVisibility(View.INVISIBLE);
    mProgressText.setVisibility(View.INVISIBLE);
}

@Override
public void onFragmentInteraction(Uri uri) {

}

public class SectionPagerAdapter extends FragmentStatePagerAdapter {

    public SectionPagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        switch (position) {
            case 0:
                return new TrendingFragment();
            case 1:
                return new FollowingFragment();
            case 2:
                return new LiveFragment();
            default:
                return new TrendingFragment();
        }
    }

    @Override
    public int getCount() {
        return 3;
    }

    @Override
    public CharSequence getPageTitle(int position) {
        switch (position) {
            case 0:
                return getResources().getString(R.string.trending_text);
            case 1:
                return getResources().getString(R.string.following_text);
            case 2:
                return getResources().getString(R.string.new_text);
            default:
                return getResources().getString(R.string.trending_text);
        }
       }
    }
 }

Fragment Containing RecyclerView:
public class LiveFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";

private RecyclerView mRecyclerview;
private DatabaseReference mBaseRef;
private DatabaseReference mPollsRef;
private LinearLayoutManager mLayoutManager;

private FirebaseRecyclerAdapter <Poll, PollHolder> mFireAdapter;

// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;

private OnFragmentInteractionListener mListener;

public LiveFragment() {
    // Required empty public constructor
}

/**
 * Use this factory method to create a new instance of
 * this fragment using the provided parameters.
 *
 * @param param1 Parameter 1.
 * @param param2 Parameter 2.
 * @return A new instance of fragment LiveFragment.
 */
// TODO: Rename and change types and number of parameters
public static LiveFragment newInstance(String param1, String param2) {
    LiveFragment fragment = new LiveFragment();
    Bundle args = new Bundle();
    args.putString(ARG_PARAM1, param1);
    args.putString(ARG_PARAM2, param2);
    fragment.setArguments(args);
    return fragment;
}

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mBaseRef = FirebaseDatabase.getInstance().getReference();
    mPollsRef = mBaseRef.child("Polls");

    if (getArguments() != null) {
        mParam1 = getArguments().getString(ARG_PARAM1);
        mParam2 = getArguments().getString(ARG_PARAM2);

    }
}

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
                         Bundle savedInstanceState) {
    // Inflate the layout for this fragment
    final View v = inflater.inflate(R.layout.fragment_new, container, false);
    Log.v("TAG", "ON CREATE CALLED FROM NEW");

    mLayoutManager = new LinearLayoutManager(getActivity());
    mLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);

    mRecyclerview = (RecyclerView)v.findViewById(R.id.new_RecyclerView);

    if (mRecyclerview != null){
        mRecyclerview.setHasFixedSize(true);
    }

    if (mRecyclerview == null){
       Log.v("TAG", "RECYCLERVIEW NULL");
    } else if (mLayoutManager == null){
        Log.v("TAG", "LAYOUTMANAGER NULL");
    } else if (mFireAdapter == null) {
        Log.v("TAG", "mFIREADAPTER NULL");
    }
    return v;
}

// TODO: Rename method, update argument and hook method into UI event
public void onButtonPressed(Uri uri) {
    if (mListener != null) {
        mListener.onFragmentInteraction(uri);
    }
}

@Override
public void onStart() {
    super.onStart();

}

@Override
public void onStop() {
    super.onStop();
    if (mFireAdapter != null){
        mFireAdapter.cleanup();
    }
}

@Override
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
    super.onActivityCreated(savedInstanceState);

    mRecyclerview.setLayoutManager(mLayoutManager);
    mFireAdapter = new FirebaseRecyclerAdapter<Poll, PollHolder>(Poll.class, R.layout.latest_item, PollHolder.class, mPollsRef) {
        @Override
        protected void populateViewHolder(PollHolder viewHolder, Poll model, int position) {
            viewHolder.mPollQuestion.setText(model.getQuestion());
            Picasso.with(getActivity().getApplicationContext())
                    .load(model.getImage_URL())
                    .fit()
                    .into(viewHolder.mPollImage);
            Log.v("QUESTION", model.getQuestion());
            Log.v("IMAGE", model.getImage_URL());
        }
    };
    mRecyclerview.setAdapter(mFireAdapter);

    mPollsRef.addListenerForSingleValueEvent(new ValueEventListener() {
        @Override
        public void onDataChange(DataSnapshot dataSnapshot) {
            for (DataSnapshot x : dataSnapshot.getChildren()){
                mFireAdapter.notifyItemInserted(0);
            }
        }

        @Override
        public void onCancelled(DatabaseError databaseError) {

        }
    });

}

@Override
public void onAttach(Context context) {
    super.onAttach(context);
    if (context instanceof OnFragmentInteractionListener) {
        mListener = (OnFragmentInteractionListener) context;
    } else {
        throw new RuntimeException(context.toString()
                + " must implement OnFragmentInteractionListener");
    }
}

@Override
public void onDetach() {
    super.onDetach();
    mListener = null;
}

public static class PollHolder extends RecyclerView.ViewHolder {

    TextView mPollQuestion;
    ImageView mPollImage;

    public PollHolder(View itemView) {
        super(itemView);

        mPollQuestion = (TextView) itemView.findViewById(R.id.latest_item_question);
        mPollImage = (ImageView) itemView.findViewById(R.id.pollThumbNailImage);

    }
}

/**
 * This interface must be implemented by activities that contain this
 * fragment to allow an interaction in this fragment to be communicated
 * to the activity and potentially other fragments contained in that
 * activity.
 *

 * See the Android Training lesson Communicating with Other Fragments for more information.
 */
public interface OnFragmentInteractionListener {
    // TODO: Update argument type and name
    void onFragmentInteraction(Uri uri);
     }
   }

@troy21688 This warning occurs because you are setting your adapter (mRecyclerview.setAdapter(mFireAdapter);) in onCreateView, but creating the adapter in onCreate. Creating the adapter immediately adds a firebase listener which causes notifyItemInserted to be called. The error shouldn't really matter: it's just informing you that while notifyItemInserted was called, no data will be displayed because the adapter hasn't been attached yet. (Your list items should still show up as a batch update once you attach the adapter).

I have updated the code. Something is going on with the way the Firebase Adapter handles fragments. Since fragments load views before the fragment is actually on screen, it is causing an issue with the way that the data is read and how the Firebase listener methods are triggered. I cannot figure out why, but the RecyclerView simply is not populating.

@troy21688 This shouldn't have anything to do with fragments, I've used the adapter in both fragments and activities.
For your case, I think you should start small and go through everything in steps. Initialize everything in onCreateView and sit down for a long debugging session. First, make sure you can push to the database:
pollsRef.setValue(poll).addOnCompleteListener(
        new OnCompleteListener<Void>() {
            @Override
            public void onComplete(@NonNull Task<Void> task) {
                task.isSuccessful() // should be true
                // if false, see what the exception is:
                task.getException()
            }
        })

If the task is successful, make sure pollsRef.addValueEventListener(...) gets called and check your polls with snapshot.getValue(). If you are getting values, than make sure you can get list items to show up without the firebase adapter. Heck, see if you can display a button! If you've done all of the above and you tried using the firebase adapter again but it still isn't working, then it would be nice for  you to provide a mcve.
Here is a mcve of what I'm doing:
public class TeamsFragment extends Fragment {
    @Override
    public View onCreateView(LayoutInflater inflater,
                             ViewGroup container,
                             Bundle savedInstanceState) {
        View rootView = inflater.inflate(R.layout.recycler_view, container, false);
        mTeams = (RecyclerView) rootView.findViewById(R.id.list);
        mTeams.setHasFixedSize(true);
        mTeams.setLayoutManager(new LinearLayoutManager(getContext()));
        mTeams.setAdapter(new FirebaseIndexRecyclerAdapter<Team, TeamHolder>(
                Team.class,
                R.layout.team_list_row_layout,
                TeamHolder.class,
                Team.getIndicesRef(),
                BaseHelper.getDatabase().child(Constants.FIREBASE_TEAMS)) {
            @Override
            public void populateViewHolder(TeamHolder teamHolder, Team team, int position) {
                teamHolder.bind(getContext(), team);
            }

            @Override
            public void onCancelled(DatabaseError databaseError) {
                FirebaseCrash.report(databaseError.toException()); // You could also check here for errors
            }
        });
        return rootView;
    }
}

I think it may be possible that the values in Firebase are null. I read
this StackOverFlow article explaining that the values need to be written as
HashMaps:
http://stackoverflow.com/questions/37257166/android-firebase-why-does-ondatachange-returns-null-values
On Fri, Dec 16, 2016 at 9:35 PM, Alex Saveau<EMAIL_ADDRESS>wrote:

@troy21688 https://github.com/troy21688 This shouldn't have anything to
do with fragments, I've used the adapter in both fragments and activities.
For your case, I think you should start small and go through everything in
steps. Initialize everything in onCreateView and sit down for a long
debugging session. First, make sure you can push to the database:
pollsRef.setValue(poll).addOnCompleteListener(
new OnCompleteListener() {
@Override
public void onComplete(@NonNull Task task) {
task.isSuccessful() // should be true
// if false, see what the exception is:
task.getException()
}
})
If the task is successful, make sure pollsRef.addValueEventListener(...)
gets called and check your polls with snapshot.getValue(). If you are
getting values, than make sure you can get list items to show up without
the firebase adapter
https://developer.android.com/training/material/lists-cards.html. Heck,
see if you can display a button! If you've done all of the above and you
tried using the firebase adapter again but it still isn't working, then it
would be nice for you to provide a mcve
http://stackoverflow.com/help/mcve.
Here is a mcve of what I'm doing:
public class TeamsFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.recycler_view, container, false);
mTeams = (RecyclerView) rootView.findViewById(R.id.list);
mTeams.setHasFixedSize(true);
mTeams.setLayoutManager(new LinearLayoutManager(getContext()));
mTeams.setAdapter(new FirebaseIndexRecyclerAdapter<Team, TeamHolder>(
Team.class,
R.layout.team_list_row_layout,
TeamHolder.class,
Team.getIndicesRef(),
BaseHelper.getDatabase().child(Constants.FIREBASE_TEAMS)) {
@Override
public void populateViewHolder(TeamHolder teamHolder, Team team, int position) {
teamHolder.bind(getContext(), team);
}
        @Override
        public void onCancelled(DatabaseError databaseError) {
            FirebaseCrash.report(databaseError.toException()); // You could also check here for errors
        }
    });
    return rootView;
}

}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-267740325,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-E71JVMO9kvesaGGvst9rzDjjTovks5rI1hngaJpZM4LLSeT
.

--
Troy Chuinard, CPA

@troy21688 You shouldn't have to use hashmaps, but you can try.

How would I actually debug? Can you briefly walk me through? Also, can I
share my repository with you on Bit Bucket? I would really like to knock
this out.
On Dec 16, 2016 9:41 PM, "Alex Saveau"<EMAIL_ADDRESS>wrote:

@troy21688 https://github.com/troy21688 You shouldn't have to use
hashmaps, but you can try.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-267740579,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-IB6DLKrix4n0yIJbVzzR1rxikhkks5rI1nhgaJpZM4LLSeT
.

You'll want to put breakpoints (by clicking a line number) pretty much everywhere I mentioned above. To start debugging, you can attach the debugger, or press the bug button on the left:

If I have time, I could take a look at your project. Shoot me an email at<EMAIL_ADDRESS>

Thanks. It may also have to do with FragmentState PagerAdapter and its
relation to notifyDataSetChanged()......thoughts on that?
On Dec 16, 2016 9:48 PM, "Alex Saveau"<EMAIL_ADDRESS>wrote:

You'll want to put breakpoints (by clicking a line number) pretty much
everywhere I mentioned above. To start debugging, you can attach the
debugger, or press the bug button on the left:
[image: image]
https://cloud.githubusercontent.com/assets/9490724/21284169/59f67796-c3c8-11e6-9909-f0ede87c9b8a.png
If I have time, I could take a look at your project. Shoot me an email at
<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-267740912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-JNefMNqZ3_T27A2Xb0TFHAr5ooSks5rI1uVgaJpZM4LLSeT
.

If onCreate() is being called, then it shouldn't be an issue.

See https://github.com/firebase/FirebaseUI-Android/issues/461#issuecomment-267786725

I actually addressed the issue with the match_parent, I will push up my
latest commit, my apologies!
On Sat, Dec 17, 2016 at 3:02 PM, Alex Saveau<EMAIL_ADDRESS>wrote:

See #461 (comment)
https://github.com/firebase/FirebaseUI-Android/issues/461#issuecomment-267786725
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-267786760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-P2-vTpEbVAKl103EH5Vq1PLBcV5ks5rJE3qgaJpZM4LLSeT
.

--
Troy Chuinard, CPA

@troy21688 So is it working?

It is not, you can check the latest commit that has incorporated your
changes.
On Sat, Dec 17, 2016 at 3:05 PM, Alex Saveau<EMAIL_ADDRESS>wrote:

@troy21688 https://github.com/troy21688 So is it working?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-267786865,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-FLJfb1Iy0h8ELwwl8T5m01Odx1Tks5rJE6QgaJpZM4LLSeT
.

--
Troy Chuinard, CPA

Ok, I'll merge and push a new commit

@troy21688 Merged from master, it's working in my PR.

This is still an issue with FirebaseRecyclerAdapter.  I keep getting an error:

RecyclerView: No adapter attached; skipping layout

Did you set layoutWidth and layoutHeight to match_parent?
On Tue, Dec 27, 2016 at 1:32 PM, Igor Ganapolsky<EMAIL_ADDRESS>wrote:

This is still an issue with FirebaseRecyclerAdapter. I keep getting an
error:
RecyclerView: No adapter attached; skipping layout
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-269371896,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-GgcCnFDe0_OmFw_sA2UhfSgmhwDks5rMWfDgaJpZM4LLSeT
.

--
Troy Chuinard, CPA

@troy21688 Yes, I am following this codelab: https://codelabs.developers.google.com/codelabs/firebase-android/

Can you post your code? Did you create a question in StackOverflow?
On Tue, Dec 27, 2016 at 1:41 PM, Igor Ganapolsky<EMAIL_ADDRESS>wrote:

@troy21688 https://github.com/troy21688 Yes, I am following this
codelab: https://codelabs.developers.google.com/codelabs/firebase-android/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/FirebaseUI-Android/issues/457#issuecomment-269373075,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APuF-AgGVShAouKzinBN13Eqs1LVzFrdks5rMWnogaJpZM4LLSeT
.

--
Troy Chuinard, CPA

Here is the code: https://drive.google.com/file/d/0B2q0WkkDSvLBMlc4OVE5VzQ2NVk/view?usp=sharing
There are already several questions on StackOverflow:

http://stackoverflow.com/questions/36299197/data-is-not-getting-populated-using-firebaserecycleradapter

http://stackoverflow.com/questions/37876904/android-firebaserecycleradapter-populateviewholder-never-get-called

I was able to fix my problem by issuing the following code in onCreate():
mMessageRecyclerView.setAdapter(mFirebaseAdapter);
It is a bit silly and rudimentary, but it wasn't mentioned in the Codelab at all....

Im having this same problem 5 months later. Love their codelabs but they need to include this.


setting the hidden pixel values

Hi, Krishna
Thank you for sharing the source cod for the awesome paper!
I was reading your paper to embed HaS into my pytorch model.
You mentioned the hidden pixel values are supposed to set to the mean of all the pixel values in the entire training. Does that mean I just need to change 0 to the mean of all the pixels at line 30 in hide_patch.py? ( https://github.com/kkanshul/Hide-and-Seek/blob/5e77ed43b3208233a68681b37feb7de4dd6ecdb9/hide_patch.py#L30 )
Thank you in advance.

Hi Won-bae,
I was putting 0 assuming mean is already subtracted from the image (so the new mean is 0). So, if you have already subtracted the mean then keep it 0 otherwise put the mean value. Thanks!

Thanks for your quick reply!
Sorry but does that mean I should not normalize by RGB channels that is conventionally employed, and instead just subtract the mean of the original pixel values? Or should I normalize by RGB channels as usual and then subtract the mean of the normalized pixel values?

You should normalize by RGB channels as usual but for hiding pixels set value to be 0. Let me know if you have any further doubts.

Appreciate for the clarification!


Update aws-kubernetes module to Terraform 0.12

Even if this repository is deprecated in favor of sighupio/fury-eks-installer we still need to support it. Therefore I am updating the code of aws-kubernetes module to be used with Terraform 0.12.x.
Summary of changes:

updated HCL syntax to Terraform 0.12
added some useful outputs
added kubernetes tags to node security group to make service type: LoadBalancer work
removed weave-net security rules

This PR is related to sighupio/fury-kubernetes-aws#44, I chose to split the two PRs to ease the review process. If that's not the case, I can merge them. Let me know.

I've added a security rule to let Prometheus scrape Calico.

Is there anything missing before we can merge this PR?

If there are no changes to be done the README I think we can merge this.
On a side note: should we add a deprecation note to the readme pointing to the new cloud installers?

I don't know if this module and the installers will co-exist or not.
The README of this repository seems unmaintained, it would benefit a rewrite if we still plan on using the content of this repository.

Superseded by #52.


Expose the Http Request in PostProcess

We're dealing with a set up that includes a reverse proxy (Azure Service Fabric) so the hostname for the Swagger requests are coming in as localhost and a port-number. That's not the real URL/hostname that users are accessing (because it goes through the proxy). The proxy adds headers to track the real/original hostname, so my plan was to use the SwaggerUiOwinSettings.PostProcess to set the doc.Host to the original hostname, but I can't access the headers in that method.
My suggestion is to add the original http request object (or just headers) to the SwaggerDocument that is passed to PostProcess.

I think in this scenario you should remove the hostname and schemes so that the client must specify the hostname. I think Swagger UI uses the current hostname when no hostname is specified in the spec.

You cannot acces a HTTP request because the generator/Swagger spec is static and cannot change for every request.
Of course you could write your own Swagger serving middleware which generates the spec for each request... But this is not how you should do this.

Thanks for the information, very helpful. I assume the hostname on the document is set based on the current request though, so even if this would only be called once (since it's static) it would still be helpful to have the headers available (because the hostname is incorrectly set).

It is not static per se - with the nswag libraries you can generate it on the fly and add the headers/set the hostname. But the Swaggerdocument is meant as static description of your api. This is why you should set the host to the host which is externally visible or empty if the client has to decide.

Ok, but the issue is that I don't know what the host is (in PostProcess) without the headers, the code in NSwag detects it incorrectly (in my case because of the reverse proxy in Azure Service Fabric). I realize I can leave it empty, but I like the option to specify it in the swagger file.
Another option would be to expose a "host detection callback" in the settings, so we don't have to modify the SwaggerDocument (which I agree isn't very clean).

You can use this method without lazy: https://github.com/NSwag/NSwag/wiki/WebApiToSwaggerGenerator#serve-the-swagger-specification-from-a-web-api-action
This way the spec is generated for each request and you have access to the headers...

@HakanL Did you get NSwag to work behind the revers Proxy in Service Fabric?

I was able to get it to work, but I can't remember how, too long ago :)

I am in the same situation that @HakanL was previously where my api is behind a proxy that forwards the url (for instance, from  externally to  on the api server).
I am getting the original scheme, port and basepath in custom headers for each requests on the api.
I would have liked to be able access these headers in an extensionpoint that allows me to define these elements globally for the swagger document and swagger UI.
The enduser should not know the local url of the api on its hosting server but only the externally exposed url. Swagger UI should also display and use this externally exposed url for the url forwarded requests to work.
I can't define these elements statically as the api is deployed in a Azure Kubernetes Cluster where each pod uses a different port and basepath so I must handle this dynamically.
I don't know if this is possible.


Check links on README, fix or report broken ones

It's been a while since we've gone through the README - it could use a read-through and some checking for things like broken links.

Hi! I would like to have this assigned to me for the MozSprint.

Fixed by @dnuka in PR #274. :tada:


[Request] Show Coords

Show coords in HUD ? for use with this map http://kronzky.info/eft/map.html

Done you have to update the trainer, and to set EFT.Trainer.Features.Hud.ShowCoordinates=true in the trainer.ini (or to use the GUI for that).


My .html files are not being recognized as plain html

VSCode Version: 1.29.1
OS Version: OSX 10.13.6

Steps to Reproduce:

Create an app with Node.js and then create a file called index.html.
Go to the index.html file and see what it is being recognized as. Currently, mine is being detected as a dust file. And there is nothing to suggest that in my settings.json.

Does this issue occur when all extensions are disabled?: Yes/No Yes
But I really don't know what is causing this issue! I have a lot of extensions and languages I use.
Update: I use React, and I had the following for it:
"files.associations": {         "*.js": "javascriptreact",         "*.html": "html",     },
But the one I had explicitly for JS was not correctly configured. So I did the following:
"files.associations": {         "*.js": "javascript",         "*.html": "html",     },
And apparently it seems to be working for now.

This is probably caused by some extensions you are using. You say it's some "dust file", so disable the "dust extension" or open an issue for it.

I think I have solved the issue. So far no problems now. This started happening when I tried to add Python to the mix. I have since removed Python and re-fixed my React issue which was also causing problems. Thanks for responding and for your suggestion!


Add .prettierrc.json config file

Overview
Add a .prettierrc.json configuration file with rules which are
compatible with our existing set of ESLint rules. This enables
developers to run Prettier manually in their editors on new files while
working, saving the burden of having to manually format the code.
Connects #549
Notes
I intentionally did not set this up to run prettier on file saves,
although that is theoretically possible now that we are using
react-app-rewired. Setting it up to run on saves would cause a large
initial changeset because many of the project's files have not been
formatted with Prettier.
Testing Instructions
Try running Prettier locally on this branch in one of the JSX files and verify that it reformats according to the formatting rules here.
Checklist

[x] fixup! commits have been squashed
[x] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

I've been using this file locally for the last sprint, btw, and it's worked well. Sometimes it does introduce slight quirks but those can be remedied manually if we want to keep the prior idiom for certain things.

Looking at this now

Oh interesting. Thanks for catching those. In other projects we have removed the ESLint rules related to those errors and let Prettier take over. However, here I think we want to adjust the Prettier config to keep ESLint in place. I'll spend a very small amount of time seeing if I can remedy this and push an update if so.

Unfortunately I think this is as close as we can get unless we want to adjust some ESLint rules, since the arrowParens options for Prettier are either on or off:
https://prettier.io/docs/en/options.html#arrow-function-parentheses
If we want to adjust the ESLint rules and make the associated code formatting changes, we should wait to do so until next month when there's a lull in development.
For this PR we can either wait until then to complete it or merge it now and live with the errors. Either is fine for me; I guess the question around merging is whether the value of having a mostly-working Prettier config file more than the problem with having a partly-broken Prettier config file.

I would rather not commit a formater config that is inharmonious with the linter. I'd rather wait and implement the broad change to our eslint config.

Sounds good to me.


Render: CSM is not working

Cascaded Shadow Maps doesn't work.
Steps:

Launch WorldEditor
Open any Mesh in Viewer

Actual:

No any shadows from mesh

Root cause:

Inversion of Matrix4 is not working properly. Need to fix this function in Next library.

https://docs.microsoft.com/en-us/windows/desktop/DxTechArts/common-techniques-to-improve-shadow-depth-maps


BTW
Did BANKEX has release on the App Store?Can someone show me the link on App Store?
Thanks!

@bankexgit     @shamatar
Here is my custom contract:
contract Profit is Pausable {

    mapping(uint256 => bool) public termHistory;

    mapping(address => uint256) public ownerProfit;

    event Register(uint256 _term);

    event Withdraw(address _owner, uint256 _value);

    constructor () public {
    }

    function() payable public onlyOwner {
    }

    DogCoreInterface public dogCore;

    function setDogCoreAddress(address _dogCore) external onlyOwner {
        require(_dogCore != address(0));
        dogCore = DogCoreInterface(_dogCore);
    }

    function registerByDogId(uint256 _term, uint256[] _dogIdList, uint256 _amount) external onlyOwner {
        require(dogCore != address(0));
        require(!termHistory[_term]);
        require(_dogIdList.length > 0);
        require(_amount > 0);
        termHistory[_term] = true;
        for (uint256 index = 0; index < _dogIdList.length; index++) {
            address owner = dogCore.getOwner(_dogIdList[index]);
            if (owner != address(0)) {
                ownerProfit[owner] += _amount;
            }
        }

        emit Register(_term);
    }

    function registerByOwner(uint256 _term, address[] _ownerList, uint256 _amount) external onlyOwner {
        require(!termHistory[_term]);
        require(_ownerList.length > 0);
        require(_amount > 0);
        termHistory[_term] = true;
        for (uint256 index = 0; index < _ownerList.length; index++) {
            ownerProfit[_ownerList[index]] += _amount;
        }

        emit Register(_term);
    }

    function withdraw() external whenNotPaused {
        uint256 amount = ownerProfit[msg.sender];
        require(amount > 0);
        msg.sender.transfer(amount);
        delete ownerProfit[msg.sender];

        emit Withdraw(msg.sender, amount);
    }
}

How can I call functions in this contract?
Any help will be great！


Cannot paste BOM on Farnell

The generated list of parts to purchase is not in a format accepted by Farnell Quick-Buy (also called Quick-Paste) tool.
The list of parts generated in the spreadsheet doe snot have the comma or tab separators:

Using Kicost v1.1.4.

I don't have a Farnell account. Please, provide me the correct format/sequence to I make the internal chances.

The format is here:
https://export.farnell.com/quick-order?isQuickPaste=true
Example:
'4340504, 10, Need for project X', CUST1234
'4333974, 100, Order by Bob'

So: stock code, quantity, description, user fields?
Are the user fields (optional) really used/stamped at the delivered package?

Yes they are and it's really handy :)
The parts reference get printed on the bag:

This will need some lines of code. Could you give more information about específica this: maximum fields allowed (I suppose that is printed in a by-line format), maximum length allowed (characters allowed at the line), is the some not allowed characters,...

Maximum characters allowed for line comment and part number seems to be 30 (including commas).
Usually I leave the line comment empty by putting a double comma like this:
2211140, 10,, CUST1234,CUST1234,CUST1234,CUST1234,CUST1234,
Note that if the part number is longer than 30 characters, it gets truncated down to 30 like this:

However if the field is longer than 65 the line is ignored.
Special characters are supported, except for ' and " which are parsed out. Hope this helps :)

Fix the order, missing the implementation of the user custoom fields.
@romain145 , please check it.
It will be helpful if you could also give some try on other distributors / link the link for direct importation (for example, Digikey is https://www.digikey.com/ordering/shoppingcart)

Next step will be include the 'desc' (description) and others custom fields, all displayed at the spradsheet.
Could you provide me a XML example and the intended table list?

Now, for default Farnell and Newark add all the user fields as your example for custom fields.
You can edit for just one specific in the distributors_info.py file.

The feature request is duplicated from #394


Mouse keeps hitting icon by accident.

Consider:

track mouse direction vector and then
intentionally keep icons on the opposite side, or if you're at a corner then at least farther away.

Alternative:

Make the "centroid" of the 3 icons farther away from the mouse.

or detect if user waited for icons


Questions about the Maximum Connection Number of Web-stomp

When using front-end stomp.js to connect queues, why can rabbitmq-web-stomp plug-ins only connect 200, and the actual maximum connection is far more than 200.
What limits 200 connections and what parameters affect them? What can be done to solve this problem?

Thank you for your time.
Team RabbitMQ uses GitHub issues for specific actionable items engineers can work on. GitHub issues are not used for questions, investigations, root cause analysis, discussions of potential issues, etc (as defined by this team).
We get at least a dozen of questions through various venues every single day, often light on details.
At that rate GitHub issues can very quickly turn into a something impossible to navigate and make sense of even for our team. Because GitHub is a tool our team uses heavily nearly every day, the signal/noise ratio of issues is something we care about a lot.
Please post this to rabbitmq-users.
Thank you.

Nothing comes to mind. Do not guess, use Wireshark or similar to see why new connections are not accepted. Up to 3.7.16 there was a default limit of 1024 in the underlying TCP acceptor library that affected those plugins. It's been lifted since.
Another incredibly common reason is the maximum open file handle limit. It is 1024 by default on Linux, so 200 is quite a bit lower than that.

Thank you, my friend


fix some imports so we don't depend on pch file

this is useful if this is being added to a dynamic framework

:+1: thanks!


Feature Request: Compute Mean, and Standard Deviation on a Subset of the Image

Current, the code computes those over the entire image which is too expensive for giant images.

In progress


Add Mapzen JS docs

Adds a new Maps section for Mapzen JS API documentation.

[ ] Wait for https://github.com/mapzen/mapzen.js/tree/kkowalsky-text-edit/docs to be completed.

/cc @kkowalsky.

Let's make the description on in the docs landing page block and on the doc page start with a verb to match the others:

Everything you need to use Mapzen services in your web applications.
A thin wrapper that packages up everything you need to use Mapzen services in your web applications.

Even if it's "Get everything you need..."

For now we have the scarab on the docs page, but does it make sense to include it on the website?

Yes, it makes sense to include the Scarab as long as the primary users are internal. We can de-emphasize it over time, but for now let’s keep it.

See PR https://github.com/mapzen/mapzen.js/pull/193, which will add these to master over in mapzen.js repo. Should be ready to go.


Add newly supported VM sizes

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

Hi @brendalee - This pull request was opened in the public repository. The contributor guide article Public vs. private repo guidance indicates that "content developers and core product team PMs should work in the private repositories so they can address quality feedback from the quality automation present in the private repos."
Would you submit this update in the private repo? We'll close this PR. Thanks!
To edit an article in the private repo from within the documentation, after you select Edit on an article page,  add “-pr” to the repo name in the URL.

Also, if you're interested, SpineEdit is a Chrome extension that opens the edit option in the private repo, if there is one and if you have access to it.

Related links in the internal Microsoft Docs contributor guide:
Public vs. private repos | Move a commit to a different repo (public -> private) | GitHub for content reviews
Quick reference for contributing to the docs | Make changes to a Docs article | PR review quality criteria

Hi @brendalee - This pull request was opened in the public repository. PMs should work in the private repositories. Would you submit this update in the private repo? We'll close this PR. Thanks!


Fix a bug in Diffusion Element Assembly in 3D.

Thanks to @nbeams for finding a bug in the DiffusionIntegrator Element Assembly in 3D, it also impacts Full Assembly. This PR fixes the bug.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1660
@YohannDudouit
@tzanio
@camierjs + @artv3 + @barker29
08/01/20
⌛due 08/06/20
⌛due 08/13/20

@artv3 @camierjs This is tested in test_assembly_levels.cpp, I'm investigating why the unit tests passed when there was a bug.

@artv3 This technique of testing only work without boundary conditions.

@camierjs @artv3 I fixed test_assembly_levels.cpp, I was using nested SECTION in for loops which resulted in only the first test of the for loop to be ran.

@camierjs @artv3 I fixed test_assembly_levels.cpp, I was using nested SECTION in for loops which resulted in only the first test of the for loop to be ran.

Good detective work, @YohannDudouit. Can you please check also that this is not a problem in other unit tests?

@tzanio Most tests are okay, test_pakernels.cpp has the same issue, I'll modify it in this PR.
I should mention it can be okay to use SECTION inside for loops, if the SECTION names are unique:
   for (int i; ...)
   {
      SECTION("mySection" + std::to_string(i))
      {
         ...
      }
   }

more details here: https://github.com/catchorg/Catch2/issues/993

Merged in next for testing...


Error when using it with angular 2

Hi,
I am trying to use it following the instructions on the page.
The problem is that I have this error:
fusioncharts/fusioncharts.charts"' resolves to a non-module entity and cannot be imported using this construct.
With this line: import * as Charts from 'fusioncharts/fusioncharts.charts';
using this configuration in my tsconfig.json. I read something releate of how things should be imported depending on what ES version are you using but i did not find any solution:
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"moduleResolution": "node",
"noImplicitAny": false,
"sourceMap": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib" : ["es2015", "dom"]
},
Any ideas?

Closing for now , please reopen if the problem persists


remove opae-c-archive static library

OPAE-ASE module statically link opae-c-archive static library,
Removed static library from OPAE-SDK , OPAE-ASE module dynamically likes opae-c library

Signed-off-by: anandaravuri<EMAIL_ADDRESS>

@michael-adler could you please try this change out in your environment?  This is the one that changes from .a to .so for the libopae-c.  Thanks!

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 65.975%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
13141

Relevant Lines:
19918

💛  - Coveralls


-g flag throwing an error

Whenever I try to use the -g flag (for the oomox theme), it throws this error, regardless of the wallpaper I have.
$ wal -g
reload: Waiting for oomox...
Error: 0.25294 isn't a valid CSS value.
        on line 340 of gtk-3.20/scss/widgets/_view.scss
>>   border: 1px solid alpha($borders_color, (lightness($bg_color))/100% + .2);
   ------------------------------------------^
make: *** [css_gtk320] Error 1
I'm using the most recent version of pywal from pip3, 1.3.2
I'm also on the most recent oomox, 1.5.0-1

This is an oomox error and is unrelated to pywal. Open an issue on oomox’s tracker.


Trivia: New game, general improvements

Overall changes (these are all approved by Azuuli, RO of trivia):

Add a new game (Weakest Link), with its own question database and corresponding commands
/trivia qs now scrolls so it doesn't flood the screen
Roommods in qw can see the answers to questions
/trivia ladder now scrolls with 100 people at a time, and lets people see ranks besides the top 100
Use template strings everywhere
Replace /help trivia with /trivia help [category], so that people can see help on more specific things instead of flooding the screen

Tagging @Morfent

Add a new game (Weakest Link), with its own question database and corresponding commands
I really don't like the way this is implemented. I'll make specific comments on why when I can look over it more closely

Roommods in qw can see the answers to questions
I need to talk to Azuuli about a compromise to how this should be handled. There are ways to allow mods to more easily edit questions that require being able to see the answers to them while making it more difficult to abuse

Replace /help trivia with /trivia help [category], so that people can see help on more specific things instead of flooding the screen
/trivia help would be a good alias to have, but removing /help trivia doesn't follow the setup help commands have in the rest of the sim. Something like how /help tours is handled would be a better approach

The rest of the changes look good.

/trivia help would be a good alias to have, but removing /help trivia doesn't follow the setup help commands have in the rest of the sim. Something like how /help tours is handled would be a better approach

Basic commands in /trivia help, with a detailed smogon post?

I'll let @Morfent decide when to approve

I don't think there should be so much of a distinction between Trivia and Weakest Link. Treating them entirely differently like this makes the code handling both types of games more complex. Weakest Link should just be a game mode and Weakest Link should be subclassing Trivia, since its whole purpose is to provide an API for different types of trivia games like this while allowing them to handle rounds and scoring entirely differently. Weakest Link shouldn't need its own separate list of commands either, it should be able to work with Trivia's.

I guess I just don't see what exactly I would be able to reuse from the original API. The way handling questions are asked, handling guesses, won't be updating the leaderboard, the bank, makes it completely different from the way the current trivia games work. Azuuli originally said questions should be different, but that might end up changing, in which case the commands could be unified quite a bit. I did end up copying verifyAnswer, but besides that I'm not sure what can be reused from the current API.

First, Timer, and Number modes already asking questions, guesses, and scoring entirely differently. There's nothing wrong with overriding its methods to make it fit your needs better. The class doesn't make any reference to the leaderboard outside Trivia#win, which doesn't even belong in the class and will be removed once I get around to refactoring triviaData. I'm fairly positive Trivia is usable for this
The only problem that's making it not usable for this in its current state is that it makes some broadcasts meant specifically for the other modes and .prize has no actual purpose. I'll make a commit to fix this

https://github.com/Zarel/Pokemon-Showdown/commit/32c9bf8ae9df8396ccf2d1b87641c3a1916a745b

Updates:

Uses Trivia API
Most commands follow same format as trivia, only a few game-specific commands
Fixed bug in onJoin
Reverted to only ROs being able to see answers in qw

Does this look better @Morfent?

Not quite sure why I'm having so many problems with Travis, npm test is passing locally but then it keeps failing tests here...

Is your eslint updated?

ah it wasn't thanks

Any other comments/concerns @morfent?

Apart from the one command, I don't think there's much else left to fix. I'll write some unit tests for this after merging


Only adding Request/Response header(s) if it doesn't already exist

Description
Currently, there seems to be no way to only add a request/response header if it doesn't already exist. Envoy will either append the value if the header already exists or will overwrite it depending on the value of append flag passed to the request_headers_to_add or response_headers_to_add [Link].
We have a use-case where we only want to add a certain request/response header if it doesn't already exist and it could be very useful to also have a flag (say, overwrite) to control the behavior of overwriting the header value.
We can't think of any other way to accomplish it except configuring a LUA filter to first check whether the header is already present or not and add it only if it's absent.
cc @lambdai

I took a stab at it:
https://github.com/envoyproxy/envoy/pull/18130