Invalid Argument Exception on Component Mount

I have been working with Mithril 0.2 . I am only experiencing this issue in IE 11.
The issue I am experiencing occurs when I have a component mounted and then use the application functionality to remove the widget hosting the component. When I try to re-add the widget with the same component again I receive an error: Invalid Argument.
Line 356 to line 369:
//corner case: replacing the nodeValue of a text node that is a child of a textarea/contenteditable doesn't work
//we need to update the value property of the parent textarea or the innerHTML of the contenteditable element instead
if (parentTag === "textarea") parentElement.value = data;
else if (editable) editable.innerHTML = data;
else {
		if (nodes[0].nodeType === 1 || nodes.length > 1) { //was a trusted string
		clear(cached.nodes, cached);
		nodes = [$document.createTextNode(data)]
		}
-------->parentElement.insertBefore(nodes[0], parentElement.childNodes[index] || null);
			nodes[0].nodeValue = data
}

The trouble is that the logic is expecting a nodeType equal to 1 (element node), however, it is getting nodeType equal to 3 (text node). The nodes array is of length 1.
I suspect nodes[0] is an empty text node as a result of a sluggish response from IE because I am not seeing this issue on any other browser.
My current fix for this issue is to add logic to the if statement immediately above where the error is thrown:
if (nodes[0].nodeType === 1 || nodes.length > 1  || !nodes[0].nodeValue.trim() )

The code:
|| !nodes[0].nodeValue.trim()

checks that in the event there is a text node, and it is empty then we will clear the cache and create new nodes.
Would this be the correct fix for this particular scenario?
Just to re-iterate the initial add of the widget with the mithril component is added / mounted correctly the first time and the application works fine.

I'm having the same error in IE on the same line in Mithril. When I break on the exception I can see that nodes[0] is an EmptyTextNode.

@sjungwirth : I am glad to hear that was able to assist you with this issue.
@lhorie and other participants : Is this something worth investigating further? I can pull and create a separate branch with this checkin that will fit my needs if this will not be addressed. Thanks.

@gdubbs1776 do you want to send a PR with your fix?

Fixed


CMP0135 requires higher version of CMake

Report

[x] I have searched existing issues and this is not a duplicate

Issues and Steps to Reproduce
CMP0135 requires CMake version 3.24, see https://cmake.org/cmake/help/latest/policy/CMP0135.html
But in the tests/CMakelists.txt file is cmake_minimum_required(VERSION 3.13)
$ mkdir build
$ cd build
$ cmake ..
CMake Error at tests/CMakeLists.txt:18 (cmake_policy):
  Policy "CMP0135" is not known to this version of CMake.

Expected Behavior
Describe what you expected would happen.
Actual Behavior
Describe what actually happened.
Link to Code
https://github.com/facebook/yoga/blob/main/tests/CMakeLists.txt#L7
https://github.com/facebook/yoga/blob/main/tests/CMakeLists.txt#L18

Could you try patching in the PR for this? I think it should work.


baseUrl can't be overwritten

baseUrl is hardcoded in two places in google_places_flutter.dart
Can this be added as a parameter to allow for proxying of the Google Maps API?

Commenting to bump this up so that we can solve web bugs without weird package work arounds. This would be really helpful to have.

Same error: https://github.com/Shrutimahajan/Google-AutoComplete-TextField-Flutter/issues/7#issuecomment-2198373741


--debug/--release should be accepted by run/build/install/test/...

Describe the problem you are trying to solve

I am writing a script that wraps cargo, and lets the user pass flags to it.  Per default I want everything to be done in release mode, but the user should be able to select debug mode.
Unfortunately, the way to do that is non-uniform: install defaults to release and can be passed --debug; build defaults to debug can can be passed --release. This all makes sense, but what is frustrating is that I cannot do install --release or build --debug, so now I need some complicated logic to strip away the --release flag when we are installing or the --debug flag when we are building.
Describe the solution you'd like

I'd like a consistent way to force debug/release builds across all cargo commands, mostly to avoid needlessly rebuilding stuff. So all applicable commands should accept --debug to do a debug build even if that is their default, and same for --release.

After custom named profiles is done (6989), the intent is that --profile=release or --profile=debug will address this.

Yes.

That sounds great. :)

Closing in favor of the #6988 tracking issue.


Only re-generate cabal file if hpack is new enough

That is: If a user tries to re-generate an existing cabal file with an
older version of hpack than the one that was used to generate the
existing cabal file, then do nothing.

@mgsloan @phadej This might be a more convenient fix for https://github.com/commercialhaskell/stack/issues/1813 / https://github.com/commercialhaskell/stack/pull/1815.
Instead of relying on timestamps, you can just bump the version of your custom version of hpack to e.g. 99.99.99, and upstream hpack will never re-generate your cabal file.

Seems reasonable, sticking with timestamps for now seems good too until there's some particular issue with that

@mgsloan Yes, I agree that we should stick with the timestamps for now.


Issue#82 Encrypt password during login.

The IG API in some countries require an encrypted password during login. Otherwise you'll get an error error.public-api.failure.encryption.required. We get the encryption key first, then create session with the encrypted password.
Use the optional parameter encryption=True to enable this feature
from trading_ig import IGService
from trading_ig.config import config

ig_service = IGService(config.username, config.password, config.api_key, config.acc_type)
ig_service.create_session(encryption=True)

Thanks @doggyeh for this nice contribution.
@kwtneo @TriEyeMonster could you give it a try and confirm if it fixes #82.

Hello,  this does not work for me.
First I changed the long to int for Python 3.
Ran it with the new edits and get this,
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/stream.py", line 22, in create_session
    ig_session = self.ig_service.create_session(session, encryption)
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 1118, in create_session
    password = self.encrypted_password(session) if encryption else self.IG_PASSWORD
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 1112, in encrypted_password
    message = b64encode(string)
  File "/some/path/lib/python3.6/base64.py", line 58, in b64encode
    encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'

Process finished with exit code 1

So changed the input by encoding it.
    def encrypted_password(self, session=None):
        """Encrypt password for login"""
        key, timestamp = self.get_encryption_key(session)
        rsakey = RSA.importKey(b64decode(key))
        string = self.IG_PASSWORD + '|' + str(int(timestamp))
        message = b64encode(string.encode())
        return b64encode(PKCS1_v1_5.new(rsakey).encrypt(message))

Then got this error,
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 85, in _create_first
    data=json.dumps(params),
  File "/usr/lib/python3.6/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python3.6/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.6/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python3.6/json/encoder.py", line 180, in default
    o.__class__.__name__)
TypeError: Object of type 'bytes' is not JSON serializable

So edited this,
    def _create_first(self, endpoint, params, session):
        """Create first = POST with headers=BASIC_HEADERS"""
        url = self._url(endpoint)
        session = self._get_session(session)
        params['password'] = params['password'].decode()   # << this bit
        response = session.post(url,
                                data=json.dumps(params),
                                headers=self.HEADERS['BASIC'])
        if not response.ok:
            raise(Exception("HTTP status code %s %s " %
                            (response.status_code, response.text)))
        self._set_headers(response.headers, True)
        self.create = self._create_logged_in
        return response

Now I get this,
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 1126, in create_session
    response = self._req(action, endpoint, params, session)
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 223, in _req
    response = self.crud_session.req(action, endpoint, params, session)
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 138, in req
    return d_actions[action](endpoint, params, session)
  File "/some/path/lib/python3.6/site-packages/aaa/trading_ig/rest.py", line 88, in _create_first
    (response.status_code, response.text)))
Exception: HTTP status code 500 {"errorCode":"Transformation failure."}

Now Im stumped.
Please help.
Thanks
James

Madness...
With a bit of googling I stumbled across this link. The API needs to have a default account selected for it work and with the edits above its now working!!!
Cheers
James

Great! PR https://github.com/ig-python/ig-markets-api-python-library/pull/100 should probably be updated accordingly.
Pinging @doggyeh

Hi @JamesKBowler, @femtotrader
Thanks for the review. I updated the PR based on suggestion. Let's get this out :)

Hello @doggyeh
No problem, HTH.
You will also need to add this to the IGStreamService class.
    def create_session(self, encryption=False):
        ig_session = self.ig_service.create_session(encryption=encryption)
        self.ig_session = ig_session
        return ig_session

Thankyou
James

done. Thanks again James

If everyone is ok with theses changes I will merge.
Please thumb up!

Hi All, I’m new and am trying to learn python. I followed the instructions and steps but I’m getting the error below regarding storing the encrypted password in json.
Traceback (most recent call last):
File "C:/Binance/ig-test/ig-test1.py", line 41, in
encryptedPasswords = json.dumps(encryptedPassword)
File "C:\Program Files\Python37\lib\json_init_.py", line 231, in dumps
return _default_encoder.encode(obj)
File "C:\Program Files\Python37\lib\json\encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "C:\Program Files\Python37\lib\json\encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "C:\Program Files\Python37\lib\json\encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type bytes is not JSON serializable

@andyquek I already covered this above.

anyone can merge the pull request? I am having the issue 82 and now needs this patch. thanks! Can I pull it by my self into my own library? I'd better google it.

Thanks @doggyeh for your contribution.
I haven't tested myself because I'm not currently using this lib.

thanks @femtotrader !

thank you for this modification, this works for me now :D
...
ig_service = IGService(config.username, config.password, config.api_key, config.acc_type)
ig_service.create_session(encryption = True)
open_positions = ig_service.fetch_open_positions()
print(open_positions)
...


feat(minifier): fold true / false comparison.

 Align with Closure Compiler.

It appears that frequent visits to ancestors may not be conducive to performance. I will conduct a comprehensive investigation to determine the most appropriate approach for tracking the execution of an expression in this specific scenario.


Using cmp replace behaviour does not fix trailing character

I saw issue #22 and have similar problems, I have the following mapping setup in cmp (this fixed the indent issue #45)
    ["<Tab>"] = cmp.mapping(function(fallback)
        if cmp.visible() then
            cmp.confirm({ select = true, behavior = cmp.ConfirmBehavior.Replace })
        else
            fallback()
        end
    end, { "i", "c" }),

https://user-images.githubusercontent.com/57136208/235096016-f77ef2c3-9783-4abd-a6f5-25c7359616eb.mp4

