File.rename across volumes

Right now, on Linux, using File.rename fails when trying to move the file to a different volume (OS Error: Invalid cross-device link, errno = 18). We should either document this limitation or handle it.

This is how the operating systems work in the underlying rename(2) system call. The restriction is important as it means one can trust the renames are atomic with respect to the filesystem and it shouldn't be worked around in Dart. A higher level API could provide such rename support across filesystems, although it is tricky to also properly preserve the file meta-information with the APIs currently exposed to Dart.
Documenting this behavior is meaningful and would avoid confusion, so I recommend doing that, although there has to be a fine line with how much the documentation of the underlying operating systems are repeated.

This is how the operating systems work in the underlying rename(2) system call. The restriction is important as it means one can trust the renames are atomic with respect to the filesystem and it shouldn't be worked around in Dart. A higher level API could provide such rename support across filesystems, although it is tricky to also properly preserve the file meta-information with the APIs currently exposed to Dart.
Documenting this behavior is meaningful and would avoid confusion, so I recommend doing that, although there has to be a fine line with how much the documentation of the underlying operating systems are repeated.

If we don't want to duplicate the documentation we should at a minimum link to that documentation, because right now there's nothing that says what lower-level calls our APIs map to.

If we don't want to duplicate the documentation we should at a minimum link to that documentation, because right now there's nothing that says what lower-level calls our APIs map to.

I think that we shouldn't do worse than other programming languages e.g.
https://docs.python.org/3/library/os.html#os.rename

Fixed in Ibbc692545af636e33cfa7f5946480d3640d95b5c


Skenny/landing page method info

Updating the water rights landing page UI/styling and adding the method info card with required data


Proposal: Add flexbox layout panel

Proposal: Add flexbox layout panel

Summary
The flexbox layout is super popular with web developers, and is also used by react-native.
This proposes we add a new kind of panel to XAML that supports flexbox directly.
Rationale

Very powerful layout that's already popular with a large web community
Would provide significant value to react-native-windows implementation which currently implements flexbox "outside" XAML

Scope

Important Notes

See related issues in react-native-windows repo:
https://github.com/microsoft/react-native-windows/issues/2642
https://github.com/microsoft/react-native-windows/issues/2643
Open Questions

@kmelmon check out #694.

Resolving as a dupe. @kmelmon, please reactivate if you disagree.


increase performance

In update function change creating new instance to set opacity sprites

https://github.com/qertis/cc_spriter/commit/f519ad1198d577bb515be76fc80d8fe2c202771f


use django-account-balances for accounting

Currently this uses empty EmptyPayment for main accounting (no payment possible) and InfinitePayment for bonus (you can wash indefinitely for free).
We should use django-account-balances as Netz-AG proposes, however, the version on the repository carver/django-account-balances is outdated and incompatible with both Python 3 and Django 1.11. We should instead use the private fork hosted by Netz-AG (link works only in the house network). There’s also the upstream django-oscar/django-oscar-accounts project that’s very active, however which is still dependent on oscar.

I just started implementing this in the "accounts" branch.
One unsolved issue is this exclude call that shouldn’t be necessary, but the test "test_bonuspayment" currently fails if I remove this. Somehow it finds multiple account instances for the waschexample user.


Add e2e Tests

Add e2e tests such that we can enter a given user prompt, and see if Evo successfully completes it.

This is being done here: https://github.com/polywrap/evo.ninja/tree/dev/apps/cli/src/tests


translate nodejs concepts challenge to english

Hey, what's up 😃
I just added the English version of the Node.js Concepts Challenge.
There may be some typos yet, so a review would be awesome 🚀

Well, guess i have to approve it now.
Thank you, @LauraBeatris! 🚀 💜


JoinReport with unexpected results

I do have the following Artifacts
BenchmarkDotNet.Artifacts.zip
I tried to create a joint Report
var options = new JoinReportHtmlOptions
              {
	              Title = "Benchmark of Collection Item Manipulation (Mean)",
	              MainColumn = "Method",
	              GroupByColumns = ["Categories", "Prefill", "PriceRange"],
	              PivotProperty = "Runtime",
	              StatisticColumns = ["Mean"],
	              ColumnsOrder = [".NET 8.0", "NativeAOT 8.0", ".NET 9.0", "NativeAOT 9.0"],
	              OtherColumnsToSelect = ["DataType"],
	              SpectrumStatisticColumn = true,
	              HighlightGroups = true,
	              DividerMode = RenderTableDividerMode.SeparateTables,
	              HtmlWrapMode = HtmlDocumentWrapMode.RichDataTables
              };

await benchmarkSummaries.JoinReportsAndSaveAsHtmlAsync(DirectoryHelper.GetPathRelativeToProjectDirectory("Reports\\Benchmark-Mean.html"), options).ConfigureAwait(false);

The result looks like

As you can see there are additional Lines (like line 2) that I did not expect. I did experiment a bit and found out that DataType maybe the culprit.
So I changed the settings to
var options = new JoinReportHtmlOptions
              {
	              Title = "Benchmark of Collection Item Manipulation (Mean)",
	              MainColumn = "Method",
	              GroupByColumns = ["DataType", "Categories", "Prefill", "PriceRange"],
	              PivotProperty = "Runtime",
	              StatisticColumns = ["Mean"],
	              ColumnsOrder = [".NET 8.0", "NativeAOT 8.0", ".NET 9.0", "NativeAOT 9.0"],
	              SpectrumStatisticColumn = true,
	              HighlightGroups = true,
	              DividerMode = RenderTableDividerMode.SeparateTables,
	              HtmlWrapMode = HtmlDocumentWrapMode.RichDataTables
              };

await benchmarkSummaries.JoinReportsAndSaveAsHtmlAsync(DirectoryHelper.GetPathRelativeToProjectDirectory("Reports\\Benchmark-Mean.html"), options).ConfigureAwait(false);

Now I get this

This is too fragmented, but all the doubled lines are gone and the lines are exactly what I want to show.
Basically, I want Table 1 + Table 2 joined in one table and Table 3 + Table 4 joined in one table and so on....
Did I miss some settings or maybe the Join Report do have a little flaw with merging the reports?

I did provide a pull request with the fix. However I did not test for side effects but for my case this is exactly what I needed.
This is the intended result

Thanks @swtrse. I closed this issue since you fixed it well.


Added Cranbrook Schools

@Nolan1324 Could you please clarify if the addresses at cranbrook.edu email domain are available to the teachers and students only, or also to a general public? The official domain website makes an impression that the email domain covers broader scope of potential users. Please let me know if I am mistaken.

The cranbrook.edu email domain is only for those enrolled at the school. Under the Contacts tab on the website, the administration and teacher's can be seen with this email domain. There is no way to obtain the email domain without enrollment.

@Nolan1324 Thank you for the clarification. Pull request merged.


reply：Error: Request to OpenAI failed. Please try again. is it a network problem？

Done calculating embeddings
Done processing pdf
<IP_ADDRESS> - - [05/Apr/2023 13:23:44] "POST /process_pdf HTTP/1.1" 200 -
<IP_ADDRESS> - - [05/Apr/2023 13:24:12] "POST /reply HTTP/1.1" 500 -
Traceback (most recent call last):
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask\app.py", line 2551, in call
return self.wsgi_app(environ, start_response)
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask\app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "F:\ChatGPT\researchgpt-main\main-local.py", line 181, in reply
prompt = chatbot.create_prompt(df, query)
File "F:\ChatGPT\researchgpt-main\main-local.py", line 112, in create_prompt
result = self.search_embeddings(df, user_input, n=3)
File "F:\ChatGPT\researchgpt-main\main-local.py", line 107, in search_embeddings
sources.append({'Page '+str(results.iloc[i]['page']): results.iloc[i]['text'][:150]+'...'})
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\pandas\core\indexing.py", line 1103, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\pandas\core\indexing.py", line 1656, in _getitem_axis
self._validate_integer(key, axis)
File "F:\ChatGPT\researchgpt-main\myenv\lib\site-packages\pandas\core\indexing.py", line 1589, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
Supplement: I am deploying in a virtual environment：python -m venv myenv；myenv\Scripts\activate；python main-local.py

same problem

看日志是因为超过了max token了 目前无解

Hi all @marxo126 @1353604736 @Maddaxman sorry for the late response
I have made a major refactor of the code, fixing many issues and moving from flask to fastapi, if you are still interested please consider running git fetch to update your code to the latest version and try following the steps in the README to run the app.
Also consider using the web app www.dara.chat, it has some features and optimizations that are not open source yet. Thanks for trying it!


adds num of days window to recent suggestions check

Coverage remained the same at 19.052% when pulling 0a42862cd233a06980923cab5b4c933b40f939c3 on theseyi:prev-seen into 53a6caec15339a67c8ef24b39e9ed2b7143ae940 on linkedin:master.


Forbid duplicating of web.Application and web.Request

I've found both Application and Request has .copy() method with unpredictable behavior.
We should forbid this one.
There are two options:

Don't inherit web.Application and web.Request from dict but implement MutableMapping abc from scratch.
Override .copy with raising NotImplementedErrorr exception.

I'm inclining to second choice.
The patch is trivial but requires two additional tests in our suite and docs change.
Any volunteers?

I'll make a PR with option 2.

Thanks


Backport 2.x: Remove on-target testing

Resolves #4934. See #4912.
Same patch for 3.0: TODO

I cross-checked this PR with https://github.com/ARMmbed/mbedtls/pull/1839, and it seems that https://github.com/ARMmbed/mbedtls/blob/development/tests/scripts/test_generate_test_code.py can also be removed.

test_generate_test_code.py tests generate_test_code.py which is still present. It isn't related to on-target testing.
#1839 added the new test framework (generate_test_code.py replacing generate_code.pl). That new test framework added the possibility of on-target testing. What we're removing now is just the parts related to on-target testing on Mbed OS, and not the rest of the test framework.

My bad, I didn't go into much detail, and looking at the PR description I thought it dealt only with on-target testing. I'll have to continue this review at an unspecified time in the next week (hopefully), so if it has higher priority and needs to get in sooner - I can cross myself off the reviewers list.

