Unrecognized option "knp_menu" under "avanzu_admin_theme"

Hello,
I've got trouble when using the base_layout.
I tried to override it, and it tells me :
Method "knp_menu" for object "Avanzu\AdminThemeBundle\Helper\ContextHelper" does not exist in app/Resources/AvanzuAdminThemeBundle/views/layout/base-layout.html.twig
I tried to add the knp_menu.enabled in the config but it says :
Unrecognized option "knp_menu" under "avanzu_admin_theme"
I think that the twig globals are not passed to my view override. Any idea ?
thanks !

@numerogeek are you using master or 1.3 version? Could you copy your current config ans base-layout override to see if there are something different?

This is since upgrading to the latest beta 7 release. I am suffering from the same issue.

I had to downgrade back to 2.0.0-beta.5 to get my configuration to be accepted.
Are the configuration changes documented anywhere?

@numerogeek @benr77 I push a fix https://github.com/avanzu/AdminThemeBundle/commit/a6afac02b91022a7e27bd98ea0562e1383a6022d related to ContextHelper config in master, please test if you can so this should be fixed

It doesn't seem to have fixed my problem:
In my composer.json
"avanzu/admin-theme-bundle": "dev-master#a6afac02b91022a7e27bd98ea0562e1383a6022d"
then composer update avanzu/admin-theme-bundle
I get the following error
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
  Unrecognized options "knp_menu, theme" under "avanzu_admin_theme"

If I revert back to 2.0.0-beta.5 it works again.
Here is my configuration
avanzu_admin_theme:
  knp_menu:
    enable : true
  theme:
    default_avatar: bundles/avanzuadmintheme/img/avatar.png
    skin: skin-blue  # see skin listing for viable options
    fixed_layout: false      # -------------------------------------------------------
    boxed_layout: false      # these settings relate directly to the "Layout Options"
    collapsed_sidebar: false      # described in the adminlte documentation
    mini_sidebar: false      # -------------------------------------------------------
    control_sidebar: true      # controls whether the right hand panel will be rendered
    widget:
      collapsible: false
      removable: false
      solid: true
      use_footer: false

@benr77 thanks for your testing! I push new updates in master, please test if you can for receive your new feedback