Please test #67 or checkout the formatting-fixes branch and see if it fixes your issue.

This indeed fixes the issues! I will leave this issue open til the pr is merged, so others can fix this too.


$schema is incorrect for examples

The current samples point to ../../app.schema which does not exist.  We should make sure it does in order to support tooling and visual studio code.  It should point to the SDK schema, i.e.
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/4.Future/schemas/sdk.schema"
Since composer is a private repo, we cannot point to the composer checked-in schema but we could point to the relative schema, i.e.
  "$schema": "../../../Composer/packages/server/schemas/sdk.schema"

As composer is already a published repro, we can point the schema to
https://raw.githubusercontent.com/microsoft/BotFramework-Composer/master/Composer/packages/server/schemas/sdk.schema
@cwhitten, @yochay, @hibrenda  let's discuss with the team in our next standup meeting, probably we can make it in R7

addressed in #875


Joindin 600 tested

This PR includes the other one, This one adds tests can be merged separate or together.
Added a few methods to make this testable.

Can one of the admins verify this patch?

As far as I can see, this unfortunately doesn't work?
I've done a bit of digging, and $comment_mapper->getCommentById returns an array, but the top-level index is 'comments':
array(2) {   'comments' =>   array(1) {     [0] =>     array(12) {       'rating' =>       string(1) "0"       'comment' =>       string(28) "asdasdadssdpofidspoifdssadas"       'user_display_name' =>       string(9) "Ima Admin"       'username' =>       string(8) "imaadmin"       'talk_title' =>       string(36) "Creating technical entities in Linux"       'created_date' =>       string(25) "2016-12-18T15:49:42+01:00"       'uri' =>       string(47) "http://api.dev.joind.in/v2.1/talk_comments/1006"       'verbose_uri' =>       string(59) "http://api.dev.joind.in/v2.1/talk_comments/1006?verbose=yes"       'talk_uri' =>       string(37) "http://api.dev.joind.in/v2.1/talks/89"       'talk_comments_uri' =>       string(46) "http://api.dev.joind.in/v2.1/talks/89/comments"       'reported_uri' =>       string(56) "http://api.dev.joind.in/v2.1/talk_comments/1006/reported"       'user_uri' =>       string(36) "http://api.dev.joind.in/v2.1/users/1"     }   }   'meta' =>   array(3) {     'count' =>     int(1)     'total' =>     string(1) "1"     'this_page' =>     string(64) "http://api.dev.joind.in/v2.1/talks/89/comments?resultsperpage=20"   } }
So it's probably just a case of updating https://github.com/exussum12/joindin-api/blob/06972fddfdf664622326a5fe28947d91653dd343/src/controllers/TalksController.php#L127 to check that array element?
Thanks!

Fixed, Sorry missed that. Should have ran the code outside of the tests to double check. Missed the call which adds that element in

ok to test

I've just looked at this again (after resolving the conflict), and it still doesn't seem to be working - I did some playing, and I don't think that the comments return an email address - and thinking about it, it shouldn't do, as that would potentially be exposed in the API which could then be scraped.
As such, I think this needs to be approached from a different way - checking the user ID rather than email address for example.
Let me know if you want to take a look at this, otherwise if you don't have the time right now then feel free to let me know and I'll put it on JIRA.
Thanks,
Liam

Sorry, Tested properly this time! I have fixed the merge conflict and changed to be the ids


Save decoded GRPC/Protocol Buffer content with mitmdump

Problem Description
I would like to save the decoded GRPC/Protocol Buffer content with mitmdump.
Example output:
gRPC message 0 (compressed False)
[message]    1
[message]    1.1
[message]    1.1.1

I called mitmdump with
/usr/local/bin/mitmdump --listen-host <IP ADDRESS> --listen-port <PORT> --mode upstream:http://<IP>:<PORT> --no-rawtcp --scripts save.py --set block_global=false --set http3=false --set flow_detail=3 --set dumper_default_contentview=hex
At the script save.py I tried almost everything I found here and at StackOverflow etc. I managed only to save the encoded binary content, not the decoded protobuf result (similar to the dump output of mitmdump).
Examples (not working):
import mitmproxy
import time
from mitmproxy import http

# def response(flow: http.HTTPFlow) -> None:
def response(flow):

if flow.request.pretty_url.endswith("test"):

   timestr = time.strftime("%Y%m%d-%H%M%S")
   with open("log/" + timestr + "-mitm-response-test.log", "wb") as f:

      # f.write(flow.response.content) # doesn't work
      # f.write(flow.response.text) # doesn't work
      # f.write(flow.response.get_content(False)) # doesn't work
      # f.write(flow.response.get_text()) # doesn't work
      # f.write(flow.response.get_text(False).encode()) # doesn't work

It's clearly a HTTP/2.0 request and a HTTP/2.0 response, no HTTP/1.1. And it's a GRPC/Protocol Buffer request/response, no "classic" Protocol Buffer.
How to solve this problem?
Steps to reproduce the behavior:

System Information
Mitmproxy: 10.3.0
Python:    3.10.12
OpenSSL:   OpenSSL 3.2.1 30 Jan 2024
Platform:  Linux-5.15.0-107-generic-x86_64-with-glibc2.35

I don't think we have a good way to export the pretty-printed result from a contentview at the moment. But this does definitely sound useful!


zelda bugged inside the house

Priority: high
Type: Logic
Frequency: everytime you do
Results: if you throw zelda with link stepping on the collider that change the level in the ramp of the hill, and you throw zelda to the house, she get stucked inside the house colliders
Add info:
Status: Open

Fixed


fix: default_role should ignore diffs of the form "thing" -> ""thing""

We have a few roles in our org that have spaces or other special characters in them. We can't get around this, so we decided default_role should be escaped. In our Terragrunt module, we wrap it in "\"${role_name}\"", and everyone's happy. However, it means that we get a permanent diff of the form "${role_name} -> "\"${role_name}\"".
Before we started wrapping them like this, we got gnarly SQL errors on apply. Perhaps the real issue was that the provider should have been handling sending default_role wrapped in escaped quotes, as I can see occurs for other fields? In any case, this patch only suppresses diffs of the form mentioned, and doesn't alter anything else in that way.
Test Plan
This PR is UNTESTED!. It needs to be tested on my other machine before being considered for merge, but I wanted to check first to make sure I'm not going about this in the wrong way. Thanks!
References