This needs to get in before the 2.28 LTS, and there are other, bigger things for the 2.28 LTS that aren't ready yet, so no particular urgency.


Report Plugin - styling of discussion button

Description
The styling of the button has gone wrong compared to previous versions. See capture below.
Specifically:

mis-aligned with edit button
discussion icon off center

Fixed #3534


How to get stored procedure error in the output

Azure Docs Link: https://docs.microsoft.com/en-us/azure/data-factory/transform-data-using-stored-procedure
Scenario: When a Stored Procedure failed then if it returns the error details, How to capture this in the output?
Why? I'm using Azure Logic App to trigger an email when Stored Procedure failed. I want to send the error details in the email. Currently in the body of the POST request, ADF only allows to add System Variables like Trigger Name, Data Factory Name and Output of the stored procedure activity. It doesn't allow to add error details.
Below is the error it returned.

And below is the output it currently allows to add in Web HTTP request body.

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

ID: 45e0996a-5a15-b03a-f204-b8725579109d
Version Independent ID: 6c8ed85a-8e40-a7b2-c13a-81123aa499d4
Content: Transform data by using the Stored Procedure activity in Azure Data Factory
Content Source: articles/data-factory/transform-data-using-stored-procedure.md
Service: data-factory
GitHub Login: @douglaslMS
Microsoft Alias: douglasl

@rangeranger Thanks for the feedback! We are currently investigating and will update you shortly.

@rangeranger Thank you for your feedback. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

@Alberto-Vega-MSFT Updated the issue description with the link.

Referred question to PM.

@rangeranger We don’t currently allow this in ADF itself unfortunately. However, there is a workaround. Data Factory pumps all of its activity run events to Azure Monitor: Schema of Logs & Events | Alert and Monitor data factories using Azure Monitor. In the events that Data Factory pumps to Azure Monitor, it pushes error details there, and you get have email alerts from those events.

@douglaslMS, Understood. I have integrated through Azure Monitor. Thanks for the workaround info.

#please-close

#19601 با تشکر


Identify initial set of test targets for AQA v1.0 (July release)

Need to identify the set of specific test targets we will use initially with rationale for why, along with any exceptional cases/circumstances/exclusions to be documented.
Top-level targets for initial review:
sanity.openjdk
extended.openjdk
sanity.system
extended.system
special.functional
sanity.external
sanity.perf

Is that a Milestone I see? ;-)

haha, it was bound to happen sooner or later!  Beginning of the milestone era has arrived in openjdk-tests


Components

Artists card
Home page banner (movie)

try to store the image links in a separate string


Blocking Users Pre-Testing

Overview
Implemented the functionality for blocking users, pre-testing.
Changes Made
I created a join table model called UserBlocking that allows for a Many-To-Many relationship between users.
Test Coverage
I am working on Postman Testing, once that is done, will write test cases.
Next Steps (delete if not applicable)
I have to write unit tests and test on postman

Do not merge.


[REQUEST] Guide to integrate homepage project

For which application would like to see this Guide ?
Radarr / Sonarr / Bazarr / etc
All the stock
Describe what you would like to see in the Tutorial/Guide
A clear and concise description of what you want to see in the Guide .
The way to integrate all the arr apps (including jellyseerr) with the homepage project: https://github.com/benphelps/homepage

I took a look at it, but at the moment i don't have any plans to write a guide for this, because the next guide request will be for organizr, heimdall etc.
Also i'm not using it either.

Ok, but in place of hemdall you can implement Homeland

completely ignores the mountain of requests that would fall out

Second because the next guide request will be for organizr, heimdall etc.

ok, anyway thanks, great job (Y)


[Good first issue] Try OnomaAIResearch/Illustrious-xl-early-release-v0 with stable_diffusion sample

OnomaAIResearch/Illustrious-xl-early-release-v0 is SDXL model which is supposed by stable_diffusion sample https://github.com/openvinotoolkit/openvino.genai/blob/master/samples/cpp/text2image/main.cpp
Please, follow the README,md https://github.com/openvinotoolkit/openvino.genai/blob/master/samples/cpp/text2image/README.md and generate several images with this model.
Please, attach generated images and prompts to this ticket as prove that a model works as expected.
As a last point, please add this model to a list of supported models

I want to work on this issue, can you assign it to me


azm v0.1.15 with GetGraph bugfix

Includes https://github.com/aserto-dev/azm/pull/54

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

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

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
859

Relevant Lines:
3463

💛  - Coveralls


Its temporary tab doesn't become permanent if clicking 'Open' or double clicking one ADLS Gen2 blob container

Storage Explorer Version: 1.25.0-dev
Build Number: 20220519.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.3 (Apple M1 Pro)
Architecture ia32\x64
How Found: Ad-hoc testing
Regression From: Previous release (1.23.1)
Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Click one blob container to open a temporary tab.
Right click the blob container -> Click 'Open'.
Check whether the temporary tab becomes permanent.

Expected Experience
The temporary tab becomes permanent.
Actual Experience
The temporary tab doesn't become permanent.
Additional Context
This issue doesn't reproduce for regular blobs/file shares/queues/tables/disks.

Our panel API doesn't have a way to programmatically promote a temporary tab. We should add that.

Verified this issue on the build main 20220624.2. Fixed. So close it.


METRON-857 Ability to completely build project in single Docker Image

Contributor Comments
Before ambari integration, we had the ability to use the ansible docker image to build and deploy metron, and a workflow around that.
With the ambari integration and required rpm-docker build stage that was lost.
This PR makes the necessary changes such that metron can be built either in the ansible docker image ( including building the build-rpms profile ) or as currently documented ( only spawning docker when building -P build-rpms ).
To do this, two profiles, with automatic activation where created, each with the correct maven execute task for the environment.  If we are in docker already, we just execute the script, if we are not, we execute docker.
To test this (docker must be running of course ):
Build the product normally, and build the rpms
$>cd incubator-metron
$>mvn clean install -D skipTests
$>cd metron-deployment
$> mvn clean package -P build-rpms

This should work normally. You should see the RPMS user rpm-docker/RPMS/noarch/
Then
$>mvn clean
$>cd ..
$>mvn clean
$>cd metron-deployment/packaging/docker/ansible-docker
$>docker build -t ansible-docker:<IP_ADDRESS> .
$>docker run -it -v {PATH-TO-METRON}/incubator-metron/:/root/incubator-metron ansible-docker:<IP_ADDRESS> bash
$docker>cd incubator-metron
$docker>mvn clean install -DskipTests
$docker>cd metron-deployment
$docker>mvn clean package -P build-rpms

As before you should see the rpms.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron (Incubating).
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[ x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x ] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x ] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[ x] Have you included steps or a guide to how the change may be verified and tested manually?

[x ] Have you ensured that the full suite of tests and checks have been executed in the root incubating-metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[ ] Have you written or updated unit tests and or integration tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[ x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
bin/generate-md.sh
mvn site:site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

I wasn't able to spin this up without changing the Dockerfile to be FROM centos:centos6 instead of FROM centos:6.6.  This also matches rpm-docker.  Any concern with making that change here?  I don't know why we would want to pin to an older version of centos anyway, especially because centos6 is done releasing.

done

+1 thanks @ottobackwards


cp(v0.33.x): feat: invalidate SSM cache upon AMI deprecation

Fixes #N/A
Description
Cherry-picks #7301
How was this change tested?
make test
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

124 of 153 (81.05%)  changed or added relevant lines in 11 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 77.805%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/fake/ssmapi.go
26
27
96.3%

pkg/controllers/controllers.go
0
2
0.0%

pkg/providers/amifamily/ami.go
15
17
88.24%

pkg/apis/v1/ec2nodeclass.go
15
18
83.33%

pkg/operator/operator.go
0
5
0.0%

pkg/controllers/providers/ssm/invalidation/controller.go
34
40
85.0%

pkg/apis/v1/zz_generated.deepcopy.go
0
10
0.0%

Totals

Change from base Build<PHONE_NUMBER>3:
0.005%

Covered Lines:
5430

Relevant Lines:
6979

💛  - Coveralls


Update ammonite-compiler, ... to 2.4.0-23-76673f7f

Updates

com.lihaoyi:ammonite-compiler
com.lihaoyi:ammonite-compiler_3.0.0
com.lihaoyi:ammonite-compiler_3.0.1
com.lihaoyi:ammonite-cross-23-repl-api_2.13.6
com.lihaoyi:ammonite-cross-23-repl_2.13.6
com.lihaoyi:ammonite-repl
com.lihaoyi:ammonite-repl-api

from 2.4.0-14-4824b429 to 2.4.0-23-76673f7f.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi" } ]

labels: library-update, semver-pre-release

Superseded by #892.


Fix python3.12 on ubuntu x86-64

Fix from: https://github.com/DataDog/opentelemetry-ebpf-profiler/commit/630fd97803b41dca87e5a0f6e1e45c31c7e43b90
This error occurs on stock python 3.12 on ubuntu x86-64.
Fixes issue: https://github.com/open-telemetry/opentelemetry-ebpf-profiler/issues/251

Hey @gnurizen 👋 The commit I authored in https://github.com/DataDog/opentelemetry-ebpf-profiler/commit/630fd97803b41dca87e5a0f6e1e45c31c7e43b90 unfortunately doesn't fully fix https://github.com/open-telemetry/opentelemetry-ebpf-profiler/issues/251.
I think we should consider the alternative described in:

b. Add more logic in disassembly code: Add logic in decode_amd64.c to take into account variables in temporary registers, and the case where %rdi is populated via mov then add. We could potentially fix both issues at the cost of additionally complexity.

So we better cover all the edge cases discussed in that issue (didn't get around to implementing this yet though).
Additionally, as far as I can tell, the packaged python in ubuntu is compiled with --enable-optimizations, --with-lto, so this shouldn't impact stock python 3.12 on ubuntu x86-64. Do you have more information on how you reproduced this? We might have missed something on the original issue.


Add C# and JavaScript/TypeScript languages

Hi! Thank you for a great benchmark! It'll be great to see C# and JavaScript/TypeScript languages in the comparison.

Thank you for your interest in our leaderboard. We are planning to add more PLs of interest (e.g., Rust, JS, C#). This will take some time but eventually added if the community shows more interest.


addKeystoreManager EXC_BAD_ACCESS error

Until yesterday, it worked without a problem.
But suddenly, estimateGas failed today, and even addKeystoreManager has an error.
My web3swift version is lastest version. 2.0.4
This is my Web3 Setting Code
    static let sharedInstance = CaverSingleton()

    init(){
        Web3.default = .init(provider: Web3HttpProvider.init(URL(string: "http://localhost:8551")!)!)
    }

    let caver: Web3 = Web3(url: URL(string: "http://localhost:8551")!)!
    var userAddress: Address = Address("0xf694888fC6EEA44F8Cd03E9c5f18af8F61BdEbe8")
    let contractAddress = Address("0x4e4879e7f43c266e2949c5918c0fc64225ed4bad")

    func keystoreMangaerInDevice() -> KeystoreManager?{
        let userDir = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]
        let path = userDir+"/keystore"
        let keystoreManager =  KeystoreManager.managerForPath(path)
        return keystoreManager
    }

And, This is my call addKeystoreManager code
    fileprivate func callCaverSingleton() {
        let instance: CaverSingleton = CaverSingleton.sharedInstance
        let keystoreManager = instance.keystoreMangaerInDevice()
        let caver = instance.caver
        caver.addKeystoreManager(keystoreManager) // Thread 1: EXC_BAD_ACCESS (code=1, address=0xe0)
    }

After deleting pod and reinstalling the latest version, it was fixed... :)

After deleting pod and reinstalling the latest version, it was fixed... :)

