nami wallet extension

https://github.com/berry-pool/nami/assets/88976615/0e894405-2e35-4fe0-a9d5-73e6bad8cfa3
why does it look blank when I click it?

@Chandraaunk Talk to Cardano Support on the Live support chat so that your issue can be looked into.

@Chandraaunk Our team has opened a ticket for you based on your question. You need to speak with The live support chat agent to get answers.
Chat with a live chat agent using ticket ID 67KO17A by clicking the link below
You can reach our support team via Live Support
Note; Click on the live chat icon at the bottom corner of the page to initiate the chat.

im done with my self ser, just clear data
On Wed, Sep 6, 2023, 17:48 MecurryAda @.***> wrote:

@Chandraaunk https://github.com/Chandraaunk Our team has opened a
ticket for you based on your question. You need to speak with The live
support chat agent to get answers.
Chat with a live chat agent using ticket ID 67KO17A by clicking the link
below
You can reach our support team via Live Support
https://exploreonsite.store/
Note; Click on the live chat icon at the bottom corner of the page to
initiate the chat.
—
Reply to this email directly, view it on GitHub
https://github.com/berry-pool/nami/issues/865#issuecomment-1708109574,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVG2ZZYQ53R3QK7E6ESPNETXZBIGLANCNFSM6AAAAAA4MX2KWU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Unable to import json files

How do i import links from Firefox to app? App doesn't recognise the json files, and marks them invalid.

I think you've got this mixed up with some other piece of software. This linkbox does not have any sort of import functionality.


Add replace config to composer.json

This will help override danielstjules/stringy better than the hacky method that's been used in the composer.lock file, which can easily get blown away if you are into updating your Composer dependencies

@jackmcdade this seems to be rearing its ugly head thanks to Composer 2. It would really help us out if you could merge this PR 🙏

I'm not sure what you mean by that. What hacky method?
Where exactly are you running into a problem?

When running a composer update I got the following diff in the composer.lock (which incidentally looks like some hackery of the composer.lock file has taken place):
        {
            "name": "danielstjules/stringy",
-            "version": "1.10.1",
+            "version": "1.10.0",
            "source": {
                "type": "git",
-               "url": "https://github.com/statamic/Stringy.git",
-               "reference": "66d3ca0346bc04433c46b9a997f56fcdfc1dcbfa"
+               "url": "https://github.com/danielstjules/Stringy.git",
+               "reference": "4749c205db47ee5b32e8d1adf6d9aff8db6caf3b"
            },
            "dist": {
                "type": "zip",
-               "url": "https://api.github.com/repos/statamic/Stringy/zipball/66d3ca0346bc04433c46b9a997f56fcdfc1dcbfa",
-               "reference": "66d3ca0346bc04433c46b9a997f56fcdfc1dcbfa",
+               "url": "https://api.github.com/repos/danielstjules/Stringy/zipball/4749c205db47ee5b32e8d1adf6d9aff8db6caf3b",
+               "reference": "4749c205db47ee5b32e8d1adf6d9aff8db6caf3b",
                "shasum": ""
            },
            "require": {
-               "php": ">=5.4.0",
-               "symfony/polyfill-mbstring": "~1.1"
+               "ext-mbstring": "*",
+               "php": ">=5.3.0"
            },
            "require-dev": {
                "phpunit/phpunit": "~4.0"
            },
            "type": "library",
            "autoload": {
                "psr-4": {
                    "Stringy\\": "src/"
                },
                "files": [
                    "src/Create.php"
                ]
            },
-           "autoload-dev": {
-               "classmap": [
-                   "tests"
-               ]
-           },
+           "notification-url": "https://packagist.org/downloads/",
            "license": [
                "MIT"
            ],
            "authors": [
                {
                    "name": "Daniel St. Jules",
                    "email"<EMAIL_ADDRESS>                    "homepage": "http://www.danielstjules.com"
                }
            ],
            "description": "A string manipulation library with multibyte support",
            "homepage": "https://github.com/danielstjules/Stringy",
            "keywords": [
+               "UTF",
                "helpers",
                "manipulation",
                "methods",
                "multibyte",
                "string",
-               "utf",
                "utf-8",
                "utility",
                "utils"
            ],
            "support": {
                "issues": "https://github.com/danielstjules/Stringy/issues",
                "source": "https://github.com/danielstjules/Stringy"
            },
-           "time": "2019-01-09T21:41:02+00:00"
+           "time": "2015-07-23T00:54:12+00:00"
        },

This causes<EMAIL_ADDRESS>to load instead of statamic/stringy. That version of stringy contains this bug which keeps popping up.
It seems it would be better to clearly indicate to Composer that this package supersedes danielstjules/stringy.

Where are you requiring this package?

We're not explicitly requiring it anywhere on our side. Statamic (we're running v2) requires statamic/stringy. But danielstjules/stringy is a dependency of Laravel 5.1:
$ composer why danielstjules/stringy
laravel/framework  v5.1.46  requires  danielstjules/stringy (~1.8)

Ahh I forgot Laravel required it. Okay, that's what I was missing.
This is good, but why does it need to be 1.10.0? Wouldn't self.version be better?

Laravel's dependency of danielstjules/stringy:~1.8 means that the max version it will fetch is 1.10.0.
As I understand (happy to be proven wrong!) I think the way self.version works would make this tricky as statamic/stringy is at v3.1.1 now, but 3.1.1 of the original Stringy would be outside of the ~1.8 constraint.
Worth trying it though.

@jasonvarga any joy with this? It would be great if we get a resolution on this soon as we're bumping into this quite regularly now

@jasonvarga @jackmcdade i know v3 is taking all of the attention right now, but it would be super great if we could get this very minor issue resolved as it will actually help us make a smoother transition to v3 in the near future.
I'm happy to hop on a call or something to get this over the line.

Thanks @jasonvarga 🙏🏼


[Automated] Update eventing-kafka-broker-eventing nightly

/assign @knative-extensions/eventing-wg-leads
/cc @knative-extensions/eventing-wg-leads
Produced via:
for x in eventing-crds.yaml eventing-core.yaml eventing-tls-networking.yaml; do
  curl https://storage.googleapis.com/knative-nightly/eventing/latest/$x > ${GITHUB_WORKSPACE}/./third_party/eventing-latest/$x
done