Hey @pfnsec. Thanks for the contribution.
Before we dig into the details, please make sure that you have checked our contribution guidelines.
The issue you mention touches the much wider problem with the identifiers. We will address the identifier problems with the upcoming (should start next week) identifier rework (check more in https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#identifiers-rework).
Furthermore, user resource is one of the resources we will redesign as part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#preparing-essential-ga-objects-for-the-provider-v1.
I am afraid that we may change it again as part of the two aforementioned topics, but we may consider accepting it before because it should not break the behavior for other use cases. We just require tests according to our contribution guidelines.
If it's okay for you to just wait for the reworks I mentioned, please just create an issue, and I will attach it to the known issues for the user resource here: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/v1-preparations/ESSENTIAL_GA_OBJECTS.MD.

Fixed in PR: https://github.com/Snowflake-Labs/terraform-provider-snowflake/pull/3013, closing


Allow admins to un-publish nodes without runs.

What's this PR do?
Before disabling the publish check box on nodes, checks to see if the box not checked. If the box is checked, then we allow the user to unpublish the node. Otherwise, if the box is not checked, and a run is not selected, we disable the box so they can't publish without a run.
Any background context you want to provide?
We used JS to disable the publish check box on campaign nodes that didn't have a run selected to ensure the relationship between campaigns and campaign runs. But we needed to allow already published campaigns that didn't have a run tied to them to be unpublished.
What are the relevant tickets?
Fixes #6073

:+1:


Tooltips with diagnostics messages should wrap at word boundaries

VSCode Version: 1.26.1
OS Version: macOS 10.13.6

Tooltips showing compiler messages (others possibly, too?) do not wrap at word boundaries. This makes the message difficult to read, depending on where the text is wrapped.
Example:

Expected behaviour:
[ts] Argument of type '0' is not assignable to parameter of type
'Uri | null | undefined'.

Duplicate of #54503


Fix WAMTRAM sites

Recapture the exact polygonal extent of all WAMTRAM sites is required for loading stranding data from WAMTRAM into WAStD.
Inputs

WA low water mark shapefile
WA coastal vegetation
good backgournd imagery
start and end points of beaches as points on the WA high water mark for each WAMTRAM beach name as per Bob's advice

Effort
A GIS operator (Jai or Florian) sits with Bob to capture only the two start/end points on the high water mark for each beach. This will take (342 sites x 2 points x 1 min per point) = at least 700 mins = 2 days to capture (some sites might be more complex).
1 day of Florian to prepare, 1 week GIS operator to capture/post-process, 3 days of Bob's time.
Outputs

start and end intersection with high water mark (point)
polygon around entire location bounded by start/end lwm intersection, high water mark, and vegetation line.
if available, additional information about geomorphology, vegetation etc.

Jai has a beach polygon shapefile. Florian will review and import if possible.


import { linkify } from "react-linkify" gives undefined

In 0.2.2 import { linkify } from "react-linkify" resulted in linkify referencing global LinkifyIt instance. In 1.0.0-alpha linkify is undefined

Facing same issue

You need to import it like so:
import Linkify from 'react-linkify'

@Gr8z this is not the same thing

The typedef declaration is missing that export, and it is using linkify-it package. If you want to customize something, probably should use componentDecorator property and look at the package's defaultComponentDecorator.js.

See #108. :wink:

Adding on top of what @teddybee mentioned above, linkify is used in the match decorator:
https://github.com/tasti/react-linkify/blob/325cb5e43300d7ada5bdf8d2849783d98fcd3c2c/src/decorators/defaultMatchDecorator.js#L3-L11
Therefore if we want to use a customized version of linkify, we can create a custom match decorator with a new LinkifyIt instance,
import Linkify from "react-linkify";
import LinkifyIt, { Match } from "linkify-it";

const linkify = new LinkifyIt();
linkify.tlds(tlds);
linkify.add("@", {
  // Add custom feature here
});

const matchDecorator = (text: string): Match[] | null => {
  return linkify.match(text);
};

and use Linkify component with the decorator:
        <Linkify
          matchDecorator={matchDecorator}
        >
          ...
        </Linkify>


[Sema] Remove @unknown default requirement for package enums.

@unknown default in switch statements are required for resilient enums since they might be modified with new fields in the future and modules defining the enums are generally not built together with the consuming modules.
However, if the modules are in the same package, they are required to be built together, thus the requirement for @unknown default can be skipped. This PR removes the need for that, enabling less boilerplate. Note this change only impacts typecheck and not SIL gen.
Resolves rdar://130015149.

@swift-ci smoke test

@swift-ci smoke test

pending https://github.com/swiftlang/swift/pull/75745 as new test covers interface flag related changes.

@swift-ci smoke test

@swift-ci smoke test linux

@swift-ci smoke test linux

@swift-ci smoke test linux


Assign function to variable

The following program sample.go returns a wrong value:
package main

func main() {
	var x = func(i int) int {
		return i + 2
	}
	z := x(2) + 3

	fmt.Println(z)
}

Expected result:
$ go run ./sample.go
// ouput
7

Got:
$ yaegi ./sample.go
// ouput
3

Note: declaring the function as func x(i int) int works fine, so I wonder if this is something you just don't want to support.

This is now fixed and working in master, I think from merge of #410


dotnet test exit code should return number of failures

From @sidshetye on May 30, 2018 18:41
dotnet test is documented here but there isn't any documentation on the exit code.
With test runners like nunit3 (e.g. nunit3-console.exe) the exit code is the number of failed tests, which is indeed very handy. dotnet test simply return 0 if all pass and 1 if any failures.
Copied from original issue: dotnet/cli#9368

@sidshetye  This is by design.
Exit codes other than 0, are used to understand what went wrong during the run and sometimes are not controlled. Using exit code for failing tests seems flawed.
Can you please help us understand the scenario. We should be able to give you some suggestions.

@singhsarab IMHO, the sole purpose of the runner is to run user demanded tests. So to have the return code tell how many tests fail seems most natural. If one is debugging the runner or the engine itself (something a vast majority of users don't and shouldn't care) then there is exception logging, tracing etc to indicate that.
To answer your question, our CI scripts (in powershell) record the detailed test results in .trx files but also capture the exit code to early terminate a test-suite run on too many failures. Without this, we'll have to manually parse the .trx files in powershell to get to it. Not insurmountable but not as user friendly as just reading $LASTEXITCODE

FYI, it was pretty easy to parse the trx for failures. Still think you folks should reconsider the exit code design but our CI is unblocked and this is not a priority for us anymore. Sharing the snippet from our powershell CI scripts for future readers.
Function ParseFailuresInTrxResultFile ( [string] $xmlInputFile )
{
    $xml = [Xml](Get-Content $xmlInputFile)

    # <ResultSummary outcome="Failed">
    #   <Counters total="652" executed="650" passed="630" failed="20" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
    #   ...

    $ns = New-Object System.Xml.XmlNamespaceManager($xml.NameTable)
    # our input mstest XML is per this schema
    $xmlNamespace = "http://microsoft.com/schemas/VisualStudio/TeamTest/2010"
    $ns.AddNamespace("ns", $xmlNamespace)

    $xpath = "//ns:ResultSummary/ns:Counters" # xpath when namespaces exists
    $resultSummary = $xml.SelectSingleNode($xpath, $ns)

    return $resultSummary.failed
}

@sidshetye I am glad that you were able to enable what you wanted. Thanks for posting the code, very helpful.
In the regard to original discussion, the runner discovers the tests as well when you use /listtests option. Currently, we don't have a strong reason to justify the design change. We really appreciate your feedback, we will reconsider if there is enough ask.

I just ran into this myself. I want to know if any of my tests failed, and dotnet test won't tell me.
for %%i in (Json.Pointer, Json.Schema, Json.Schema.ToDotNet, Json.Schema.Validation) DO (
    dotnet test --no-build --no-restore src\%%i.UnitTests\%%i.UnitTests.csproj
    if "%ERRORLEVEL%" NEQ "0" (
        echo %%i unit tests failed.
        goto ExitFailed
    )
)

So if you're taking votes for this feature, count me as +1.

I am also facing this issue. I am running tests in docker image. Docker run command succeeds even ids the tests fail. This is because dotnet vstest return exit code as 0.


button trigger instead submit trigger ?

Hi everybody .....
I have an issue, I use a button instead submit type trigger, is it possible to trigger through my button form instead submit type?
Thks.

Use valid() to trigger the validation via js from any event or element
See https://jqueryvalidation.org/valid/
Will close for now. Feel free to ask further questions regarding this topic here. We can re-open if required.


many issues wrapped

I've realized this project is full of bugs because it's not written in Rust. Please fix.

I don't know if I can rewrite it in Rust because Rust is too hard, it's not for amateurs, it a very pleasant language once you master it, but it has a steep learning curve, a language with a great build system with integrated dependency handling, great focus on safety and correctness, a great type system, nice error handling without the use of exceptions thanks to the type system, performance competitive with C/C++, better syntax than C/C++, the documentation is amazing, I've never seen better API docs anywhere else.
But please check if the commit referred above satisfies you in the meantime.

All my problems have been solved.


[fix] Wait for Status.Valid bit on clearing DOE secrets

Running nightly test after merging in the latest RTL:
https://github.com/chipsalliance/caliptra-sw/actions/runs/5416641309/jobs/9846639573


Deprecate Repository

See https://github.com/Senzing/community-roadmap/issues/49

Pull requests:

https://github.com/senzing-garage/risk-score-calculator/pull/195


Add error message for flutter_gallery transitions_perf test.

Description
when i try to run as follows:
flutter drive --profile -t test_driver/transitions_perf.dart

test_driver is a test of flutter_gallery.

The crash message as follows:
00:25 +0 -1: flutter gallery transitions all demos [E]

  Some routes recorded wrong number of values (expected 2 values/route):

   - /material/dialog recorded 1 values.

  Full event sequence:

   - Frame  ...............
   - Start Transition /material/dialog .
   - Frame  .........................................................................
   - Start Transition /material/date-and-time-pickers .
   - Frame  ...............................
   - Start Transition /material/date-and-time-pickers .
   - Frame  ..................................

  test_driver/transitions_perf_test.dart 122:5                  saveDurationsHistogram
  test_driver/transitions_perf_test.dart 223:13                 main.<fn>.<fn>

The reason I found this problem was that the VM’s trace events buffer overflowed.
We can also find the corresponding comments on the line 19, as follows:

code file: flutter/examples/flutter_gallery/test_driver/transitions_perf_test.dart

// Warning: The number of tests executed with timeline collection enabled
// significantly impacts heap size of the running app. When run with
// --trace-startup, as we do in this test, the VM stores trace events in an
// endless buffer instead of a ring buffer.
//
// These names must match GalleryItem titles from kAllGalleryDemos
// in examples/flutter_gallery/lib/gallery/demos.dart
const List<String> kProfiledDemos = <String>[
  'Shrine@Studies',
  'Contact profile@Studies',
  'Animation@Studies',
  'Bottom navigation@Material',
  'Buttons@Material',
  'Cards@Material',
  'Chips@Material',
  'Dialogs@Material',
  'Pickers@Material',
];

So,  we must add  '--trace-startup' to run the test.
Why not add message to  tell the user that you must add the --trace-startup parameter？
Related Issues
Fixes https://github.com/flutter/flutter/issues/47768.
Tests
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

@cbracken Can help review this code.

@liyuqian  hi yuqian.  why flutter often build broken? how can merge this PR?

@yuanhuihui : because our infra is currently quite flaky and we're working to improve it. Before we fix its flakiness, please use the wait for tree to go green label. It will trigger the bot to automatically merge the PR when the tree turns green.

@liyuqian how can I use  the wait for tree to go green label?

@yuanhuihui if you can't add labels to a PR, then you probably don't have write access to use it. I'm discussing internally to see how to formalize the process of granting writing accesses.

@yuanhuihui : I found the process https://github.com/flutter/flutter/wiki/Contributor-access . I'll nominate you in the #server-support chat channel

@yuanhuihui : what's your Discord id?

@liyuqian  My discord id is yuanhuihui#0616. Thank you for nominating me.


Missing module docstring

Although the file hopeAndPraySort.py now has a function docstring for hopeAndPraySort(), it still does not contain a module docstring.

I don't know what that is

Please include a link to some reference so I can add it

Done.


fix: do not pull the latest when analyzing a target with local repo path

Closes #117 .

[ ] Add tests for this fix.

This rebase is for adding the Signoff messages to the new commits in this branch.


Eurosport Italy added

Hi Broter Inspirationlinks,
thku for Eurosport list on World Sports including EPG, but can u added with Eurosport Italy prefer with English audio option ?

Hi, yes I can add. It's hard to find a stable stream

Hi Bro, Eurosport 2 UK on SPORTS Category is missing, can you added again ?

HI, I've already added it again. and I put eurosport IT, but... the channels are unstable :/. That's what I can do considering it's a free list ;)

Thanks a lot brother... 👍

Thk u Bro , you make special category for " Eurosport " channel very appreciate & Success for you


Counts of historical records

I'm building a CRM like application. My main model is called "Account" which has an owner_id field. I'm looking to get counts by owner_id as of today (which is simply running an aggregate on Account) as well as counts from history.
Is it possible to query Account.history somehow to get the counts from a month back? If so, what's the best way to achieve this? Thanks.

First you would want to narrow down the historical records to the last change for each record that wasn't deleted as of that date. Something like this:
import datetime
import pytz
from django.db.models import Count, F, Max
from accounts import models

as_of = datetime.datetime.now(pytz.utc)

changes_as_of = models.HistoricalAccount.objects.filter(
    history_date__lte=as_of,
)
last_changes = (
    changes
    .exclude(id__in=changes_as_of.filter(history_type='-').values('id'))
    .annotate(Max('history_id'))
    .filter(history_id=F('history_id__max'))
)

And the resulting query has both a group-by and a subquery... Which aren't fun.
Unfortunately we've disabled the related names for all related fields on historical models, so I don't think you can do a count directly on your Owner query like you would with Account. If you never delete accounts, you could filter and count those instead:
models.Owner.filter(account__in=last_changes.values('id')).annotate(Count('account'))

At least, I think that'll get you close.
The SQL is kinda fun:
SELECT "accounts_owner"."id", COUNT("accounts_account"."id") AS "account__count"
FROM "accounts_owner"
INNER JOIN "accounts_account" ON ( "accounts_owner"."id" = "accounts_account"."owner_id" )
WHERE "accounts_account"."id" IN (
 SELECT V0."id" FROM "accounts_historicalaccount" V0
 WHERE (
  V0."history_date" <= 2015-05-01 02:20:05.959962 AND
  NOT (V0."id" IN (
   SELECT U0."id"
   FROM "accounts_historicalaccount" U0
   WHERE (U0."history_date" <= 2015-05-01 02:20:05.959962 AND U0."history_type" = -)
  )) AND NOT (
   V0."id" IN (
    SELECT U0."id" FROM "accounts_historicalaccount" U0
    WHERE (U0."history_date" <= 2015-05-01 02:20:05.959962 AND U0."history_type" = -)
   )
  )
 )
 GROUP BY V0."id", V0."owner_id", V0."history_id", V0."history_date", V0."history_user_id", V0."history_type"
  HAVING V0."history_id" = (MAX(V0."history_id"))
)
GROUP BY "accounts_owner"."id"

I think that's right at least. Anyway, bottom line is you probably don't want to do it all in one query.

Wow...fantastic answer @macro1. Let me give this a shot – thanks!


Which pretrained model were used for Facenet512?

Hi,
https://github.com/davidsandberg/facenet/blob/master/README.md listed two pretrained models:
Pre-trained models

Model name
LFW accuracy
Training dataset
Architecture

20180408-102900
0.9905
CASIA-WebFace
Inception ResNet v1

20180402-114759
0.9965
VGGFace2
Inception ResNet v1

Obviously the 20180402-114759 has a higher LFW accuracy. I would like to know which model was facenet512_weights.h5 converted from?

Facenet512 is the one with 99.6 score.


Combining multiple requests

I am looking for a way where FutureKit would allow combining multiple requests. For example, I have requests, request1 and request2. I want to fire them simultaneously and wait until both requests return the result. I also want to make sure results are returned in order.
If I fire request1 and request2 and they return data1 and data2 respectively, the API should return data1 and data2 serially in order. I was wondering if this is something possible with current FutureKit implementation.
To give more context this could be more like combineLatest signal from ReactiveCocoa.

there is combineFuture already.. (which was very inspired by combineLatest).
combineFutures(asyncFuncA(), asyncFuncB()).onSuccess { (resultA, resultB) in  ... }
It does syntactic sugar around FutureBatch (which is better for an arbitrary list of futures).
ALSO cancellations works as you expect.  If you cancel the 'combined' future it should cancel each of the futures.
FutureBatch can also be used if you want to get a future that returns the individual 'result' of each subFuture.  And control if the failure one subfigure should 'auto-cancel' the others.
combineFutures() will always 'fail' if any of the sub-futures fail, with the result of the 'first' failure.


[back-port][v0.8] fix: return error when verify empty cert chain

back-port https://github.com/fortanix/rust-mbedtls/pull/308 to 0.8.X

bors try

bors r+


Intel ME on Lenovo thinkpad 13?

Could there be intel me enabled in the firmware for this machine because I’m pretty sure that’s why I get a gpu error whenever I hackintosh anything above Mojave on my chrome book and I’ve googled for a solution but there’s only a few about chrome books and they all have the same problem with Catalina and others above Mojave

on most ChromeOS devices, the ME is hidden from the OS at boot. I'd have to do a custom build to enable it, so something that's best done by the user. Cloning the coreboot repo and compiling yourself isn't all that hard

Ah ok I have no experience with compiling coreboot would you point me in the right direction and how would I go about enabling it? And also that you for all that you do in the community!

what is the ChromeOS board name? there are multiple Thinkpad 13's

Sorry was busy it’s “Skylake”

not a script issue, closing


custom css sometimes doesn't load

have fun with this one, future me.

maybe the profile custom css doesn't get deleted sometimes and voidverified thinks that it should not render css because of that.

seems that it never gets deleted, so for some reason the script does not realize it has to render global css. is it a timing issue with the script running after the url switches, but before the custom profile css has been cleared.

fixed, accidentally pushed to main again and the branch protection was off


Not supporting Python 3.x version

when tried to install in Python3.5, it runs but when importing it throws below error.
`Python 3.5.1 (default, Jan 22 2016, 08:52:08)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import salesforce as sf
Traceback (most recent call last):
File "", line 1, in
File "/Users//SourceCode/environments/lib/python3.5/site-packages/salesforce/init.py", line 1, in
from salesforce.api import Salesforce
File "/Users/SourceCode/environments/lib/python3.5/site-packages/salesforce/api.py", line 1, in
from salesforceSoapApi import SalesforceSoapAPI
ImportError: No module named 'salesforceSoapApi'`

This is still an issue.

import salesforce
Traceback (most recent call last):
File "", line 1, in
File "C:\data\python\project\env\lib\site-packages\salesforce_init_.py", line 1, in
from salesforce.api import Salesforce
File "C:\data\python\project\env\lib\site-packages\salesforce\api.py", line 1, in
from salesforceSoapApi import SalesforceSoapAPI
ImportError: No module named 'salesforceSoapApi'

Yep. I have this issue too. But in 3.6


Add use case model

I only downloaded couse it was an alternative for StarUML but this app doesnt have use case model, so the main reason for looking an alternative is that feature specifically, I’m sorry for deleting the app

Hi,
do not sorry for that, System Designer and StarUML have a different purpose. Hope you will find the tool you need.


Minio instead of AWS S3?

Minio is supposed to work seamlessly as an open source S3 replacement - does anyone know if it works with pageflow or is aware of any issues that should be caused?

Far as I know, this hasn't been tried yet. Looking at https://github.com/minio/minio/issues/3117#issuecomment-256812203, I'd expect it to work, though, when integrated correctly into Pagefow's Paperclip settings.
Let us know how it goes!

@ninoppp
Did you have any success on this? Did you connect Pageflow with your minio instance? I am interested on doing exactly the same


fix strong mode issues

fix ~14 strong mode issues w/ the latest sdk (using dynamic as a bottom type)

@cdavidjean

lgtm


add reindexing

current implementation of Model keeps create indexing for each run iteration

add reindexing method for already indexed model

i did fix this issue by adding multi thread support in background for indexing and searching at the same time


Issue with xaml code window

One extra xaml window

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

ID: e09eb1dd-0897-a1c1-790a-ea372de68e31
Version Independent ID: e37b562f-bea1-3f6e-22c4-ca7097bdb604
Content: How to: Specify the Binding Source - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/data/how-to-specify-the-binding-source.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for reporting this. We have a running list of these articles.

Duplicate of #53


Fix vterm popup rule

akermu/emacs-libvterm@c2c2c8afb935c11778388721912250cd1103aaf9 changed
the default buffer name of vterm buffers, so Doom's popup-rule no longer
matches them. This causes functions like +vterm/here to use the entire
frame instead of creating a popup window.
Fix it by changing the popup rule to match the new naming scheme.

Thanks!


Incorrect link?

[Enter feedback here]
Under the section for Office Integrations the link for Project Professional points to a non-Microsoft product and not to any information on Project Professional.
https://www.projectmanager.com/pm/microsoft-project-cs

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

ID: 878f028a-4418-1f6c-bf27-d469b249b621
Version Independent ID: 7209b942-b6ab-e9f6-6cfd-bd5d89ea9aa8
Content: Tools and clients that connect - Azure DevOps
Content Source: docs/user-guide/tools.md
Product: devops
Technology: devops-new-user
GitHub Login: @chcomley
Microsoft Alias: chcomley

@AndrewJNorris Thank you for the feedback, please consider becoming a contributor.
The documentation has been updated and is pending review.

@AndrewJNorris Thank you for the feedback, please consider becoming a contributor.
The documentation has been updated and is pending review.


Setting timePerSegment not work

Hi there. @TOrnelas  Thanks for library!
Attribute timePerSegment totally useless.
No matter what value I set, the speed of the animation does not change.
It is also not possible to set this time from the code

@andriizhumela can you provide me with your code?
I just tried with the following
    <pt.tornelas.segmentedprogressbar.SegmentedProgressBar
        android:id="@+id/spb"
        android:layout_width="match_parent"
        android:layout_height="5dp"
        android:layout_margin="8dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:timePerSegment="10000"/>

and it's working fine.


[WIP] Oxidize qubit tracker for HighLevelSynthesis

Summary
In #12911, we have added the QubitTracker class, which tracks the state of qubits for high-level synthesis. When HighLevelSynthesis runs non-trivially (i.e. does not take the "fast path", see #13070), this state tracking requires a large number of ssllllooooww Python set-based manipulations.
As an example, the following code
nq = 1000
qubits = tuple(range(nq))
qt = QubitTracker(qubits, set(qubits), set())
for i in range(nq // 2):
    for j in range(nq // 2):
        qt.used([i, j])

runs in about 3.2 seconds (on my laptop). The current PR almost verbatim reimplements QubitTracker in Rust, with the example above now running in 0.11 seconds (i.e. about 30x faster).
It also adds a few Python tests for QubitTracker.
This does not require release notes since QubitTracker is an internal class and should not be exposed to the users.
This is still work-in-progress because I would like to further revise QubitTracker's API and improve the internal data structures.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

124 of 161 (77.02%)  changed or added relevant lines in 4 files are covered.
14 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.5%) to 88.804%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/accelerate/src/qubit_tracker.rs
121
158
76.58%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
1
92.98%

crates/accelerate/src/two_qubit_decompose.rs
1
91.45%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>4:
0.5%

Covered Lines:
73548

Relevant Lines:
82821

💛  - Coveralls

Closed in favor of #13369.


Data iam poilicy triggers the IRSA role change for all addons

I am not find which thing is triggering the data  iam policy for all addons
Now if the data chnages it causes multiple things to replce
Now i am not sure which policy actually chnages or as its json and terraform always think its changed
This is the summary view of all addons

Problem is that causes the IRSA role to be removed and recreated from service account
Now when that happens the STS credentials which is used by pod are not valid so  it starts failing auth with aws
I dont know how much time it takes to refetch the creds  but that can cause issues in production
This is the case with all addons

Do you have a depends_on in your module definition? If so, please remove that

@bryantbiggs  you mean depends on inside kubernetes_addon  or  some other resource which depend_on   kubernetes_Addon ?

please fill out the issue template provided with the requested information so that we can properly triage

closing due to lack of reproduction - if using depends_on, please remove to resolve issue https://github.com/hashicorp/terraform/issues/30340


Sort endpoints in swagger-ui

Simply sorting the swagger endpoints into alphabetical order by path and then by request method ("get", "post", "put", "delete", "patch", "options", "trace") because creating a regex for each endpoint without sorting is a pain.

Coverage increased (+50.6%) to 75.115% when pulling d2b57a5a04a96d824977d465598f586a64bacdec on feature/sortSwaggerUIEndpoints into 37e139e68632f35fc47410450dc5d168e1702c59 on develop.


Update dependency: deps/pyk_release

Looks like the change has slight performance reduction. But it is not unacceptable by any means


xfail prms_to_mf6 for now, logos

Codecov Report

Merging #151 (ca57132) into main (012d9a9) will decrease coverage by 0.12%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #151      +/-   ##
==========================================
- Coverage   79.02%   78.90%   -0.12%
==========================================
  Files          48       48
  Lines        6050     6050
==========================================
- Hits         4781     4774       -7
- Misses       1269     1276       +7

see 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Implement zlib interface for indexing large FASTA libraries

The TREMBL DB is 104GB unzipped... Pain to work with but will be an important benchmark
Need implementation for working with gzip files using zlib

Easy fix...


Install correct MS SQL driver path

Codecov Report

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

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   96.35%   98.67%   +2.31%
==========================================
  Files         145      145
  Lines        3322     3322
==========================================
+ Hits         3201     3278      +77
+ Misses        121       44      -77

Impacted Files
Coverage Δ

...urbodbc_numpy/Library/src/set_numpy_parameters.cpp
99.47% <0%> (+0.52%)
:arrow_up:

...pp/turbodbc_numpy/Library/src/numpy_result_set.cpp
100% <0%> (+5.88%)
:arrow_up:

.../turbodbc_python/Library/src/python_result_set.cpp
93.87% <0%> (+6.12%)
:arrow_up:

...p/cpp_odbc/Library/src/level1/unixodbc_backend.cpp
78.57% <0%> (+7.14%)
:arrow_up:

...urbodbc_arrow/Library/src/set_arrow_parameters.cpp
94.77% <0%> (+8.43%)
:arrow_up:

...pp/turbodbc_arrow/Library/src/arrow_result_set.cpp
96.68% <0%> (+9.47%)
:arrow_up:

cpp/turbodbc/Library/src/cursor.cpp
96.66% <0%> (+10%)
:arrow_up:

...bc_python/Library/src/determine_parameter_type.cpp
96.66% <0%> (+15%)
:arrow_up:

cpp/turbodbc_numpy/Library/src/unicode_column.cpp
86.66% <0%> (+86.66%)
:arrow_up:

...odbc_numpy/Library/turbodbc_numpy/unicode_column.h
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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


Adoptium DevKit is not reproducible with a 3rd party built DevKit due to library dynsym order differences

The current Adoptium DevKit when compared to an equivalent externally built DevKit produces non-identical libraries, differing due to the ordering of the .dynsym section.
The cause has been tracked down to the Adoptium DevKit bootstrapping the build of binutils using gcc 4.8.5, compared to a later gcc 8.5 or 11.2 used in the 3rd party comparison test.
We need to "bootstrap" the DevKit make, to build itself as a "bootstrap-devkit" with the supplied gcc, then build the "final" DevKit using the "bootstrap-devkit".

At this point we should consider using a later OS for generating the devkit and running the builds. RHEL8/C8S come with GCC 8.5 out of the box which would remove the need for such a bootstrap.. Given how the devkit works, building on a later OS should not impact our compatibility with RHEL7/CentOS7 systems.

At this point we should consider using a later OS for generating the devkit and running the builds. RHEL8/C8S come with GCC 8.5 out of the box which would remove the need for such a bootstrap.. Given how the devkit works, building on a later OS should not impact our compatibility with RHEL7/CentOS7 systems.

Yes agree, if we can do that we would actually be consistent with other Vendors who work on the same major versions.


backup failed between different db in the one milvus

When backup is performed between the two db , the number of collections is 1. When backup is performed between different db , the number of collections is 0. What is the problem?

["Collections to restore"] [collection_num=0] this log

The "db" here is "restore - a" was brought in, "collectionBackup.GetDbName()" is "create -a" was brought in, both equal, it is not possible because the background is the same between different db cluster synchronization; So is there a problem here?

@dorne-shi please execute ./milvus-backup get -n backup and paste output here

@dorne-shi Sorry to miss your reply. Has the problem been solved? use your own {backup_name}, not just 'backup'.


How pass theme via context?

Hi, I want customize  theme in Autocomplete component but I don't understand how I can do it.
I can pass some themes, which was described in http://react-toolbox.com/#/components/autocomplete
(active,autocomplete,focus,input,label)
<Autocomplete theme={{active: 'active-class'...}}/>

This works perfectly.
But Autocomplete component is using Chip component.
How I can customize theme in such Chip component?
There ( http://react-toolbox.com/#/components/chip ) is a phrase:

If you want to provide a theme via context, the component key is RTChip.

Could you give example for this functionality?

in http://react-toolbox.com/#/install there is a section about theming describing how you should do it. I would also recommend passing to theme attribute an imported scss file and way it's written in the link I mentioned.

@gavriguy, thanks a lot

Great to see you figured it out! I wanted to add that in case you need to inject a customized component into another that needs it as dependency, the factory functions are exposed and can be imported as well: https://github.com/react-toolbox/react-toolbox/blob/dev/components/autocomplete/Autocomplete.js#L16
This way you can even create a custom Chip from a raw component and generate a style Autocomplete that uses that chip you've just created. 👌

@javivelasco, Did I understand correctly that this feature already in master and I can use it?
Your link to the dev branch, but i see similar code already in master:
https://github.com/react-toolbox/react-toolbox/blob/master/components/autocomplete/Autocomplete.js#L16

Yes, this is usable from the latest release but it's not documented because it's not easy to explain and most people don't need it :)

@javivelasco, it's very good, thanks

Great!! Happy you like it 😄


base/*: fix uncompressed inline child resource with compressed parent

When desugaring inline/local resource contents, the current rules are:

If the input config specifies compression: gzip, we pass through the compression field unchanged and refuse to compress again.  This is useful for local resources that are stored precompressed alongside the config.
If we decide to compress, we set the compression field to gzip.
If we decide not to compress, we do not set the compression field, ostensibly so precompressed resources in child configs can inherit the compression field from the parent.

But case 3 doesn't really work.  Butane doesn't know that the child resource is precompressed, so is allowed to compress it again, and only the compressibility heuristics (which technically are not contractual) prevent it from doing so and producing invalid output.  (There's no way to represent nested compression, so the file would be written to the provisioned system compressed.)  And if the parent resource is not formally precompressed, but is actually just auto-compressed by Butane, a change to the parent's contents or to the Butane heuristics could cause the parent to become uncompressed in the future and break the merged config.
And case 3 creates a problem for an inline/local child resource overriding an inline/local parent.  If Butane opts to compress the parent but not the child, the merged config will have uncompressed contents but inherit compression: gzip from the parent, causing a provisioning failure.  And if the parent/child contents change over time, this problem may suddenly appear in the future.
Fix this by changing rule 3.  When desugaring a non-precompressed inline/local resource, always set the compression field to either "" or gzip.  This intuitively makes sense: only we know whether we decided to compress the resource, so we need to say so.
This involves an API change to MakeDataURL().  We now return a pointer to the selected compression value, or nil if we're passing through the compression value from the input (case 1).  In the latter case, the caller should record a 1:1 translation for the compression field, rather than attributing its value to the inline/local input field.
Fixes https://github.com/coreos/butane/issues/332.

Updated.

OK right, while this seems like a useful fix I don't think it will actually help the MCO today, see https://github.com/openshift/machine-config-operator/pull/3126#issuecomment-1113650288
which I guess we knew from https://github.com/coreos/butane/issues/332#issuecomment-1070861759
anyways.

Do we need to surface this somehow also in the Ignition spec docs for the Ignition-level version of the config merge issue?

We describe the field merging semantics in Ignition operator notes, so I don't think so?  The issue here was that Butane wasn't taking those semantics into account.

Filed https://github.com/coreos/ignition/issues/1357 for better config merging docs, including an explicit callout of overriding the compression field.


Test celestia-node with celestia-app v2

Problem
The main branch in this repo diverges significantly from the release that celestia-node uses here. We don't expect any of the consensus breaking changes in celestia-app v2 to impact celestia-node but we should verify that celestia-node remains compatible with main.
Proposal
We should gather information on the compatability between celestia-app v2 and celestia-node. Two proposed tests:

Bump the celestia-node dependency on celestia-app to current main and test on a devnet, Robusta, or Knuu
Don't bump the celestia-node dependency on celestia-app and point it at a celestia-app main node (via core endpoint) on a devnet, Robusta, or Knuu

Triggered a Robusta (a.k.a testnet) creation here for celestia-app v2.0.0-rc0 and celestia-node v0.13.5. Waiting to hear back from DevOps on where to get endpoints for the testnet b/c Notion just links to a Grafana dashboard that doesn't contain info from my Robusta.

Robusta cluster is failing because validator can't start due to
panic: failed to execute DeliverTx for '{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"consensus-validator-1-0","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"celestia17l99xdwqeczwyn6ntleyflhhw6t8nj3eg0luzn","validator_address":"celestiavaloper17l99xdwqeczwyn6ntleyflhhw6t8nj3edsa954","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"kEdBxt24XEPUVEkh6e+WTP14Fk8rPffpkM4CJAX/C64="},"value":{"denom":"utia","amount":"500000000000000"}}],"memo":"ee06dc70c64e9a52fd3f3cafc2a6c467d23711b6@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Aj23FpNdoi5HtPe2QjQ1aOm1f/EKfp3NQkS5Qw1C4CH/"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"210000","payer":"","granter":""},"tip":null},"signatures":["ekgoNuQwwBQyIGzmdXFISZq+otYFXiBp8jD7FADO4sccsQLTGHRNOxluJK9Ggboqz3P0fg0V16iqxlUDd8UxjQ=="]}': insufficient gas price for the network; got: 0 required at least: 1.000000000000000000: insufficient fee

We already have an issue: https://github.com/celestiaorg/celestia-app/issues/3271 but we can workaround it by including a minfee in the transactions that create validators

Yay this PR fixed auto devops so now we can deploy a Robusta with v2.0.0-rc0.

The DA nodes fail to start because
Error: node: failed to start: app version mismatch, expected: 1, got 2

We need celestia-node to bump it's dependency of celestia-app to v2.0.0-rc1 and also adjust these lines
We should make Robusta modify the genesis file to use app version v1 and then supply a --v2-upgrade-height flag.
We should test existing celestia-node with celestia-app v2.0.0-rc1 on a chain that is still using app version v1.


'Could not create print device' QGIS 3.14

Created a geospatial PDF earlier today. Went to make another then got error message 'could not create print device'. Every step of creation was exactly the same.<!--
QGIS Bug report should not be reported here.
Check https://qgis.org/en/site/getinvolved/development/bugreporting.html for the proper repository.
Tickets created here will be closed.
-->

Hi @ggjosephine
Wrong place to report application issues. This is for our website. Please report at https://github.com/qgis/QGIS/issues and remember to add details on your working environment and on what you meant by every step of creation.
Closing.

Hi @ggjosephine
Wrong place to report application issues. This is for our website. Please report at https://github.com/qgis/QGIS/issues and remember to add details on your working environment and on what you meant by every step of creation.
Closing.


UI: introduce the cn UI

This commits enables the cn UI. By default it will listen on port 5000
so make sure the port is available.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

TODO: make the port configurable?


DCOS-51377: Services Table: avoid rerender (except for status icons)

Testing

Open a services page with react dev tools and flash on rerender enabled and see that there are less then before this change
Check that loading icons and deploying status bars still display as before

Trade-offs

Left out the status icons. @natmegs did an awesome job in #3792, but we failed to see that @TattdCodeMonkey, @Poltergeist and @pierrebeitz were working on the same column. As this is a lot of work (very entangled struct usage), I bailed out here. I could not rebase the work done in #3792, so I thought I'll just extract what I can to ship this already.

Dependencies

Screenshots

Before
After first commit

legit fails

This seems to duplicate #3792 but missing all the service status column stuff?

@natmegs Because of the accurate service merges there are quite some conflicts for the status column with every PR we merge on that topic. Let's revisit this soon and do a final rebase once the accurate service work is all done 👍

I split up the commits to be per column for easier rebasing and I also removed the unit tests, because they did not seem to add any value

:tada: This PR is included in version 2.81.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ChannelInterceptors are added automatically to all channels dyanmically created by StreamBridge class

Describe the issue
I have created a channel interceptor implementing 'org.springframework.messaging.support.ChannelInterceptor' and annotated it with @Component.
The interceptor is automatically added to all the SpringCloudStream created channels.
I would have expected it to be attached to none of the channels.
Seems to be a related issue: using @GlobalChannelInterceptor with pattern does not work either, the pattern is ignored.
Version of the framework
org.springframework.cloud:spring-cloud-stream-binder-kafka-core:3.0.12.RELEASE=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.cloud:spring-cloud-stream-binder-kafka:3.0.12.RELEASE=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.cloud:spring-cloud-stream:3.0.12.RELEASE=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Additional context
This part of the code in StreamBridge class seems to be the culprit!
private void addInterceptors(AbstractMessageChannel messageChannel) {
		String[] interceptorNames = this.applicationContext.getBeanNamesForType(ChannelInterceptor.class);
		List<ChannelInterceptor> interceptors = messageChannel.getInterceptors();
		for (String interceptorName : interceptorNames) {
			ChannelInterceptor interceptor = this.applicationContext.getBean(interceptorName, ChannelInterceptor.class);
			if (!CollectionUtils.containsInstance(interceptors, interceptor)) {
				messageChannel.addInterceptor(interceptor);
			}
		}
	}

Problem is when using routing function, this is quite high lvl API. I would like to drop the message as fast as possible.
I have asked a question on stackoverflow about this -> https://stackoverflow.com/questions/26485329/kafka-high-level-vs-low-level-consumer

I am not sure what you mean by quite high lvl API and why do you think interceptor approach would be faster given that it involves under the hood a bit more then RoutingFunction.
Another approach is to use function composition which will accomplish the same as interceptor (less channel and dispatcher)

I wasn’t sure. Just a feeling.
Another approach would be as mentioned on stackoverflow a RecordInterceptor added on KafkaContainerListener.
Wouldn’t that one be faster ?

I don't know what faster means.

Closing it due to lack of follow up form the original reporter

I had this exact issue when using Spring Integration together with Spring Cloud Stream. The LoggingHandler from an IntegrationFlow get added when the StreamBridge calls the send method. Then every LoggingHandler will get called that was added in an IntegrationFlow.

First, please do not comment on closed issues. It's better to open a new one.
Also, you should stop using interceptors all together since a) they imply awareness about channels that may not be present in every binder; b) there is a better way of applying cross cutting functionality via function composition.
The last point implies that you are no longer using annotation-based programming model (e.g., @StreamListener) and instead using functional programming model. If you do be aware that it has been long deprecated and will not be supported in the future.


Tendermint crashes with Wrong Block.Header.LastResultsHash error

Expected Behavior
Tendermint server syncs blocks across the network
Current Behavior
The following error occurs on a new tendermint install (via mn-bootstrap 0.15.1 full node setup)
[2020-10-02|10:46:02.875] Committed state                              module=state height=97 txs=1 appHash=
panic: Failed to process committed block (98:AB707244671FBED72939926ACE00E4B5DDF1D3024F88DD69766672FE567BDDD2): Wrong Block.Header.LastResultsHash.  Expected 6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D, got 697AC0DA637A4D63975EEEC4D0114CA918111C81B7B2C0DD7F9BE63F9EC40B40

goroutine 255 [running]:
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc000088000)
    /home/archie/Documents/tendermint/blockchain/v0/reactor.go:344 +0x12ff
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
    /home/archie/Documents/tendermint/blockchain/v0/reactor.go:118 +0x84
I[2020-10-02|10:46:04.756] Found private validator                      module=main keyFile=/tendermint/data/priv_validator_key.json stateFile=/tendermint/data/priv_validator_state.json
I[2020-10-02|10:46:04.757] Found node key                               module=main path=/tendermint/data/node_key.json
I[2020-10-02|10:46:04.757] Found genesis file                           module=main path=/tendermint/config/genesis.json
ERROR: Failed to create node: error during handshake: error on replay: Wrong Block.Header.LastResultsHash.  Expected 6E340B9CFFB37A989CA544E6BB780A2C78901D3FB33738768511A30617AFA01D, got 697AC0DA637A4D63975EEEC4D0114CA918111C81B7B2C0DD7F9BE63F9EC40B40

The same problem / error has been occuring sporadically over a number of previous build (since April 2020)
Possible Solution
It has been suggested by @shumkov that this is due to a source of non-determinism during block processing:
(https://discordapp.com/channels/670271785974890526/681541036929318994/716330094607597609 https://discordapp.com/channels/670271785974890526/681541036929318994/728642336480821300 https://discordapp.com/channels/670271785974890526/670540408593448980/737998356869283911)
and that further monitoring / logging is needed (https://discordapp.com/channels/670271785974890526/681541036929318994/717838241792786532)
Steps to Reproduce (for bugs)
run mn start -f using mn-bootstrap package 15.0.1 and monitor tendermint service
Context
Prevents use of L2 block explorer
Your Environment
mn-bootstrap on ubuntu (all other services running correctly)

I understand that the same issue has also been experienced by @strophy

Debug logging is already implemented in Drive. Pl￼ease enable it passing additional env to Drive service LOGGING_LEVEL=debug and provide logs, then we will be able to compare it with logs on evonet (hope debug logging is enabled there).

Maybe we can incorporate setting log levels into the mn-bootstraps menu??

Yeah, make sense.

Must be solved with 0.16 version


Add some console logs for slack score

Need some more info to why duplicate scores are sending.

Where are these logs visible? In GCP somewhere?

Yeah, they are in GCP


[Bug Report] Textarea has shadow on iOS Safari

Element UI version
2.4.11
OS/Browsers version
iOS 12, Safari
Vue version
2.5.22
Reproduction Link
https://jsfiddle.net/d84L0vqn/
Steps to reproduce
Open textarea in safari.
What is Expected?

What is actually happening?

Element is designed for desktop. It's not compatible with mobile devices.
Pr welcome.


Test: Demo tests waiting to policies to be applied.

Applied policies in demos to make sure that the endpoints are updated
correctly.
Fix build
https://jenkins.cilium.io/job/Ginkgo-CI-Tests-Pipeline/2798
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>https://jenkins.cilium.io/job/Ginkgo-CI-Tests-Pipeline/2798/testReport/junit/k8s-1/10/K8sValidatedChaosTest_Endpoint_can_still_connect_while_Cilium_is_not_running/

This change is

test-me-please


Fix: anchorectl_policies crash when 'detail' is null

Description
This pull request fix a bug. This bug occurs when uploading an Anchore policies report with an empty details. Exemple :
report.json
[
  {
    "detail": null,
    "digest": "sha256:2207ab33cd91cf042751d355536b612f4123497befe67041f0aee1f522b4c26f",
    "finalAction": "go",
    "finalActionReason": "policy_evaluation",
    "lastEvaluation": "2019-08-07T19:27:03Z",
    "policyId": "2c53a13c-1765-11e8-82ef-23527761d060",
    "status": "pass",
    "tag": "<image_tag>"
  }
]

The error :

This pull request add a verification inside the file 'dojo/tools/anchorectl_policies/parser.py' to not iterate thought the list 'image['detail']' if it's  None.
Checklist
This checklist is for your information.

[x] Make sure to rebase your PR against the very latest dev.
[x] Features/Changes should be submitted against the dev.
[x] Bugfixes should be submitted against the bugfix branch.
[x] Give a meaningful name to your PR, as it may end up being used in the release notes.
[x] Your code is flake8 compliant.
[x] Your code is python 3.11 compliant.
[x] If this is a new feature and not a bug fix, you've included the proper documentation in the docs at https://github.com/DefectDojo/django-DefectDojo/tree/dev/docs as part of this PR.
[x] Model changes must include the necessary migrations in the dojo/db_migrations folder.
[x] Add applicable tests to the unit tests.
[x] Add the proper label to categorize your PR.

There are a lot of extra commits in this PR. I will review those extra commits are removed

Yes I have followed this instructions  :

Make sure to rebase your PR against the very latest dev.
Bugfixes should be submitted against the bugfix branch.

But the branch Bugfixes is not updated with dev. So there is extra commit from dev.
Do you want me to make the changes from the branch Bugfixes and not rebase from dev ?


multiviewer-for-f1: 1.26.1 -> 1.26.2

Description of changes
Sets meta.mainProgram and updates the program.
Release notes of the program:

Potential fix for restoring audio, quality and other player settings

Things done

Built on platform(s)

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

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

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

[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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.


Changes in input do not trigger a stack update

Problem description
Once a stack is created and at the desired state, changes to the input will not trigger a stack update.
Only changes in the commit reference to the program will or deletion of the stack
Reproducing the issue
Create a stack, update one of the input.
Observe: no reconciliation action
Suggestions for a fix
Seem related to these lines of code: https://github.com/pulumi/pulumi-kubernetes-operator/blob/master/pkg/controller/stack/stack_controller.go#L218

@rodcloutier, can you provide more detail on what input you are changing? Is it some portion of the custom resource definition?


Either very slow or broken

I copied the command bash <( curl -s https://raw.githubusercontent.com/SlippingGitty/Linux-Surface-Wizard/main/SurfaceLinuxSetupWizard.sh ) into the terminal of my Ubuntu 20.10 on my Surface Pro 4.
Now my terminal is completely blank and the CUP has been at 50% for the past 10 minutes even though I have no other programs running.
I did not see any progress and killed the frozen terminal.
Hope that did not break anything.

Hello there! I'm sorry that you've had a bad experience with this script.
I was unable to reproduce the issue on either of my Surface devices (Surface Pro 3 and Surface Laptop 3/Ubuntu 20.04), at least from the steps that you have outlined. Is there any more information that you can give? Given that this is merely a simple dialog/ncurses bash script, I would ideally like to safely determine that this is not an issue with the script.
I would like to redirect you to the linux-surface Installation and Setup guide if you continue to have troubles.
With that being said, I will continue to make any fixes necessary to insure that the Wizard is usable for everyone.


Improve etl dashboard

This PR improves the ETL dashboard in the following ways:

Instead of showing by default grapher steps with charts, show all grapher steps by default (plus explorer steps).
Operations list now has a button to remove steps that we most likely don't want to update (e.g. regions or population).
Operations list now has a button to replace steps in the list by their corresponding updated versions (useful for after updating).
There is a button to run snapshots and ETL steps.

Feel free to play around with the resulting new dashboard on staging.

Thanks for working on this, Pablo!
Some suggestions:

As mentioned before, I think we could improve a bit the help messages for the direct/all usages/dependencies buttons. I think it can be a bit clearer.
I think the tool is slowly getting packed with multiple buttons. That makes readability a bit harder. Some suggestions to improve that:

The layout of the last three buttons is a bit confusing. Why put them in the same arrow? Ideally we'd remove the unnecessary spacing between them, but that is not trivial with Streamlit. Instead, I'd suggest aligning them vertically (put them one after the other vertically).
Change button name "Remove non-updateable (e.g. population)" → "Drop auxiliary datasets". Improve the help message from this button. Currently, it makes a reference to the variable NON_UPDATEABLE_IDENTIFIERS. I think you could render those identifiers in the help text, e.g. - "\n- ".join(NON_UPDATEABLE_IDENTIFIERS).

I am also wondering when someone would want to NOT drop these datasets from the operations list? If we are just going to be dropping them always, we can consider filtering them out by default? In that case, and if needed, you could have a toggle that could be used to 'add' and 'remove' those auxiliary datasets.

I find the the label of the third button ("Replace 1 steps by their latest versions") a bit confusing. What does that mean? It is also unclear from the help message what that button is for.

I see that there are two columns at the end. One to update the steps, and a new one to run snapshots/etl steps. My impression is that we'd want to click on run etl / snapshot steps only after having edited them? If so, I think this button belongs somewhere else. Currently it has the same prominence as the "update etl steps" one. I'd (i) change the button type to "secondary" and/or (ii) put it below the "update etl steps" one. Maybe you can keep them in the first column so that they only take half the screen and are more readable.

Remove non-updateable (e.g. population)

Thanks @lucasrodes! I've implemented some of your suggestions. Let me address them:

As mentioned before, I think we could improve a bit the help messages for the direct/all usages/dependencies buttons. I think it can be a bit clearer.

Done.

I think the tool is slowly getting packed with multiple buttons. That makes readability a bit harder. Some suggestions to improve that:

The layout of the last three buttons is a bit confusing. Why put them in the same arrow? Ideally we'd remove the unnecessary spacing between them, but that is not trivial with Streamlit. Instead, I'd suggest aligning them vertically (put them one after the other vertically).

Done, although I think I prefer them horizontally aligned, since they take much less space. If you agree, I'd revert this.

Change button name "Remove non-updateable (e.g. population)" → "Drop auxiliary datasets". Improve the help message from this button. Currently, it makes a reference to the variable NON_UPDATEABLE_IDENTIFIERS. I think you could render those identifiers in the help text, e.g. - "\n- ".join(NON_UPDATEABLE_IDENTIFIERS).

What you suggest is not exactly right: You are not only dropping auxiliary datasets, but also any steps that can't be updated (e.g. because they have update_period_days=0). And the list of non-updateable identifiers is very long. I just rephrased the help message a bit.

I am also wondering when someone would want to NOT drop these datasets from the operations list? If we are just going to be dropping them always, we can consider filtering them out by default? In that case, and if needed, you could have a toggle that could be used to 'add' and 'remove' those auxiliary datasets.

I'm not sure about this. I think it's also confusing if you are clicking on "Add selected steps to the Operations list" and nothing happens. You may also want to do other kind of operations on those steps, not just updating them (e.g. run ETL on them). We can change this behavior in a future PR, based on feedback.

I find the the label of the third button ("Replace 1 steps by their latest versions") a bit confusing. What does that mean? It is also unclear from the help message what that button is for.

I have rephrased it a bit. The idea is that, after you update steps, you can try to run them. If they work out of the box, then you don't need to do anything, and simply create a PR and go to chart revisions. Otherwise, you need to go to the terminal and execute them manually, one or more steps (which can get messy when there are many, e.g. in the climate namespace).

I see that there are two columns at the end. One to update the steps, and a new one to run snapshots/etl steps. My impression is that we'd want to click on run etl / snapshot steps only after editing them. If so, I think this button belongs somewhere else. Currently it has the same prominence as the "update etl steps" one, and feels like they can be clicked anytime (and that is not like that, there is some sequentially).

I'd (i) change the button type to "secondary" and/or (ii) put it below the "update etl steps" one. Maybe you can keep them in the first column so that they only take half the screen and are more readable. It would also be helpful to add some help text stating that the user should go first to the generated new files and edit them!

That's how I placed them first. But then I realised that you may just want to execute the ETL on some steps without necessarily updating them, which is convenient. Hence the two actions are parallel, not necessarily sequential.

Thanks for the clarifications! This all makes sense. And for adding some changes.
Some follow-up comments

Done, although I think I prefer them horizontally aligned, since they take much less space. If you agree, I'd revert this.

I think that looks good now. I agree it takes more vertical space, but aligning them horizontally created some sort of arbitrary spacing IMO.

What you suggest is not exactly right: You are not only dropping auxiliary datasets, but also any steps that can't be updated (e.g. because they have update_period_days=0). And the list of non-updateable identifiers is very long. I just rephrased the help message a bit.

I see. In that case I guess it is fine to keep the title as you have now, and in the future, we can remove the (e.g. population) bit, once everyone understands what's going on.
Again, my understanding is that the list of non-updateable datasets is given by NON_UPDATEABLE_IDENTIFIERS. If so, it is of length ~20, so I think it is totally fine to list them in the help message. The user will be able to scroll down (or not) as they please. I suggest adding a - "\n- ".join(sorted(NON_UPDATEABLE_IDENTIFIERS) bit or so to the help message.

I'm not sure about this. I think it's also confusing if you are clicking on "Add selected steps to the Operations list" and nothing happens. You may also want to do other kind of operations on those steps, not just updating them (e.g. run ETL on them). We can change this behavior in a future PR, based on feedback.

IMO we can find a good solution in the future:

toggle to show/not show these non-updateable datasets. I think a toggle here is better than a unidirectional button. With a button, once you drop the datasets, there is no way back.
if the toggle is enabled or not by default that's trickier. That may depend on the datasets selected by the user.

I have rephrased it a bit. The idea is that, after you update steps, you can try to run them. If they work out of the box, then you don't need to do anything, and simply create a PR and go to chart revisions. Otherwise, you need to go to the terminal and execute them manually, one or more steps (which can get messy when there are many, e.g. in the climate namespace).

I see. So there is a workflow where the user picks datasets from the table and just runs them? If the user has already updated the dataset, wouldn't this new dataset (with the new dependencies) already appear in the table? I guess I am still wondering when would I use this button. Is it bc the newly created datasets aren't shown in the table or tracked in underlying variables? If so, we should solve this.

That's how I placed them first. But then I realised that you may just want to execute the ETL on some steps without necessarily updating them, which is convenient. Hence the two actions are parallel, not necessarily sequential.

I see. So you are actually catering two uses (for now) in this page. I feel like the title and the description of the page are focussed on the "update" process. Maybe you can update these like:

"Control panel for ETL updates" → "Control panel for ETL steps"
"Explore all active ETL steps, and, if you are working on your local machine, update them." → "Explore all active ETL steps, and, if you are working on your local machine, perform some actions".
"🔨 To update some steps, select them from the Steps table and add them to the Operations list below." → "🔨 To perform actions on some steps, select them from the Steps table and add them to the Operations list below."
"💡 If you want to perform an action on, say, a specific grapher dataset, you can select just that step to the Operations list, then click on "Add dependencies", and bulk-update them all in one go."
Maybe add a clarification like "Current available actions are: 'update step', 'run step'.

Hey @lucasrodes thanks for the suggestions. I've implemented those changes, and added a little step-by-step tutorial at the beginning. Please let me know if you think it's good to ship.

Thanks @pabloarosado! LGTM! Let's go


Inline linter is lagging

If I correct a reported error, the error remains reported in the VS Code editor long (minutes) after it has been corrected. Also, new mistakes are reported very late. Laptop is not "spinning" or overloaded.
Options: run onType true
Windows 10, latest VSCode 1.39.2 (user) and ESLint 6.5.1 and ESLint plugin 1.9.1.

@cawoodm any steps on how to reproduce what you are seeing.  Best would be a GitHub repository I could clone.

Hey Dirk, it's a sporadic problem which is behaving now. Anything I can check the next time it happens?

You can enable tracing to see if the server is still responding. See the setting: "eslint.trace.server": "messages"


Build failure: sphinx-5.3.0 on master

Steps To Reproduce
Steps to reproduce the behavior:

Build pkgs.python3Packages.sphinx on current master

Applying the following patch which disables 3 test cases, fixes the build:
diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix
index 74abbe90c96..bec6df6da3a 100644
--- a/pkgs/development/python-modules/sphinx/default.nix
+++ b/pkgs/development/python-modules/sphinx/default.nix
@@ -97,6 +97,10 @@ buildPythonPackage rec {
   '';

   disabledTests = [
+    "test_viewcode"
+    "test_additional_targets_should_not_be_translated"
+    "test_additional_targets_should_be_translated"
+
     # requires network access
     "test_anchors_ignored"
     "test_defaults"

I don't have enough project knowledge to reason if these tests fail for good or bad reasons.
Build log
https://gist.github.com/tfc/980d1a45c88d1b5c2a50338f04c0bcd8
Additional context
Add any other context about the problem here.
Notify maintainers
@SuperSandro2000
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
09:53 tfc@build01 ~ $ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.91, NixOS, 22.11 (Raccoon), 22.11.20230205.cff83d5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Can't reproduce.

You're right, on master this is not reproducible, it seems to be due to the changes in this PR: https://github.com/NixOS/nixpkgs/pull/217637
Thank you for looking into this, could you please try build sphinx again in that branch?


Adding models to "Time Series Library"

Hi,
Thanks for the great work! I suggest adding your model to https://github.com/thuml/Time-Series-Library. I am aware that this could be a considerable effort, but it would make it possible to benchmark/introduce your work more broadly. This is just a feature request from my side.

Thanks a lot for the comment and for the nice suggestion. This is indeed a very good idea :)


Use python:3.6-slim-buster as docker base image

Start from same Debian buster but with Python already on. Faster to build the docker image.

The thread has been moved to https://gitlab.com/Oslandia/postile/-/merge_requests/15.


oslextractmeta improvements and code clean up.

oslextractmeta improvements and code clean up.
Changes:
-switched to argparse instead of optionparser,
-added support for a configuration file as requested,
-cleaned code to be compliant with pep008,
-added code for directory traversal
-_fatalError function added

Manually merged. Thanks!!


Will eos smart contract support encrypt/decrypt APIs?

Will eos smart contract support encrypt/decrypt APIs?

I think you can always include a crypto library yourself and compile it into your contract.

only hash api are directly supported at this moment. However, you can include a crypto library as part of the contract.


After V2 installation can't build android app on windows

Type: Bug
Platform: Windows
After ionic v2 installation I'm getting strange behavior if  I enter ionic build or ionic run.
I don't have ios platform In my package.json
ionic run
You're trying to build for ios, but don't have the platform installed yet.
? Installing ios for you.

Can you run ionic info and paste the output, please?

This issue was moved to driftyco/ionic-cli#757


add hh_chunking to cdap and vanilla chunking to vectorize_tour_schedu…

Added chunking by households to CDAP. Because CDAP coordinates activities by working on persons grouped by households, processing the population in batches (or chunks) requires ensuring that all persons in a household are included in the same chunk.
Added chunking arguments to interaction_simulate calls in mandatory_tour_frequency and non_mandatory_tour_frequency.
We may eventually be able to consolidate hh_chunk_size and chunk_size settings, but I am keeping them separate for now to facilitate performance testing.
Changed utils_to_probs in mnl.py to prevent inf probabilities when all utilities are large negative numbers.  Also added warning reports to make_choices to raise error of probabilities don't sum to approximately 1.0. We need to do more in this area but we have an issue open concerning that.

Coverage decreased (-0.3%) to 98.177% when pulling 86ca8059531fbe3d0ad8002777c0a4a2d8658974 on hh-chunk-cdap into faf5cea23df2c216c316a9ddae9fe5343f46dc99 on master.


:CheckHealth ERROR if not run from a terminal

Oni Version: 0.3.4
Neovim Version (Linux only): 0.2.2
Operating System: Ubuntu 18.04
Describe your issue
This is not a "true" error, but could concern some users who are worried that Oni is not properly configured. If Oni is run directly from a GUI, there is no TERM variable set, and the backspace check from infocmp fails. This could be worked around by Oni setting a TERM variable (which is probably preferred in any case - the TERM variable inherited from the calling environment is not likely correct / applicable except by chance).
Expected behaviour
:CheckHealth should not report an error when run from the GUI
Actual behaviour
## terminal
  - ERROR: command failed: infocmp -L
    infocmp: environment variable TERM not set

Steps to reproduce
Run Oni from a GUI launcher (at least from default Ubuntu 18.01 GNOME launcher), run :CheckHealth.

This is a Nvim big, please report it there.


Charmrun: Fix ++ssh-display without ++batch

Tested on the Adaptivity Demo cluster.

This PR is useful for debugging on clusters where the head node that runs charmrun can only be accessed through SSH, and is vital in the case of syncft where launching a new process does not go through the batch mode path.


Fix identifying non-geographical netcdf fields

 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.


Changing tags in settings does not change available tags for training in Context Menu when rightclicking a mail

Yes. At the moment you have to restart thunderbird when you change your tags. After restart you can choose the changed tags.

Is it still not working, or is it working now?

I found and fixed a bug that likely resolved this issue as well.


GO:0005848    mRNA cleavage stimulating factor complex synonyms

GO:0005848    mRNA cleavage stimulating factor complex   =  cleavage factor IA/ CF IA
3 annotation fly
su(f).  CSTF3   (fission yeast Rna14)
CstF50. CSTF1 (humant)
CstF64. CSTF2 & CSTF2T(human) (fission yeast RNA 15)
add exact synonyms
cleavage factor IA
CF IA

I won't add these for now as @robnash points out that they are not perfectly aligned.
If added it would be 'related" not exact.


Feat.payment history popup design #AB19418

Accordion and new design implementation.
Translations in json file added.
Status ''not yet sent'' added.
Refactoring of buttons - ''send again'' and ''open voucher''.

@agnesesaulite Tijs and I have reviewed this. We have the following feedback:

Fsp name has elipsis and no hover, should have a hover or something that you can see the whole name.
Sent and Received have a '-'. Looks like a bug as the voucher has been successfully delivered
Remove 'Financial officer' & 'Used' for now as we don't have this data for all FSPs
Remove 'Do single payment' for payment with "Not yet sent"
Nice to have: improve row alignment of transfer, status & button


Add 2023-04-18 minutes

Yes, just to capture its occurrence since we had an open discussion around all those topics, as opposed to taking up topics one at a time.


 indentation error

Hello all,
I found a small design issue with the <code> blocks in this theme (you can also see it on the current preview image).
The code indentation on multi-line code blocks currently has a slight error:

For single-line blocks, using single backticks, applying a padding is fine, as is done in theme.css
For multi-line blocks, using triple backticks, since the very same padding as above is applied, this will break correct indentation; Multi-line blocks only use a single <code> block inside a <pre> block, especially for multi-line code

In the preview image, you can see that the mkdocs.yml-line is indented not by the code itself, but by the padding applied to the <code> block surrounding it. However, this padding does not translate over to the other \n's, hence the docs/-line beneath is not aligned.
My current fix is simply to override the css:
pre code {
    padding: 0;
}

For each <code> block nested inside a <pre> block, as is the case in multi-line blocks, the padding is reset. Alternatively, you may still add vertical padding, as it does not impact the indentation. In my personal blog, I have added this rule, and it seems to be fixing the issue.
Thank you for your time, please let me know what you think about this.

@eeev


Material blend mode "Add" can not be totally transparent

Tested versions
Reproducible in 4.2.1-stable, 4.2.1-rc1
System information
Windows11, GLES3
Issue description
If you set a material's blend mode to add, it can not be totally transparent even though set its color to pure black.
Steps to reproduce

create a material, set its blend mode to "Add", change its albedo color to black
give it to a mesh, you will find it is not totally transparent.

Minimal reproduction project (MRP)
BlendModeTest.zip

A pure black material receives light from various light sources. This means it won't actually render as pure black, and will therefore be slightly visible with the additive blend mode.
You need to set its shading mode to Unshaded as well if you want it to be invisible in this situation.

A pure black material receives light from various light sources (this mimics how it works in real life). This means it won't actually render as pure black, and will therefore be slightly visible with the additive blend mode.
You need to set its shading mode to Unshaded as well if you want it to be invisible in this situation.

Yes, Thanks! It works!


Nuke arm brokey sometimes

yep

so thats what caused that funny op

needs more detailed repro, simply being in spess and arming does not work

ok i saw this on lizard
both nuke and armee were on evac, no announcement or arm sound

Was this on detroit baretry? i always experience wierd announcement bugs on it in general

when i saw it happen yeah it was on the raven

ok i have reproduced right now on saltern:

get aa, godmode, spawn magboots and rods
make a 3x3 platform in space ~8 tiles away from evac
spawn a nuke, disk, codes
arm it
no announcement or alert level


Support for arara

Could you add support for compiling using arara?

Yes I will add in next release

See https://github.com/aspeddro/tex.nvim/commit/2881a34b23310a825a7ceb9d80ba3651d3b926f4