Good to know


add function call support

Is this to support the new feature function call of the chat completion api?
If no one else has worked on this, I thought I could help.

@kevin19930919 any progress on this? if not I might take a crack at it.. could use it

@mfreeman451 Yes, I've done some development, maybe you can review it for me? This is my 1st time try to contribute to open source project, may need some help.

It looks like this might not make sense at the moment since I think @tmc is going to just bring in a different openai client that already has this feature.

Oh ok, so that means @tmc already made some progress on this?


Inline bot mode

Replying links for messages can seem messy and occupy lots of screen space. It should be possible to provide a inline bot mode with links parsed into telegram bot markdown formatted links.

P.S.: I am not a electrical engineer.

Good idea. It will be incorporated later in the rewrite.


Added content arg to MarkdownReader

The aim of this PR is to make MarkdownReader available to other readers that are Markdown-based, even if their content is not stored in plain text files.
For backward compatibility, the file arg was left as is (positional), but when content is provided it is ignored and the given content is parsed instead.
Unrelated: I'm not sure why parse_tups() has the errors kwarg.

hey @alondmnt this looks good. we may actually deprecate these loaders in the core repo, would you mind submitting a PR to the corresponding file in LlamaHub? https://github.com/emptycrown/llama-hub

Sure, I'd be happy to.


Run bimaterial FSI simulation

          Hi Philip,

I want to run bimaterial FSI simulation using solids4Foam but I am getting some error while running. The error I am getting is attached here. How to resolve this?

Originally posted by @Chitnavis-Nikhil in https://github.com/solids4foam/solids4foam.github.io/issues/40#issuecomment-1493249267

Hi @Chitnavis-Nikhil,
Can you provide a small example case that demonstrates this problem? Ideally, you would modify one of the tutorials to show this issue.
Philip


Extended support for TPM 1.2

Enhancement Description

This enhancement proposes to extend support for TPM 1.2 which was removed in Keylime v6.0.0:
Keylime Enhancement Proposal: https://github.com/NinaMulkijanyan/enhancements/blob/patch-1/43_tpm_1_2_support.md
Primary contact (assignee):
Enhancement target (which target equals to which milestone):

Alpha release target (x.y)
Beta release target (x.y)
Stable release target (x.y)

Please to keep this description up to date.

@NinaMulkijanyan can you make your enhancement a PR so it can be pulled in and discussed?

Done.


optimize: fix query typo

Ⅰ. Describe what this PR did
change wrong word "qurey" to "query"
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2176 into develop will not change coverage.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             develop    #2176   +/-   ##
==========================================
  Coverage      54.43%   54.43%
+ Complexity      2472     2471    -1
==========================================
  Files            445      445
  Lines          14742    14742
  Branches        1734     1734
==========================================
  Hits            8025     8025
  Misses          5958     5958
  Partials         759      759

Impacted Files
Coverage Δ
Complexity Δ

...va/io/seata/core/store/db/LogStoreDataBaseDAO.java
55.92% <25%> (ø)
21 <0> (ø)
:arrow_down:

...main/java/io/seata/core/store/db/LogStoreSqls.java
18.86% <50%> (ø)
10 <1> (ø)
:arrow_down:


Remove HTTPS enforcement for local environments in AppServiceProvider.php

Adjusted conditional logic to enforce HTTPS scheme only for non-local environments.

thank you


Add deleteFromSyncada param to support-reviewed-payment-requests

Description
I was originally hardcoding this value when passing to NewSyncadaSFTPReaderSession, but we decided to add a parameter for it so it doesn't require a code change to modify.
Reviewer Notes
Setup
Add any steps or code to run in this section to help others prepare to run your code:
rm bin/prime-api-client && make bin/prime-api-client

deletefromsyncada.json
{
  "body": {
    "sendToSyncada": false,
    "readFromSyncada": true,
    "deleteFromSyncada": true
  }
}

prime-api-client --insecure support-reviewed-payment-requests --filename deletefromsyncada.json

If you have any payment requests locally that match a response file in syncada, then they should be deleted from Syncada. However, since we can't get response files from syncada right now, we can't test that the deletion is really happening.
We've tested deleting from syncada is previous work though, so I think the most important thing to test is that I didn't break anything and the command still runs.
References

Jira story for this change

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 41bfff382268abddc47887df49e02c3845ad73c8


Colors

Steps to reproduce

Open terminal in OS X, with "Basic" (default) color schema.
Run powershell
run throw "foo"

Expected behavior
Colors look ok
Actual behavior
Colors don't look ok

Environment data

v0.4.0

cc @nanalakshmanan

I'm able to set some of the colors on Mac OS, but the names of commands as I type them out remain yellow no matter what.

This issue was moved to lzybkr/PSReadLine#472

+1 Ubuntu

The default colors aren't great in osx, especially white on white for numbers and members, yellow for commands, and grey for types.
Btw when I tab complete on set-psreadlineoption or get-psreadlineoption, it pops up twice.