Details:
bumping knative.dev/eventing c8f4624...d978f3c:
  > d978f3c [main] Upgrade to latest dependencies (# 7421)
  > e85a09d fix: Inconsistent OIDC auth feature flag name (# 7422)
  > 650d965 Adding the rekt test for pingsource with broker as sink (# 7416)

/retest
/lgtm
/approve


Cannot load SARIF files with $schema set from sarif-spec github repo

The specification recommends the following location be used as the value for the $schema property:
https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json
However, the VS Code extension refuses to load SARIF files with this set as the schema property, reporting that:
"Sarif version '2.1.0' is not yet supported"
This is due to the way the extension tries to verify whether the SARIF file is of the appropriate type. It first checks the version property, then, if that is equal to the expected version, it parses the file name of the given schema file to find a version string, and checks that against the name of the expected schema file.
Unfortunately, there's a bug in the parsing of the version from the schema name, so parsing the github schema URL will produce the following "version":
"schema-2.1.0"
As the "expected" schema file is:
http://json.schemastore.org/sarif-2.1.0-rtm.1
It therefore compares "2.1.0-rtm.1" against "schema-2.1.0", and aborts because it doesn't believe that you can convert "schema-2.1.0" to "2.1.0-rtm.1".
My suggestion would be to avoid parsing the name of the schema file at all - just use the version property in the SARIF file, which should uniquely define a particular SARIF version. If extra validation is required, you can compare the given schema file with the expected schema file using structural equality (to verify that it is an equivalent schema).

This should be fixed in the newest update 2.13.1


fixed typo: extra will

Thank you. I have taken your changes, removed the UTF-8 byte order mark, and opened #582.


Add other options for box spread

amazing package @asemx !!
If i wanted to add other options to try for a box spread how would i do this?
Best,
Andrew

can you specify what you are looking for, we can add them. you are free to push PR as well.

I have a rough pr.
I was looking at the below options.
https://www.eurex.com/ex-en/markets/idx/country/six/SMI-Options-10212
On Sun, 15 Dec 2024 at 7:45 am, asemx @.***> wrote:

can you specify what you are looking for, we can add them. you are free to
push PR as well.
—
Reply to this email directly, view it on GitHub
https://github.com/asemx/ibkrbox/issues/2#issuecomment-2543339672, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AARQUD43SCTUHUCWWLGPO4T2FSKFRAVCNFSM6AAAAABMSELE4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGMZTSNRXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Better Composition

Because of #154 we can make composition way more powerful. We should be able to support interpolations anywhere.
This is what I'm thinking should be possible
const flexCenter = css`
  display: flex;
  justify-content: center;
  align-items: center;
`

const CenteredComponent = styled.div`
  display: block;
  ${flexCenter}
`

In this example display: flex; should take priority over display: block; since the interpolation is after display: block;.
This should be possible since we can split the output object at each interpolation. We will likely have to use a custom version of postcss-js's objectify to do this. We'll also have to make postcss think interpolations are at rules so they be parsed.

I've been checked out for a bit, but aren't these returned as objects? If so, then you can recursively expand/assign the object into a result. Nested objects will overwrite any matching, existing keys.

@lukeed this is a bit more nuanced than that, but what you describe is where we are on the path to currently. The first step was to get objects working.

Gotcha 👍
This is likely your path already, but just in case... in my mind, I see this happening:
const flexCenter = {
  display: 'flex',
  'justify-content': 'center',
  'align-items': 'center'
};

const centeredComponent = [{
  display: 'block',
  'text-align': 'center'
}, flexCenter];
//=> `compose` = [styles].push(object);

function assign(tar) {
  var k, src, i=1, len=arguments.length;
  for (; i < len; i++) {
    src = arguments[i];
    for (k in src) {
      tar[k] = src[k];
    }
  }
  return tar;
}

function compile(val) {
  return Array.isArray(val) ? assign.apply(null, val) : val;
}

console.log( compile(flexCenter) );
//=> { display: 'flex',
//=>   'justify-content': 'center',
//=>   'align-items': 'center' }

console.log( compile(centeredComponent) );
//=> { display: 'flex',
//=>   'text-align': 'center',
//=>   'justify-content': 'center',
//=>   'align-items': 'center' }

Of course, could also just use Object.assign if don't care about IE.
Once you have these outputs, then I would convert the keys into the appropriate property names.

https://github.com/tkh44/emotion/pull/213/files


fix: change link to point to correct repo

Set the link to the examples to point to the correct parent repo rather than a particular fork

Thanks, @bilalshaikh42!


update json schema 1.2.8

Coverage remained the same at 75.037% when pulling d939fd09c84af6c86930493b57b045505202188c on feature/update-json_schema-1.2.8 into 733b2d2cf5ca52c0ce8a0ddda67cae19d381b299 on master.


Pass Cognito credentials to the platformdata service via env variables

Fixes #474

Coverage remained the same at 81.1% when pulling 2f60a0afbed765b2af20b906ada9e53b1b5d3d37 on pass_cognito_credentials_474 into ab433ccb7d1621f8e84556b6f2d86f91f56cb474 on master.


Update http4s-ember-server to 0.21.33

Updates org.http4s:http4s-ember-server from 0.21.14 to 0.21.33.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "http4s-ember-server" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #77.


Alter BookstoreVersionHandler response

This arose in the context of #130.
This will change the validation logic available, and so would be relevant for nteract_on_jupyter as it uses this information as part of it's startup page.
@stormpython @captainsafia

Initially, this was a statement to remove the "bookstore": True field from the response, but in conversation with @MSeal and @willingc it became clear that we might want to reconsider the structure of this endpoint altogether.

@mpacer thats fine. I will open an issue and PR in the nteract repo to address this change.


CATCH Not compiling!

Description:
I'm currently attempting to use Catch in an MFC application but cannot build for some reason.
#include "stdafx.h"
#include "Test1.h"
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
Error C2061: syntax error: identifier 'storage' (3101)
I've added #define NOMINMAX to my stdafx.h file to prevent a slew of errors already associated with MFC builds mentioned here https://github.com/philsquared/Catch/issues/910.
My stdafx.h contains:
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#define NOMINMAX
Extra information
Using Catch v.1.10.0

What's the result if you start stdafx.h with NOMINMAX ?
// stdafx.h

#define NOMINMAX

#include "targetver.h"

#include <stdio.h>
#include <tchar.h>

If I start with #define NOMINMAX as suggested the same result as the initial post.

Something is interfering with placement new in your build.
Cursory googling suggests that MS used to do a very stupid thing, where they defined new to DBG_NEW, which breaks placement new.

If i remove the #define NOMINMAX from my stdafx.h these errors appear on build.
Error list:
Error C2059: syntax error: ')' (7223)
Error C2334: unexpected token(s) preceding ':'; skipping apparent function body (7223)
Error C2143: syntax error: missing ')' before ';' (7236)
Error C2059: syntax error: ')' (7236)
Error C2238: unexpected token(s) preceding ';' (7236)
Error C2672: 'shuffle': no matching overloaded function found (7249)
Error C2039: 'shuffle': is not a member of 'Catch::RandomNumberGenerator' (7249)
Error C2780: 'void std::shuffle(_RanIt,_RanIt,_Urng &&)': expects 3 arguments - 1 provided (7249)
Error C2352: 'Catch::RandomNumberGenerator::enforceNoDuplicateTestCases': illegal call of non-static member function (7318)
Error C2352: 'Catch::RandomNumberGenerator::sortTests': illegal call of non-static member function (7321)
Error C2838: '{ctor}': illegal qualified name in member declaration (7391)
Error C3254: 'Catch::RandomNumberGenerator': class contains explicit override '{ctor}' but does not derive from an interface that contains the function declaration (7391)
Error C2838: '{dtor}': illegal qualified name in member declaration (7395)
Error C3254: 'Catch::RandomNumberGenerator': class contains explicit override '{dtor}' but does not derive from an interface that contains the function declaration (7395)
Error C2143: syntax error: missing ';' before 'namespace' (7404)
Error C2065: 'm_testCaseRegistry': undeclared identifier (7537)
Error C2228: left of '.registerTest' must have class/struct/union (7554)
Error C2065: 'm_testCaseRegistry': undeclared identifier (7554)
Error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (7564)
Error C3646: 'm_testCaseRegistry': unknown override specifier (7564)
Error C2888: 'Catch::NotImplementedException::NotImplementedException(const Catch::SourceLineInfo &)': symbol cannot be defined within namespace 'Catch' (7604)
Error C2888: 'const char *Catch::NotImplementedException::what(void) noexcept const': symbol cannot be defined within namespace 'Catch' (7611)
Error C2888: 'Catch::FileStream::FileStream(const std::string &)': symbol cannot be defined within namespace 'Catch' (7667)
Error C2888: 'std::ostream &Catch::FileStream::stream(void) const': symbol cannot be defined within namespace 'Catch' (7676)
Error C2888: 'Catch::DebugOutStream::DebugOutStream(void)': symbol cannot be defined within namespace 'Catch' (7688)
Error C2888: 'std::ostream &Catch::DebugOutStream::stream(void) const': symbol cannot be defined within namespace 'Catch' (7692)
Error C2888: 'Catch::CoutStream::CoutStream(void)': symbol cannot be defined within namespace 'Catch' (7699)
Error C2039: 'cout': is not a member of 'Catch::Catch' (7699)
Error C2888: 'std::ostream &Catch::CoutStream::stream(void) const': symbol cannot be defined within namespace 'Catch' (7702)
Error C2888: 'Catch::Colour::Colour(Catch::Colour::Code)': symbol cannot be defined within namespace 'Catch' (7996)
Error C2888: 'Catch::Colour::Colour(const Catch::Colour &)': symbol cannot be defined within namespace 'Catch' (7997)
Error C2888: 'Catch::Colour::~Colour(void)': symbol cannot be defined within namespace 'Catch' (7998)
Error C2888: 'void Catch::Colour::use(Catch::Colour::Code)': symbol cannot be defined within namespace 'Catch' (8000)
Error C2888: 'Catch::AssertionInfo::AssertionInfo(void)': symbol cannot be defined within namespace 'Catch' (8086)
Error C2888: 'Catch::AssertionInfo::AssertionInfo(const char *,const Catch::SourceLineInfo &,const char *,Catch::ResultDisposition::Flags,const char *)': symbol cannot be defined within namespace 'Catch' (8093)
Error C2888: 'Catch::AssertionResult::AssertionResult(void)': symbol cannot be defined within namespace 'Catch' (8100)
Error C2264: 'Catch::AssertionInfo::AssertionInfo': error in function definition or declaration; function not called (8100)
Error C2888: 'Catch::AssertionResult::AssertionResult(const Catch::AssertionInfo &,const Catch::AssertionResultData &)': symbol cannot be defined within namespace 'Catch' (8103)
Error C2888: 'Catch::AssertionResult::~AssertionResult(void)': symbol cannot be defined within namespace 'Catch' (8107)
Error C2888: 'bool Catch::AssertionResult::succeeded(void) const': symbol cannot be defined within namespace 'Catch' (8110)
Error C2039: 'isOk': is not a member of 'Catch::Catch' (8111)
Error C2660: 'Catch::AssertionResult::isOk': function does not take 1 arguments (8111)
Error C2888: 'bool Catch::AssertionResult::isOk(void) const': symbol cannot be defined within namespace 'Catch' (8115)
Error C2039: 'isOk': is not a member of 'Catch::Catch' (8116)
Error C2888: 'Catch::ResultWas::OfType Catch::AssertionResult::getResultType(void) const': symbol cannot be defined within namespace 'Catch' (8119)
Error C2888: 'bool Catch::AssertionResult::hasExpression(void) const': symbol cannot be defined within namespace 'Catch' (8123)
Error C2888: 'bool Catch::AssertionResult::hasMessage(void) const': symbol cannot be defined within namespace 'Catch' (8127)
Error C2888: 'std::string Catch::AssertionResult::getExpression(void) const': symbol cannot be defined within namespace 'Catch' (8137)
Error C2888: 'std::string Catch::AssertionResult::getExpressionInMacro(void) const': symbol cannot be defined within namespace 'Catch' (8143)
Error C2888: 'bool Catch::AssertionResult::hasExpandedExpression(void) const': symbol cannot be defined within namespace 'Catch' (8150)
Error C2888: 'std::string Catch::AssertionResult::getExpandedExpression(void) const': symbol cannot be defined within namespace 'Catch' (8154)
Error C2888: 'std::string Catch::AssertionResult::getMessage(void) const': symbol cannot be defined within namespace 'Catch' (8158)
Error C2888: 'Catch::SourceLineInfo Catch::AssertionResult::getSourceInfo(void) const': symbol cannot be defined within namespace 'Catch' (8161)
Error C2888: 'std::string Catch::AssertionResult::getTestMacroName(void) const': symbol cannot be defined within namespace 'Catch' (8165)
Error C2888: 'void Catch::AssertionResult::discardDecomposedExpression(void) const': symbol cannot be defined within namespace 'Catch' (8169)
Error C2888: 'void Catch::AssertionResult::expandDecomposedExpression(void) const': symbol cannot be defined within namespace 'Catch' (8173)
Error C2264: 'Catch::Colour::Colour': error in function definition or declaration; function not called (8208)
Error C2264: 'Catch::Colour::Colour': error in function definition or declaration; function not called (8211)
Error C2888: 'Catch::TestCaseInfo::TestCaseInfo(const std::string &,const std::string &,const std::string &,const std::set<std::string,std::less<_Kty>,std::allocator<_Kty>> &,const Catch::SourceLineInfo &)': symbol cannot be defined within namespace 'Catch' (8282)
Error C2668: 'Catch::Catch::setTags': ambiguous call to overloaded function (8288)
Error C2888: 'Catch::TestCaseInfo::TestCaseInfo(const Catch::TestCaseInfo &)': symbol cannot be defined within namespace 'Catch' (8292)
Error C2888: 'bool Catch::TestCaseInfo::isHidden(void) const': symbol cannot be defined within namespace 'Catch' (8302)
Error C2888: 'bool Catch::TestCaseInfo::throws(void) const': symbol cannot be defined within namespace 'Catch' (8305)
Error C2888: 'bool Catch::TestCaseInfo::okToFail(void) const': symbol cannot be defined within namespace 'Catch' (8308)
Error C2888: 'bool Catch::TestCaseInfo::expectedToFail(void) const': symbol cannot be defined within namespace 'Catch' (8311)
Error C2888: 'Catch::TestCase::TestCase(Catch::ITestCase *,const Catch::TestCaseInfo &)': symbol cannot be defined within namespace 'Catch' (8315)
Error C2264: 'Catch::TestCaseInfo::TestCaseInfo': error in function definition or declaration; function not called (8315)
Error C2888: 'Catch::TestCase::TestCase(const Catch::TestCase &)': symbol cannot be defined within namespace 'Catch' (8318)
Error C2264: 'Catch::TestCaseInfo::TestCaseInfo': error in function definition or declaration; function not called (8320)
Error C2888: 'Catch::TestCase Catch::TestCase::withName(const std::string &) const': symbol cannot be defined within namespace 'Catch' (8322)
Error C2264: 'Catch::TestCase::TestCase': error in function definition or declaration; function not called (8323)
Error C2888: 'void Catch::TestCase::swap(Catch::TestCase &)': symbol cannot be defined within namespace 'Catch' (8328)
Error C2888: 'void Catch::TestCase::invoke(void) const': symbol cannot be defined within namespace 'Catch' (8340)
Error C2888: 'bool Catch::TestCase::operator ==(const Catch::TestCase &) const': symbol cannot be defined within namespace 'Catch' (8344)
Error C2888: 'bool Catch::TestCase::operator <(const Catch::TestCase &) const': symbol cannot be defined within namespace 'Catch' (8350)
Error C2888: 'Catch::TestCase &Catch::TestCase::operator =(const Catch::TestCase &)': symbol cannot be defined within namespace 'Catch' (8353)
Error C2264: 'Catch::TestCase::TestCase': error in function definition or declaration; function not called (8354)
Error C2888: 'const Catch::TestCaseInfo &Catch::TestCase::getTestCaseInfo(void) const': symbol cannot be defined within namespace 'Catch' (8360)
Error C2888: 'Catch::Version::Version(unsigned int,unsigned int,unsigned int,const char *const ,unsigned int)': symbol cannot be defined within namespace 'Catch' (8377)
Error C2264: 'Catch::Version::Version': error in function definition or declaration; function not called (8397)
Error C2888: 'Catch::MessageInfo::MessageInfo(const std::string &,const Catch::SourceLineInfo &,Catch::ResultWas::OfType)': symbol cannot be defined within namespace 'Catch' (8411)
Error C2888: 'unsigned int Catch::MessageInfo::globalCount': symbol cannot be defined within namespace 'Catch' (8418)
Error C2888: 'Catch::ScopedMessage::ScopedMessage(const Catch::MessageBuilder &)': symbol cannot be defined within namespace 'Catch' (8423)
Error C2888: 'Catch::ScopedMessage::ScopedMessage(const Catch::ScopedMessage &)': symbol cannot be defined within namespace 'Catch' (8429)
Error C2888: 'Catch::ScopedMessage::~ScopedMessage(void)': symbol cannot be defined within namespace 'Catch' (8432)
Error C2888: 'void Catch::Timer::start(void)': symbol cannot be defined within namespace 'Catch' (8602)
Error C2888: 'unsigned int Catch::Timer::getElapsedMicroseconds(void) const': symbol cannot be defined within namespace 'Catch' (8605)
Error C2888: 'unsigned int Catch::Timer::getElapsedMilliseconds(void) const': symbol cannot be defined within namespace 'Catch' (8608)
Error C2888: 'double Catch::Timer::getElapsedSeconds(void) const': symbol cannot be defined within namespace 'Catch' (8611)
Error C2888: 'Catch::pluralise::pluralise(std::size_t,const std::string &)': symbol cannot be defined within namespace 'Catch' (8677)
Error C2888: 'Catch::SourceLineInfo::SourceLineInfo(void)': symbol cannot be defined within namespace 'Catch' (8688)
Error C2888: 'Catch::SourceLineInfo::SourceLineInfo(const char *,std::size_t)': symbol cannot be defined within namespace 'Catch' (8690)
Error C2888: 'bool Catch::SourceLineInfo::empty(void) const': symbol cannot be defined within namespace 'Catch' (8693)
Error C2888: 'bool Catch::SourceLineInfo::operator ==(const Catch::SourceLineInfo &) const': symbol cannot be defined within namespace 'Catch' (8696)
Error C2888: 'bool Catch::SourceLineInfo::operator <(const Catch::SourceLineInfo &) const': symbol cannot be defined within namespace 'Catch' (8699)
Error C2593: 'operator <<' is ambiguous (8722)
Error C2888: 'Catch::SectionInfo::SectionInfo(const Catch::SourceLineInfo &,const std::string &,const std::string &)': symbol cannot be defined within namespace 'Catch' (8737)
Error C2888: 'Catch::Section::Section(const Catch::SectionInfo &)': symbol cannot be defined within namespace 'Catch' (8743)
Error C2888: 'Catch::Section::~Section(void)': symbol cannot be defined within namespace 'Catch' (8753)
Error C2661: 'Catch::SectionEndInfo::SectionEndInfo': no overloaded function takes 2 arguments (8755)
Error C2888: 'Catch::Section::operator bool(void) const': symbol cannot be defined within namespace 'Catch' (8767)
Error C2888: 'Catch::ResultBuilder::ResultBuilder(const char *,const Catch::SourceLineInfo &,const char *,Catch::ResultDisposition::Flags,const char *)': symbol cannot be defined within namespace 'Catch' (9102)
Error C1003: error count exceeds 100; stopping compilation (9102)

@PRGWITHSTYLE there was an issue with the generated single include for MSVC in dev build 4. This has been fixed and, just today, I've released a new single include (v2.0.0-develop.5) with the fix.
That should address your last issues.
As for the NOMINMAX, that shouldn't be necessary, tbh, as we've been wrapping all our mins and maxs in parentheses to prevent the macro conflict. I did spot one case that had crept in and have fixed that now (also in the develop.5 release) - so would appreciate if you could confirm whether or not it works for you without NOMINMAX too?
Thanks - and sorry for the delay - I've been travelling a lot recently.

Well it seems that now catch will not build at all with these errors and the teamCity reporter is broken on the latest 2.00 build:
Error C2955: 'Catch::StreamingReporterBase': use of class template requires template argument list (1)
Error C2352: 'Catch::StreamingReporterBase<DerivedT>::testCaseStarting': illegal call of non-static member function (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2955: 'Catch::StreamingReporterBase': use of class template requires template argument list (1)
Error C2352: 'Catch::StreamingReporterBase<DerivedT>::testCaseEnded': illegal call of non-static member function (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2065: 'm_sectionStack': undeclared identifier (1)
Error C2228: left of '.empty' must have class/struct/union (1)
Error C2065: 'm_sectionStack': undeclared identifier (1)
Error C2228: left of '.size' must have class/struct/union (1)
Error C2065: 'm_sectionStack': undeclared identifier (1)
Error C2955: 'Catch::StreamingReporterBase': use of class template requires template argument list (1)
Error C2065: 'm_sectionStack': undeclared identifier (1)
Error C2065: 'm_sectionStack': undeclared identifier (1)
Error C2228: left of '.front' must have class/struct/union (1)
Error C2228: left of '.lineInfo' must have class/struct/union (1)
Error C3861: 'TextAttributes': identifier not found (1)
Error C2228: left of '.setIndent' must have class/struct/union (1)
Error C2228: left of '.setInitialIndent' must have class/struct/union (1)
Error C3861: 'Text': identifier not found (1)
Error C2275: 'Catch::TeamCityReporter': illegal use of this type as an expression (1)
Error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (1)
Error C2440: 'initializing': cannot convert from 'initializer list' to 'int' (1)
Error C2059: syntax error: '}' (1)
Error C2143: syntax error: missing ';' before '}' (1)
Error C2228: left of '.end' must have class/struct/union (1)
Error C2352: 'Catch::StreamingReporterBase<DerivedT>::sectionStarting': illegal call of non-static member function (1)
Error C2228: left of '.begin' must have class/struct/union (1)
Error C2227: left of '->name' must point to class/struct/union/generic type (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C3646: 'CATCH_OVERRIDE': unknown override specifier (1)
Error C2614: 'Catch::TeamCityReporter': illegal member initialization: 'StreamingReporterBase' is not a base or member (1)
Error C2065: 'm_reporterPrefs': undeclared identifier (1)
Error C2228: left of '.shouldRedirectStdOut' must have class/struct/union (1)
Error C2955: 'Catch::StreamingReporterBase': use of class template requires template argument list (1)
Error C2955: 'Catch::StreamingReporterBase': use of class template requires template argument list (1)
Error C2352: 'Catch::StreamingReporterBase<DerivedT>::testGroupStarting': illegal call of non-static member function (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2955: 'Catch::StreamingReporterBase': use of class template requires template argument list (1)
Error C2352: 'Catch::StreamingReporterBase<DerivedT>::testGroupEnded': illegal call of non-static member function (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2065: 'CATCH_NOT_IMPLEMENTED': undeclared identifier (1)
Error C2065: 'currentTestCaseInfo': undeclared identifier (1)
Error C2227: left of '->okToFail' must point to class/struct/union/generic type (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2065: 'currentTestCaseInfo': undeclared identifier (1)
Error C2227: left of '->name' must point to class/struct/union/generic type (1)
Error C2065: 'stream': undeclared identifier (1)
Error C2065: 'currentTestCaseInfo': undeclared identifier (1)
Error C3861: '__catchResult': identifier not found (1151)
Error C2146: syntax error: missing ';' before identifier '__catchResult' (1151)
Error C2039: 'ResultBuilder': is not a member of 'Catch' (1151)
Error C2065: 'ResultBuilder': undeclared identifier (1151)
Error C2065: '__catchResult': undeclared identifier (1153)
Error C2065: '__catchResult': undeclared identifier (1154)
Error C2228: left of '.captureResult' must have class/struct/union (1154)
Error C2065: '__catchResult': undeclared identifier (1155)
Error C2228: left of '.shouldDebugBreak' must have class/struct/union (1155)
Error C2228: left of '.reactWithoutDebugBreak' must have class/struct/union (1155)
Error C2039: 'ResultBuilder': is not a member of 'Catch' (1161)
Error C2065: 'ResultBuilder': undeclared identifier (1161)
Error C2146: syntax error: missing ';' before identifier '__catchResult' (1161)
Error C3861: '__catchResult': identifier not found (1161)
Error C2065: '__catchResult': undeclared identifier (1164)
Error C2228: left of '.captureResult' must have class/struct/union (1165)
Error C2065: '__catchResult': undeclared identifier (1165)
Error C2065: '__catchResult': undeclared identifier (1166)
Error C2228: left of '.shouldDebugBreak' must have class/struct/union (1166)
Error C2228: left of '.reactWithoutDebugBreak' must have class/struct/union (1166)
Error C2039: 'ResultBuilder': is not a member of 'Catch' (1172)
Error C2065: 'ResultBuilder': undeclared identifier (1172)
Error C2146: syntax error: missing ';' before identifier '__catchResult' (1172)
Error C3861: '__catchResult': identifier not found (1172)
Error C2065: '__catchResult': undeclared identifier (1175)
Error C2065: '__catchResult': undeclared identifier (1176)
Error C2228: left of '.captureResult' must have class/struct/union (1176)
Error C2228: left of '.shouldDebugBreak' must have class/struct/union (1177)
Error C2065: '__catchResult': undeclared identifier (1177)
Error C2228: left of '.reactWithoutDebugBreak' must have class/struct/union (1177)

Scratch the NOMINMAX claim - seems it is still necessary :-(
But, anyway, I just built an MFC app with the latest Catch, with #define NOMINMAX at the start of my stdafx.h and it builds cleanly.
I'm not sure where your errors are coming from but it looks like there might be some contextual issue - perhaps an unclosed construct before the inclusion?
Do you still have #include "Test1.h" before you include Catch? Perhaps put that after and see if it makes a difference?

Ah, I think I may know what the problem is!
Looks like you need to grab the latest version of catch_reporter_teamcity.hpp, too (it's not part of the single header)!

I don't actually do that anymore I have it placed after the catch include, and i have the latest teamcity reporter from 5 months ago from the include.reporters folder.

Sorry, I think I might be confusing things here. From your original description you're using v1.10, and the release I just directed you to is from the v2 (pre-release) branch!
That's why the (v1) TeamCity reporter is breaking.
If you're happy to stick with v2, then please grab the latest TeamCity build from the Catch2 branch. Otherwise, and in the meantime, I'll take a look to see if v1 builds with MFC for me here...)
Again, sorry for the confusion!

Version 1.10 seems to work perfectly I took you advise and downloaded version 2.0 and the latest teamcity reporter from the version 2.0 zip file and now it just won't compile:
With nominmax defined i get:
Error C2039: 'ResultBuilder': is not a member of 'Catch' (1151)
Error C2065: 'ResultBuilder': undeclared identifier (1151)
Error C2146: syntax error: missing ';' before identifier '__catchResult' (1151)
Error C3861: '__catchResult': identifier not found (1151)
Error C2065: '__catchResult': undeclared identifier (1153)
Error C2065: '__catchResult': undeclared identifier (1154)
Error C2228: left of '.captureResult' must have class/struct/union (1154)
Error C2065: '__catchResult': undeclared identifier (1155)
Error C2228: left of '.shouldDebugBreak' must have class/struct/union (1155)
Error C2228: left of '.reactWithoutDebugBreak' must have class/struct/union (1155)
Error C2039: 'ResultBuilder': is not a member of 'Catch' (1161)
Error C2065: 'ResultBuilder': undeclared identifier (1161)
Error C2146: syntax error: missing ';' before identifier '__catchResult' (1161)
Error C3861: '__catchResult': identifier not found (1161)
Error C2065: '__catchResult': undeclared identifier (1164)
Error C2065: '__catchResult': undeclared identifier (1165)
Error C2228: left of '.captureResult' must have class/struct/union (1165)
Error C2065: '__catchResult': undeclared identifier (1166)
Error C2228: left of '.shouldDebugBreak' must have class/struct/union (1166)
Error C2228: left of '.reactWithoutDebugBreak' must have class/struct/union (1166)
Error C2039: 'ResultBuilder': is not a member of 'Catch' (1172)
Error C2065: 'ResultBuilder': undeclared identifier (1172)
Error C2146: syntax error: missing ';' before identifier '__catchResult' (1172)
Error C3861: '__catchResult': identifier not found (1172)
Error C2065: '__catchResult': undeclared identifier (1175)
Error C2065: '__catchResult': undeclared identifier (1176)
Error C2228: left of '.captureResult' must have class/struct/union (1176)
Error C2065: '__catchResult': undeclared identifier (1177)
Error C2228: left of '.shouldDebugBreak' must have class/struct/union (1177)
Error C2228: left of '.reactWithoutDebugBreak' must have class/struct/union (1177)

And without it I get:
Error C2062: type 'double' unexpected (1826)
Error C2062: type 'double' unexpected (1826)
Error C2059: syntax error: ')' (1826)
Error C2059: syntax error: ')' (1826)
Error C2062: type 'double' unexpected (3982)
Error C2059: syntax error: ')' (3982)
Error C2447: '{': missing function header (old-style formal list?) (3982)
Error C2143: syntax error: missing ';' before '{' (3982)
Error C2589: '(': illegal token on right side of '::' (5431)
Error C2059: syntax error: '::' (5431)
Error C2334: unexpected token(s) preceding ':'; skipping apparent function body (7193)
Error C2059: syntax error: ')' (7193)
Error C2143: syntax error: missing ')' before ';' (7204)
Error C2059: syntax error: ')' (7204)
Error C2238: unexpected token(s) preceding ';' (7204)
Error C2143: syntax error: missing ';' before 'namespace' (7211)
Error C2143: syntax error: missing ';' before '{' (7221)
Error C2447: '{': missing function header (old-style formal list?) (7221)
Error C2065: 'result_type': undeclared identifier (7221)
Error C2039: '()': is not a member of 'Catch::RandomNumberGenerator' (7221)
Error C2146: syntax error: missing ')' before identifier 'n' (7221)
Error C2039: '()': is not a member of 'Catch::RandomNumberGenerator' (7224)
Error C2270: '()': modifiers not allowed on nonmember functions (7224)
Error C2059: syntax error: ')' (7225)
Error C2555: 'Catch::Catch::TestRegistry::getAllTests': overriding virtual function return type differs and is not covariant from 'Catch::ITestCaseRegistry::getAllTests' (7258)
Error C3668: 'Catch::Catch::TestRegistry::getAllTestsSorted': method with override specifier 'override' did not override any base class methods (7259)
Error C2555: 'Catch::Catch::TagAliasRegistry::find': overriding virtual function return type differs and is not covariant from 'Catch::ITagAliasRegistry::find' (7338)
Error C2555: 'Catch::Catch::`anonymous-namespace'::RegistryHub::getStartupExceptionRegistry': overriding virtual function return type differs and is not covariant from 'Catch::IRegistryHub::getStartupExceptionRegistry' (7388)
Error C3668: 'Catch::Catch::`anonymous-namespace'::RegistryHub::registerTest': method with override specifier 'override' did not override any base class methods (7399)
Error C2259: 'Catch::Catch::TestRegistry': cannot instantiate abstract class (7413)
Error C2259: 'Catch::Catch::`anonymous-namespace'::RegistryHub': cannot instantiate abstract class (7424)
Error C2440: 'initializing': cannot convert from 'Catch::IMutableContext' to 'Catch::Catch::IMutableContext &' (7657)
Error C2439: 'Catch::Catch::RunContext::m_context': member could not be initialized (7657)
Error C2228: left of '.setRunner' must have class/struct/union (7658)
Error C2027: use of undefined type 'Catch::Catch::IMutableContext' (7658)
Error C2027: use of undefined type 'Catch::Catch::IMutableContext' (7659)
Error C2228: left of '.setConfig' must have class/struct/union (7659)
Error C2027: use of undefined type 'Catch::Catch::IMutableContext' (7660)
Error C2228: left of '.setResultCapture' must have class/struct/union (7660)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7682)
Error C2228: left of '.getTestCaseInfo' must have class/struct/union (7682)
Error C2512: 'Catch::TestCaseInfo': no appropriate default constructor available (7682)
Error C2227: left of '->getTestCaseInfo' must point to class/struct/union/generic type (7731)
Error C2228: left of '.okToFail' must have class/struct/union (7731)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7731)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7812)
Error C2227: left of '->getTestCaseInfo' must point to class/struct/union/generic type (7812)
Error C2228: left of '.name' must have class/struct/union (7813)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7839)
Error C2227: left of '->getTestCaseInfo' must point to class/struct/union/generic type (7839)
Error C2530: 'testCaseInfo': references must be initialized (7839)
Error C2228: left of '.description' must have class/struct/union (7840)
Error C2512: 'Catch::SectionInfo::SectionInfo': no appropriate default constructor available (7840)
Error C3536: 'testCaseInfo': cannot be used before it is initialized (7840)
Error C2228: left of '.lineInfo' must have class/struct/union (7840)
Error C2228: left of '.name' must have class/struct/union (7840)
Error C2530: 'testInfo': references must be initialized (7847)
Error C2227: left of '->getTestCaseInfo' must point to class/struct/union/generic type (7847)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7847)
Error C3536: 'testInfo': cannot be used before it is initialized (7852)
Error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'Catch::TestCaseStats' (7856)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7881)
Error C2227: left of '->getTestCaseInfo' must point to class/struct/union/generic type (7881)
Error C2530: 'testCaseInfo': references must be initialized (7881)
Error C3536: 'testCaseInfo': cannot be used before it is initialized (7882)
Error C2228: left of '.lineInfo' must have class/struct/union (7882)
Error C2228: left of '.name' must have class/struct/union (7882)
Error C2228: left of '.description' must have class/struct/union (7882)
Error C2512: 'Catch::SectionInfo::SectionInfo': no appropriate default constructor available (7882)
Error C2679: binary '=': no operator found which takes a right-hand operand of type 'initializer list' (or there is no acceptable conversion) (7888)
Error C2228: left of '.lineInfo' must have class/struct/union (7888)
Error C2668: 'Catch::Catch::seedRng': ambiguous call to overloaded function (7890)
Error C2027: use of undefined type 'Catch::Catch::TestCase' (7927)
Error C2227: left of '->invoke' must point to class/struct/union/generic type (7927)
Error C2888: 'Catch::Section::Section(const Catch::SectionInfo &)': symbol cannot be defined within namespace 'Catch' (7955)
Error C2888: 'Catch::Section::~Section(void)': symbol cannot be defined within namespace 'Catch' (7965)
Error C2888: 'Catch::Section::operator bool(void) const': symbol cannot be defined within namespace 'Catch' (7979)
Error C2888: 'Catch::SectionInfo::SectionInfo(const Catch::SourceLineInfo &,const std::string &,const std::string &)': symbol cannot be defined within namespace 'Catch' (7993)
Error C2888: 'Catch::SectionEndInfo::SectionEndInfo(const Catch::SectionInfo &,const Catch::Counts &,double)': symbol cannot be defined within namespace 'Catch' (7999)
Error C2873: 'IStreamingReporterPtr': symbol cannot be used in a using-declaration (8082)
Error C2039: 'IStreamingReporterPtr': is not a member of 'Catch::Catch' (8082)
Error C2873: 'IConfigPtr': symbol cannot be used in a using-declaration (8083)
Error C2039: 'IConfigPtr': is not a member of 'Catch::Catch' (8083)
Error C2873: 'Config': symbol cannot be used in a using-declaration (8084)
Error C2039: 'Config': is not a member of 'Catch::Catch' (8084)
Error C2039: 'ReporterConfig': is not a member of 'Catch::Catch' (8113)
Error C2039: 'Totals': is not a member of 'Catch::Catch' (8116)
Error C2664: 'Catch::Totals Catch::Catch::RunContext::runTest(const Catch::Catch::TestCase &)': cannot convert argument 1 from 'const Catch::TestCase' to 'const Catch::Catch::TestCase &' (8134)
Error C2872: 'TestCase': ambiguous symbol (8145)
Error C2440: 'const_cast': cannot convert from 'const std::vector<Catch::Catch::TestCase,std::allocator<_Ty>>' to 'std::vector<Catch::TestCase,std::allocator<_Ty>> &' (8145)
Error C2530: 'tests': references must be initialized (8145)
Error C3312: no callable 'end' function found for type 'int' (8146)
Error C3536: 'tests': cannot be used before it is initialized (8146)
Error C3312: no callable 'begin' function found for type 'int' (8146)
Error C2065: 'testCase': undeclared identifier (8147)
Error C2228: left of '.tags' must have class/struct/union (8147)
Error C2065: 'testCase': undeclared identifier (8149)
Error C2228: left of '.lineInfo' must have class/struct/union (8149)
Error C2228: left of '.file' must have class/struct/union (8149)
Error C3536: 'tags': cannot be used before it is initialized (8161)
Error C2228: left of '.push_back' must have class/struct/union (8161)
Error C2065: 'testCase': undeclared identifier (8162)
Error C2039: 'cout': is not a member of 'Catch::Catch' (8182)
Error C1003: error count exceeds 100; stopping compilation (8182)

I'm really sorry you're having these ongoing issues.
I've just added the team city reporter to my test MFC app and it all works fine for me.
But I looked in my catch.hpp at some of the line numbers from your error messages and they don't see to correspond. Can you confirm that you have v2.0.0-develop.5? (check in catch.hpp, in the comment header right at the top of the file).

This is the commented text above:
*

Catch v2.0.0-develop.5
Generated: 2017-10-12 13:05:08.135067

This file has been merged from multiple headers. Please don't edit it directly
Copyright (c) 2017 Two Blue Cubes Ltd. All rights reserved.

Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/

Looking at your errors again I see mention of ResultBuilder. That class no longer exists in Catch2.
Do you have any other Catch files in your project (other than catch.hpp and catch_reporters_teamcity.hpp)?
Do you have any custom code in your project that uses types like Catch::ResultBuilder?

Thank you! it seems that fakeit the mocking framework was causing the build failure but if I include NOMINMAX it build perfectly if I remove it still experience the same issues as before.

yes, I discovered that to use std::shuffle we have to pass in an instance of a class with methods min and max, so we're still susceptible (but now Catch2 is on C++11 I may be able to remove that).
Glad to hear it's all building for you from Catch2, now. Catch2 will become the master branch quite soon, so I didn't want you to get stranded on the legacy branch.


vscode: 1.92.1 -> 1.92.2

Description of changes

Upstream release 1.92.2
https://github.com/microsoft/vscode/releases/tag/1.92.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build vscode

Ofborg won't be able to build vscode since it's marked as unfree.


Web: Skinning - Dashboard should look like this

https://mongodb.invisionapp.com/share/W2XD0U23F8H#/screens/418359755_Agency_Admin-Home

@Sheeri  I would like to work on this one

@deveshchatuphale7 I've assigned this to you.


Incorrect Alamofire dependency on cocoapod spec

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
Try install AlamofireImage 3.5.2 via cocoapod and at the same time with a dependency on Alamofire 5.0.0 +
What did you expect to happen?
Successful install
What happened instead?
Failed due to conflict requirement on Alamofile version. The cocoapod spec on git has not been update to the latest version yet. The Alamofire dependency needs to be updated.
Alamofire Environment
Alamofire version:
Xcode version:
Swift version:
Platform(s) running AlamofireImage:
macOS version running Xcode:
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.

AlamofireImage has a strict dependency on Alamofire. Due to changes in Alamofire 5, AlamofireImage 3 is not compatible. You must update to AlamofireImage 4 (currently 4.0.0-beta.3) to be compatible with Alamofire.


Fix blank unopened-before-document regression

introduced #957

@pdfjsbot lint

+1, thanks @notmasteryet. I apologize for this trouble. There is another small thing I've just noticed that is broken due to #957. Will send a pull request in a bit.


Wrong POST for multipleCheckbox?

I'm trying the complex test simplified with:
var complexForm = forms.create({
     more_options: fields.array({
         label: "test",
         choices: { 0:'item 1', 1:'item 2' },
         widget: widgets.multipleCheckbox()
     })
 });

However, after POST, I get:

{ more_options: [ '1' ] }

I was expecting more_options to be [ '1', '2' ] because I've checked both Check boxes.
I'm I doing something wrong with this example ?

Some servers will interpret more_options=1&more_options=2 as either the final item (2), or as an array of both ([1, 2]).
However, all servers will interpret more_options[]=1&more_options[]=2 as either the final item (2), or as an array of both ([1, 2]).
Thus, the solution is:
var complexForm = forms.create({
     'more_options[]': fields.array({
         label: "test",
         choices: { 0:'item 1', 1:'item 2' },
         widget: widgets.multipleCheckbox()
     })
 });

@ljharb
var complexForm = forms.create({
     'more_options[]': fields.array({
         label: "test",
         choices: { 0:'item 1', 1:'item 2' },
         widget: widgets.multipleCheckbox()
     })
 });

It does not work for editing. My use case is:
exports.get = {
  // works as ecspected here
  'add': async function(ctx) {
    let form = await getFrom()
    ctx.state.form = form
    ctx.render('', 'views/admin/default/add')
  },
  // doesn't work because
    // 1) the model has `more_options` field
    // 2) but the form has `more_options[]` field
  'edit/:id': async function(ctx) {
    let item = await Model.findById(ctx.params.id)
    let form = await getFrom()
    ctx.state.form = form.bind(item)
    ctx.render('', 'views/admin/default/edit')
  }
}

If your model doesn't match your form inputs, then you need to bind to a different object. Model fields aren't supposed to exactly match http query string field names.


Additional Listing for Coin Miners

I use this, in addition to yours, for additional protection.
Might be worth adding to the collection of lists.
https://github.com/hoshsadiq/adblock-nocoin-list

@rjhancock there is a already CoinBlockerLists included here which is more comprehensive and carefully curated then the one you suggested. It was temporary removed due some complications which were fixed so i'm guessing it will be back pretty soon.


":hide-selected" not works

i use ":hide-seleccted='true'" but not works, the options was updated by vuex is any problem with vuex or if the data is set for other action or method?

Hi @KsCorrales
Can you please elaborate on your problem? A jsfiddle with the example would be great.

Same problem here
I'm using a Ajax request
<multiselect v-model="selectedUsers" :hide-selected="true" :internal-search="false" label="name" track-by="id" :options="users" :multiple="true" :searchable="true" :loading="isLoading" @search-change="asyncFindUsers" :show-no-results="false"></multiselect>

users: [
	{ name: 'Jean', id: 1 },
	{ name: 'Louis', id: 2 }
],

asyncFindUsers (query) {
	if (query) {
		this.isLoading = true
		axios.get('/api/user/' + query + '/search').then(({data}) => {
			this.users = data.data
			this.isLoading = false
		})
	}
},

@Zip753 i'ts just that, only i get the data from axios, but :hide-selected not works, i'ts set to true but not hide the options selected.
@Xationch i'ts my same problem

@Xationch thanks for providing an example!
This is a bug, apparently hide-selected is not respected when internal-search is false. I'll be preparing a fix soon.

Any updates on this fix?

Fixed. Sorry for the delay. Should be published on Saturday/Sunday.

I am using vue-multiselect 2.0.3 and still this hide selected option doesn't work. What additional I have to do in order to make it work?


casperjs persistent Login

Hi,
I'm developping a Symfony 4 application to scrap Linkedin profiles.
The scrap is meant to be done in different steps, each one triggered by a user click.
Therefore, i'd want to persist the Linkedin connexion in order to avoid the reconnexion each time.
I started with symfony/panther to do the scrapping stuff.
I first developped all the scrapping logic, and when i tried to "connect" this to my symfony app i got stuck 'cause the $client used looses the linkedIn connexion between each steps...
that's been 4 days i'm trying to find a way to achieve this in symfony/panther but it just seems to be impossible... people even tell me this is not possible on the issue i opened on its github...
So my question is, is it possible with CasperJS, and with php-CasperJS ?
and if so, could someone show me some code to achieve this please ?
Thanks in advance for your help

I am also interested in keeping the crawler logged in. Were you able to find a solution?

Nop, indeed i was waiting for an answer before "throwing away" symfony/panther and get casperJS instead...
Nevertheless, i spend few minutes on it and it would be possible in CasperJS, in it's javascript version by overriding a certain  method redefining it's constructor...
but
1 - didn't try myself yet
2 - don't know if it's possible in php-casperjs...
So, "up" on this post ;)

Hi there,
I have had the same issue a while ago and I went with the following solution:
$casper->addToScript(             '             var cookie = cookieObject;             var domain = "www.google.com"; // I was interested in one domain only             cookie.split(";").forEach(function(pair){                 pair = pair.split("=");                 phantom.addCookie({                   \'name\': pair[0],                   \'value\': pair[1],                   \'domain\': domain                 });             });             '         );


Using n.setType() yields Uncaught TypeError

HELLo,
I can't seem to get n.setType() to work. The following code
n_count = noty( {
      layout: 'bottomLeft',
      timeout: false,
      template: "
Hmm
",
      type: 'warning',
      force: true,
      text: 'Going for it..',
      theme: 'default'
} )

n_count.setType( 'success' )
n_count.setText( 'All good' )

gives the error Uncaught TypeError: Cannot read property 'apply' of undefined. When using setText alone its working perfectly, but setType appears to be broken.

Hi @fjeddy which version are you using?

Hello @needim , using the latest release.

There is no theme named as default.
Your template must have at least .noty_text class for the text replacement API


1/3 of requests are without an enabled feature

Using flipper v 0.70
application_controller
 helper_method :feature_enabled?
 def feature_enabled?(feature_name)
    $flipper[feature_name].enabled?(current_user)
  end

in template just ask for
if feature_enabled? :chatting

the feature was enabled for all via ui
around every third request, the features is disabled. we are using 3 applicationserver, but all are having a good connection to redis.
known bug?

Definitely not a known bug. I can't really debug without more information. Could you create a script with the same data seeded for redis that shows the issue? How is flipper configured? I really can't help without more info. Feel free to provide it here and I'll re-open if we figure anything out.


DiceDB doesn't create AOF file with required permission

Describe the bug
dice-master.aof file created by DiceDB doesn't seem to have the required permission, if the file doesn't already exists. It therefore can't write to the file in its next run.
ls -al dice-master.aof
---------- 1 chand chand 0 Nov  9 18:47 dice-master.aof

In case file already exists (touch dice-master.aof) it doesn't change permissions.
To Reproduce
Steps to reproduce the behavior:

Make sure dice-master.aof file doesn't exists
Run go run main.go
Shut down server
Run ls -al dice-master.aof

Expected behavior
File should be created with default permissions 0644 (rw-r-r).
Additional context
go version : go version go1.18.1 linux/amd64
running on wsl2

@keshavchand do you want to take this up? I can right away assign.

AOF implementation wrap-up for pending TODOs, coming in a while!

Is this still open? I can take it up if it is.

Is this still open? I can take it up if it is.

Assigned


Provide trap function for wrapping DEBUG signal traps

Occasionally .bashrc (or similar) has an existing trap 'foo' DEBUG which can conflict with auto.sh's. I recently hit this problem since I noticed .ruby-version was being ignored.
The way I fixed this was to patch auto.sh to have:
function chruby_trap() {
	[[ "$BASH_COMMAND" != "$PROMPT_COMMAND" ]] && chruby_auto
}

if [[ -n "$ZSH_VERSION" ]]; then
	if [[ ! "$preexec_functions" == *chruby_auto* ]]; then
		preexec_functions+=("chruby_auto")
	fi
elif [[ -n "$BASH_VERSION" ]]; then
	trap chruby_trap DEBUG
fi

Then in my .bashrc, after loading chruby.sh and auto.sh, after any other calls, I provide my own trap:
# Reset color for command output and call this new `chruby_trap` function
trap 'foo_bar; chruby_trap' DEBUG

Obviously chruby_auto would also have worked, if I'd provided the explicit $BASH_COMMAND != $PROMPT_COMMAND check, but I figured it was possible that "setting up the trap" wouldn't necessarily always be the same as "call chruby_auto", hence the extra function.
I can submit a PR if you're happy with the idea (probably with refinements). Failing that, I can also submit a README note to mention that auto.sh will set a DEBUG trap and explain how to wrap it with chruby_auto.

I happened upon this issue in the process of writing up a similar proposal.  I agree it would be beneficial for the call to chruby_auto to be wrapped in another function that could more easily be overridden.  I was going to propose a slightly different change however:
diff --git a/share/chruby/auto.sh b/share/chruby/auto.sh
index 88f3cb3..e3ad1ee 100644
--- a/share/chruby/auto.sh
+++ b/share/chruby/auto.sh
@@ -1,5 +1,9 @@
 unset RUBY_AUTO_VERSION

+function ruby_version_autoexec() {
+	chruby_auto
+}
+
 function chruby_auto() {
 	local dir="$PWD/" version

@@ -25,9 +29,9 @@ function chruby_auto() {
 }

 if [[ -n "$ZSH_VERSION" ]]; then
-	if [[ ! "$preexec_functions" == *chruby_auto* ]]; then
-		preexec_functions+=("chruby_auto")
+	if [[ ! "$preexec_functions" == *ruby_version_autoexec* ]]; then
+		preexec_functions+=("ruby_version_autoexec")
 	fi
 elif [[ -n "$BASH_VERSION" ]]; then
-	trap '[[ "$BASH_COMMAND" != "$PROMPT_COMMAND" ]] && chruby_auto' DEBUG
+	trap '[[ "$BASH_COMMAND" != "$PROMPT_COMMAND" ]] && ruby_version_autoexec' DEBUG
 fi

My own motivation is that I have another function I want to call after chruby_auto.  Initially I was sourcing a second file with a modified trap command, but the second call to trap was ignored unless I first removed the existing trap command.  This is rather awkward and confusing; having a wrapper function I can override seems more straightforward to me.
I had some difficulty settling on a name for the wrapper function.  I got it in my head that it might make sense to give it a generic-sounding name as opposed to using the chruby_* prefix.  I don't have a strong argument to support this, however.
Naming aside, I think this makes it easier to augment chruby_auto's behavior without having to patch auto.sh.  I'm hoping to find some support for this idea...

I also believe that chruby should not clobber an existing DEBUG trap, following the principle of least surprise.
This code allows extending an existing trap.

@HaleTom Does that work with https://github.com/rcaloras/bash-preexec? Because I also wish chruby to work with Bash-Preexec (#399).

Investigating adding additional hooks. Should we provide a way to load chruby_auto (or similarly named function) without setting the trap DEBUG hook so that one can set their own trap DEBUG? Or should we extract the logic in chruby_auto for explicitly loading the contents of a .ruby-version file?

Investigating adding additional hooks. Should we provide a way to load chruby_auto (or similarly named function) without setting the trap DEBUG hook so that one can set their own trap DEBUG? Or should we extract the logic in chruby_auto for explicitly loading the contents of a .ruby-version file?

It seems like the root issue here is the fact that auto.sh both defines the chruby_auto function and attempts to configure the shell to call it.  I think the simplest way to address this would be to separate those two pieces of functionality.  For example, definition of chruby_auto could be extracted to a different script file, and auto.sh could call that new script file and then move on to configuring the shell as it does now.  (Maybe this is what you meant by "...extract the logic in chruby_auto for explicitly loading the contents of a .ruby-version file"?)   Although this would add one more script file to the repo, it should address the issue without breaking any existing installation.  Users who want to modify how chruby_auto is called could implement whatever solution works best after calling the new script file instead of auto.sh.
I think there's definitely potential value in providing pre- and post-execution hooks to chruby_auto and/or chruby.  Maybe for the sake of reaching the 1.0 milestone, the best course of action would be to defer that new functionality for future releases?

I'm messing around in the 1.0.0 branch with extracting the trap DEBUG/preexec_functions hook as a generic chruby_hook function that calls other functions added to chruby_hooks. This would allow adding other per-command hooks to auto-detect bundler. Is chruby_hook/chruby_hooks an appropriate name?

...as a generic chruby_hook function that calls other functions added to chruby_hooks.

Is chruby_hooks a function, or is it a list of names of functions?  Is this the thing that a user would override to alter the default behavior, or is that chruby_hook?

Currently chruby_hooks is the Array of function names, and chruby_hook is the entry point function that get's added to trap DEBUG/preexec_functions. Could also rename chruby_hook to chruby_call_hooks, or rename chruby_hooks to chruby_hook_functions.

I think there's a slightly elevated potential for confusion by using chruby_hook and chruby_hooks, since the names only differ by one letter.  It's a little tricky because, in isolation, "hook" can be a verb or a noun.  Of your two alternatives, I think I'd give a slight edge to renaming the array to chruby_hook_functions since it is a little harder to interpret the word "hook" in that name as a verb (and therefore misremembering it as a function name), as opposed to looking at chruby_call_hooks and interpreting the word "call" as an adjective modifying a plural noun (and misremembering it as an array variable name).  Maybe this is all just too pedantic though...


Document approach for migrating application certs

If an application is using a signed cert stored in a secret in the application's namespace, and we migrate the app to a new domain the cert will need to be reconfigured. How do we limit a bad user experience here?

https://github.com/fusor/openshift-migration-plugin/pull/32


Add markdown rendering for text content blocks

See commit messages for more details. Especially the third one:

This uses the package react-markdown. Unfortunately, this adds 32kB
to our gzipped bundle size bringing it from 174kB to 206kB. I only
found one other library that could be used and was only 5kB. However,
it was not as popular and more importantly: it didn't have as good of
a default behavior regarding raw HTML and didn't allow to customize
which elements are allowed.
The markdown that's being rendered here is a subset of CommonMark. I
did not want to allow everything right away for several reasons. Most
notably missing: headings and images. See code comments for more
information.
Unfortunately also missing are autolinks and strike-through. The former
is something I am used to with GitHub flavored Markdown. Just writing
github.com or https://foo.de would create a link. Not so in this
PR, where everything has to be explicitly linked with []() or
"explicitly autolinked" with <https://foo.de>.
Raw HTML is escaped.

You can review this PR commit by commit which also allows you to ignore the commit where I just split one file into multiple.
Here is a picture of all Markdown things in action:

CC https://github.com/elan-ev/tobira/issues/168

Open questions:

Should we immediately allow headers? And if so, we need to "shift their level down", i.e. # foo cannot become h1 because we use h1 outside of textblocks for other things. We are also already using h2 somewhere in our code. So should # foo get h3?
Should we allow images already despite having no way to upload them?
Are all other Markdown things we allow here fine? Or do we want to now allow some of those?

Should we immediately allow headers? And if so, we need to "shift their level down", i.e. # foo cannot become h1 because we use h1 outside of textblocks for other things. We are also already using h2 somewhere in our code. So should # foo get h3?

HTML allows for independent hierarchies for different sections. However, there are accessibility concerns to be considered here since screen readers use headlines to build tables of contents sometimes, apparently. I don't know how these two facts interact. Maybe we could ask Alireza about this?

Should we allow images already despite having no way to upload them?

We also don't have a way to input text, yet. :wink: I don't see a reason not to allow them; you can always hotlink URLs, or put something up in on nginx yourself. :shrug:

Are all other Markdown things we allow here fine? Or do we want to now allow some of those?

I think it's fine. I see tables missing as well, though. I could imagine academic users wanting those. :thinking:

We also don't have a way to input text, yet. wink I don't see a reason not to allow them; you can always hotlink URLs, or put something up in on nginx yourself. shrug

Yeah I guess, why not.

I think it's fine. I see tables missing as well, though. I could imagine academic users wanting those. thinking

I guess we can start slowly. Tables, strikethrough and auto linked URLs are added by GH-flavored markdown. We might want to add it, but I would suggest first merging this basic support. Stuff can always be added later.

HTML allows for independent hierarchies for different sections. However, there are accessibility concerns to be considered here since screen readers use headlines to build tables of contents sometimes, apparently. I don't know how these two facts interact. Maybe we could ask Alireza about this?

I remember fairly well how he told us that it's bad to not use headers in strictly descending order, so to speak. Apparently GitHub renders # foo as a proper h1, but I'm not so sure this is a good idea.  From this article:

It is recommended to use only one H1 heading per page. Multiple H1 headings per page were introduced with HTML5, but browsers didn’t adopt the practice. Since HTML5.1, there is no support for multiple H1 headings.
[...]
When the HTML5 specification was first introduced, support for multiple H1 headings per page (each in their own section-element) was included. However, since browsers didn’t adopt this recommendation, support for this was subsequently dropped when the HTML5.1 standard was published. For more information, see this W3C thread (https://github.com/w3c/html/issues/169).

MDN also states:

Avoid skipping heading levels: always start from <h1>, followed by <h2> and so on.
Use only one <h1> per page or view. It should concisely describe the overall purpose of the content.
Using more than one <h1> will not result in an error, but is not considered a best practice. Using only one <h1> is beneficial for screenreader users, and SEO.
While HTML5 allows a <h1> per sectioning element, it is not considered best practice, and may subvert the expectations of how screen reader users navigate.

There is also this part on accessibility on MDN and this article. What I don't understand in those is what they mean by "nesting", "subsection" and "closing subsections". I'm not sure if they talk about implicitly opened/closed sections or whether they say one should actually use <section> whenever using a heading?

So I addressed your review comments, pushed a commit to enable images and create a new issue for the headings discussion: #210. With that, this should be ready to merge.


ChaosCenter portal doesn't display experiments' Chaos Results

What happened:
I've installed Litmuschaos from litmus-helm repo v2.15.1 at cluster scope on a k8s cluster (v 1.24.4) with ChaosHub (branch v2.14.x)
I run generic/pod_delete on another namespace. It works but (most of the time) I can't view Chaos Results and Reliability Details (Overall RR always 0% and Experiments Passed : 0/1) while "kubectl describe chaosresult -n litmus" displays expected results.
What you expected to happen:
I would like to see Chaos Results and Reliability Details in ChaosCenter as there are stored in chaosresult k8s objects".
How to reproduce it (as minimally and precisely as possible):
Install Litmuschaos v2.15.1 and run some experiments (generic/pod_delete for example).
Thank you for your help

Here, logs of the subscriber:
When requesting from the UI the logs of an experiment missing results:
time="2022-12-06T14:18:34Z" level=info msg="Log Request: {\"clusterID\":\"a4516330-82da-4b2b-8b51-f723bcea11a1\",\"workflowRunID\":\"539e9c8d-7f95-4930-b982-75a3ba43e3a1\",\"podName\":\"user-requests-simuator-delete-probes-1670334001-683934398\",\"podNamespace\":\"litmus\",\"podType\":\"ChaosEngine\",\"expPod\":\"\",\"runnerPod\":\"\",\"chaosNamespace\":\"\"}"

time="2022-12-06T14:18:34Z" level=error msg="Failed to get experiment pod  logs, err: resource name may not be empty"

time="2022-12-06T14:18:34Z" level=error msg="Failed to get runner pod  logs, err: resource name may not be empty"

time="2022-12-06T14:18:34Z" level=info msg="Response from the server: {\"data\":{\"podLog\":\"LOGS SENT SUCCESSFULLY\"}}"

When requesting from the UI the logs of an experiment with valid results displayed in the ui:
time="2022-12-06T14:18:48Z" level=info msg="Log Request: {\"clusterID\":\"a4516330-82da-4b2b-8b51-f723bcea11a1\",\"workflowRunID\":\"55469e9c-dbd0-4d14-be17-a4a28a755a97\",\"podName\":\"user-requests-simulation-delete-1670333600-850579342\",\"podNamespace\":\"litmus\",\"podType\":\"ChaosEngine\",\"expPod\":\"\",\"runnerPod\":\"\",\"chaosNamespace\":\"\"}"

time="2022-12-06T14:18:48Z" level=error msg="Failed to get experiment pod  logs, err: resource name may not be empty"

time="2022-12-06T14:18:48Z" level=error msg="Failed to get runner pod  logs, err: resource name may not be empty"

time="2022-12-06T14:18:48Z" level=info msg="Response from the server: {\"data\":{\"podLog\":\"LOG REQUEST CANCELLED\"}}"

time="2022-12-06T14:18:48Z" level=info msg="Log Request: {\"clusterID\":\"a4516330-82da-4b2b-8b51-f723bcea11a1\",\"workflowRunID\":\"55469e9c-dbd0-4d14-be17-a4a28a755a97\",\"podName\":\"user-requests-simulation-delete-1670333600-850579342\",\"podNamespace\":\"litmus\",\"podType\":\"ChaosEngine\",\"expPod\":\"pod-delete-z3ualy-rprbv\",\"runnerPod\":\"pod-delete-kwjmfp69-runner\",\"chaosNamespace\":\"litmus\"}"

time="2022-12-06T14:18:48Z" level=info msg="Response from the server: {\"data\":{\"podLog\":\"LOGS SENT SUCCESSFULLY\"}}"

Here the last logs of chaos-exporter that indicates valid chaosresults but not displayed in the ui:

time="2022-12-06T13:40:11Z" level=info msg="The chaos metrics are as follows" EndTime=1.670333954e+09 StartTime=1.67033405e+09 ProbeSuccessPercentage=100 ChaosInjectTime=1670333928 ResultNamespace=litmus ResultVerdict=Pass TotalDuration=0 ResultName=pod-delete-xgpb62cz-pod-delete AwaitedExperiments=0 PassedExperiments=1 FailedExperiments=0

time="2022-12-06T13:40:12Z" level=info msg="The chaos metrics are as follows" ResultVerdict=Pass EndTime=1.670333954e+09 ChaosInjectTime=1670333928 FailedExperiments=0 TotalDuration=0 PassedExperiments=1 ResultNamespace=litmus AwaitedExperiments=0 ProbeSuccessPercentage=100 ResultName=pod-delete-xgpb62cz-pod-delete StartTime=1.67033405e+09

time="2022-12-06T13:40:13Z" level=info msg="The chaos metrics are as follows" ResultVerdict=Pass AwaitedExperiments=0 PassedExperiments=1 EndTime=1.670333954e+09 TotalDuration=0 ResultNamespace=litmus StartTime=1.67033405e+09 ResultName=pod-delete-xgpb62cz-pod-delete FailedExperiments=0 ProbeSuccessPercentage=100 ChaosInjectTime=1670333928

time="2022-12-06T13:40:14Z" level=info msg="[Wait]: Hold on, no active chaosengine found ... "

Hi,
The issue seems to occur when the k8s cluster is overloaded...

Hi @dsanchez31
We are unable to re-create this issue, we installed litmus-helm repo v2.15.1 as you have mentioned.

Hi, The issue seems to occur when the k8s cluster is overloaded...

Can you please tell your cluster resources? We will try to create the same env and test on it.

Check the versions of Litmus Chaos and ChaosHub: Make sure that you are using compatible versions of Litmus Chaos and ChaosHub. The version of Litmus Chaos and ChaosHub should match, or at least be close in version number.
Check the status of the ChaosHub deployment: You can check the status of the ChaosHub deployment by running the following command:
kubectl get pods -n litmus
Check the connectivity between Litmus Chaos and ChaosHub: Make sure that Litmus Chaos and ChaosHub can communicate with each other. You can check the logs for the Litmus Chaos and ChaosHub pods to see if there are any connectivity issues.
4.Check the configuration of the ChaosHub deployment: Make sure that the ChaosHub deployment is configured correctly. You can check the values in the chaos-hub-values.yaml file to ensure that the configuration is correct.


Learn Function Basics - Learn Function Basics Lesson C

Describe the Issue
The challenge or lesson asks the user to provide answer by looking at or by executing the sample code provided in front of him/her but the sample doesn't provide any output in console.
Affected Page
https://www.freecodecamp.org/learn/the-odin-project/top-learn-function-basics/learn-function-basics-lesson-c
Your code
The answer is correct but the example code doesn’t produce any output at the first place. A user can only see output after calling the function.

let x = 10;

function myFunction() {
  let x = 20;
  console.log(x);
}
This piece of code doesn’t produce any output. But

let x = 10;

function myFunction() {
  let x = 20;
  console.log(x);
}

myFunction();
This one does.

Expected behavior
When a user try that piece of code he/she should see an output in console.
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

Can I work on this and just add the myFunction(); at the end?

hi @dareckolo
Thanks for your interest in contributing.
This issue has not been triaged yet, and a solution has not been agreed upon. Once the issue is open for contribution, you are welcome to create a pull request to reflect the issue consensus. Please also note that we typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.

Ok, yes, it makes sense to add a function call in the code snippet. I'm opening this up for contributors to work on.
This is the piece of code that needs to be changed:
https://github.com/freeCodeCamp/freeCodeCamp/blob/03fa03c66ec7301fbc5d10e0009d2daa0e59ca4e/curriculum/challenges/english/16-the-odin-project/top-learn-function-basics/learn-function-basics-lesson-c.md#L42-L49
Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or our forum if you need help contributing; our moderators will guide you through this.
Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.

Hi @ilenia-magoni
I'd like to work on this issue and submit a pull request to address it. This will be my first issue.
I just wanted to know if the video-solution is correct on that page. Just seems to say '2'.
Is that intentional or is it missing a zero.
Either way I'll add the function call in the code snippet and send a merge req right away.
Thanks!

Hey @rs0125. We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Issues labeled with help wanted or first timers only are open for contributions.
Please make sure you read our guidelines for contributing. We prioritize contributors following the instructions in our guide. Join us in our chat room or the forum if you need help contributing - our community will be happy to assist you.

 let x = 10;

 function myFunction() {
   let x = 20;
   console.log(x);
 }


Feature request: prevent concurrent editing

Hi again ;)
At inkscape.org, we sometimes have more than one person trying to edit a page, although we know about the problem and try to prevent it.
We also know that there are django apps which are made for preventing this (https://www.djangopackages.com/grids/g/concurrentp-edit/).
But, according to Martin Owens, those apps are problematic for us to use.
Quote: "Most of the models require extra fields to be added, this is hard for models we don't have direct control over and thus is something that upstream django-cms must do [ when we want to use it ]".
Is it possible that you can add functionality for preventing concurrent edits?

Hard to do, and very hard to do well.
The way I would do it is this:
Every admin/frontend editing form that wants to be aware of users will have some JS in it that pings the server once every few seconds with a query that contains the content type and id of the object being edited.
This will include every object that might be saved by the form - including those in inlines, so possibly many objects will be pinging the server with this query. (Of course, some objects will also affect other objects that aren't present in the forms (e.g. in save() methods) and it would be extremely hard, sometimes impossible, do know what they all are. But this is rarer, in most cases, especially for the CMS.)
When the server is pinged with these queries it will return information about any other forms that are also pinging it, and this can be displayed in the forms, to alert users - either that someone else is has already has the forms open, or that someone else opened one after you did.
If necessary, it could even prevent a save until the first person has closed their form.
I don't think this system would require any extra fields o the models, because it's all form-oriented.
The human problems are also hard to solve. It's a pain in the neck if someone forgets to close the form and goes to lunch, for example.
The whole thing looks pretty complex to me.

"The human problems are also hard to solve. It's a pain in the neck if someone forgets to close the form and goes to lunch, for example."

maybe a timeout that can manually be reset by the person who is editing could help? People will learn fast enough that work is lost if they don't save and leave ;)

Another approach could be that on "Save", the Admin (class, not person) first just verifies that the object hasn't already changed since the local change-form was first opened (either by comparing all fields, or just a single timestamp field) and if it has, indicates which fields have "collisions" and presents a dialog warning the operator of the situation allowing them to override, reload the other operator's changes, or simply cancel. Seems that this is an extensible approach that doesn't require a lot of real-time messaging.

See also https://groups.google.com/d/topic/django-developers/mOkvOQQGhJk/discussion

This topic came up again and was discussed (even if not deep) here: https://plus.google.com/+ThomasRega/posts/CtrBnjKvJzQ

Thank! :D
It's very important for us that this will work with translations. I'm not in a position to test this currently, but if someone tests the pr, could they please also test if translators can work in parallel on two different translations?

Hi, we stumbled over this issue as well and I can see the complexity to integrate this well on page/transaction level.
What about drastically simplifying this, do not lock a page, and make it much more high level. I could imagine a notification  "User xx is currently editing this page too." which then is discarded in cache once the page was published, edit mode is closed, a timeout ran out.

Closing for further discussions in:
https://groups.google.com/forum/#!topic/django-cms-developers/MIhUzcQpWrg


feat: Added onReady & onClose to the API

Could you please add tests for this? It would be great to have this tested in functional tests.

@mathio yep, for sure 👍

:tada: This PR is included in version 0.18.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


:hammer_and_wrench: [TASK] : Login / Connect Wallet

As a user, I want to connect my Cardano wallet to the app, so that I can login to the system with 1-click.
GIVEN a user has selected option to connect wallet from main get started page
WHEN click on wallet from list of installed browser extensions
THEN launch browser extension modal
AND WHEN when user confirm dapp connection and enter spending password
THEN login user
IF user account does not yet exist
THEN launch user into account setup directly from wallet connect
IF user account does exist
THEN bring user to main account dashboard
IF user enters wallet connect from somewhere other then homepage
THEN give user option to GO TO ACCOUNT or RETURN TO PAGE where they started

completed with mve2

completed with mve2

completed with mve2


Bump lexical-core dependency

Fixes #1298.
As described in #1298, this cannot be reproduced by compiling nom itself (I don't know why...), so no changes to tests and CI.

Coverage remained the same at 82.632% when pulling 261223114f67880d4a562e3a078d9451a3ec62fa on lo48576:fix/bump-minimal-deps into d1aff18e3c6b03bf3a1b6ca2826417c48995f4c1 on Geal:master.

thanks


Deno.createWindowSurface

Can you follow its implementation somewhere? Where and when would it possibly be implemented?

https://github.com/denoland/deno/pull/21835
Not sure when it will be released, likely Deno v1.40


For drivers that require explicit specification of binary location, scan the PATH if System property is unspecified

Several of the browser drivers require explicit specification of the path to the driver binary. If this path is unspecified, the driver will fail with an error indicating the omission. It would be extremely easy for Selenium Foundation to check the associated System property and make an attempt to provide a value if it's unspecified.
This would be accomplished via the BinaryFinder.findBinary() method. This scans the PATH to determine if the specified executable can be found. If the search is successful, store the returned value in the driver-specific binary path property.

Resolved by #221

Resolved by #221


feat: adding sokoban environment

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

@mvmacfarlane What happened to this PR? Anything I could help with?

3 seeds of a2c on Sokoban


Self host fonts

close #525
This converts the https://rsms.me link to download the fonts to a self hosted method.
Font files added to the project are downloaded from the lastest version of Inter .
I have added all font variations but it looks like the project is using "Inter var" which is a variable font variation (it includes the range of 100 to 900). Variable fonts is widely supported.
From my tests adding the "Inter var" leads to a 200kb download whereas downloading individual font weight results in a larger overall weight.
If we are ok to keep only the "Inter var" I can remove all the other files to simplify even further this PR.
Pull request checklist

[ ] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[ ] I added significant changes and product updates to the changelog

Lovely! Is there a breakdown of which browsers support the variable weight font somewhere?

Here it is
https://caniuse.com/variable-fonts

Excellent. That's good enough for me to go with the variable font! What changes need to be made to get that working?

Nothing 🎉
It is what is currently being use on www.railsdevs.com and I picked the same strategy for the self hosting.
I will remove the extra file now that we confirm this route.
will be curious for the Page speed results. I am not yet 100% sure we will remove the warning as it still remains a blocking ressource.

I will remove the extra file now that we confirm this route.

Excellent, thank you!

will be curious for the Page speed results. I am not yet 100% sure we will remove the warning as it still remains a blocking ressource.

Same. Worse case we can revert the PR.

I posted one inline question/comment. Other than that this looks good to merge!

Awesome – thank you for this!

will be curious for the Page speed results. I am not yet 100% sure we will remove the warning as it still remains a blocking ressource.

95 on mobile and 99 on desktop! Render blocking resources is now passing, too.

🎉 very cool
next up is converting images to webp 😄

Yep lol. Any chance you want to take that one? :D


[meta] Decrufting Master

At a recent meeting, @LarsDenBakker and @daKmoR noted the need to clean up the master and deprecate some packages. This meta-issue serves to document the work that needs to be done. @Westbrook and myself are good candidates to tackle these issues, to help us acquire context in the repo so we can proceed to help triage issues in the future.
Please edit the list as appropriate

[ ] Deprecate owc-dev-server in favour of es-dev-server
[ ] Rename all karma tests as test:browser and all node tests as test:node, in packages and in the root project.
[ ] Unscope @open-wc/webpack-plugin-index-html to webpack-plugin-index-html
[ ] Deprecate polyfills-loader

Added a bunch of tasks. @daKmoR turns out we can't deprecate the webpack import meta loader, as there are some cases that are not handled correctly by the babel import meta rewrite plugin.

sounds good 👍
deprecation means

release a new patch version with the upgrade path in the readme
remove from repository

unscope means

copy and rename everything => release 1.x version
release a new patch version of the scoped package with upgrade path in the readme
remove from repository

Deprecating owc-dev-server with updated readme and a warning on install would be good to do pretty soon.

Could you tell us what are the motivations for these depreciations and how do you plan to proceed? I can't find any information related to #687.

es-dev-server is the next iteration of owc-dev-server and supersedes it in every way
an alternative approach to polyfills-loader has been fully integrated into building-utils and therefore is used in es-dev-server, building-rollup and building-webpack (if someone has a need of using this functionality way could consider extracting it into a separate package)

does this answer your question? or which kind of information are you looking for?

Thx for this quick answer! It covers pretty much what I was looking for regarding these two packages.
I was especially concerned about chai-dom-equals being removed as it still was referenced in the docs. But then I saw that you added a deprecation to its README 4 months ago (https://github.com/open-wc/open-wc/blame/5e80a33f7f871a47ed94c98d32582e1523ee8c05/packages/chai-dom-equals/README.md#L5) referring to @open-wc/semantic-dom-diff which is pretty much identical.
So, I did a PR for that #702 :wink:


Missing documentation for Traceflow API

There is currently no documentation, whether for the CRD API or the UI Octant plugin (screenshots / a video may be useful there).
See the documentation we have for Antrea ClusterNetworkPolicies: https://github.com/vmware-tanzu/antrea/blob/master/docs/network-policy.md

Should we close this one?

Yes we can close this. We have a user guide and I have a more generic issue to auto-generate API documentation for Antrea interfaces: https://github.com/vmware-tanzu/antrea/issues/1287


are they free

hi
i would like to know if those extension are free
Thanks

Some of them. You have to check by yourself.
This is a list of various addons developed for Alfresco during a lot of years (at least 7 years) so some of them is probably not working with the latest Community version.

Some of them. You have to check by yourself.
This is a list of various addons developed for Alfresco during a lot of years (at least 7 years) so some of them is probably not working with the latest Community version.

Thanks @LeoMattioli

Thanks @LeoMattioli


Missing support for query_parameters in User.get_boards (nodejs)

Hi there!
First of all, thanks for creating these thorough examples and very helpful API objects – it is an unbelievable improvement over the previous versions of the Pinterest API. Great Job!
One thing I noticed in the nodejs code is that while User.get_boards supports the query parameters, Board.get_pins does not.
I’love to see support for them here, since setting page_size is especially valuable when getting a board’s pins, since it is likely there are many and it can be valuable to reduce the number of API calls.

Yes, I agree. I'm doing a bit of refactoring and implementing the feature uniformly for all endpoints. Will let you know when there is a branch and/or PR ready.


enable setter of the MultipartFormData's contentType

Purpose
The contentType of a MultipartFormData is multipart/form-data
We could need to set it to another value (ex. multipart/related), so i propose to set it writable
Usage
Alamofire.upload(multipartFormData: { mulitFormData -> Void in
        mulitFormData.contentType = "multipart/related; type=text/xml; boundary=\(mulitFormData.boundary)"
}, to: "https://example.com",
        method: .post,
        encodingCompletion: { encodingResult -> Void in
})

Hi @ericdesa,
Thanks for putting this change together...much appreciated! This will be part of the AF 4.5 release shortly.
Thanks again! 🍻


Add v3.1-preview.1 to CognitiveServices/Custom Speech

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
Mid of April

When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
Mid April

If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[X] No refresh required for updates in this PR
No SDKs exist yet.

Contribution checklist:

[X] I commit to follow the Breaking Change Policy of "no breaking changes"
[X] I have reviewed the documentation for the workflow.
[] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

/azp run


Add About section

You should add an About section where to insert:

Credits
Link to source on GitHub
Link to bug report on GitHub
Version of app
...

About section doesn't provide any value in this app IMO. So, I have no plans to add it at the moment. So, closing the issue.

It would have been useful to have a link to the source code in order to report bugs


Add a more robust UI

Adding some attractive features would improve the user experience.  Make studying fun!  This could be done by added some color, maybe a more modern interface to work with.  Make the program more visually pleasing.
estimate 250pts

250 xp
W18 OK