@shakaran Sounds good for knp_menu but if you want to customize the skin it does not work.
In fact, in the ContextHelper, you set the default in :
$resolver->setDefaults([
'use_twig' => true,
'use_assetic' => true,
'options' => [],
'skin' => 'skin-blue',
But in the Configuration, you put the skin option under the "theme" node.
When I try to change the skin:
avanzu_admin_theme:
theme:
skin: skin-black
it does not change anything and {{ dump(avanzu_admin_context.option) }} gives me an empty array.

@numerogeek the skin param don't should appear under avanzu_admin_context.option, if should be under avanzu_admin_context.skin directly
avanzu_admin_theme:
    theme:
        skin: skin-black

Take in mind that avanzu_admin_context is a shorcut to class avanzu_admin_theme.context_helper
All under the "context" should be present:
{{ dump(avanzu_admin_context.skin) }}
Another case could be via the twig function "body_class" which use some default layouts in the bundle templates:
body_class({'skin': 'skin-black'})
The body_class has more params like fixed_layout, boxed_layout, collapsed_sidebar, mini_sidebar . The full config for that is:
body_class({
    'skin': 'skin-black',
    'fixed_layout': 'true',
    'boxed_layout': 'true',
    'collapsed_sidebar': 'true',
    'mini_sidebar': 'true',
})

@shakaran When I try to dump {{ dump(avanzu_admin_context.skin) }}
I got

Method "skin" for object "Avanzu\AdminThemeBundle\Helper\ContextHelper" does not exist

@shakaran I think that the configuration is overwritten with default value when the container builds.

@shakaran Update:
In the AvanzuAdminExtension class :
`    public function load(array $configs, ContainerBuilder $container)
{
$baseConfiguration = new Configuration();
    // Load the configuration from files
    try
    {
        $configs = $container->getExtensionConfig($this->getAlias());
    }
    catch(InvalidConfigurationException $e)
    {
        echo 'AvanzuAdminBundle:' . $e->getMessage() . PHP_EOL;
        $configs = [];
    }

....
`
$configs is resetted with the default value. Why  do you do this  $configs = $container->getExtensionConfig($this->getAlias()); ?

@numerogeek before to this fixes, when you have a invalid config value set (for example an invented key or unexistant). You will get a exception that will avoid render anything.
In your case, it seems that you get a InvalidConfigurationException, that means that your config has some invalid value, and you should see a message with "AvanzuAdminBundle" string in console or printed.
The problem here, is that it should fallback to base config, which I set a $config = [] array value, and probably it should fallback to base configuration instead.
The $container->getExtensionConfig($this->getAlias()); is needed to fetch and validate the current config before to apply or read the values in config. That means, set a base config, override with the values set by the user and after apply the final result.
So, please watch if you are receiving a message with AvanzuAdminBundle previously with the invalid configuration. I will push a fix for the base configuration.

@shakaran
Here is my config:
avanzu_admin_theme:
    bower_bin: %bower_bin% # that's the default value
    use_assetic: true

To reproduce: Try to clear your cache, set a custom bower_bin path (I need it for travis because travis don't store it in /usr/local/bin) and try to print the bower path selected by the load configuration.
I suspect that's exactly the same for the skin option etc...

@numerogeek do you have defined the parameter %bower_bin% ? Are you sure that it is valid without quotes?
I mean:
parameters:
    bower_bin: "your custom bower bin for travis"

avanzu_admin_theme:
    bower_bin: "%bower_bin%" # See the quoting here
    use_assetic: true

Probably the problem come from the invalid parameter or the missing quote of the parameter.
Make a composer update to master, and watch in the update, if you get a warning line starting with the text "AvanzuAdminBundle: invalid config"

I tried using xDebug: I don't fall in the catch. My config is valid.
Have you tried locally ? (don't forget to clear the cache before)
As I said in comment in the PR, I doubt that the $container->getExtensionConfig($this->getAlias()); parses anything.
Check the function content :
    public function getExtensionConfig($name)
    {
        if (!isset($this->extensionConfigs[$name])) {
            $this->extensionConfigs[$name] = array();
        }

        return $this->extensionConfigs[$name];
    }

Please consider reopen my PR.

About the catch. it was set in getExtensionConfig() instead processConfiguration() so you didn't get the warning message properly. Already pushed that change (in that part you have reason, so my apologies since I misstakenly believe that was throwing in getExtensionConfig() instead processConfiguration() ).
Even if I thank you your effort to fix it (I always appreciate help fixing things or improving this), unfortunally, your PR don't solve the problem in the right spot, because the config has to be fetch first from getExtensionConfig(), that value is used for processConfiguration as second argument, that will trigger the InvalidConfiguration if there are one (note, trigger by processConfiguration)
The validation will be improved (note: using validateConfiguration()) when I get a stable and 0 issues of this bundle (that will be after 2.0 release, I expect):
See for example other bundles use this:
        $extension = $this->findExtension($name);

        $extensionAlias = $extension->getAlias();
        $configs = $container->getExtensionConfig($extensionAlias);
        $configuration = $extension->getConfiguration($configs, $container);

        $this->validateConfiguration($extension, $configuration);

        $configs = $container->resolveEnvPlaceholders($container->getParameterBag()->resolveValue($configs));

@shakaran Thank you for your feedback.
Could you please show me which bundle implements this kind of configuration ? Because I don't see  where it loads the user's configuration ?

@numerogeek just var_dump() or use xDebug for see the values and you will see the data received in each part of the config bundle.
About the bundles using that, just grep some vendors in your symfony installation by getExtensionConfig() for example:
/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
I notice that the problem was that load() method get the config from an initial array parameter, and prepend needs preload the config array. So I think that now should fix your issue with latest commits. Please let me know with latest master.
If a invalid config is set, for example:
avanzu_admin_theme:
    example: true

The warning should be clear like:
AvanzuAdminBundle: invalid config (prepend): Unrecognized option "example" under "avanzu_admin_theme"
    The config options for the bundle AvanzuAdminBundle were skipped
AvanzuAdminBundle: invalid config (load): Unrecognized option "example" under "avanzu_admin_theme"
    The config options for the bundle AvanzuAdminBundle were skipped

@numerogeek I push more fixes, please let me know when you can test again if it is resolved this issue

it's now good for me. Thank you.

@numerogeek thanks! Happy to see that it is already resolved. Please if you can check other issues where I am waiting your feedback (help to test other issues still opened would help me a lot too). So we can release soon a stable release in benefit for all

I have the same error for KNP integration, i tried both to put it directly under "avanzu_admin_theme" and also under "avanzu_admin_theme.options" both of them say "Unrecognized option "..." under "avanzu_admin_theme":
"name": "avanzu/admin-theme-bundle",
            "version": "1.3.8",
            "source": {
                "type": "git",
                "url": "https://github.com/avanzu/AdminThemeBundle.git",
                "reference": "ed9a11f4c002bbc542adb680bddc5222e11e85a6"
            },
            "dist": {
                "type": "zip",
                "url": "https://api.github.com/repos/avanzu/AdminThemeBundle/zipball/ed9a11f4c002bbc542adb680bddc5222e11e85a6",
                "reference": "ed9a11f4c002bbc542adb680bddc5222e11e85a6",
                "shasum": ""
            },

Here is my config:
# Avanzu Admin Theme Bundle
avanzu_admin_theme:
    options:
        knp_menu:
            enable : true
            main_menu: 'main_menu'
            breadcrumb_menu: 'breadcrumb'


Spacing between equal sign

@KenC2006 needs to fix his spacing between equal signs.
It should be var = value NOT var=value

Same with comparators
v1 >= v2 NOT v1>=v2


ARROW-1168: [Python] pandas metadata may contain "mixed" data types

@wesm Can you review when you get a chance?

Travis seems to be failing for an unrelated reason.

You hit https://issues.apache.org/jira/browse/ARROW-1174, I think @kou is looking into ti

I've fixed GLib bindings test failure by #820.

I need to write some more tests before this is ready.

Sounds good

@wesm This is ready for another review.

@wesm Refactored to move as much as possible into pandas_compat.py.

+1, thanks @cpcloud! merging as travis failed for an unrelated reason

@wesm Looks like this wasn't merged.

Oh, let me resolve the merge conflicts.

Whoops looks like I accidentally included another PR's changes in this one. Let me remove.

@wesm This is good to merge. Fixed up all the conflicts from the merge storm :)

OK, thanks!


potential logic error (|| vs. &&)

https://github.com/openiolink/io-link-master-shield-hat-sw/blob/b60d9b4059610b7c1cb9fa93252d0520cbdbab4c/src/board/Max14819.cpp#L201
Shouldn't there be a && instead of the ||?

No the current status is correct. This should continue as long as the communication is still running and time for a timeout has not been reached.


Configuration File Examples

Working with Microsoft Cloud Architect, going through the lab, https://azure.github.io/apiops/apiops/5-publishApimArtifacts/apiops-github-4-2-pipeline.html there is a link to the configuration file in this repository here: https://github.com/Azure/apiops/blob/main/configuration.prod.yaml
It would be great to have a couple of examples how to implement, as well as document better some of these variables:

Under namedValues it wasn't clear what keyVault -> identityClientId is, and where it comes from. After searching I finally figured out that this has to be first turned on under API Manager under Security -> Managed Identities section in order to use the system managed identity; documentation: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity
In order to setup loggers, it was unclear that they need to be setup as part of infrastructure setup, and that the publisher tool will not create these, unless the connection is already pre-established by either manually creating connection to application insights or having it as part of the infrastructure as code when creating the resources.

Please update documentation with some examples of what is possible, and what sample values should look like.
Thank you

Great feedback. Also please feel free to contribute to the docs and submit a PR. Docs are under the docs folder which can be found under docs/apiops

Pawel before I start addressing your concerns below I Out that we are working on introducing a more flexible configuration file in V2 of our tool which will be published soon so stay tuned. Having said that please find below the resolution for the current issues that you brought up:
I went ahead and pushed a more descriptive sample configuration file to the repository. I will update the docs with the new configuration implementation as part of V2.


MechJeb2 compatibility and staging

MechJeb's game version is hard coded in the netkan, which has caused the latest version to be out of date. Now it's updated from 1.5 to 1.6.
#4794 made the point that staging might be a good way to avoid this, since it would allow us to check the game versions before they go live. So now staging is enabled.

@techman83 , I think this broke the bot. The web hook never pushed a commit for it, and the status page says the last update was MastodonPatch 2 hours ago, which is immediately before MechJeb2 alphabetically.

@HebaruSan , I don't see anything particularly ominous. But I'll do a debug run and see what happens.

There's a 4 hour gap here:

I think the bot made it up to MastodonPatch and then either froze or aborted at MechJeb2 on the last pass.

I forgot part of my sentence, particularly ominous in the logs :slightly_smiling_face: - Debug will reveal all. Probably something with the staged branch.

Well debug didn't reveal anything useful. So that likely means it's something Git related. It hadn't created a branch, which is how the staging works. I'll wait for the next run to complete.


fix: Replace body so fast-refresh function caching works

Fixes #626

Any chance of getting this into a release?

It's been merged for < 24 hours, we'll get to it when we do... I have to first test the signals preact 2.0 release that is attached to this and then publish. I'll try to get this done today but can't make promises

@Artur- nevermind, I forgot I already tested the Preact stuff out but... just forgot.... 😅 the todo-list has been a bit chaotic, it's all released now, thank you again for the contribution!

Thank you very much, remember to calm down and take a break for the holidays :)


chore: fix docs typo

Please provide a description of this PR:
fix some docs typo, delete outdated links.

Hi @yyzxw. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@yyzxw: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
39e09b29d84ebd50470c904bfbf070749b1da017
link
true
/test release-notes

lint_istio
39e09b29d84ebd50470c904bfbf070749b1da017
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yyzxw: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
7723e5db2b0d96a3443f6a1a29aa62403e75b392
link
true
/test release-notes

lint_istio
7723e5db2b0d96a3443f6a1a29aa62403e75b392
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yyzxw: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
7723e5db2b0d96a3443f6a1a29aa62403e75b392
link
true
/test lint

release-notes_istio
e3f474c8dd130d696a09918bcba80138b3ede244
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yyzxw: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
e3f474c8dd130d696a09918bcba80138b3ede244
link
true
/test release-notes

lint_istio
e3f474c8dd130d696a09918bcba80138b3ede244
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yyzxw: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e3f474c8dd130d696a09918bcba80138b3ede244
link
true
/test lint

release-notes_istio
b2525dfd3d0b5202bd1f6188619f3195b3002ec4
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/release-notes-none

/test release-notes


  The current version has a slightly different api, making it impossible to use couchdb-scala in conjunction with the latest, safest upickle.  I found a way to make things work in my fork mrmechko/couchdb-scala, but I had to disable some of the scalac options in order for it to compile, tests work though.  I'd like to figure out exactly how to get it working with upickle 0.3.4 AND get it to compile without cheating :D

Sorry for the slow response, I'll try to take a look at your fork on the weekend :)


[Outlook] Note monthly channel support

Docs Build status updates of commit 6505763:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/requirement-sets/outlook-api-requirement-sets.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Related to issue https://github.com/OfficeDev/office-js-docs-pr/issues/1460.


Fix TS 2.4 Errors in textFileEditorModelManager.ts

Errors
In editorPart.ts:
[11:35:02] Error: /Users/matb/projects/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.ts(178,5): Type 'TPromise<IEditorModel>' is not assignable to type 'TPromise<ITextFileEditorModel>'.
  Type 'IEditorModel' is not assignable to type 'ITextFileEditorModel'.
    Property 'onDidContentChange' is missing in type 'IEditorModel'.
[11:35:02] Error: /Users/matb/projects/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.ts(185,4): Type 'TPromise<IEditorModel>' is not assignable to type 'TPromise<ITextFileEditorModel>'.

How to investigate

Install TS 2.4 in the vscode workspace by running npm install typescript@next
Make sure vscode is using the workspace version of TS for error reporting by running the Select TypeScript versions command

https://github.com/Microsoft/vscode/commit/573b0577c4518d48413dbaf97d8f46d63d10689f


Sodium with travis

Since we recommend using libsodium, i added this as default and added it to the tracis Ci job.

Codecov Report

Merging #36 into master will increase coverage by 1.17%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #36      +/-   ##
=========================================
+ Coverage   94.53%   95.7%   +1.17%
=========================================
  Files          23      21       -2
  Lines        2779    2375     -404
=========================================
- Hits         2627    2273     -354
+ Misses        152     102      -50

Impacted Files
Coverage Δ

tests/salt_mock.c
95.12% <0%> (-0.26%)
:arrow_down:

...c/external/tweetnacl_modified/tweetnacl_modified.c

examples/randombytes_linux.c

...al/tweetnacl_modified/tweetnacl_modified_wrapper.c

src/external/libsodium/libsodium_wrapper.c
96.87% <0%> (ø)

src/salti_handshake.c
93.3% <0%> (+0.26%)
:arrow_up:

tests/salt_write.c
100% <0%> (+1.04%)
:arrow_up:

src/salt.c
95.25% <0%> (+1.35%)
:arrow_up:

tests/salt_read.c
89.47% <0%> (+1.54%)
:arrow_up:

tests/sign_test.c
100% <0%> (+24.32%)
:arrow_up:

Continue to review full report at Codecov.

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


Empty list at Json serialization from ArrayList

Ao serializar json a partir de um ArrayList o método retorna uma lista vazia. Se utilizar LinkedList ao invés de ArrayList, funciona corretamente. Provável problema com o ArrayList.
public void vinculosJson(Long individuoId) {
List vinculosList = vdao.list(individuoId);
//List individuosList = new ArrayList<>(); Não funciona, retorna json vazio
List individuosList = new LinkedList<>();
if (vinculosList != null) {
  for (Vinculos v : vinculosList) {
    Individuos i = idao.load(v.getVinculoId());
    individuosList.add(idao.load(v.getVinculoId()));
  }
}

result.use(Results.json())
.withoutRoot()
.from(individuosList)
.exclude("arquivosList")
.exclude("descricao")
.serialize();

}

@cleberangelo I'm trying to reproduce it, but it works for me with both array
and linked list. Can you send us an sample of code with this bug happening?

This happens to me with the code posted in the issue.
public void vinculosJson(Long individuoId) {
List vinculosList = vdao.list(individuoId);
//List individuosList = new ArrayList<>(); Não funciona, retorna json vazio
List individuosList = new LinkedList<>();
if (vinculosList != null) {
for (Vinculos v : vinculosList) {
Individuos i = idao.load(v.getVinculoId());
individuosList.add(idao.load(v.getVinculoId()));
}
}
result.use(Results.json())
.withoutRoot()
.from(individuosList)
.exclude("arquivosList")
.exclude("descricao")
.serialize()
}

se você mudar de List pra List<individuos> funciona?

I'll try this next week.
Best regards.
2015-02-20 10:42 GMT-02:00 Rodrigo Turini<EMAIL_ADDRESS>
se você mudar de List pra List funciona?
—
Reply to this email directly or view it on GitHub
https://github.com/caelum/vraptor4/issues/935#issuecomment-75232274.

No.
List individuosList = new ArrayList<>()
don't work.
I'm using Vraptor 4.1.4, aplication server is Wildfly 8.1.

but what about List<individuos>? such as:
List<individuos> individuosList = new ArrayList<>()

Sorry. I forgot makdown for code. I'm using
List<individuos> individuosList = new ArrayList<>()

and returned an empty json.

@cleberangelo, are you still facing this issue?
I just did a lot of tests here, but I couldn't reproduce this issue.
For me, both Linked and ArrayList are working.

Ok man, it may be a local problem, maybe in my java virtual machine.
ArrayList and LinkedList has different internal allocation methods, so...
Forget the issue.
Best regards,
Cleber
2015-04-01 2:00 GMT-03:00 Rodrigo Turini<EMAIL_ADDRESS>
@cleberangelo https://github.com/cleberangelo, are you still facing
this issue?
I just did a lot of tests here, but I couldn't reproduce this issue.
For me, both Linked and ArrayList are working.
—
Reply to this email directly or view it on GitHub
https://github.com/caelum/vraptor4/issues/935#issuecomment-88350482.

ok, thanks @cleberangelo


Adding a Sequence Generator for SQL, and posting about SQL data sources

r: @apilloud
I've successfully ran the pipelines that I'm detailing in the blog post. I think a sequence generator is a reasonable thing to have available for anyone.
For the demo for our talk, I'll develop a custom thing to generate random data with player, team, score rows, and we can perform aggregations. Maybe another one with trade, currency, amount - and converting everything to USD or IDK.

cc: @akedin @amaliujia @kennknowles


Pre-boot capybara webkit (so that it doesn't interfere with test profiling)?

Summary:
Is there a way to boot capybara-webkit on CI so that the boot doesn't interfere with spec profiling?
Details:
We're using capybara and capybara-webkit master (qt4, gemfile.lock below), and the Rspec config  config.profile_examples = 10.  We run our specs in a random order  and it appears that the first js: true spec boots capybara-webkit and takes a performance hit, which throws off the profiling.
 lazy loaded compliance scores has
WARNING: The next major version of capybara-webkit will require at least version 5.0 of Qt. You're using version 4.8.1.
  has compliance in the list

takes 20.83 seconds  whereas on other runs it isn't even on the slow specs list.
That warning is called from the cpp code on serve start
What I've tried
  config.before(:suite) do
    require 'rails_helper'
    RSpec.configuration.reporter.message "Booting Capybara"
    time = Benchmark.realtime do
      Capybara.using_driver(Capybara.javascript_driver) do
        server = Capybara::Server.new(Rails.application)
        server.boot
      end
    end
    RSpec.configuration.reporter.message "Booted Capybara: #{time}"
  end if ENV['CI'] == 'true'

# spec/support/capybara.rb
webkit_server = Capybara::Webkit::Server.new
webkit_connection = Capybara::Webkit::Connection.new(server: webkit_server)
webkit_browser = Capybara::Webkit::Browser.new(webkit_connection)

# spec/rails_helper.rb
load Rails.root.join('spec/warmup_webkit_spec.rb').to_s if ENV['CI'] == 'true'

# spec/warmup_webkit_spec.rb
RSpec.describe 'Booting Capybara-Webkit', type: :feature, js: true do
  it 'booted Capybara-Webkit' do
  end
end

Gemfile.lock
GIT
  remote: https://github.com/jnicklas/capybara.git
  revision: 6b12bc496f1dbaefa9b57aad0b158e077b5c6c8c
  specs:
    capybara (2.8.0.dev)
      addressable
      mime-types (>= 1.16)
      nokogiri (>= 1.3.3)
      rack (>= 1.0.0)
      rack-test (>= 0.5.4)
      xpath (~> 2.0)

GIT
  remote: https://github.com/mattheworiordan/capybara-screenshot.git
  revision: 228038ef73c5b1e4b841e140296ac246144ecb0c
  specs:
    capybara-screenshot (1.0.11)
      capybara (>= 1.0, < 3)
      launchy

GIT
  remote: https://github.com/thoughtbot/capybara-webkit.git
  revision: 6e16755e9e9bfc7041585a7eadd9408033ed6835
  specs:
    capybara-webkit (1.11.1)
      capybara (>= 2.3.0, < 2.8.0)
      json

    rails (4.2.6)
    rspec (3.4.0)
    rspec-rails (3.4.2)

I think the spec/support/capybara.rb file you have will preboot a webkit_server process but then won't use it from the webkit driver instance. We preboot and reuse an instance in our specs using something roughly like this:
require "capybara"
require "capybara/webkit"

server = Capybara::Webkit::Server.new
connection = Capybara::Webkit::Connection.new(server: server)
browser = Capybara::Webkit::Browser.new(connection)

Capybara.register_driver :webkit_preboot do |app|
  Capybara::Webkit::Driver.new(
    app,
    Capybara::Webkit::Configuration.to_hash.merge(
      brwoser: browser,
      connection: connection,
      server: server
    )
  )
end

You can then use the webkit_preboot driver to use the prebooted instance.

@jferris Thanks, I'll try that out tomorrow.
I thought I had cracked it by forcing a 'dummy' js spec to always run first, but though that worked, it didn't seem to make the slow test times look better.  One CI run could have a slow spec that wasn't on the other
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 253055f..47216f2 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb

+# Make Capybara-Webkit boot always run first!
+module AlwaysRunFirst
+  def order(items)
+    items = super
+    head, tail = items.partition { |item| item.metadata.key?(:always_run_first) }
+    head.concat(tail)
+  end
+end
+RSpec::Core::Ordering.constants.each do |strategy|
+  RSpec::Core::Ordering.const_get(strategy).prepend(AlwaysRunFirst)
+end
diff --git a/spec/warmup_webkit_spec.rb b/spec/warmup_webkit_spec.rb
new file mode 100644
index 0000000..fec6934
--- /dev/null
+++ b/spec/warmup_webkit_spec.rb
@@ -0,0 +1,6 @@
+require 'rails_helper'
+
+RSpec.describe 'Booting Capybara-Webkit', type: :feature, js: true, always_run_first: true do
+  it 'booted Capybara-Webkit' do
+  end
+end

@bf4 Capybara is intentionally lazy, so that it doesn't initialize drivers you don't end up using. It won't initialize a driver until you do something that interacts with the page. You can see where it initializes the driver here: https://github.com/jnicklas/capybara/blob/master/lib/capybara/session.rb#L80
Tagging the scenario with js: true tells Capybara that the session should use the JavaScript driver, but it still won't initialize that driver until it has to.


Pull Request Automation like atlantis

Feature description 💡
Hello Team,
Is anything related to pull request automation like Atlantis for the terrakube going on or is it there? looking for your feedback.
Anything else?
No response

Hello @thatsk
There is not a lot about PR automation, we did some POC of how it can be done for example using Github Actions:
https://github.com/AzBuilder/terrakube-action-github
Internally the github action is calling the Terrakube API to create the workspace and run the job and show the information in the PR.
There is one example repository using github acitons here:
https://github.com/AzBuilder/terraform-sample-repository
We also did one small POC with bitbucket pipelines (that is no longer working with Terrakube 2.X.X because of the DEX implementation)
https://github.com/AzBuilder/terrakube-pipe-bitbucket
But I think to add support for PR automation like atlantis does, it will require only to implement webhooks support for the different providers like github, bitbucket, azure devops or gitlab because all the other logic like creating workspace, run the jobs is already there.
It will require sometime to do the research of how it can be implemented and it will also be a pretty good feature for Terrakube.
If anyone would like to add support for a feature like that or do the reasearch to document a POC of how it should be implemented all contributions are welcome.

Regarding the GitHub action: while I believe it could be useful for some scenarios, I also believe it could be a nightmare for the cases where Terrakube is an internal tool not reachable from GitHub. It's true that it could be solved by using dedicated GitHub runners, but it's also true that GitHub is public so Terrakube will be able to check it without issues.

Regarding the GitHub action: while I believe it could be useful for some scenarios, I also believe it could be a nightmare for the cases where Terrakube is an internal tool not reachable from GitHub. It's true that it could be solved by using dedicated GitHub runners, but it's also true that GitHub is public so Terrakube will be able to check it without issues.

Hello @juan-vg trigger actions based on webhooks is optional (right now terrakube only support push events, pull request events are not supported yet).
When you are creating a workspace you can select Whether or not you want to enable the webhooks using the VCS driven workflow

So i dont think that will impact people using Terrakube where an internal tools is not reachable from Github. You could also use other type of connections using VCS workspace using SSH workspaces or if your tool is only internal and you are using github enterprise that is another option.


Cryptocurrency Hashing Algorithms Explained with Examples

Proposed title of article
Cryptocurrency Hashing Algorithms Explained with Examples
Proposed article introduction
The data contained in Bitcoin’s blockchain is stored across numerous nodes all across the world while the owners of these nodes have free access to this data. If you can control some part of the network, what a big temptation it must be to edit the transactional history in your own favor.
However, this is not something we can observe in the case of Bitcoin. We are totally sure of the network’s protection and that such a thing can never come to reality. All this is possible thanks to the hashing algorithm that is the backbone of security in the world of cryptocurrencies.
Key takeaways

What is a hash function
How does hash function relate to cryptocurrency
How does hashing secure Bitcoin?
Examples of cryptocurrency hashing algorithms

Article quality
This article will explain hashing algorithms in cryptocurrency in detail. It will provide examples to make the article more unique and easy to understand.
References
N/A

Thank you for submitting your topic. @Snzovi
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


Raw.Data returned from API contains unexpected opening line-break when using maildir

I switched from memory storage to maildir storage because i ran into #121 but then I noticed that some of my end-to-end email test cases (where I send an email that ends up in MailHog, then query the API to verify the data that I sent) started failing.
It looks like and extra "\r\n" is added to the beginning of the Raw.Data string in the API response when maildir storage is used. I don't know whether or not this is invalid from a MIME perspective, but it prevents my mail parser (mailparser 0.6.2 for Node.js) from parsing the message successfully. Plus I figured it might be unintentional since the behavior is different when memory storage is used.

I think this is related to mailhog/storage#7, I'll keep both open for now


Splitting the files in small files and adding images for models

Since Simulator.mo is saved as a single file, even small modification takes time. Also, it is better to save files in small files for data security purpose.
There is a need to add good graphical images for better visualization.

files are splitted in small files for data security and improvement of saving speed in this commit.


Add card feature based on the question asked.

Add card feature based on the question asked.

Issue has been resolved.


LLVM version cannot be set to 17

Setting the llvm-version to 17 does nothing, the compiler still builds using 14
Run laytan/setup-odin@v2
  with:
    branch: master
    release: false
    llvm-version: 17
    build-type: release
    repository: https://github.com/odin-lang/Odin
    cache: false
Warning: Invalid access token, falling back to git based install.
/usr/bin/git clone https://github.com/odin-lang/Odin /home/runner/odin --branch master --depth=1 --single-branch --no-tags
LLVM 17 comes pre-installed on this runner
Cloning into '/home/runner/odin'...
[...]
Updating files: 100% (1341/1341), done.
/home/runner/odin/build_odin.sh release
+ clang++ src/main.cpp src/libtommath.cpp -Wno-switch -Wno-macro-redefined -Wno-unused-value -DODIN_VERSION_RAW="dev-2024-03" -DGIT_SHA="58d0635" -std=c++14 -I/usr/lib/llvm-14/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -L/usr/lib/llvm-14/lib -O3 -pthread -lm -lstdc++ -ldl /usr/lib/llvm-14/lib/libLLVM-14.so -Wl,-rpath=$ORIGIN -o odin
[...]
/usr/lib/llvm-14/include/llvm-c/Core.h:2156:1: note: 'LLVMConstGEP' has been explicitly marked deprecated here
LLVM_ATTRIBUTE_C_DEPRECATED(
^
/usr/lib/llvm-14/include/llvm-c/Deprecated.h:26:23: note: expanded from macro 'LLVM_ATTRIBUTE_C_DEPRECATED'
  decl __attribute__((deprecated(message)))
[...]

Thanks! I was detecting pre-installed wrong, fixing that would still not support llvm 17 though, I have also added a commit that should add support for llvm 17.


WIP: Deprecate the low level SHA* functions.

Use of the low level SHA-1 and SHA-2 functions has been informally discouraged for a long time. We now formally deprecate them.

[x] documentation is added or updated
[x] tests are added or updated

Builds with deprecation will fail because ssl/s3_cbc.c requires direct access to these functions and it hasn't been moved to a provider.

CHANGES entry in #10802

Use of the low level SHA-1 and SHA-2 functions has been informally discouraged for a long time. We now formally deprecate them.

Just deprecate, right?  Not immediately remove...
I rather expect that various external projects that just need a specific hash function, and not much else from OpenSSL or EVP, may be using the underlying functions directly, or at least using EVP_sha1() rather than EVP_get_digestbyname("sha1").
Has anyone checked which projects might be affected? A common source of problems is foreign function bindings in other languages, e.g. crypto, or just hash function modules Perl, Python, Ruby, ... Where the re-exported function is part of the module API.
I suspect that we may not be able to remove these, and perhaps should not, but rather may end up sequestering them in the legacy provider (and/or suitable legacy crypto library where the interface is not EVP and so "providers" don't come into play).  If that's what deprecation means, that's OK. If the intent is to outright remove these functions in a later release, that may prove more difficult.
This is not to say I am opposed to doing this if the downstream impact is not too high, rather this is a note of concern, about perhaps burning too many bridges with the past (chequered as it may be).

EVP_sha1() works as a sort of template, causing an implicit fetch of the corresponding provided implementation. This is by design.
Regarding removal of deprecated stuff, it means that the declarations will be removed from public headers, and will no longer be exported by shared libraries. As for the code itself, it will remain internally as long as we need it. If only our providers use it, I suspect it will physically move to that source tree.
Does that answer your concerns, @vdukhovni ?

Does that answer your concerns, @vdukhovni ?

It clarifies the intent, but the concern is that I don't know the extent to which external projects are then affected by this change. Perhaps old software can continue to use old versions of libcrypto, but the appetite for reworking stable legacy code is generally limited.
If we're providing a general purpose suite of algorithms, even historical ones, it is not clear that the legacy interfaces should be removed. Note again, I'm not saying "no", but raising some concern that perhaps the cost to others may exceed the benefit of doing this, unless there's some specific freedom this gives us to make improvements we could not make otherwise...

Out of WIP.

It clarifies the intent, but the concern is that I don't know the extent to which external projects are then affected by this change. Perhaps old software can continue to use old versions of libcrypto, but the appetite for reworking stable legacy code is generally limited.

I'm surprised you bring this up. It has long been our intent to deprecate these low level APIs. At this stage though it is just deprecation. We might get a feel for  how many projects are impacted when 3.0 gets released and we see how many complaints we get about deprecation warnings. We are not tied to any particular timetable for the eventual removal of code - but our stability policy would apply, so this isn't happening any time soon.


Show by "None (hide layer)" crashes the map?

Summary
Seems straightforward: selecting "None" leads to a delay, then a message that it's loading legend info, and then comes the familiar error (see attached). Tried Firefox and Safari, desktop and mobile, same result. Could it be that we need something in AT > Schema for when the legend is not World Region, Size, or Status?

Could it be that we need something in AT > Schema

good hypothesis. it's possible but I think it's most likely something in the code that got lost in the shuffle. i don't use None very often and tend to forget about it, so it might have been broken for some time.
if it's not an easy fix or i can't figure it out quickly, how would you feel about just removing it for the interim? i'll restore it eventually since it worked before, but at least there wouldn't be the full-on brokenness until then.

Could it be that we need something in AT > Schema

good hypothesis. it's possible but I think it's most likely something in the code that got lost in the shuffle. i don't use None very often and tend to forget about it, so it might have been broken for some time.
if it's not an easy fix or i can't figure it out quickly, how would you feel about just removing it for the interim? i'll restore it eventually since it worked before, but at least there wouldn't be the full-on brokenness until then.

I do kind of like it sometimes for a cleaner view, but I agree it’s probably not something the masses are going to miss — so for sure remove for the interim if it’s a more involved fix

On Jan 18, 2021, at 8:12 PM, Jason Lampel<EMAIL_ADDRESS>wrote:
Could it be that we need something in AT > Schema
good hypothesis. it's possible but I think it's most likely something in the code that got lost in the shuffle. i don't use None very often and tend to forget about it, so it might have been broken for some time.
if it's not an easy fix or i can't figure it out quickly, how would you feel about just removing it for the interim? i'll restore it eventually since it worked before, but at least there wouldn't be the full-on brokenness until then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/169#issuecomment-762539909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5GXICOOX3XNKNAKNHDS2TMA5ANCNFSM4WBTZARQ.

I do kind of like it sometimes for a cleaner view, but I agree it’s probably not something the masses are going to miss — so for sure remove for the interim if it’s a more involved fix

On Jan 18, 2021, at 8:12 PM, Jason Lampel<EMAIL_ADDRESS>wrote:
Could it be that we need something in AT > Schema
good hypothesis. it's possible but I think it's most likely something in the code that got lost in the shuffle. i don't use None very often and tend to forget about it, so it might have been broken for some time.
if it's not an easy fix or i can't figure it out quickly, how would you feel about just removing it for the interim? i'll restore it eventually since it worked before, but at least there wouldn't be the full-on brokenness until then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/169#issuecomment-762539909, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5GXICOOX3XNKNAKNHDS2TMA5ANCNFSM4WBTZARQ.


[Feat] announcements end-to-end flow

Features

Currently, the announcement banners (3x red cards/boxes) are using placeholder cards that dont have any functional utility. This task focuses on implementing that.

Core

New DB table announcements

link string field - for the url of the announcement
external bool field - to declare if this announcement's link is external or not
image string field - for the url of the image used in the background
createdAt field - refer to other tables
updatedAt field - refer to other tables

Read from db table and populate information on the card (thi component should be a server component)

Optional

styles

make announcement banner responsive (scroll on overflow in x-axis or use a carousel)

note on a bug with z-index:


apps require me to enter the pass phrase for a key twice

It seems that recently changed something to the handling of reading pass phrases for private keys. It now requires me to enter the correct password 2 times after each other. If I first type a wrong one, it still requires me to enter the password 2 times. This is only in the master branch.

Kurt Roeckx wrote:

It seems that recently changed something to the handling of reading pass phrases for private keys. It now requires me to enter the correct password 2 times after each other. If I first type a wrong one, it still requires me to enter the password 2 times.

https://github.com/openssl/openssl/issues/4147

Addressed in #4198


release version for zio-1.0.13

I ran into problems cause this library is still depending on zio 1.0.12 and pulling in 1.0.12 versions of zio-macros that for some reason didn't get replaced with the 1.0.13 version by sbt. I ended up having two versions of zio-test and their zio-test-macros and got runtime errors in IntelliJ when trying to run my tests.
Please release a version that depends on 1.0.13 so others don't run into the same problem.
Thanks!

Sorry for missing this. Just released for 1.0.14 though :)


[Q]about pagination of files in artifact

I uploaded files (count=13) in the artifact and get them with pagination like following:
import wandb
run = wandb.init()
artifact = run.use_artifact('mrx-runway/uncategorized/active-power-regressor:v0', type='model')
for file in artifact.files(per_page=10):
    print(file)

output log is:
<File MLmodel (None) 1.4KiB>
<File code/SimpleTurbineModel.ipynb (None) 4.3KiB>
<File code/loader.py (None) 198.0B>
<File conda.yaml (None) 4.8KiB>
<File data/model_dir/model.pkl (None) 2.5KiB>
<File data/model_dir/predict/inference_request_input_sample.json (None) 1.7KiB>
<File data/model_dir/predict/input_sample.json (None) 759.0B>
<File data/model_dir/predict/output_sample.json (None) 48.0B>
<File data/model_dir/predict/pandas_dtypes.json (None) 575.0B>
<File data/model_dir/predict/signature.json (None) 1.1KiB>
<File data/model_dir/predict/signature.pkl (None) 883.0B>
<File input_example.json (None) 759.0B>
<File requirements.txt (None) 3.9KiB>
... (The above log is printed repeatedly, forever...)

If I set per_page to 14, file list just print once.
Could you help me how to get files with pagination in the artifact?

Hello @jinholee-makinarocks !
I looked into this and this looks to be a bug for how we are querying artifact.files() when the per_page is less than the amount of files. I will make a bug report and circle back around once the team has gotten to take a look at it.


JSON Form documentation

Please add documentation for JSON form
https://www.notion.so/appsmith/JSON-form-documentation-a5ca3fef7c9c4c27be175e216d6d6fde

@cokoghenun needs video.

@Pranay105 this is done and the video has been scheduled. You'll get a PR soon

@cokoghenun, @Pranay105 - Is this completed?


feat(aws-apigateway-dynamodb): add optional resourceName parameter

Fixes #848
Description of changes:

Add a resourceName on the ApiGatewayToDynamoDB construct

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: e438583d0111c9192541e51eeb2059a499236d4c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: a2f8e5b175d2c590e1989d8483f4b357915500d5
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 416173b0c8805887c51bfd777445396d83473d2f
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

I added an integration test, I'll check

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 1c847b42a8b21208f4e840aad2b93efdec72817f
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: cf28cbd8d586d55cc754a3d0d75a68411eecaa29
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 4f8ad15327d1e8dab1bcc37cb2477eb1151e11a2
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 687ceff6ab1f8e39077eebc8baa23188ee7d0bef
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Ok, I managed to get it working!

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 7980c935b89ab08da8455e71f12528be429d167e
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@biffgaut you're absolutely right, I edited this, and also added a unit test

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: a794aa1fea57ddfcbe080bbe592414aad0348f1f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: aa078d4542b99c59a57b752bb029e0cf31b485c0
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Looks like this is ready for review, but just want to confirm before diving in?

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 7f0b30346a9011301d6b3a56e3f0f4f55937f2cf
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

That is correct @biffgaut 🙂

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: a4a959b6032ffd46e049f12df490731c530f7955
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Great contribution - Thanks!

This will go out with the next release - since we just dropped a release yesterday the next one will probably in in the next week.

Thanks a lot! 🚀


rac-5340 Implement the immediate and delayed rediscovery test for FIT

We create two files to test immediate and delayed node rediscovery.
The files name are:

test_api20_node_delayed_rediscovery.py
test_api20_node_immediate_rediscovery.py

we also fix some bugs
@hohene

BUILD RackHD #504 : FAILURE

test this please

@jimturnquist


Fix s2n_hmac variable naming, mixup between block_size and hash_block_size, and add comments

In developing a new automated side channel analysis tool Daniel Schwartz-Narbonne (@danielsn) found an impractical to exploit timing side channel in s2n that occurs when using SSLv3. Note that SSLv3 is disabled by default in s2n, and usage of SSLv3 is strongly discouraged, as the SSLv3 protocol itself is considered insecure.
This timing side channel was due to a timing normalization function that was not invoked for SSLv3 connections due to a mix up between the variables block_size and hash_block_size. These variables contain equal values in TLS 1.0, 1.1, and 1.2, but their values differ only in SSLv3. This timing normalization is used for all of s2n's TLS 1.0, 1.1, and 1.2 connections. This change renames block_size to xor_pad_size and corrects the mix up between those variables.
A later change will include a regression test based on the new tool.

These changes look good to me. It seems that all SAW tests now pass but there are still references to block_size in the following files that require updates:

tests/saw/spec/modthm.cry
tests/saw/spec/HMAC_iterative.cry
tests/saw/spec/HMAC_driver.saw
tests/saw/spec/HMAC.saw
tests/saw/spec/s2n_hmac.c.memcpy_check_patched Legacy File?
tests/saw/spec/s2n_hmac.c.with-dubious-null-pointer-comparison-return Legacy File?
tests/saw/spec/HMAC_properties.cry

Opened: https://github.com/awslabs/s2n/issues/583


Excel update security section

We recommend using SSO rather than an auth token, as the auth token approach comes with a security risk.

Docs Build status updates of commit e0b3dad:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/excel/pnp-open-in-excel.md
:warning:Warning
View
Details

docs/excel/pnp-open-in-excel.md

Line 186, Column 107: [Warning-file-not-found] Invalid file link: '../develop/sso-in-office-add-ins'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit aa0d971:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/pnp-open-in-excel.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


QAB - No QAB after deleting workspace

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.75-3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/cases/view/2990375
**Issue reported by:**Applause - Internal Team
Component Left Hand Navigation (LHN)
Action Performed:
Precondition: new account. User have one workspace.

FAB > submit manual expense to workspace
Delete workspace
Open FAB

Expected Result:
Quick action section is present with a last action
Actual Result:
QAB is not displayed in FAB
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/93a0c753-f13a-48d9-ae5c-89b6975d4e4b
View all open jobs on GitHub

Hm, I think this is expected behavior, isn't it? Since the workspace was deleted, we shouldn't show the QAB again because it would be non-functional.


docs: add juicefs-with-minio.md cookbook.

Hi @yuhr123 ,
Our plan right now is to deprecate the cookbook documentation - rather than simply closing this PR and letting it go to the graveyard - or merging it, just for it to be chucked later - I'd rather keep this PR around as a reminder to revisit a better way for the community to submit these kinds of guides, where expectations around maintenance and such are better understood.
I appreciate the time you spent putting this guide together, and hope for your patience as we continue to revise and rebuild our docs sites

Hi @ravindk89 ,
Thank you for your reply! Feel free to communicate with me, if you need any modify this article to fit for the new version of documents.


Hide from launcher?

Could you add an ability to hide it from the launcher?

@AndhikaWB the concept itself is interesting, but given the fact that I use the stock android KeyboardView for keeping the app as small as possible, it is a bit tricky to implement the long press action. I'm thinking about this, but I'm not sure if I'l add it or not. Anyway, you can leave this open and we'll see.

Settings can be accessed from Language and input settings ( not working with Behe keyboard at present)


[ ANDROID CHROME ] Changing to another tab breaks the camera

Repro steps

Go to https://ffc.staging.jimber.org/room/patatt on chrome android
Change to another tab and change back

Expected Result
Chat keeps working
Actual Result
Camera breaks and stays frozen, re enabling camera does not fix this, Only a refresh does
System Info

Resolved in v2.0.0 it seems


The gem does not include all the gems that requires once being installed

Run into this issue while try to test the gem and the service in a couple of projects:
~/open-cage-test/vendor/ruby/2.1.0/gems/opencage-geocoder-0.1.0/lib/opencage/geocoder.rb:1:in `require_relative': cannot load such file -- ~/open-cage-test/vendor/ruby/2.1.0/gems/opencage-geocoder-0.1.0/lib/opencage/geocoder/location (LoadError)
from ~/open-cage-test/vendor/ruby/2.1.0/gems/opencage-geocoder-0.1.0/lib/opencage/geocoder.rb:1:in `<top (required)>'
from hi.rb:2:in `require'
from hi.rb:2:in `<main>'

I followed the usage instructions from the readme. I had gem 'opencage-geocoder' in the Gemfile && i require it like this require 'opencage/geocoder'
I also found out that if you tell bundle to install the gem with the :github, :path option the gem works correctly and you don't run into this problem.

Closing. PR was merged ages ago.


Restructure

Refactor code and fix bugs.
Some methods were moved to extensions. If the method no longer exists, reference the extension.
CreateInstance<> methods consolidated. Some of the extremely long lists of generics were removed.
Add additional methods for mocks.
Update references.

restructure

help files

Consolidate NonPublic duplicate constructor methods

Implement fixes to ConstructorHistory

Add History Tests and fixes

ConstructorHistoryTests and refinement.

Cleanup

Add Get Protected Mock Generic

try refactor

Update except bunit

Update Bunit

Update comments and help API

Update codeql.yml


webkitgtk: honor systemdSupport and dbusSupport

This commit causes webkitgtk to honor the systemdSupport and dbusSupport attrs.
The default behavior (i.e. when these attrs are undefined) is unchanged.
NOTE: I am currently running a rebuild of this.  It may take a few hours.
Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

NOTE: I am currently running a rebuild of this. It may take a few hours.

Built sucessfully.

Latest push adds a commit message, no other changes.

assuming you've tested building without systemdSupport

Yes I have, on top of b7fe2da68bb9bb98d787eed6742772fca6fca367 from 2021-Dec-14.  I am currently trying to rebase to something more recent and will let you know in the unlikely event that the build fails.


test_core.py::test_reduce_layouts tests fail in conda env after rolling release driver update

there are multiple failures which can be reproduced by enabling the test in the workflow
Mismatched elements: 4 / 16 (25%)
Max absolute difference: 31
Max relative difference: 0.05032468
 x: array([[574, 616, 571, 555, 623, 556, 569, 654, 602, 535, 598, 584, 664,
        568, 585, 597]])
 y: array([[574, 616, 552, 555, 623, 556, 586, 654, 602, 535, 592, 584, 664,
        568, 616, 597]], dtype=int32)
FAILED language/test_core.py::test_reduce_layouts[sum-int32-expand_reduce2d-1-src_layout2-16-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.001

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 24
Max relative difference: 0.01898734
 x: array(1240)
 y: array([[1264]], dtype=int32)
FAILED language/test_core.py::test_reduce_layouts[sum-int32-reduce1d-0-src_layout2-16-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.001

Mismatched elements: 15 / 16 (93.8%)
Max absolute difference: 26
Max relative difference: 0.56521739
 x: array([[67, 83, 65, 77, 72, 79, 80, 72, 84, 77, 93, 85, 89, 82, 61, 74]])
 y: array([[ 86,  94,  54,  82,  70,  92,  84,  46,  84,  82, 118,  86,  78,
         72,  70,  66]], dtype=int32)
FAILED language/test_core.py::test_reduce_layouts[sum-float32-expand_reduce2d-0-src_layout2-128-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.001

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 14.1423645
Max relative difference: 0.13278517
 x: array(92.363235, dtype=float32)
 y: array([[106.5056]], dtype=float32)
Max relative difference: 0.1531
 x: array(3.707, dtype=float16)
 y: array([[3.215]], dtype=float16)
FAILED language/test_core.py::test_reduce_layouts[max-float32-expand_reduce2d-1-src_layout2-16-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.001

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 1.2928534
Max relative difference: 0.62995213
 x: array(3.345157, dtype=float32)
 y: array([[2.052304]], dtype=float32)
FAILED language/test_core.py::test_reduce_layouts[max-float32-reduce2d-0-src_layout2-128-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.001

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 0.4249556
Max relative difference: 0.12703606
 x: array(3.770113, dtype=float32)
 y: array([[3.345157]], dtype=float32)
FAILED language/test_core.py::test_reduce_layouts[max-float16-expand_reduce2d-0-src_layout2-16-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.01

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 0.4746
Max relative difference: 0.1653
 x: array(3.346, dtype=float16)
 y: array([[2.871]], dtype=float16)
FAILED language/test_core.py::test_reduce_layouts[max-float32-reduce2d-0-src_layout2-16-16] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.001

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 1.2928534
Max relative difference: 0.62995213
 x: array(3.345157, dtype=float32)
 y: array([[2.052304]], dtype=float32)
FAILED language/test_core.py::test_reduce_layouts[max-float16-expand_reduce2d-0-src_layout3-64-64] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.01

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 0.0625
Max relative difference: 0.01686
 x: array(3.77, dtype=float16)
 y: array([[3.707]], dtype=float16)
FAILED language/test_core.py::test_reduce_layouts[max-float16-expand_reduce2d-0-src_layout3-32-128] - AssertionError:
Not equal to tolerance rtol=0.01, atol=0.01

@leshikus could please provide more information:

Are those tests fail in non-conda env?
Which exact tests are failing?

Are those tests fail in non-conda env?

These tests fail only in conda environment.

Which exact tests are failing?

Exact tests are listed above, for example
language/test_core.py::test_reduce_layouts[sum-int32-expand_reduce2d-1-src_layout2-16-16]

Somehow work now


Front-End

testing

Ahh, okay. Gotcha. Should I delete the Front-End branch I made earlier?

I believe you can rename it. Not sure on the git syntax though.

Okay, I'll leave it as is for now and rename it later. I plan on completing the Angular tutorial tonight so hopefully I'll have a good idea on where to start


如何给侧边栏菜单配置自定义iconfont图标

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

使用问题进群交流哈，这里只用于 bug 报告 和需求提交；


[KeyVault] upgrade azure-keyvault to 0.3.7

Updating references to azure-keyvault to 0.3.7 as this has a workaround fix for Azure Stack: ADFS: Keyvault Secret cmds don't work #4448
See change: https://github.com/Azure/azure-sdk-for-python/pull/1466  for details

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Please rebase.

@tjprescott, can you merge this.  I seem to have lost my write privileges.


Adding a E-commerce website

@DhanushNehru Please assign me, I want to work on it.

@DhanushNehru  Please review the #270 PR.
Thank you.


scroll up button

Description
Scroll to top button
Fixes #103
Type of Change:

Code
Quality Assurance
User Interface
Outreach
Documentation

How Has This Been Tested?
Tested locally
Checklist:

[ ] My PR follows the style guidelines of this project
[ ] I have performed a self-review of my own code or materials
[ ] I have commented my code or provided relevant documentation, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

@Amankumar29 can you check if this is right?


Build jammy content-base images

fixed by https://github.com/rstudio/rstudio-docker-products/pull/492


⚠ Bofrost.at has degraded performance

In 4d3d2d7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 861 ms

Resolved: Bofrost.at performance has improved in 7a28a4a.


Please fix the related Shaded Jackson Databind CVEs

The following CVEs are all related to version 2.9.10 of Jackson databind which you shade
|cve|severity|cvss|
|
|-|-|-|-|
|CVE-2019-16942|critical|9.8|
|
|CVE-2019-16943|critical|9.8|
|
|CVE-2019-17531|critical|9.8|
|
|CVE-2019-20330|critical|9.8|
|
|CVE-2020-10672|high|8.8|
|
|CVE-2020-10673|high|8.8|
|
|CVE-2020-10968|high|8.8|
|
|CVE-2020-10969|high|8.8|
|
|CVE-2020-11111|high|8.8|
|
|CVE-2020-11112|high|8.8|
|
|CVE-2020-11113|high|8.8|
|
|CVE-2020-11619|critical|9.8|
|
|CVE-2020-11620|critical|9.8|
|
|CVE-2020-14060|high|8.1|
|
|CVE-2020-14061|high|8.1|
|
|CVE-2020-14062|high|8.1|
|
|CVE-2020-14195|high|8.1|
|
|CVE-2020-8840|critical|9.8|
|
|CVE-2020-9546|critical|9.8|
|
|CVE-2020-9547|critical|9.8|
|
|CVE-2020-9548|critical|9.8|

Our security team is trying to block us from using parquet files because of this issue|
Reporter: Rodney Aaron Stainback / @AceHack
Related issues:

Bump Jackson to 2.11.4 (duplicates)

Note: This issue was originally created as PARQUET-1894. Please see the migration documentation for further details.

Gabor Szadovszky / @gszadovszky:
We are planning to upgrade our dependencies for the release 1.12.0. It'll include upgrading jackson to 2.11.1. Hope that'll help.

Rodney Aaron Stainback / @AceHack:
Is there a timeline for the 1.12 release and will it be backwards compatible so I can force upgrade spark to use the latest version?

David Martin:
Has there been any movement on this issue?  Would like to let securitys know an anticipated fix date.

Gabor Szadovszky / @gszadovszky:
The jackson library has already been updated to 2.11.4 under PARQUET-1961. Closing this as a dupe.

Rodney Aaron Stainback / @AceHack:
Can you explain more about the Avro upgrade?  I don’t know anything about it.  There is a breaking change in avro?  Do you know what versions?

Gabor Szadovszky / @gszadovszky:
To summarize Avro has breaking changes between 1.8.x and 1.9.x and also in 1.10.x (because in Avro versioning scheme these are major releases). Parquet 1.10.x depends on Avro 1.8.x, Parquet 1.11.x depends on Avro 1.9.x and Parquet 1.12.x will depend on Avro 1.10.x. Spark is still struggling to upgrade to Parquet 1.11.0 because of the Avro breaking changes.
(Theoretically, the only breaking change between Avro 1.9.x and 1.10.x is the removal of jodatime, so it should not be a big deal to upgrade to Parquet 1.12.x after 1.11.x.)

Michael Heuer:
I would love to hear otherwise, but I believe Spark is blocked from upgrading Parquet due to the incompatible transitive Avro upgrade.


Local haxelib server using sqlite uses different db path for website and remoting API

Using "localhost:2000/" for the website, and "localhost:2000/api/3.0/" for the API, they use different paths:
Website: /root/haxelib.db
API: /root/../../haxelib.db
This would obviously be a good idea to fix...

Uhm, is this still an issue?

Yes, but I doubt it affects many people.  I'll look at it after some of the more urgent ones.

That is due to -D haxelib_api, but I really have no Idea why it's even needed. Let's remove it?:)

Off the top of my head I think this is related to the fact that the
remoting API module is built separately from the web server and located in
some subfolder (api/3.0 or somesuch thing).
On Tue, Dec 22, 2015 at 10:30 PM, Dan Korostelev<EMAIL_ADDRESS>wrote:

That is due to -D haxelib_api, but I really have no Idea why it's even
needed. Let's remove it?:)
—
Reply to this email directly or view it on GitHub
https://github.com/HaxeFoundation/haxelib/issues/56#issuecomment-166734716
.

Maybe that's related to some mod_neko cwd behaviour? Because for nekotools server i have to compile WITHOUT -D haxelib_api

@andyli you do have access to haxelib servers nowadays? could you check if we can get rid of that -D haxelib_api define and not break anything? :)


Move project to scikit-learn-contrib

Hi!
Very nice project. We recently created the scikit-learn-contrib organization on github and I think it would be the perfect home for this project. Would you be willing to move your project there? If it's ok with you, I will give you membership to the organization and then you can transfer this repo to the organization.
https://github.com/scikit-learn-contrib
A possibly more explicit name for the repo would be just "project-template" although I am fine if you prefer to keep the current name.
CC @amueller @jnothman

I am fine with any name as long as the naming js consistent throughout the project. If we decide to call it project-template, I would prefer to rename the underlying estimator to TemplateEstimator.
Let me know your thoughts.

yeah sounds good.

That facilitates also more centralized discussion.
@vighneshbirodkar can you point me to your discussion with @jnothman ?

@amueller
https://github.com/vighneshbirodkar/sklearn-stub/pull/4
and
https://github.com/scikit-learn/scikit-learn/issues/4473

I had thought this would move to scikit-learn project, where it would be
more visible if s.l.c. takes off.
On 26 February 2016 at 04:58, Vighnesh Birodkar<EMAIL_ADDRESS>wrote:

@amueller https://github.com/amueller
#4 https://github.com/vighneshbirodkar/sklearn-stub/pull/4
and
scikit-learn/scikit-learn#4473
https://github.com/scikit-learn/scikit-learn/issues/4473
—
Reply to this email directly or view it on GitHub
https://github.com/vighneshbirodkar/sklearn-stub/issues/5#issuecomment-188904724
.

@jnothman you mean this would move to the scikit-learn org and no the scikit-learn-contrib org? I kinda feel the same, though I wasn't sure.

I also feel it might be better to move it to scikit-learn!

But the goal is to encourage people to create projects in scikit-learn-contrib! And we can use contrib.scikit-learn.org/project-template/ to host the documentation demo.

I think that's a bit moot, and it's a bit arbitrary. I guess I'd be happy
to see project-template there in scikit-learn-contrib's repository
listing... but assuming it'll be infrequently updated, it won't appear near
the top!
On 26 February 2016 at 11:13, Mathieu Blondel<EMAIL_ADDRESS>wrote:

But the goal is to encourage people to create projects in
scikit-learn-contrib! And we can use
contrib.scikit-learn.org/project-template/ to host the documentation demo.
—
Reply to this email directly or view it on GitHub
https://github.com/vighneshbirodkar/sklearn-stub/issues/5#issuecomment-189047357
.

I think the best way to give visibility to project-template is to advertise it on scikit-learn.org and / or contrib.scikit-learn.org.

Indeed. So then I'm happy to toss a coin, or go with whoever is pushiest
On 26 February 2016 at 15:27, Mathieu Blondel<EMAIL_ADDRESS>wrote:

I think the best way to give visibility to project-template is to
advertise it on scikit-learn.org and / or contrib.scikit-learn.org.
—
Reply to this email directly or view it on GitHub
https://github.com/vighneshbirodkar/sklearn-stub/issues/5#issuecomment-189109299
.

My suggestion would be to leave it in scikit-learn (for visibility) and have a form of it in the scikit-learn-contrib organization. Forgive me, but I am not sure what the purpose behind the contrib organization is ? What is scikit-learn-contrib facilitating that scikit-learn cannot ?

The purpose of the contrib org is to gather quality third-party projects compatible with scikit-learn. I guess we created a different org to separate third-party projects from the official scikit-learn package.
@GaelVaroquaux @agramfort @vene @glouppe @ogrisel @fabianp @jakevdp
Any opinion whether the project template should go to scikit-learn or scikit-learn-contrib org?

I.e. scikit-learn-contrib will house relatively mature instantiations of
this template.
On 28 February 2016 at 19:44, Mathieu Blondel<EMAIL_ADDRESS>wrote:

The purpose of the contrib org is to gather quality third-party projects
compatible with scikit-learn. I guess we created a different org to
separate third-party projects from the official scikit-learn package.
@GaelVaroquaux https://github.com/GaelVaroquaux @agramfort
https://github.com/agramfort @vene https://github.com/vene @glouppe
https://github.com/glouppe @ogrisel https://github.com/ogrisel
@fabianp https://github.com/fabianp @jakevdp
https://github.com/jakevdp
Any opinion whether the project template should go to scikit-learn or
scikit-learn-contrib org?
—
Reply to this email directly or view it on GitHub
https://github.com/vighneshbirodkar/sklearn-stub/issues/5#issuecomment-189821856
.

+1 for putting it in scikit-learn-contrib

Why not do both?
Have the actual template in scikit-learn and the mature projects in scikit-learn-contrib that use the template.
Also what are the hard requirements for a project to be listed in scikit-learn-contrib, if any?

To me it makes sense to put it in scikit-learn-contrib.

+1 for putting in in scikit-learn-contrib.

I guess the consensus here is to put it in scikit-learn-contrib. I will go ahead and change the project name to project-template and change the estimators name to template.TemplateEstimator.

@vighneshbirodkar I sent you an invitation to become a member of scikit-learn-contrib. Thanks in advance for the refactoring!

@mblondel I have done the refactoring. The main changes are
for installing
$ pip install sklearn-template

for executing
>>> from template import TemplateEstimator

I think template is a bad top-level module name, as it is very generic. It should probably be skltemplate or something like that.

@amueller Done. It is skltemplate now

thanks :)

Can I move this to SLC now ?

yes

@amueller Where do you want the docs to be hosted ?

a gh-pages branch?

@amueller Yes, but the the URL ? scikit-learn-contrib.github.io/docs?

it will be scikit-learn-contrib.github.io/sklearn-template, right?

Please use scikit-learn-contrib.github.io/project-template.

@mblondel It is live here
http://contrib.scikit-learn.org/project-template/
Although as it currently stands, all source files are also being hosted on the gh-pages branch. Is that a problem ?
https://github.com/scikit-learn-contrib/project-template/tree/gh-pages

Why is the branch needed?

@mlblondel for the website ?

Sorry, I thought you had uploaded the website here:
https://github.com/scikit-learn-contrib/scikit-learn-contrib.github.io


ACL duplicate button

Visual check: Functions as required.
Button placement: not horizontally centre in div (visible when hovering). Overall it needs to move a bit more right (same distance from right border as from top)? (It feels a bit off where it is now)

@laurensgroeneveld comments?

Visual check: Functions as required.
Button placement: not horizontally centre in div (visible when hovering). Overall it needs to move a bit more right (same distance from right border as from top)? (It feels a bit off where it is now) - Edit: Might be fixed using the new "muted" button state as per https://github.com/bccsa/luminary/pull/144.

Just to come back to this: This is because there is currently an empty slot passed like this <LButton [props]></LButton>. It will be fixed by making the tag selfclosing, like <LButton [props] />


Allowed memory size exhausted

Hi,
I have a not-too-big table with 100k entries. But when trying to pull it via your plugin, it is giving following error (I am just displaying on page, not exporting to excel):
PHP Fatal error:  Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/aaaaa/vendor/yajra/laravel-datatables-oracle/src/Processors/DataProcessor.php on line 263
PHP Fatal error:  Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/aaaaa/vendor/symfony/debug/Exception/FatalErrorException.php on line 1
Any solution for this please?
Many thanks,
Saad Omer

I just updated the package and added support for fast-excel. See https://github.com/yajra/laravel-datatables-buttons/pull/124 and give it a try if you can. I only tested using 20k rows while developing it.
Feedbacks appreciated. Thanks!

i had the same problem, i was using "yajra/laravel-datatables": "^9.0" php 8.0 and laravel 9, this problem didn't happen on "yajra/laravel-datatables-oracle": "^8.7" php 7.4, strangely this it only happens to some tables.

Has anyone tried lazy load?


Login Authentication Documentation

I have been searching all over for better documentation on this app also. I keep reading where the contributors say there is tons of documentation etc. blah blah blah. Yeah, this is true, there is TONS of documentation on installing and starting up this app, however there is practically NO DOCUMENTATION on the login and password setup of King Phisher and how it reacts on different distros. For example I have read that on Kali, it uses the users login and password...yet this is not true on Parrot Security. Neither is it true if you do a clone or manual install, I have watched the install as it clearly states it CREATES A RANDOM PASSWORD in the sql db. Doesn't bother to tell you what that password is. I assume that is the password needed since it must connect to the db to work. This is an excellent app from what I can see, so why can't someone take a little time to make it MORE CLEAR how to setup and use the login and password? to Login Authentication Documentation
At this point I am now about to go digging around my postgresql db to see if I can find an entry from king phisher and figure out how to make it go from a worthless install to something useful...
Am I frustrated? Yes, very! I have it installed perfectly, all dependencies, everything ready to go and no login or password to actually use it. Wouldn't you be frustrated too? That's like buying a new sports car without the dang keys to actually start the thing!!!
Originally posted by @PaganGuy in https://github.com/securestate/king-phisher/issues/330#issuecomment-439906862

Reading through that wiki page now, it doesn't really talk about PAM at all or why we use it. It's mostly for configuring the client to authenticate to the server but before I go in and start making a bunch of changes to the content I'd like to get your opinion on what you think would help clarify things.

zeroSteiner - First off THANK YOU! So, after reading your reply it was like a light bulb went off and within 2 minutes I had King Phisher up and running. Then it dawned on me what the issue is, but I must admit I am not quite sure how to fix it so I will leave that up to you. Honestly, it is how it is worded... It has to be, because as soon as I read your response it all became clear to me. It also needs to be very clear it is connecting using SSH I suppose in response to a lot of the other questions I have seen, folks seem to miss that. What I missed was that it sets up its own postgresql business we just need to setup, run, and use our SSH to connect and it does the rest...if that makes sense. Like I said, I will leave it up to you to figure out how to fix the confusion, but I am sure it is just simply how it is worded.
Works beautifully btw, awesome job on this application. I am a Software Systems Engineer myself so it is definitely not lost on me how much hard work went into this application so thank you very much for your hard work. Also, thanks for such a speedy reply, I honestly did not expect a response for a few days. =)

"...it sets up its own postgresql business we just need to setup, run, and use our SSH to connect and it does the rest...if that makes sense. " That does and that's entirely correct but I can see how it may not be super clear in some sections. I've got some ideas on how I can try and expand out the wiki pages on this topic. I'll leave this issue open until I've gotten around to making the relevant changes which will hopefully be within the next few days.
I'm glad you got it up and running now!

also, I have my won web site and a section on pentesting where I have made it my mission to start making very clear, English speaking, non-blurry as hell tutorials using Parrot Security OS for cyber security and pentesting work. I will definitely be including a tutorial on installation and setup of your awesome app when I get my subscribers to that point of their learning. Hopefully I will be able to help clear the confusion with you about this awesome application.
I am doing this because a lot of the tutorials I have seen are very blurry, mostly non-English speaking narrators, and rushed. Not knocking anyone that does not speak English, there is just a great lack of these English speaking tutorials in general. Also, they all rush through the tuts assuming a lot as they go. I don't want to give folks things to memorize for that one single thing, I want to teach them useful things they can learn, remember, and apply elsewhere in their learning travels. My tutorials are rather long, but I go over everything so nothing is lost or assumed for the end user.
If you are in agreement, I would really like to send you a link to the non-published tutorial when I complete it to get your input before I publish it. I would love nothing more than to help clear up some of the confusion, and some folks learn best by watching so I hope to reach that crowd. I have already outlined the tutorial and can see it will have to be in two parts, but that's ok, better to be clear and informative in my opinion so I am ok with that. Have an awesome day!

Absolutely, feel free to send it to me and I'll take a look. Then once it's done we can share it around. We're always looking for more tutorials. Another good one we've seen is more focused on Kali at https://www.sw1tch.net/2018/07/09/king-phisher-setup/.

I updated the server authentication page to mention database authentication a little at the bottom and updated the database page to mention that the install script will create the user and password by default. If anything's unclear or you have questions or comments on how we can improve the documentation just let us know.


Cr departures: Enum.sort_by to look at DateTime

Why didn't we update this sort_by earlier? Was that a tech debt task? I don't see how this would adversely impact the departures on other screens, but also I don't know why we didn't see this bug earlier!

Thanks! Yeah, figured out why this wasn't caught earlier -- this function is only run if we set "include_schedules" to true, and it's usually false by default. We really only use predictions AND schedules for CR.


Correct EVP_CIPHER_meth_new.pod and EVP_MD_meth_new.pod

One had some lines copied from the other, and both were missing a
proper RETURN VALUES section.
Fixes #4781

Merged.
master: 51e47d5f6a7944c3e3ddc5f6d376fc1320639277
1.1.0: 6a3d2ded004f3bb9a70df0de96a2439c2793ed72

I am getting doc-nits errors which seem to be related with this PR:
$ make doc-nits
(cd .; /usr/bin/perl util/find-doc-nits -n -p ) >doc-nits
if [ -s doc-nits ] ; then cat doc-nits; rm doc-nits ; exit 1; fi
doc/man3/EVP_MD_meth_new.pod:1: EVP_MD_CTX_md_data missing from SYNOPSIS
make: *** [Makefile:489: doc-nits] Error 1

Okie, fixing, see #4789


Properly re-adding newlines during push

This PR is related to https://github.com/ulfschneider/breakdown/pull/102
I've mentioned int the previous PR that I didn't modify setDescription and addDescription yet, since you've merged it already, I'm adding a commit setting newline characters properly during push.

I can see you've already fixed the impl.
I'm closing this one as it's irrelevant now.
Thanks


no lint command in literate mode

Description of the problem or steps to reproduce
open .lit file, enter ctrlE lint
you get "unknown command lint"
lint does work in other modes, just not literate.
Specifications
Commit hash: Commit hash: 1856891
OS: OSX 10.11.6
Terminal: iTerm2

Another strange thing: bindings from init.lua don't seem to have an effect in literate.
So if my init.lua is:
function showDate()
    local handle = io.popen("date")
    local result = handle:read("*a")
    handle:close()

    messenger:Message( result )
end

BindKey("CtrlO", "init.showDate")

Then in other modes, CtrlO shows the date, but in literate mode, it prompts to open.


Move executor field from Algorithm to PopulationEvaluator

Currently, the algorithm receives executor and max_workers fields in its constructor, initializes the Executor object, and passes it to PopulationEvaluator, but only the PopulationEvaluator activates it.
The only reason that it is in Algorithm, is to be able to call executor.shutdown at the end of the run.
I suggest moving this field entirely to PopulationEvaluator and adding a termination method to the evaluator, which will be called from the algorithm at the end of the run.
This issue will probably be addressed along with #63.

Closing to enable other classes to easily use the executor (parallel genetic operators, termination conditions etc.)