@jszabo98 agreed on all fronts. The tab-completion bug is known too (I think it's somewhere in the PSReadline repo)

I am late to the party but I found the article which make your mac terminal window same like windows PowerShell. By Setting Profile. Please follow this below article
https://info.sapien.com/index.php/quickguides/setting-up-powershell-on-your-mac

We are not 4 years down the line, and there has been absolutely no update. It is interesting as Microsoft are now trying the "Run Everywhere" idea, but they are failing to make it a nice experience.

My current setup.  I just did this on a new mac.
set-psreadlineoption -colors @{
  command            = 'darkyellow'
  number             = 'black'
  member             = 'black'
  operator           = 'black'
  type               = 'black'
  variable           = 'darkgreen'
  parameter          = 'darkgreen'
  continuationprompt = 'black'
  default            = 'black'
}

$host.PrivateData.VerboseForegroundColor = 'DarkYellow'
$host.PrivateData.WarningForegroundColor = 'DarkYellow'
$host.PrivateData.DebugForegroundColor = 'DarkYellow'
$host.PrivateData.ProgressForegroundColor = 'DarkYellow'

My current setup. I just did this on a new mac.
set-psreadlineoption -colors @{
  command            = 'darkyellow'
  number             = 'black'
  member             = 'black'
  operator           = 'black'
  type               = 'black'
  variable           = 'darkgreen'
  parameter          = 'darkgreen'
  continuationprompt = 'black'
  default            = 'black'
}

$host.PrivateData.VerboseForegroundColor = 'DarkYellow'
$host.PrivateData.WarningForegroundColor = 'DarkYellow'
$host.PrivateData.DebugForegroundColor = 'DarkYellow'
$host.PrivateData.ProgressForegroundColor = 'DarkYellow'

Thanks, very helpful.


Update redis Docker tag to v19.6.4

This PR contains the following updates:

Package
Update
Change

redis (source)
patch
19.6.2 -> 19.6.4

:warning: Warning
Some dependencies could not be looked up. Check the warning logs for more information.

Release Notes

bitnami/charts (redis)
v19.6.4

[bitnami/redis] Release 19.6.4 (#28499)

v19.6.3

[bitnami/redis] Release 19.6.3 (#28365) (e7ef119), closes #28365

Configuration
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
:warning: Warning: custom changes will be lost.


Corrupted Skynest "error running hook"

[dispatch] [tera-guide] handle: error running hook for S_ABNORMALITY_BEGIN<4>
hook: abnormality_triggered in tera-guide
data: {
target:<PHONE_NUMBER>59730n,
source: 0n,
id: 4610,
duration: 25675062n,
stacks: 1,
hitCylinderId: 0,
unk3: 2
}
error: Cannot read property 'mobs' of undefined
at Object.abnormality_triggered [as callback] (D:\Games\TeraToolbox\mods\tera-guide\index.js:219:30)

Hi,
What is your region? Did the error happen once or is it repeated regularly?
We tested this dungeon in update NA 95.03 today, no errors was detected.

Hi
Im from EU
It repeated regularly and bot only in CS but GLS as well
I've dowloaded both this and library mods yday but i'll doublecheck for updates

If an error is detected, we will make fixes. Thanks.

Just updated library one - now everything works
It seems that the last changes were made at a time while my toolbox was running so there were no fixes
Thanks and sorry for your time


Can't Download from kisscartoon.me

youtube-dl http://kisscartoon.me/Cartoon/Thundercats-1985/Season-01-Episode-025?id=9881 returned below error
[generic] Season-01-Episode-025?id=9881: Requesting header
WARNING: Could not send HEAD request to http://kisscartoon.me/Cartoon/Thundercats-1985/Season-01-Episode-025?id=9881: HTTP Error 503: Service Temporarily Unavailable
[generic] Season-01-Episode-025?id=9881: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 503: Service Temporarily Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

This looks like copyrighted content. youtube-dl does not support sites dedicated to copyright infringement. Do they have rights to distribute this? If not provide an example URL that does not violate any copyrights.

not really sure if they have " rights to distribute"
but their footer (http://kisscartoon.me/ has below note)
From 2014-2015 KissCartoon.me. Copyrights and trademarks for the cartoon, and other promotional materials are held by their respective owners and their use is allowed under the fair use clause of the Copyright Law.
youtube-dl suggested "please report this issue on https://yt-dl.org/bug" when i tried kisscartoon.me. But if they are in violation of copyrights, may be this bug can be closed.

youtube-dl does not support sites dedicated to copyright infringement

According to disclaimer and DMCA note posted here they have no rights to distribute this content.


Problem with multi-hour audio files

What's your platform?

FFmpeg outputs:
[wav @ %long hex% ] Filesize %large number% invalid for wav. output file will be broken.

What properties your input file(s)? (if applicable)
I used an 10 hour opus file with a 48.0kHz samplerate.

Comments
Ultimately, auto-editor created a valid opus file. I haven't checked if the cuts are accurate.

Here's some 'memory safe' code, it's performance is disappointing:
import av
import numpy as np

import sys

# 2.1 times slower than aelevels

path = "example.mp4"
container = av.open(path, 'r')

audio_stream = container.streams.audio[0]
audio_stream.thread_type = 'AUTO'

def get_max_volume(s: np.ndarray) -> float:
    return max(float(np.max(s)), -float(np.min(s)))

fifo = av.AudioFifo()

fps = 30
rate = audio_stream.sample_rate

sample_size = int(rate / fps)

for frame in container.decode(audio_stream):
    fifo.write(frame)

max_chunks = []
while fifo.samples_read < fifo.samples_written:
    frame = fifo.read(sample_size)
    if frame is None:
        frame = fifo.read()

    audiochunks = frame.to_ndarray()
    max_chunks.append(get_max_volume(audiochunks))

    max_volume = 1

max_volume = get_max_volume(max_chunks)

for chunk in max_chunks:
    sys.stdout.write('{:.20f}\n'.format(chunk / max_volume))


Index.js wrong file

Index.js appears to be pointing to : ./lib/NumberEditor
However the file is in ./src/

It's not an error, it's done on purpose. It's because the file gets compiled when the package is published on NPM. So the lib/index.js exists at that time.

The v4 build doesn't seem to be doing this, there isn't a lib folder in the build.

You're right. a .npmignore is required to prevent npm to use .gitignore which is ignoring /lib.
Reopening this issue.

Should be fixed now with the version 4.0.1 :) Thanks again @cookednoodles!


Ch. 6: Cannot find name 'totalPaidInvoices', build failure

Vercel build failed. Tried to build locally, same error:

Problematic section is commented out in current version of the starter-example code

Thank you @jchlu 🙏🏼

Commenting that for me the fix was to set a blank value="" on the Cards in CardWrapper in order to deploy this to Vercel. The comments in this thread didn't help me fix it.
https://github.com/beckrecca/pReactice/commit/552e6e835baca69e818ea55d23804d706d748793

I figured out the inconsistency that causes this error on deployment: Later on in Chapter 9 (https://nextjs.org/learn/dashboard-app/streaming) you import fetchCardData into the cards.tsx file; however BEFORE you do that, the values totalPaidInvoices, totalPendingInvoices, numberOfInvoices are undefined (because that data is fetched/defined in page.tsx so Vercel refuses to deploy. Why this works locally I'm not sure, but Vercel is evidently stricter.


Fatal exception on dev

Attached the executable and PDB (in a zip) as well
iterative_dfs.zip
[Window Title]
Fatal Exception

[Content]
A fatal exception (code 0xc0000005) occurred. The process is terminating.

Press Ctrl+C to copy this text to clipboard, then create a new issue at
https://github.com/EpicGamesExt/raddebugger/issues

Call stack:
1. [0x7ff6bd44d60a] ev_resolved_from_expr +1402, eval_visualization_core.c line 658
2. [0x7ff6bd4510e1] ev_windowed_row_list_from_block_range_list +2097, eval_visualization_core.c line 1168
3. [0x7ff6bd4c9706] rd_watch_view_build +14406, raddbg_views.c line 2217
4. [0x7ff6bd3d0a52] rd_view_rule_ui_watch +386, raddbg_views.c line 5533
5. [0x7ff6bd500ecb] rd_window_frame +184427, raddbg_core.c line 7568
6. [0x7ff6bd4b361a] rd_frame +94458, raddbg_core.c line 16618
7. [0x7ff6bd44a0de] entry_point +7246, raddbg_main.c line 978
8. [0x7ff6bd459e2d] main_thread_base_entry_point +829, base_entry_point.c line 100
9. [0x7ff6bd546ee2] w32_entry_point_caller +1890, os_core_win32.c line 1724
10. [0x7ff6bd546f2d] wWinMain +29, os_core_win32.c line 1737
11. [0x7ff6bd54804a] __scrt_common_main_seh +262, exe_common.inl line 288
12. [0x7ffdc122257d] KERNEL32
13. [0x7ffdc1b0af08] ntdll

Version: 0.9.13 [bd4f82c8]

[Close]

Can you provide your user/project files, and more information about how you caused this, as well? This is happening because of something in the watch window. Is this as soon as you begin debugging, or is it when you try to watch something specific?

It would crash as soon as you start stepping. There was nothing special in the watch window - only some leftover things from previous debugging sessions.
It was happening only when building on release mode.
Does not seem to be happening anymore.
The last time I saw the bug was master (5aeee47f98396bd2473f2f8e520b39823fd5d4b4) and dev (420c2ec2083efe44eeb09da8898255ac45d4ce72).

https://github.com/user-attachments/assets/9ca089a2-3e5b-4b54-9db2-0071fc5b7690


ADD ALPHAQ TOKEN

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

WHEN WILL THIS MERGE I AM NEW TO ALL THIS THANKS

Is not going to be merged as long as you get you an error. The error the file is giving to you is: "unsupported file modified: src/tokens/solana.tokenlist.json.bak". You should fix this and try a new pull request. If you are allowed you'll get a green arrow and a phrase saying "able to merge". The bot analizes the new pull requests all at once in an hour. For modifications of an existing Token instead, you'll have to wait for the developer to manually check your code and accept it. I have no idea how much time does it take, I'm still waiting for my modifications to be merged since a week. Hope you'll find this usefull, Cheers!!


New version: Spicetify.Spicetify version 2.35.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @afonsojramos,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 870.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-03-21 08:34:57.877 [FAIL] Installer failed security check. Url: https://github.com/spicetify/spicetify-cli/releases/download/v2.35.0/spicetify-2.35.0-windows-x64.zip Result: 0x80004005

(Automated response - build 870.)

@wingetbot run


"Azure Security Center" was renamed almost 2yrs ago

This page repeatedly mentions Azure Security Center.
That service has been called Microsoft Defender for Cloud since Ignite 2021.
Please update the many instances on this page (and in the graphic).

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

ID: 7c8fa86e-65b1-d8d1-c1e6-d7ba721d7f75
Version Independent ID: 714b296f-07d4-3e09-3928-483e9069d180
Content: Connecting Windows Server to Azure hybrid services
Content Source: WindowsServerDocs/manage/windows-admin-center/azure/index.md
Product: windows-server
Technology: windows-admin-center
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Configuration Changed - From string isn't backwards compatible

URGENT!!!
From string needs to support previous versions. Scale data types changed between previous version and current version.

Investigating now.  Should have a new package out in an hour or two.

Can you please send me a configuration file that currently fails to load so I can test this properly?

...I don't see changes made to the To String method for the last 8 months.  We didn't bump the version.
Might be something in the typedef or the parent class, though.

I think the issue is with the typedef of compatible types. When Boolean was added. I'll try to send you a configuration shortly. I'll have to remove customer specific information. I had to revert versions for it to work properly.

Looks like the breaking change was this one, then:  https://github.com/LabVIEW-DCAF/Scaling/commit/c7d9a264ee4d7e93d9bf8dbd3f609f6ef6181b31#diff-934f8b1e4e64293a5ba7c7ad441207fb

@knoxberry  - That should fix it.  Can you give it a try on your end and let me know if you still see any issues?  I'll hold off on pushing the package out to VIPM until you can validate.

I'll post a package here shortly that you can try.

Here you go.
ni_lib_dcaf_scaling_framework-<IP_ADDRESS>.zip

Success?  Fail?  I'd like to push this out to VIPM today if you validate that it works.  Others will be hit by that bug, and I'd like to minimize our exposure.

This works. Thanks for the quick turnaround!

Great!  Closing.  Thanks for reporting the issue - let us know if you find anything else!


Don't duplicate rule indices when creating index.

By default, the rule index is re-created when new rules are added to a list.
The index isn't cleared when this happens, so the index allows repeated addition of the same indices for the same rule. This in turn slows down List.find.
We (Flippa) add 39 new rules to the default list, which means for a TLD like '.it', 15,129 rules are checked instead of the 369 unique ones.

@weppos Is there any chance this could be looked at? We were seeing frequent SystemStackErrors in production until this change.
If this gem needs help with maintenance, I'll happily lend a hand :)
Thanks!

Sorry for the silence @ags, I merged the patch. Thanks!

I've just released 1.5.3

Thanks @weppos! :+1:


layout refactoring

The PT story that started this refactoring is here:
https://www.pivotaltracker.com/story/show/185800676
This replaces many manual height and width calculations with flex-box layout. It also switches several containers from absolute positioning to relative positioning. Among other things this helps with dom inspection, now when you hover over elements in the browser dev tools you can see their area highlighted.
Generally it should look and behave the same, but in the process I fixed some things which are detailed in the "Things improved" section below.
Here is a list of the elements that had their layout changed:

.clue-app-content: now a flex container in the column direction
.app-header: now position relative
.chat-panel: now position relative, height calc removed, and flex-column container
.chat-list: height calc removed
.commented-document-list: max-height calc removed
.canvas: now position relative
.collapsed-workspace-tab: now position static, margin simplified
.single-workspace: now position relative, height calc removed
.document: margin removed
.student-group-view .canvas-area: now position relative
.nav-tab-panel .student-group-view: now position relative, border changes
.student-group-view .group-title: now position static
.student-group-view .canvas-area: now position static
.student-group-view.chat-open: border changes
.collapsed-resources-tab: now position static, removed height calc, simplified margin
.resource-and-chat-panel: now position relative, removed width calc
.nav-tab-panel: flex-row container for tabs and chat panel, removed width calc
.top-level-tabs: (new class) flex-column container for tab "header" and panels
.top-level-tab-panel (new class) flex item filling remaining height
.problem-tabs: flex-column container for problem tab "header" and panels
.problem-panel: flex item filling remaining height
.document-tabs: removed overflow
.document-tabs .document-browser removed height calc
.document-tabs .scroller-and-document: flex-column container, removed overflow
.scroller-and-document .document-area: removed height calc and overflow
.editable-document-content: removed height calc and overflow
.document-tabs: flex-column container
.document-tabs .documents-panel: removed height calc and overflow
.divider-container: removed height calc, now position relative
.divider-container .expand-handles-container: removed left calc
.workspace: flex item filling remaining height

Things improved:

border around left side "Problem" and "Teacher Guide" panels below the tabs. In 4.3.0 these panels had border on the right and bottom, but not the left. In 4.4.0 these panels had no border.  In this PR those panels now have borders around right bottom and left side
border around "Student Workspaces" panel on the left. It was a Teal color border that was 1.5px and was around all 4 edges of the panel. In 4.4.0 the bottom of this panel is cut off so the border couldn't be seen. It is now a grey color and 2px wide which matches the other panel borders. It also is not on the top of the panel, this is consistent with the other panels on the left side.
border color around "Teacher Guide". In 4.3.0 it was orange, and the border around the chat button on the top right was black. In 4.4.0 this border was mostly missing expect for a bit of orange due to the first bullet above. It is now updated to be a green border on 3 sides and the border around the chat button is now a matching green.
spacing around the divider between the right and left sides. Previously there was more space between divider and the left side than the divider and the right side. Now they are equal.
divider height it used to be the same height as the panels to its left and right, the spec called for it to be slightly offset at the top. It now looks like the spec.
scrolling the "Problem" and "Teacher Guide" panels. These used to scroll all the way to the bottom in 4.3.0. In 4.4.0 this was broken and when the content requires a scrollbar the bottom of the content couldn't be scrolled to, and the scrollbar was cut off.

Things that regressed:

the animation when collapsing the left or right side is gone now
the animation when the middle divider is expanded during hover is gone now

Things to check:

the starred work panels are particular complicated. When a starred document is open there are basically 5 headers that have to be accounted for above the scrolling document. Previously this was done using a lot of manual calculation to figure out how much space these headers are taking up.

The regression tests haven't finished, but many of them have passed. The ones that failed have passed locally. So I think it is OK to review this. I'll try running locally whatever finally fails or times out.

The regression tests are still running. After more than an hour. My guess is they are going to timeout.
This PR can be tested here:
https://collaborative-learning.concord.org/branch/layout-refactor/?appMode=dev

Yes this caused a bug in the annotation layer. I think I've fixed it, but I've removed the QA review until the tests here finish running.

The timed out regression tests were the same ones that we've been seeing in other places:

clue/full/teacher_tests/teacher_dashboard_spec.js
clue/branch/student_tests/arrow_annotation_spec.js

I'll try merging in master to kick of one more build since the arrow_annotation_spec is the one I fixed with the last commit.

Different tests timed out this time. So at least the arrow_annotation_spec passed.


tutorial (WIP) Objective and firs steps

Adding Tutorial doc for initializing Kakarot Devnet / Rpc and deploying Smart Contract.

Time spent on this PR: WIP
Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[X] Other (please describe):
Tutorial doc.

What is the current behavior?

Create an in-depth tutorial with detailed steps so anyone can deploy their first Solidity contract in Kakarot in less than 5 minutes.
Resolves #
#538
What is the new behavior?

Devs can run Kakarot VM
Devs can run Kakarot RPC
Devs can deploy Solidity Smart Contracts in Kakarot

Other information

Hi @ClementWalter the main goal is to demonstrate how to implement a Solidity contract in Kakarot, but I thought it would be helpful to show the process of setting up the Kakarot environment locally.


Error 0x7200 when attempting to connect to AWS IoT

When attempting to connect to AWS IoT, mbedTLS errors after ServerHello from AWS with reason -0x7200
As referenced in this issue, the debug output is as follows:
ssl_tls.c:6313: => handshake
ssl_cli.c:3264: client state: 0
ssl_tls.c:2429: => flush output
ssl_tls.c:2441: <= flush output
ssl_cli.c:3264: client state: 1
ssl_tls.c:2429: => flush output
ssl_tls.c:2441: <= flush output
ssl_cli.c:0712: => write client hello
ssl_cli.c:0750: client hello, max version: [3:3]
ssl_cli.c:0759: dumping 'client hello, random bytes' (32 bytes)
ssl_cli.c:0759: 0000: 13 82 ef 31 b5 7d d7 d3 8a db 13 49 3b cb c0 32 ...1.}.....I;..2
ssl_cli.c:0759: 0010: fb 32 93 27 0a a8 01 55 36 ae 6c bd ee ca 08 0a .2.'...U6.l.....
ssl_cli.c:0812: client hello, session id len.: 0
ssl_cli.c:0813: dumping 'client hello, session id' (0 bytes)
ssl_cli.c:0880: client hello, add ciphersuite: 003d
ssl_cli.c:0880: client hello, add ciphersuite: 0035
ssl_cli.c:0880: client hello, add ciphersuite: 003c
ssl_cli.c:0880: client hello, add ciphersuite: 002f
ssl_cli.c:0880: client hello, add ciphersuite: 00b7
ssl_cli.c:0880: client hello, add ciphersuite: 0095
ssl_cli.c:0880: client hello, add ciphersuite: 00b6
ssl_cli.c:0880: client hello, add ciphersuite: 0094
ssl_cli.c:0913: client hello, got 9 ciphersuites
ssl_cli.c:0944: client hello, compress len.: 1
ssl_cli.c:0946: client hello, compress alg.: 0
ssl_cli.c:0072: client hello, adding server name extension: a2slq08v8uk221.iot.us-east-1.amazonaws.com
ssl_cli.c:0078: buffer too small
ssl_cli.c:0178: client hello, adding signature_algorithms extension
ssl_cli.c:0192: buffer too small
ssl_cli.c:1018: client hello, total extension length: 0
ssl_tls.c:2714: => write record
ssl_tls.c:2849: output record: msgtype = 22, version = [3:1], msglen = 61
ssl_tls.c:2852: dumping 'output record sent to network' (66 bytes)
ssl_tls.c:2852: 0000: 16 03 01 00 3d 01 00 00 39 03 03 13 82 ef 31 b5 ....=...9.....1.
ssl_tls.c:2852: 0010: 7d d7 d3 8a db 13 49 3b cb c0 32 fb 32 93 27 0a }.....I;..2.2.'.
ssl_tls.c:2852: 0020: a8 01 55 36 ae 6c bd ee ca 08 0a 00 00 12 00 3d ..U6.l.........=
ssl_tls.c:2852: 0030: 00 35 00 3c 00 2f 00 b7 00 95 00 b6 00 94 00 ff .5.<./..........
ssl_tls.c:2852: 0040: 01 00 ..
ssl_tls.c:2429: => flush output
ssl_tls.c:2448: message length: 66, out_left: 66
ssl_tls.c:2454: ssl->f_send() returned 66 (-0xffffffbe)
ssl_tls.c:2473: <= flush output
ssl_tls.c:2861: <= write record
ssl_cli.c:1044: <= write client hello
ssl_cli.c:3264: client state: 2
ssl_tls.c:2429: => flush output
ssl_tls.c:2441: <= flush output
ssl_cli.c:1396: => parse server hello
ssl_tls.c:3739: => read record
ssl_tls.c:2221: => fetch input
ssl_tls.c:2379: in_left: 0, nb_want: 5
ssl_tls.c:2403: in_left: 0, nb_want: 5
ssl_tls.c:2404: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
ssl_tls.c:2416: <= fetch input
ssl_tls.c:3486: dumping 'input record header' (5 bytes)
ssl_tls.c:3486: 0000: 16 03 03 0b e1 .....
ssl_tls.c:3495: input record: msgtype = 22, version = [3:3], msglen = 3041
ssl_tls.c:3532: bad message length
ssl_cli.c:1402: mbedtls_ssl_read_record() returned -29184 (-0x7200)
ssl_tls.c:6323: <= handshake

Hi @johnnyodonnell , may I know did you fix it? I am currently facing the same issue too. Or do you know any possible reason that lead to this?

I use wireshark to capture packet sent between my esp8266 and to my iot endpoint at amazon server. Any hint to enlighten my problem?

To fix the error I increase the MBEDTLS_SSL_MAX_CONTENT_LEN to 4KB.
I had mine optimised to 2kb


One click script for installing on linux

This makes an entry of visual studio code in the main menu bar of Linux based Operating systems and gives a one click script to install VSCode to the /usr/local/vscode folder, using this script the menu bar can identify that VSCode is a development tool and the users won't have to do the manual stuff which is too boring and frankly ruins the reputation of such an amazing tool, Microsoft just revolutionized the way many write code on Linux, this is a statement which none of us imagined to be hearing ever.

Hi @thewhitetulip, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

In my opinion, such installation scripts belong in a distro-dependent package (since not all Unix-like systems are the same). For instance, there's a package for VSCode in the AUR that suitably installs the software on Arch Linux systems.

Yes, there is (a bit outdated) package in Gentoo Portage Overlays. People want it packaged for Ubuntu and I presume for other major distros. No need for install script.

@Enet4 No, there can be distro dependant packages and there can be install scripts, I am not a unix wizard that's why my script is crude, but it does suit my purpose though. Every major software for linux has a install script, or at least they provide a way to install them via shell commands ( see https://golang.org/doc/install). The thing about packaging is that someone has to build packages and that becomes a problem as the editor will get updates. Instead of that when someone wants to build from source and not have anything to do with the package, they use the install script.
I do not understand why everyone here is so against making a script, of course you can't merge my script, but it can serve as a starting point. I do not believe you both are active linux users I mean the desktop not linux servers, had you used linux and installed things from the command line you'd have understood the great convenience of having an install script, because you not only.
I believe the problem of "outdated" packages comes with node.js
Also apart from the user's convenience, if we provide a install script then you give the user a good user experience, and it is good that they won't have to rely on someone to package this to others because this is such a beautiful IDE! Why doesn't this project want to be in control of the complete end to end user experience for linux? It feels like linux is being ignored here.

I'm fine with leaving the decision of whether to include a Linux installation script or not to the devs. But do note that usually the only thing the installation scripts do is create/link an executable in /usr/local/bin and copy the remaining contents to /usr/local/share. The system's package manager would be oblivious to the software, leaving the tasks of updating or installing to either the user or more scripts. I wouldn't call that friendly to Linux users at all. It's not that Microsoft is being unfriendly to them either, it was good enough in the first place that Linux is supported.
Without repeating myself: that script might have worked for you, but I wouldn't recommend it for the reasons already mentioned. Nothing personal even.

it was good enough in the first place that Linux is supported.

Yeah Linux isn't being ignored, well explained. I don't think there is any point in discussing this any further.

We will not provide an installation script.
We will, though, get into repositories (deb, rpm, etc) so people can install Code just as they install other packages.
Closing this for now.

@joaomoreno by the way, I have found out some basic bugs in Code like replace all not working over the entire file, I wonder who looks after the Issues raised over this repo

No need to wonder, rest assured the VS Code team looks after them.


Changing default font color

Hi Juju
I was wondering if it is possible to change the default font color, my application supports day/night themes, and since all font color configurations would be the same as before, just with different colors, I just want to set the "new" default color.
I know I can set the initial default color in "scribble_default_template()", and I guess I should use ".starting_format(fontName, colour)" to change the default color on command, but somehow I'm unable to understand how to use it correctly right now hehe 😅
Sincerely

You're almost there - change starting_format(SCRIBBLE_DEFAULT_FONT, c_white) to starting_format(SCRIBBLE_DEFAULT_FONT, global.defaultColour) and then make global.defaultColour whatever colour you want. Existing Scribble text elements won't be affected by this change (the default template is only set when a text element is first created) so you may need to regenerate text elements that you have stored e.g. typewriter text.

Thank you for the fast reply, I don't know why, but I tried it before and it crashed all the time, and got to the conclusion Scribble maybe wanted this to be done in a different way, but I'm just making sure the global.colors are initialized before the script and nothing crashes then.... of course.
Sorry about that 😄 But thank you for the help 👍

You're welcome. Good luck with your project 😃


Typo on 'Install sqlpackage' debian dependencies'

Hi, I was looking at the docs to install sqlpackage on linux and realized a typo on the debian dependencies.
It says: sudo apt-get install libuwind8 and I think it must be sudo apt-get install libunwind8
I din't submit a PR because I'm not 100% sure if it is really a typo.

Article is:
https://docs.microsoft.com/en-us/sql/tools/sqlpackage-download?view=sql-server-2017

@stevestein Steve, can you please process this Issue 1425.  Thanks.
.
title: Download and install sqlpackage | Microsoft Docs
description: 'Download and Install sqlpackage for Windows, macOS, or Linux'
ms.custom: "tools|sos"
ms.date: "06/18/2018"
ms.prod: sql
ms.reviewer: "alayu; sstein"
ms.prod_service: sql-tools
ms.topic: conceptual
author: "pensivebrian"
ms.author: "broneill"
manager: craigg
Download and install sqlpackage
.
@joalcava

@joalcava - yes, that is a typo. Good catch!  There are no doc updates until after the holidays so the update won't appear until next week.
Thanks!

Fixed in https://github.com/MicrosoftDocs/sql-docs-pr/pull/8603


Deprecated Perlin noise over Simplex

Converted Core Perlin world generator to instead use Simplex noise.
Deprecated Perlin noise in favor of Simplex noise, which is a newer algorithm from Ken Perlin with fewer directional artifacts, lower computational overhead for higher dimensions.

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

There are most likely more broken modules as they are using the (now gone) Perlin classes ...
See https://github.com/search?q=org%3AMovingBlocks+org%3ATerasology+perlin&type=Code

Yep, just noticed TutorialWorldGeneration as one of them, probably with more hits in its wiki. Fixes there in particular would be appreciated 👍


How to validate number only

I want to know more about validation code, how can I custom more validation
e.g I want to validate for phonenumber, email etc only as input
Regards

Validation is handle this way.  You provide the menu_id under the case statement.
For extensive validation create your own custom class with a static method called validate($latestResponse, $ussdData) that returns a boolean
On this line set
$isValid = MyCustomClass::validate($latestResponse, $ussdData)


Add bn.move_nanmedian()

Hi, I did some work on this.  The implementation works, and is available at https://github.com/jennolsen84/bottleneck/tree/movemedian .  As a bonus, it supports min_count, which makes it consistent with rest of bottleneck.
Next, I am going to re-name some functions, and add some documentation.  I have tested it a lot, and the library seems to work fine.
Currently, the csrc for move_median will hardcode the data type to float64.  This causes un-necessary conversions when operating on float32 code.  See: https://github.com/kwgoodman/bottleneck/blob/5a9ecb818b63ffcb8d6e787e51a236a109302c6a/bottleneck/src/auto_pyx/csrc/move_median.c#L30-L31.  In order to avoid this, I am thinking about moving the code to C++ and using templates.  Luckily, cython has support for wrapping C++ templates.
Would a C++ implementation be OK for a PR?
Any other concerns before I submit a PR?  I can submit a PR very soon.
I intend to write a high level documentation on the algorithm too, since I had to introduce a double linked list to keep track of all the nans in each heap.  So now the datastructure has 2 heaps, a FIFO linked list for window, and 2 double linked lists for nans! Luckily, everything is still O(n * lg w).

Wow! This is a big improvement for bottleneck!
I expect that keeping track of nans will make move_median slower. But I don't have a feel for how much slower.
Master:
In [16]: a=np.random.rand(1000001)
In [17]: timeit bn.move_median(a,1)
100 loops, best of 3: 2.58 ms per loop
In [18]: timeit bn.move_median(a,2)
10 loops, best of 3: 18.8 ms per loop
In [19]: timeit bn.move_median(a,3)
10 loops, best of 3: 22.4 ms per loop
In [20]: timeit bn.move_median(a,4)
10 loops, best of 3: 29.3 ms per loop
In [21]: timeit bn.move_median(a,8)
10 loops, best of 3: 36.4 ms per loop
In [22]: timeit bn.move_median(a,16)
10 loops, best of 3: 43 ms per loop
In [23]: timeit bn.move_median(a,32)
10 loops, best of 3: 56.8 ms per loop

Your branch:
In [1]: a=np.random.rand(1000001)
In [2]: timeit bn.move_median(a,1)
100 loops, best of 3: 2.59 ms per loop
In [4]: timeit bn.move_median(a,2)
10 loops, best of 3: 61.3 ms per loop
In [5]: timeit bn.move_median(a,3)
10 loops, best of 3: 69.7 ms per loop
In [6]: timeit bn.move_median(a,4)
10 loops, best of 3: 76.5 ms per loop
In [7]: timeit bn.move_median(a,8)
10 loops, best of 3: 81.8 ms per loop
In [8]: timeit bn.move_median(a,16)
10 loops, best of 3: 89.8 ms per loop
In [9]: timeit bn.move_median(a,32)
10 loops, best of 3: 105 ms per loop

Perhaps you can compare timings with pandas to see if we are in the right ballpark. I tried getting back performance by changing move.pyx to use mm_update_movemedian_nonan (which we can do automatically for int input arrays):
 -            mm_update_movemedian_possiblenan(mm, ai)
+            mm_update_movemedian_nonan(mm, ai)

That gives:
In [1]: a=np.random.rand(1000001)
In [2]: timeit bn.move_median(a,1)
100 loops, best of 3: 2.63 ms per loop
In [3]: timeit bn.move_median(a,2)
10 loops, best of 3: 40.9 ms per loop
In [4]: timeit bn.move_median(a,3)
10 loops, best of 3: 44.8 ms per loop
In [5]: timeit bn.move_median(a,4)
10 loops, best of 3: 55.7 ms per loop
In [6]: timeit bn.move_median(a,8)
10 loops, best of 3: 62.4 ms per loop
In [7]: timeit bn.move_median(a,16)
10 loops, best of 3: 69.2 ms per loop
In [8]: timeit bn.move_median(a,32)
10 loops, best of 3: 83.4 ms per loop

One option is to preserve the current code for the int input array case. It would also give us the option to make a quick variable name change, recompile, and ignore nans again. But I'm not sure the added complication is worth it.
My take:

Make sure performance is about what we expect by comparing to pandas
Make PR with C
Save benchmarking C++ for float32/64 for later
If 3 looks good then possible C++ PR for later

How does that sound to you?

Sounds good

I checked the pandas performance.  Bottleneck will be about 3.5 to 5 times faster in every case, except the trivial case in bn of window_size=1 ;), where a copy of the array is returned.
OK, I will do that in the next 24 hours.
With C++, we could close the gap down further too.  We could have 2 different node classes, one that has a double linked lists, and one that doesn't.  And then partially specialize the functions using templates to get rid of the un-necessary logic as much as we can.
I also intend to add the ability to use pthreads in the C/C++ code.  I will use this code with pandas.  I am unsure if we want to expose that in bottleneck (as you might want to expose this more generally in bn so that all functions can be parallelized in similar manner).

Btw, I also have array functions that do the loops in C, those assumed C contiguous arrays (with stride=1) for now.  Just FYI, I need to expand that before we start to use it.

Closed by 3b2c722c9b117d6dbde9c5a5523cefb9829963a5


Logout null exception /connect/endsession

When I try to logout using the connect/endsession, IdentityServer4 throws a null exception (After a restart). A already logged out response should be returned.
How to reproduce.
User logs in, gets an access_token and saves this to the localstorage (or whatever). Stop the IdentityServer4 and restart.  Try to logout using the connect/endsession with the existing token.
Code: https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow
Request:
https://localhost:44345/connect/endsession?id_token_hint=eyJhbGciOiJSUzI1NiIsImtpZCI6IjA2RDNFNDZFOTEwNzNDNUQ0QkMyQzk5ODNCRTlGRjQ0OENGNjQwRDQiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJCdFBrYnBFSFBGMUx3c21ZTy1uX1JJejJRTlEifQ.eyJuYmYiOjE0NzA5OTUwNTEsImV4cCI6MTQ3MDk5NTM1MSwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNDUiLCJhdWQiOiJhbmd1bGFyMmNsaWVudCIsIm5vbmNlIjoiTjAuMzcwNjk5NzU4MTE0MTcwMTE0NzA5OTUwMzA5MjgiLCJpYXQiOjE0NzA5OTUwNTEsImF0X2hhc2giOiIyT0hBOE1PUFJzYU9fNVBHTzhmd25RIiwic2lkIjoiOTA4ZDU0ZDRiNWY4ZDI1MjFiM2E5YTFmYzVmNGVlMDYiLCJzdWIiOiI0ODQyMTE1NyIsImF1dGhfdGltZSI6MTQ3MDk5NTA0MywiaWRwIjoiaWRzdnIifQ.VJOEYTkB45obCq2lfkYFRPem2zgaNq9D4cq7WMR3UpdBwp-eAkgRlsA1fmrOqMatrGQvx-bCn9tIAMM1uscp2x3ITAM9eCJV2p-3SThk_TNmcnQjuDDerlImOnJH9JIgdTewLIOkYGwExi7ZBMnHNa16xB7ts07cZ1eYjb3ahIV3pXW9YPPPkyYZ-RMnjPWcaxPXJHC56YAoRIl9YhpiZZtuCxTbWzLne50N6peP94y3V7vuasDFKhlqqgxAGxQNbtov_eGKwGWSTdEuMrtIlxg6lx21SJdAi9l6Q1xJAP7vJl4R4gegWuESVLzoj3juwcDeCEi_Uphyh0cfWcs_3Q&post_logout_redirect_uri=https://localhost:44311/Unauthorized.html

Exception log
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 154.1819ms 200 text/plain
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request starting HTTP/1.1 GET http://localhost:44345/connect/endsession?id_token_hint=eyJhbGciOiJSUzI1NiIsImtpZCI6IjA2RDNFNDZFOTEwNzNDNUQ0QkMyQzk5ODNCRTlGRjQ0OENGNjQwRDQiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJCdFBrYnBFSFBGMUx3c21ZTy1uX1JJejJRTlEifQ.eyJuYmYiOjE0NzA5OTUwNTEsImV4cCI6MTQ3MDk5NTM1MSwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NDQzNDUiLCJhdWQiOiJhbmd1bGFyMmNsaWVudCIsIm5vbmNlIjoiTjAuMzcwNjk5NzU4MTE0MTcwMTE0NzA5OTUwMzA5MjgiLCJpYXQiOjE0NzA5OTUwNTEsImF0X2hhc2giOiIyT0hBOE1PUFJzYU9fNVBHTzhmd25RIiwic2lkIjoiOTA4ZDU0ZDRiNWY4ZDI1MjFiM2E5YTFmYzVmNGVlMDYiLCJzdWIiOiI0ODQyMTE1NyIsImF1dGhfdGltZSI6MTQ3MDk5NTA0MywiaWRwIjoiaWRzdnIifQ.VJOEYTkB45obCq2lfkYFRPem2zgaNq9D4cq7WMR3UpdBwp-eAkgRlsA1fmrOqMatrGQvx-bCn9tIAMM1uscp2x3ITAM9eCJV2p-3SThk_TNmcnQjuDDerlImOnJH9JIgdTewLIOkYGwExi7ZBMnHNa16xB7ts07cZ1eYjb3ahIV3pXW9YPPPkyYZ-RMnjPWcaxPXJHC56YAoRIl9YhpiZZtuCxTbWzLne50N6peP94y3V7vuasDFKhlqqgxAGxQNbtov_eGKwGWSTdEuMrtIlxg6lx21SJdAi9l6Q1xJAP7vJl4R4gegWuESVLzoj3juwcDeCEi_Uphyh0cfWcs_3Q&post_logout_redirect_uri=https://localhost:44311/Unauthorized.html
IdentityServer4.Endpoints.EndSessionEndpoint:Information: Processing singout request
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\damien.bowden\.nuget\packages\System.IdentityModel.Tokens.Jwt\5.0.0\lib\netstandard1.4\System.IdentityModel.Tokens.Jwt.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Security.Cryptography.Encoding.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Security.Cryptography.Csp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Security.Cryptography.Cng.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\damien.bowden\.nuget\packages\IdentityModel\2.0.0-beta5\lib\netstandard1.3\IdentityModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
IdentityServer4.Validation.TokenValidator:Information: Token validation success
{
  "ClientId": "angular2client",
  "ClientName": "angular2client",
  "ValidateLifetime": false,
  "Claims": {
    "nbf":<PHONE_NUMBER>,
    "exp":<PHONE_NUMBER>,
    "iss": "https://localhost:44345",
    "aud": "angular2client",
    "nonce": "N0.37069975811417011470995030928",
    "iat":<PHONE_NUMBER>,
    "at_hash": "2OHA8MOPRsaO_5PGO8fwnQ",
    "sid": "908d54d4b5f8d2521b3a9a1fc5f4ee06",
    "sub": "48421157",
    "auth_time":<PHONE_NUMBER>,
    "idp": "idsvr"
  }
}
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.IO.MemoryMappedFiles.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.IO.UnmanagedMemoryStream.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
IdentityServer4.Hosting.IdentityServerMiddleware:Critical: Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at IdentityServer4.Validation.EndSessionRequestValidator.<ValidateAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Endpoints.EndSessionEndpoint.<ProcessSignoutAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Endpoints.EndSessionEndpoint.<ProcessAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext()
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware:Error: An unhandled exception has occurred while executing the request

System.NullReferenceException: Object reference not set to an instance of an object.
   at IdentityServer4.Validation.EndSessionRequestValidator.<ValidateAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Endpoints.EndSessionEndpoint.<ProcessSignoutAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Endpoints.EndSessionEndpoint.<ProcessAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Hosting.IdentityServerMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at IdentityServer4.Hosting.BaseUrlMiddleware.<Invoke>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.<Invoke>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.<Invoke>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.<Invoke>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware`1.<Invoke>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__6.MoveNext()

I can't reproduce this with my local setup. Any more info that might help?

From inspecting the code I might have tracked it down. I'll see if I can write a test to repro.

@leastprivilege for this situation, what should we do? client triggers signout endpoint with valid id_token_hint & post_logout_redirect_uri params, but user is no longer signed into idsvr -- should those params be considered valid or invalid for redirecting back to client?

BTW, the NRE is now fixed. Just need to know what behavior is desired to close this issue.

Closing now since bug is fixed, and we will honor end session params even if user is signed out at IdSvr.

cool, thanks, is it already released in the latest Nuget package, or is it still to be released?
Greetings Damien

nothing on NuGet yet, but these fixes are on the myget feed.

thanks


Question regarding checksum & decryption error

Does quinn implement an additional checksum on top of UDP's 16bit crc? I glanced over the QUIC specs and I couldn't find anything on the subject.
Moreover, are decryption errors always fatal?

All QUIC implementations verify the integrity of packets using AEAD; see Protected Packets for details. All currently supported AEAD tags are 128-bit, though future TLS extensions may add other options.
Failure to decrypt and authenticate a packet results in the packet being discarded. We can't kill the connection in this case because that would make it trivial for off-path attackers to kill connections by injecting a spoofed packet, similar to how certain ISPs have historically interfered with activity by spoofing TCP RSTs.

Nice, exactly what I was looking for.


Nodes constantly become dead

Hello, I have pretty small z-wave network: z-way controller (RaZberry Controller 2016 ZWave+), 2 channel wall switch (Shenzhen Neo Electronics EU-2) and dimmer (McoHome Technology MH-P220). All devices are located in one room.
I'm constantly see error messages about timeouts, unexpected responses or nodes becoming dead.
Here is a part of the log:
Feb 12 15:09:24 pi npm[11047]: 15:09:24.383 CNTRLR « [Node 003] Received update for a Supervision session
Feb 12 15:09:34 pi npm[11047]: 15:09:34.341 CNTRLR   [Node 002] Timed out while waiting for a response from the node
Feb 12 15:09:35 pi npm[11047]: 15:09:35.596 CNTRLR « [Node 003] Received update for a Supervision session
Feb 12 15:09:38 pi npm[11047]: 15:09:38.180 CNTRLR « [Node 003] Received update for a Supervision session
Feb 12 15:09:39 pi npm[11047]: 15:09:39.684 CNTRLR   [Node 003] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
Feb 12 15:09:50 pi npm[11047]: 15:09:50.919 CNTRLR   [Node 003] Timed out while waiting for a response from the node
Feb 12 15:09:50 pi npm[11047]: 2021-02-12 15:09:50.921 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 71 => 85
Feb 12 15:09:52 pi npm[11047]: 2021-02-12 15:09:52.187 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:52 pi npm[11047]: 2021-02-12 15:09:52.966 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:53 pi npm[11047]: 2021-02-12 15:09:53.123 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:53 pi npm[11047]: 2021-02-12 15:09:53.304 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:56 pi npm[11047]: 15:09:56.778 CNTRLR   [Node 003] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
Feb 12 15:09:57 pi npm[11047]: 2021-02-12 15:09:57.608 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:58 pi npm[11047]: 2021-02-12 15:09:58.507 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:58 pi npm[11047]: 15:09:58.715 CNTRLR   [Node 003] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
Feb 12 15:09:58 pi npm[11047]: 2021-02-12 15:09:58.757 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:58 pi npm[11047]: 2021-02-12 15:09:58.883 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:59 pi npm[11047]: 2021-02-12 15:09:59.504 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:59 pi npm[11047]: 2021-02-12 15:09:59.532 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:59 pi npm[11047]: 2021-02-12 15:09:59.918 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:09:59 pi npm[11047]: 2021-02-12 15:09:59.966 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:10:00 pi npm[11047]: 2021-02-12 15:10:00.105 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:10:00 pi npm[11047]: 2021-02-12 15:10:00.191 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 85
Feb 12 15:10:00 pi npm[11047]: 15:10:00.265 CNTRLR   [Node 003] did not respond after 2/3 attempts. Scheduling next try in 500 ms.
Feb 12 15:10:10 pi npm[11047]: 15:10:10.813 CNTRLR   [Node 003] Timed out while waiting for a response from the node
Feb 12 15:10:11 pi npm[11047]: 2021-02-12 15:10:11.138 INFO ZWAVE: Node 3: value updated: 38-0-currentValue 85 => 99
Feb 12 15:10:12 pi npm[11047]: 15:10:12.210 CNTRLR « [Node 003] Received update for a Supervision session
Feb 12 15:10:15 pi npm[11047]: 15:10:15.240 CNTRLR   [Node 002] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
Feb 12 15:10:19 pi npm[11047]: 15:10:19.999 CNTRLR   [Node 002] did not respond after 2/3 attempts. Scheduling next try in 500 ms.
Feb 12 15:10:24 pi npm[11047]: 15:10:24.792 CNTRLR   [Node 002] Node 2 did not respond after 3 attempts, it is presumed dead
Feb 12 15:10:24 pi npm[11047]: 2021-02-12 15:10:24.804 INFO ZWAVE: Node 2 is now dead
Feb 12 15:10:24 pi npm[11047]: 15:10:24.805 CNTRLR   [Node 002] The node is now dead.
Feb 12 15:10:33 pi npm[11047]: 2021-02-12 15:10:33.954 ERROR ZWAVE-SERVER: Unexpected error Failed to send the command after 3 attempts (Status NoAck)
Feb 12 15:10:33 pi npm[11047]: ZWaveError: Failed to send the command after 3 attempts (Status NoAck)
Feb 12 15:10:33 pi npm[11047]:     at Object.sendDataErrorToZWaveError (/opt/zwavejs2mqtt/node_modules/zwave-js/src/lib/driver/StateMachineShared.ts:112:12)
Feb 12 15:10:33 pi npm[11047]:     at /opt/zwavejs2mqtt/node_modules/zwave-js/src/lib/driver/SendThreadMachine.ts:437:4
Feb 12 15:10:33 pi npm[11047]:     at /opt/zwavejs2mqtt/node_modules/xstate/lib/utils.js:410:33
Feb 12 15:10:33 pi npm[11047]:     at Array.reduce (<anonymous>)
Feb 12 15:10:33 pi npm[11047]:     at Object.updateContext (/opt/zwavejs2mqtt/node_modules/xstate/lib/utils.js:400:25)
Feb 12 15:10:33 pi npm[11047]:     at Object.resolveActions (/opt/zwavejs2mqtt/node_modules/xstate/lib/actions.js:409:19)
Feb 12 15:10:33 pi npm[11047]:     at StateNode.resolveTransition (/opt/zwavejs2mqtt/node_modules/xstate/lib/StateNode.js:787:35)
Feb 12 15:10:33 pi npm[11047]:     at StateNode.transition (/opt/zwavejs2mqtt/node_modules/xstate/lib/StateNode.js:733:21)
Feb 12 15:10:33 pi npm[11047]:     at StateNode.resolveRaisedTransition (/opt/zwavejs2mqtt/node_modules/xstate/lib/StateNode.js:738:22)
Feb 12 15:10:33 pi npm[11047]:     at StateNode.resolveTransition (/opt/zwavejs2mqtt/node_modules/xstate/lib/StateNode.js:873:39)
Feb 12 15:10:33 pi npm[11047]:     at StateNode.transition (/opt/zwavejs2mqtt/node_modules/xstate/lib/StateNode.js:733:21)
Feb 12 15:10:33 pi npm[11047]:     at /opt/zwavejs2mqtt/node_modules/xstate/lib/interpreter.js:602:34
Feb 12 15:10:33 pi npm[11047]:     at Object.provide (/opt/zwavejs2mqtt/node_modules/xstate/lib/serviceScope.js:11:18)
Feb 12 15:10:33 pi npm[11047]:     at Interpreter.nextState (/opt/zwavejs2mqtt/node_modules/xstate/lib/interpreter.js:601:38)
Feb 12 15:10:33 pi npm[11047]:     at /opt/zwavejs2mqtt/node_modules/xstate/lib/interpreter.js:124:39
Feb 12 15:10:33 pi npm[11047]:     at Scheduler.process (/opt/zwavejs2mqtt/node_modules/xstate/lib/scheduler.js:60:13)
Feb 12 15:10:33 pi npm[11047]: 15:10:33.964 DRIVER   unexpected response, discarding...
Feb 12 15:10:33 pi npm[11047]: 15:10:33.966 DRIVER   unexpected response, discarding...
Feb 12 15:10:33 pi npm[11047]: 15:10:33.968 DRIVER   unexpected response, discarding...
Feb 12 15:10:33 pi npm[11047]: 15:10:33.972 DRIVER     no handlers registered!
Feb 12 15:10:33 pi npm[11047]: 15:10:33.974 DRIVER     no handlers registered!
Feb 12 15:10:33 pi npm[11047]: 15:10:33.977 DRIVER     no handlers registered!
Feb 12 15:10:33 pi npm[11047]: 15:10:33.985 CNTRLR » [Node 002] pinging the node...
Feb 12 15:10:44 pi npm[11047]: 15:10:44.117 CNTRLR   [Node 003] Timed out while waiting for a response from the node
Feb 12 15:10:48 pi npm[11047]: 15:10:48.371 CNTRLR   [Node 002] Node 2 did not respond after 1 attempts, it is presumed dead
Feb 12 15:10:48 pi npm[11047]: 15:10:48.397 CNTRLR   [Node 002] ping failed: Failed to send the command after 1 attempts (Status No
Feb 12 15:10:48 pi npm[11047]:                       Ack)
Feb 12 15:10:48 pi npm[11047]: 2021-02-12 15:10:48.400 ERROR ZWAVE-SERVER: Unexpected error The message cannot be sent because node 2 is dead

Could someone help me to find a reason for such behaviour?

cc @AlCalzone


add a simple sample that use SqlSessionTemplate invoke, use mybatis …

…easily
i do not find any code to support other db,so i add MybatisAutoConfiguration:sqlSessionFactory some code to read mybatis.xml directly, parse datasource and other configuration  from xml,But this time i do not push this feature,Then i will do a push request

@SingleByte it is not clear to me this PR. Can you explain better?

@eddumelendez Firstly, this commit  make the xml sample better,use reflect to invoke dao class,
Then,i hava a question.How the jar support mysql or oracle?

Understood. I will add one mapper with xml to the samples. Note that we are following this sample:
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-data-jpa


Export fails with large dataset

I have a slightly large table (2664412 records currently) that I'm filtering via date range. Unable to get an export going if the selection is greater than a few thousand records. Clicking export will just hang, then I notice in debug console that the response from the post request results in a 502 bad gateway. Unsure how to resolve this, assumed the queue and chunk option would have had an impact.
ExportBulkAction::make()->exports([
    ExcelExport::make()->fromModel()->withFilename(date('Y-m-d') . '_telemetry_export')->queue()->withChunkSize(500)
])

Queue and Chunk should have an impact on the export. But your issue is probably all the IDs that are sent to the server. Best to use a Table Header Action instead of a Bulk Action.

2023/02/27 14:48:16 [error] 1024#1024: *52483 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of<PHONE_NUMBER> bytes exhausted (tried to allocate 205524992 bytes) in /home/forge/api.test.com/vendor/laravel/horizon/src/JobPayload.php on line 196" while reading response header from upstream, client: <IP_ADDRESS>, server: api.test.com, request: "POST /livewire/message/app.filament.resources.vehicle-resource.pages.list-vehicles HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "api.test.com", referrer: "https://api.test.com/admin/vehicles?tableSortColumn=created_at&tableSortDirection=desc&tableFilters[created_at][from]=2023-02-21+19%3A00%3A00&tableFilters[created_at][until]=2023-02-22+00%3A00%3A00"
Looks like it's still hitting memory limits despite giving it 1GB of RAM

Sounds like it tries to encode all your models into the payload. Have you tried with a small chunkSize?

@s7thamon Did you figure this out?


BGP over IPsec APIs for ServiceManagement

New BGP APIs, fixing an issue with creating local network gateways, and tests to back that up

Can one of the admins verify this patch?

Hi @lamchester, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (chelam). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@lamchester please update the package version in nugget.proj and assemblyinfo.cs

Changed the version numbers to 7.0.5 (from 7.0.4) in both files.

Can one of the admins verify this patch?

Hi @lamchester, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (chelam). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@azuresdkci add to whitelist

@lamchester please fix failed test

Added references in the csproj file to the recorded test data